Function at 0x41f760
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x73c0b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x55c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x57c]
mov ebx, ecx
xor esi, esi
lea ecx, [esp + 0x5c]
mov al, byte [edi]
push esi
mov byte [esp + 0x60], al
call fcn.00404760
mov ecx, dword [0x76560c]
push ecx
push esi
push edi
lea ecx, [esp + 0x68]
call fcn.00404560
mov dl, byte [esp + 0x13]
mov dword [esp + 0x574], esi
push esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x50], dl
call fcn.00404760
mov eax, dword [esp + 0x64]
mov byte [esp + 0x574], 1
cmp eax, esi
je 0x41f7f6
cmp dword [esp + 0x60], esi
je 0x41f7ea
lea ecx, [esp + 0x5c]
call fcn.0040ac20
mov eax, dword [esp + 0x60]
jmp 0x41f7ef
mov eax, 0x765608
push eax
call dword [sym.imp.user32.dll_CharLowerA]
mov eax, dword [0x80563c]
mov ecx, dword [0x805640]
cmp eax, esi
jne 0x41f80a
mov eax, 0x765608
push ecx
push esi
push eax
lea ecx, [esp + 0x68]
call fcn.00427160
cmp eax, esi
jl 0x41f864
mov ecx, dword [0x76560c]
mov eax, dword [0x805640]
push ecx
lea edx, [esp + 0x40]
push eax
push edx
lea ecx, [esp + 0x68]
call fcn.0040aa70
mov ecx, dword [0x76560c]
mov byte [esp + 0x574], 2
push ecx
push esi
push eax
lea ecx, [esp + 0x58]
call fcn.00404560
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x578], 1
call fcn.00404760
jmp 0x41f87a
mov edx, dword [0x76560c]
lea eax, [esp + 0x5c]
push edx
push esi
push eax
lea ecx, [esp + 0x58]
call fcn.00404560
cmp dword [esp + 0x54], esi
jbe 0x41f9d6
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x70], cl
lea ecx, [esp + 0x70]
call fcn.00404760
push 1
lea edx, [esp + 0x17]
push esi
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x580], 3
mov byte [esp + 0x1f], 0x3a
call fcn.00427160
cmp eax, 0xffffffff
jne 0x41f934
or ecx, eax
mov edi, 0x7a3f88
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 0x7a3f88
lea ecx, [esp + 0x58]
call fcn.00427160
cmp eax, 0xffffffff
jne 0x41f934
or ecx, eax
mov edi, 0x7a3f84
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 0x7a3f84
lea ecx, [esp + 0x58]
call fcn.00427160
cmp eax, 0xffffffff
jne 0x41f934
cmp dword [0x805640], esi
jbe 0x41f91c
mov eax, dword [0x76560c]
lea ecx, [esp + 0x6c]
push eax
push esi
push 0x805638
call fcn.00404560
mov ecx, dword [0x76560c]
lea edx, [esp + 0x4c]
push ecx
push esi
push edx
lea ecx, [esp + 0x78]
call fcn.00413a70
jmp 0x41f949
mov eax, dword [0x76560c]
lea ecx, [esp + 0x4c]
push eax
push esi
push ecx
lea ecx, [esp + 0x78]
call fcn.00404560
mov eax, dword [esp + 0x70]
mov dword [esp + 0x1c], esi
cmp eax, esi
jne 0x41f95a
mov eax, 0x765608
push esi
push 0x80
push 3
push esi
push esi
push closesocket
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x41fa06
lea edx, [esp + 0x6c]
push 0x7a3f68
lea eax, [esp + 0x40]
push edx
push eax
call fcn.0040aca0
add esp, 0xc
mov eax, dword [esp + 0x40]
mov byte [esp + 0x574], 4
cmp eax, esi
jne 0x41f9a7
mov eax, 0x765608
push eax
call fcn.00455190
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x574], 3
push 1
call fcn.00404760
push 1
lea ecx, [esp + 0x70]
mov byte [esp + 0x578], 1
call fcn.00404760
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x578], 0
call fcn.00404760
push 1
lea ecx, [esp + 0x60]
mov dword [esp + 0x578], 0xffffffff
call fcn.00404760
xor al, al
jmp 0x420417
push ebp
mov ecx, ebx
call fcn.004473f0
mov cl, byte [0x7c4d88]
xor eax, eax
mov byte [esp + 0x194], cl
mov ecx, 0x7f
lea edi, [esp + 0x195]
mov ebx, dword [sym.imp.kernel32.dll_ReadFile]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x1c]
push esi
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x20]
push 4
push eax
push ebp
mov dword [esp + 0x2c], esi
call ebx
mov eax, dword [esp + 0x18]
cmp eax, esi
jle 0x41fb73
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x19c]
push eax
push edx
push ebp
call ebx
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x28], cl
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + eax + 0x198], 0
call fcn.00404760
lea edi, [esp + 0x194]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esp + 0x2c]
push edi
mov dword [esp + 0x28], edi
call fcn.00401450
test al, al
je 0x41fad4
mov ecx, edi
mov edi, dword [esp + 0x2c]
mov edx, ecx
lea esi, [esp + 0x194]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
call fcn.00404970
xor esi, esi
mov eax, dword [esp + 0x30]
mov byte [esp + 0x574], 5
cmp eax, esi
je 0x41fb60
lea ecx, [esp + 0x28]
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, 0x805690
call fcn.004299e0
mov ecx, dword [0x805694]
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x41fb60
add eax, 0x1c
mov ecx, 0x8056a0
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00429ee0
mov eax, dword [0x8056a4]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x41fb60
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x1c]
cmp ecx, esi
je 0x41fb38
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, 0x805690
call fcn.00427820
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, 0x8056a0
call fcn.00427840
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x578], 3
call fcn.00404760
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x20]
push 4
push edx
push ebp
call ebx
mov eax, dword [esp + 0x18]
cmp eax, esi
jle 0x41fcae
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x19c]
push eax
push edx
push ebp
call ebx
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x28], cl
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + eax + 0x198], 0
call fcn.00404760
lea edi, [esp + 0x194]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esp + 0x2c]
push edi
mov dword [esp + 0x28], edi
call fcn.00401450
test al, al
je 0x41fc0f
mov ecx, edi
mov edi, dword [esp + 0x2c]
mov edx, ecx
lea esi, [esp + 0x194]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
call fcn.00404970
xor esi, esi
mov eax, dword [esp + 0x30]
mov byte [esp + 0x574], 6
cmp eax, esi
je 0x41fc9b
lea ecx, [esp + 0x28]
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, 0x805690
call fcn.004299e0
mov ecx, dword [0x805694]
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x41fc9b
add eax, 0x1c
mov ecx, 0x8056a0
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00429ee0
mov eax, dword [0x8056a4]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x41fc9b
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x1c]
cmp ecx, esi
je 0x41fc73
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, 0x805690
call fcn.00427820
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, 0x8056a0
call fcn.00427840
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x578], 3
call fcn.00404760
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x20]
push 4
push edx
push ebp
call ebx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push esi
push eax
lea edx, [esp + 0x19c]
push ecx
push edx
push ebp
call ebx
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x28], cl
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + eax + 0x198], 0
call fcn.00404760
lea edi, [esp + 0x194]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esp + 0x2c]
push edi
mov dword [esp + 0x28], edi
call fcn.00401450
test al, al
je 0x41fd42
mov ecx, edi
mov edi, dword [esp + 0x2c]
mov edx, ecx
lea esi, [esp + 0x194]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
call fcn.00404970
xor esi, esi
mov eax, dword [esp + 0x30]
mov byte [esp + 0x574], 7
cmp eax, esi
je 0x41feb2
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x40]
call fcn.004257d0
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x578], 8
call fcn.004258f0
push eax
call dword [sym.imp.user32.dll_CharLowerA]
lea edx, [esp + 0x3c]
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, 0x805540
mov dword [esp + 0x1c], esi
call fcn.00427e20
mov eax, dword [0x805544]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jne 0x41fe74
push 0x160
call fcn.00726f70
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, esi
mov byte [esp + 0x574], 9
je 0x41fdcc
mov ecx, eax
call fcn.004333f0
jmp 0x41fdce
xor eax, eax
mov byte [esp + 0x574], 8
mov dword [esp + 0x14], eax
mov dword [eax + 0x28], esi
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x3c]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
test al, al
jne 0x41fe07
mov ecx, dword [esp + 0x14]
cmp ecx, esi
je 0x41fdfe
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esp + 0x14], esi
jmp 0x41fe9f
mov eax, dword [esp + 0x14]
mov ecx, 0x805540
push eax
call fcn.00427c70
cmp eax, 0xffffffff
jne 0x41fe9f
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x7c]
lea ecx, [edi + 0x18]
push ecx
push edx
mov ecx, 0x805540
call fcn.00427e20
mov eax, dword [esp + 0x7c]
lea edx, [esp + 0x14]
push edx
mov ecx, dword [eax + 0x1c]
lea eax, [esp + 0x28]
mov dword [esp + 0x18], ecx
push eax
mov ecx, 0x805550
call fcn.0042b9d0
mov eax, dword [0x805554]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
je 0x41fe65
inc dword [ecx + 0x10]
cmp edi, esi
je 0x41fe9f
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 4]
jmp 0x41fe9f
mov eax, dword [ecx + 0x1c]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, 0x805550
mov dword [esp + 0x1c], eax
call fcn.0042b9d0
mov eax, dword [0x805554]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
je 0x41fe9f
inc dword [ecx + 0x10]
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x578], 7
call fcn.00404760
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x578], 3
call fcn.00404760
lea ecx, [esp + 0x394]
call fcn.0041a980
lea ecx, [esp + 0x88]
mov byte [esp + 0x574], 0xa
call fcn.004446e0
mov al, byte [esp + 0x13]
mov byte [esp + 0x574], 0xb
mov byte [esp + 0x184], al
mov dword [esp + 0x188], esi
mov dword [esp + 0x18c], esi
mov dword [esp + 0x190], esi
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x574], 0xc
or ah, 0x40
lea ecx, [esp + 0xb4]
mov dword [esp + 0x88], 0x765e30
mov dword [esp + 0x8c], eax
mov dword [esp + 0x174], esi
mov dword [esp + 0x178], esi
mov dword [esp + 0x17c], esi
mov byte [esp + 0x170], 0
mov byte [esp + 0x171], 1
mov dword [esp + 0x16c], esi
call fcn.00425d50
lea ecx, [esp + 0x110]
call fcn.00425d50
mov dword [esp + 0x180], esi
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x40]
push 4
push edx
mov byte [esp + 0x584], 0xd
push ebp
mov dword [esp + 0x4c], esi
call ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], esi
cmp eax, esi
jle 0x420058
lea eax, [esp + 0x1c]
push esi
push eax
lea ecx, [esp + 0x20]
push 4
push ecx
push ebp
mov dword [esp + 0x2c], esi
call ebx
mov eax, dword [esp + 0x18]
cmp eax, esi
jle 0x420043
lea edx, [esp + 0x1c]
push esi
push edx
push eax
lea eax, [esp + 0x1a0]
push eax
push ebp
call ebx
mov ecx, dword [esp + 0x18]
mov dl, byte [esp + 0x13]
push esi
mov byte [esp + 0x40], dl
mov byte [esp + ecx + 0x198], 0
lea ecx, [esp + 0x40]
call fcn.00404760
lea edi, [esp + 0x194]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x194]
push ecx
push eax
lea ecx, [esp + 0x44]
call fcn.004047b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x574], 0xe
push ecx
lea ecx, [esp + 0x8c]
call fcn.00417570
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x578], 0xd
call fcn.00404760
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x41ffa8
lea edx, [esp + 0x1c]
push esi
push edx
lea eax, [esp + 0x40]
push 4
push eax
push ebp
call ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], esi
cmp eax, esi
jle 0x420128
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x20]
push 4
push edx
push ebp
mov dword [esp + 0x2c], esi
call ebx
mov eax, dword [esp + 0x18]
cmp eax, esi
jle 0x420113
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x19c]
push eax
push edx
push ebp
call ebx
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x3c], cl
push esi
lea ecx, [esp + 0x40]
mov byte [esp + eax + 0x198], 0
call fcn.00404760
lea edi, [esp + 0x194]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x194]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x44]
call fcn.004047b0
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x394]
push eax
mov byte [esp + 0x578], 0xf
call fcn.0041b300
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x578], 0xd
call fcn.00404760
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x420078
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x20]
push 4
push edx
push ebp
mov dword [esp + 0x2c], esi
call ebx
mov eax, dword [esp + 0x18]
cmp eax, esi
jle 0x420239
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x19c]
push eax
push edx
push ebp
call ebx
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x28], cl
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + eax + 0x198], 0
call fcn.00404760
lea edi, [esp + 0x194]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x194]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.004047b0
mov eax, dword [esp + 0x30]
mov byte [esp + 0x574], 0x10
cmp eax, esi
je 0x420226
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, 0x805520
call fcn.00428000
mov eax, dword [0x805524]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x420226
add ecx, 0x1c
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, 0x805530
call fcn.0042e150
mov eax, dword [0x805534]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x420226
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x1c]
cmp ecx, esi
je 0x4201fe
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, 0x805520
call fcn.00427fe0
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, 0x805530
call fcn.004280b0
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x578], 0xd
call fcn.00404760
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x88]
push 4
push edx
push ebp
call ebx
lea eax, [esp + 0x1c]
push esi
push eax
lea ecx, [esp + 0x8c]
push 4
push ecx
push ebp
call ebx
lea edx, [esp + 0x1c]
push esi
push edx
lea eax, [esp + 0x20]
push 4
push eax
push ebp
mov dword [esp + 0x2c], esi
call ebx
mov eax, dword [esp + 0x18]
cmp eax, esi
jle 0x420299
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x19c]
push eax
push edx
push ebp
call ebx
mov eax, dword [esp + 0x18]
mov byte [esp + eax + 0x194], 0
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x20]
push 4
push edx
push ebp
mov dword [esp + 0x2c], esi
call ebx
mov eax, dword [esp + 0x18]
cmp eax, esi
jle 0x4203aa
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x19c]
push eax
push edx
push ebp
call ebx
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x28], cl
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + eax + 0x198], 0
call fcn.00404760
lea edi, [esp + 0x194]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x194]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.004047b0
mov eax, dword [esp + 0x30]
mov byte [esp + 0x574], 0x11
cmp eax, esi
je 0x420397
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, 0x805618
call fcn.0042cd30
mov eax, dword [0x80561c]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x420397
add ecx, 0x1c
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, 0x805628
call fcn.0042d480
mov eax, dword [0x80562c]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x420397
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x1c]
cmp ecx, esi
je 0x42036f
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, 0x805618
call fcn.00427fa0
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, 0x805628
call fcn.00427fc0
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x578], 0xd
call fcn.00404760
push ebp
call dword [sym.imp.kernel32.dll_CloseHandle]
lea ecx, [esp + 0x88]
mov byte [esp + 0x574], 0xa
call fcn.00416c70
lea ecx, [esp + 0x394]
mov byte [esp + 0x574], 3
call fcn.0041aa90
push 1
lea ecx, [esp + 0x70]
mov byte [esp + 0x578], 1
call fcn.00404760
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x578], 0
call fcn.00404760
push 1
lea ecx, [esp + 0x60]
mov dword [esp + 0x578], 0xffffffff
call fcn.00404760
mov al, 1
mov ecx, dword [esp + 0x56c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x568
ret 4