Function at 0x45f9b0
Capabilities:
Create thread
Hash data using sha1
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d50c
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1308
call fcn.004cb9c0
mov eax, dword [0x56e754]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1254], ecx
mov edx, dword [ebx + 8]
mov ecx, edx
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x1248], eax
xor eax, eax
mov byte [ebp - 0x1235], 1
lea edi, [ecx + 2]
mov dword [ebp - 0x10c8], 0
mov dword [ebp - 0x10c4], 7
mov word [ebp - 0x10d8], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fa33
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10d8]
call fcn.0041b490
mov ecx, esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x1068], 0
mov dword [ebp - 0x1064], 7
mov word [ebp - 0x1078], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fa80
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x1078]
call fcn.0041b490
mov esi, dword [ebp - 0x1248]
mov byte [ebp - 4], 1
test esi, esi
je 0x45facb
cmp byte [esi + 0x20], 0
mov dword [esi + 0x24], 1
jne 0x45facb
mov eax, dword [ebp - 0x1254]
mov ecx, dword [eax + 0x1c]
call fcn.00461580
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
push 0xc
call fcn.004ca790
mov edi, eax
add esp, 4
mov dword [ebp - 0x124c], edi
mov byte [ebp - 4], 2
lea eax, [edi + 8]
mov dword [edi], 0
mov byte [edi + 4], 0
push 0x14
mov dword [ebp - 0x1270], eax
mov dword [eax], 0
call fcn.004ca790
mov esi, eax
add esp, 4
mov dword [ebp - 0x1268], esi
push 0x34
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004cc020
mov dword [esi], vtable.Concurrency::concurrent_queue_struct_AsyncCloseHandle::AsyncCloseHandleType__class_std::allocator_struct_AsyncCloseHandle::AsyncCloseHandleType__.0
mov dword [edi], esi
mov esi, 8
mov byte [edi + 4], 0
mov dword [edi + 8], 0
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
nop word [eax + eax]
push 0
push 0
push dword [ebp - 0x124c]
push 0x45f7f0
push 0
push 0
call edi
mov eax, dword [ebp - 0x1270]
lock inc dword [eax]
sub esi, 1
jne 0x45fb40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1078]
cmp dword [ebp - 0x1064], 8
cmovae ecx, dword [ebp - 0x1078]
call fcn.00423f40
push esi
lea eax, [ebp - 0x126c]
mov dword [ebp - 0x126c], esi
push eax
mov dword [ebp - 0x1284], esi
lea eax, [ebp - 0x1284]
mov esi, dword [ebp - 0x1254]
push 1
push eax
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x126c], 1
je 0x45fbcb
mov dword [0x585b54], 0x21
mov byte [ebp - 0x1235], 0
jmp 0x46079d
push 0x40
call fcn.004ca790
add esp, 4
mov dword [ebp - 0x1268], eax
mov ecx, eax
push dword [ebp - 0x1284]
call fcn.00473b10
mov ecx, eax
mov dword [ebp - 0x1258], eax
call fcn.00473ba0
mov edi, dword [esi + 0x1c]
mov edi, dword [edi]
mov dword [ebp - 0x127c], edi
mov esi, dword [edi]
cmp esi, edi
je 0x460706
nop word [eax + eax]
mov eax, dword [esi + 0x14]
lea edx, [ebp - 0x10d8]
push 0x5c
lea ecx, [ebp - 0x1198]
mov dword [ebp - 0x1244], eax
call fcn.0045b5b0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1244]
add eax, 0x18
mov dword [ebp - 0x1240], eax
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x45fc4e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.0041a690
mov dword [ebp - 0x1080], 0
xor ecx, ecx
mov dword [ebp - 0x107c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1090], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1080], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x1198]
mov byte [ebp - 4], 6
call fcn.0041b400
push 0x5c
lea edx, [ebp - 0x1078]
lea ecx, [ebp - 0x1168]
call fcn.0045b5b0
add esp, 4
mov edx, eax
mov eax, dword [ebp - 0x1240]
mov ecx, eax
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x45fcd2
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.0041a690
mov dword [ebp - 0x1050], 0
xor ecx, ecx
mov dword [ebp - 0x104c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1060], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1050], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x1168]
mov byte [ebp - 4], 9
call fcn.0041b400
mov ecx, dword [ebp - 0x1244]
mov eax, dword [ecx + 0x58]
sub eax, 1
je 0x460346
sub eax, 1
je 0x460317
sub eax, 1
jne 0x4606aa
push dword [ecx + 0x50]
push 1
call fcn.004effff
push 0xc
mov dword [ebp - 0x123c], eax
call fcn.004ca790
mov ecx, dword [ebp - 0x1254]
add esp, 0xc
mov dword [ebp - 0x1280], eax
mov ecx, dword [ecx + 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x1248]
push 0x1c
mov dword [eax], 0
mov dword [eax + 8], ecx
call fcn.004ca790
mov edi, dword [ebp - 0x123c]
add esp, 4
mov dword [ebp - 0x1268], eax
mov edx, dword [ebp - 0x1244]
mov ecx, dword [edx + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x1248]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1258]
mov dword [eax + 0xc], 0
mov dword [eax + 0x18], 0
mov dword [eax + 4], edi
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
push dword [edx + 0x54]
push dword [edx + 0x50]
push 0x425a10
push eax
push 0x425830
push dword [ebp - 0x1280]
call fcn.00473c70
push 0x1c
push dword [ebp - 0x1268]
call fcn.004ca782
push 0xc
push dword [ebp - 0x1280]
call fcn.004ca782
mov ecx, dword [ebp - 0x1244]
add esp, 0x10
mov eax, dword [ecx + 0x50]
mov ecx, edi
push 0
push 0
push 3
add ecx, 0xffffffd8
add eax, ecx
cmp dword [ebp - 0x107c], 8
push 0
mov dword [ebp - 0x1250], eax
lea eax, [ebp - 0x1090]
cmovae eax, dword [ebp - 0x1090]
push 3
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, dword [ebp - 0x127c]
mov dword [ebp - 0x1240], eax
push 0
cmp eax, 0xffffffff
jne 0x45fe91
push 0x541daa
lea ecx, [ebp - 0x10a8]
mov dword [ebp - 0x1098], 0
mov dword [ebp - 0x1094], 0xf
mov byte [ebp - 0x10a8], 0
call fcn.0041b7e0
jmp 0x45ff80
lea ecx, [ebp - 0x125c]
mov dword [ebp - 0x1150], 0x67452301
push ecx
push 0x1000
lea ecx, [ebp - 0x1048]
mov dword [ebp - 0x114c], 0xefcdab89
push ecx
push eax
mov dword [ebp - 0x1148], 0x98badcfe
mov dword [ebp - 0x1144], 0x10325476
mov dword [ebp - 0x1140], 0xc3d2e1f0
mov dword [ebp - 0x1138], 0
mov dword [ebp - 0x113c], 0
mov dword [ebp - 0x125c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45ff54
mov edi, dword [ebp - 0x1240]
mov eax, dword [ebp - 0x125c]
test eax, eax
je 0x45ff4e
push eax
lea edx, [ebp - 0x1048]
lea ecx, [ebp - 0x1150]
call fcn.00441850
add esp, 4
mov dword [ebp - 0x125c], 0
lea eax, [ebp - 0x125c]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1048]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45ff05
mov edi, dword [ebp - 0x127c]
push dword [ebp - 0x1240]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x1150]
call fcn.00441910
add esp, 4
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x10a8]
call fcn.00427890
mov edx, dword [ebp - 0x1094]
cmp edx, 0x10
jb 0x45ffba
mov ecx, dword [ebp - 0x10a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45ffb0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46080b
push edx
push ecx
call fcn.004ca782
add esp, 8
mov edx, dword [ebp - 0x1250]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x1098], 0
mov dword [ebp - 0x1094], 0xf
mov byte [ebp - 0x10a8], 0
mov dword [ebp - 0x1240], 0x10
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x460001
add ecx, 4
add edx, 4
sub dword [ebp - 0x1240], 4
jae 0x45ffe8
mov al, 1
jmp 0x460003
xor al, al
mov byte [ebp - 0x1235], al
test al, al
je 0x4602fd
lea edx, [ebp - 0x1060]
lea ecx, [ebp - 0x10f0]
call fcn.00454e70
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x10f0]
cmp dword [ebp - 0x10dc], 8
cmovae ecx, dword [ebp - 0x10f0]
call fcn.00423f40
push str..patched.tmp
lea edx, [ebp - 0x1060]
lea ecx, [ebp - 0x10c0]
call fcn.0045b730
add esp, 4
push 0
push 0
push 3
push 0
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x1090]
cmp dword [ebp - 0x107c], 8
push 3
cmovae eax, dword [ebp - 0x1090]
push 0x120089
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1244], eax
cmp eax, 0xffffffff
jne 0x4600ac
lea ecx, [ebp - 0x10c0]
call fcn.0041b400
lea ecx, [ebp - 0x10f0]
call fcn.0041b400
jmp 0x4606aa
cmp dword [ebp - 0x10ac], 8
lea eax, [ebp - 0x10c0]
push 0
cmovae eax, dword [ebp - 0x10c0]
push 0
push 2
push 0
push 3
push 0x120116
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1260], eax
cmp eax, 0xffffffff
je 0x4602db
mov ecx, dword [ebp - 0x123c]
mov edx, eax
mov dword [ebp - 0x1288], ecx
lea ecx, [ebp - 0x2c]
push ecx
push ecx
lea ecx, [ebp - 0x1288]
push ecx
mov ecx, dword [ebp - 0x1244]
call fcn.00469c90
mov edx, dword [ebp - 0x1250]
lea ecx, [ebp - 0x2c]
add esp, 0xc
mov byte [ebp - 0x1235], al
add edx, 0x14
mov dword [ebp - 0x1240], 0x10
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x460147
add ecx, 4
add edx, 4
sub dword [ebp - 0x1240], 4
jae 0x460130
jmp 0x46014e
mov byte [ebp - 0x1235], 0
sub esp, 0x18
lea edx, [ebp - 0x2c]
mov ecx, esp
call fcn.00427890
cmp dword [ebp - 0x104c], 8
lea ecx, [ebp - 0x1060]
cmovae ecx, dword [ebp - 0x1060]
call fcn.0045aa90
add esp, 0x18
push dword [ebp - 0x1244]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x1235], 0
je 0x460239
lea eax, [ebp - 0x1060]
push eax
lea ecx, [ebp - 0x1318]
call fcn.0041a7e0
lea eax, [ebp - 0x10c0]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x12d0]
call fcn.0041a7e0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x11c8]
mov eax, dword [ebp - 0x1260]
mov dword [ebp - 0x11cc], eax
lea eax, [ebp - 0x12d0]
push eax
call fcn.0041a7e0
lea eax, [ebp - 0x1318]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x11b0]
call fcn.0041a7e0
lea eax, [ebp - 0x11cc]
mov byte [ebp - 4], 0x16
push eax
mov eax, dword [ebp - 0x124c]
mov ecx, dword [eax]
call fcn.004cc282
lea ecx, [ebp - 0x11b0]
call fcn.0041b400
lea ecx, [ebp - 0x11c8]
call fcn.0041b400
lea ecx, [ebp - 0x12d0]
call fcn.0041b400
lea ecx, [ebp - 0x1318]
call fcn.0041b400
jmp 0x4602e7
push 0x544f50
lea ecx, [ebp - 0x1300]
call fcn.0041a770
push 0x544f50
lea ecx, [ebp - 0x12e8]
mov byte [ebp - 4], 0x17
call fcn.0041a770
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x11fc]
mov eax, dword [ebp - 0x1260]
mov dword [ebp - 0x1200], eax
lea eax, [ebp - 0x12e8]
push eax
call fcn.0041a7e0
lea eax, [ebp - 0x1300]
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [ebp - 0x11e4]
call fcn.0041a7e0
lea eax, [ebp - 0x1200]
mov byte [ebp - 4], 0x1b
push eax
mov eax, dword [ebp - 0x124c]
mov ecx, dword [eax]
call fcn.004cc282
lea ecx, [ebp - 0x11e4]
call fcn.0041b400
lea ecx, [ebp - 0x11fc]
call fcn.0041b400
lea ecx, [ebp - 0x12e8]
call fcn.0041b400
lea ecx, [ebp - 0x1300]
call fcn.0041b400
jmp 0x4602e7
push dword [ebp - 0x1244]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x10c0]
call fcn.0041b400
lea ecx, [ebp - 0x10f0]
call fcn.0041b400
push dword [ebp - 0x123c]
call fcn.004ef010
add esp, 4
mov byte [ebp - 0x1235], 1
jmp 0x4606aa
cmp dword [ebp - 0x104c], 8
lea ecx, [ebp - 0x1060]
cmovae ecx, dword [ebp - 0x1060]
call fcn.00423f40
mov ecx, dword [ebp - 0x1240]
cmp dword [ecx + 0x14], 8
jb 0x46033e
mov ecx, dword [ecx]
push ecx
push 0x44
jmp 0x460690
lea edx, [ebp - 0x1060]
lea ecx, [ebp - 0x1180]
call fcn.00454e70
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x460363
mov eax, dword [eax]
mov ecx, eax
call fcn.00423f40
lea ecx, [ebp - 0x1180]
mov byte [ebp - 4], 9
call fcn.0041b400
cmp dword [ebp - 0x104c], 8
lea eax, [ebp - 0x1060]
push 0
cmovae eax, dword [ebp - 0x1060]
push 0x40000000
push 2
push 0
push 3
push 2
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1250], eax
cmp eax, 0xffffffff
je 0x4607d9
mov ecx, dword [ebp - 0x1244]
mov ecx, dword [ecx + 0x5c]
sub ecx, 0
je 0x4604b1
sub ecx, 1
jne 0x46059f
push 0xc
call fcn.004ca790
mov ecx, dword [ebp - 0x1254]
add esp, 4
mov dword [ebp - 0x1274], eax
mov ecx, dword [ecx + 0x20]
push 0x24
mov dword [eax + 4], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
call fcn.004ca790
add esp, 4
mov dword [ebp - 0x1260], eax
push 0
push ecx
push dword [ebp - 0x1250]
mov ecx, eax
call fcn.00425870
push dword [ebp - 0x1248]
mov edx, dword [ebp - 0x1274]
mov ecx, eax
mov eax, dword [ebp - 0x1244]
mov dword [ebp - 0x123c], ecx
push dword [eax + 0x54]
push dword [eax + 0x50]
push 0x425900
push ecx
push ecx
mov ecx, dword [ebp - 0x1258]
call fcn.00474180
mov ecx, dword [ebp - 0x123c]
push esp
call fcn.00425980
cmp dword [ebp - 0x104c], 8
lea ecx, [ebp - 0x1060]
cmovae ecx, dword [ebp - 0x1060]
call fcn.0045aa90
mov eax, dword [ebp - 0x123c]
add esp, 0x18
test eax, eax
je 0x4604a4
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x123c]
push dword [eax + 0x20]
call fcn.004ef010
add esp, 4
push 0x24
push dword [ebp - 0x123c]
call fcn.004ca782
add esp, 8
push 0xc
push dword [ebp - 0x1274]
jmp 0x460597
push 0xc
call fcn.004ca790
mov ecx, dword [ebp - 0x1254]
add esp, 4
mov dword [ebp - 0x1278], eax
mov ecx, dword [ecx + 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x1248]
push 0x24
mov dword [eax], 0
mov dword [eax + 8], ecx
call fcn.004ca790
add esp, 4
mov dword [ebp - 0x1260], eax
push dword [ebp - 0x1248]
push ecx
push dword [ebp - 0x1250]
mov ecx, eax
call fcn.00425870
mov ecx, eax
mov eax, dword [ebp - 0x1244]
mov dword [ebp - 0x123c], ecx
push dword [eax + 0x54]
push dword [eax + 0x50]
push 0x425900
push ecx
mov ecx, dword [ebp - 0x1258]
push 0x425830
push dword [ebp - 0x1278]
call fcn.00473c70
mov ecx, dword [ebp - 0x123c]
sub esp, 0x18
push esp
call fcn.00425980
cmp dword [ebp - 0x104c], 8
lea ecx, [ebp - 0x1060]
cmovae ecx, dword [ebp - 0x1060]
call fcn.0045aa90
mov eax, dword [ebp - 0x123c]
add esp, 0x18
test eax, eax
je 0x46058f
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x123c]
push dword [eax + 0x20]
call fcn.004ef010
add esp, 4
push 0x24
push dword [ebp - 0x123c]
call fcn.004ca782
add esp, 8
push 0xc
push dword [ebp - 0x1278]
call fcn.004ca782
add esp, 8
xor eax, eax
mov dword [ebp - 0x12a8], 0
push eax
push 0x544f50
lea ecx, [ebp - 0x12b8]
mov dword [ebp - 0x12a4], 7
mov word [ebp - 0x12b8], ax
call fcn.0041b490
xor eax, eax
mov byte [ebp - 4], 0xb
push eax
push 0x544f50
lea ecx, [ebp - 0x12a0]
mov dword [ebp - 0x1290], 0
mov dword [ebp - 0x128c], 7
mov word [ebp - 0x12a0], ax
call fcn.0041b490
mov eax, dword [ebp - 0x1250]
lea ecx, [ebp - 0x1230]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x1234], eax
lea eax, [ebp - 0x12a0]
push eax
call fcn.0041a7e0
lea eax, [ebp - 0x12b8]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x1218]
call fcn.0041a7e0
lea eax, [ebp - 0x1234]
mov byte [ebp - 4], 0xf
push eax
mov eax, dword [ebp - 0x124c]
mov ecx, dword [eax]
call fcn.004cc282
lea ecx, [ebp - 0x1218]
call fcn.0041b400
lea ecx, [ebp - 0x1230]
call fcn.0041b400
lea ecx, [ebp - 0x12a0]
call fcn.0041b400
lea ecx, [ebp - 0x12b8]
mov byte [ebp - 4], 9
call fcn.0041b400
mov ecx, dword [ebp - 0x1240]
cmp dword [ecx + 0x14], 8
jb 0x46068d
mov ecx, dword [ecx]
push ecx
push 0x46
cmp dword [ebp - 0x1064], 8
lea eax, [ebp - 0x1078]
cmovae eax, dword [ebp - 0x1078]
push eax
call fcn.0045f660
lea ecx, [ebp - 0x1060]
call fcn.0041b400
lea ecx, [ebp - 0x1090]
mov byte [ebp - 4], 1
call fcn.0041b400
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4606ea
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4606e6
cmp esi, dword [eax + 8]
jne 0x4606e6
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4606d6
mov esi, eax
jmp 0x4606fe
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4606fe
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4606f4
cmp esi, edi
jne 0x45fc10
mov esi, dword [ebp - 0x1258]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x460718
call fcn.00474830
mov eax, dword [esi + 0xc]
test eax, eax
je 0x460728
push eax
call fcn.004ef010
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x460738
push eax
call fcn.004ef010
add esp, 4
push 0x40
push esi
call fcn.004ca782
mov ecx, dword [ebp - 0x1248]
add esp, 8
test ecx, ecx
je 0x460752
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, dword [ebp - 0x124c]
mov byte [edi + 4], 1
cmp dword [edi + 8], 0
je 0x46077f
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp - 0x1270]
nop
push 1
call esi
cmp dword [edi], 0
jne 0x460770
mov edi, dword [ebp - 0x124c]
mov ecx, dword [edi]
test ecx, ecx
je 0x46078c
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
push 0xc
push edi
mov dword [edi], 0
call fcn.004ca782
add esp, 8
lea ecx, [ebp - 0x1078]
call fcn.0041b400
lea ecx, [ebp - 0x10d8]
call fcn.0041b400
mov al, byte [ebp - 0x1235]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
mov dword [0x585b54], 0x1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x1060]
mov byte [ebp - 0x1235], 0
call fcn.0041b400
lea ecx, [ebp - 0x1090]
call fcn.0041b400
jmp 0x460752
call fcn.004eefc0
int3