Function at 0x42caf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e7038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0xa8]
lea esi, [ebx + 0xa4]
push edi
push eax
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.00439b80
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.00425b10
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x44], al
call fcn.00401510
mov edi, 0x5043d0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x44]
push ebp
call fcn.00401580
test al, al
je 0x42cb8d
mov edi, dword [esp + 0x44]
mov ecx, ebp
mov edx, ecx
mov esi, 0x5043d0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x44]
call fcn.00401560
mov eax, dword [0x4ec400]
mov ecx, dword [esp + 0x9c]
xor ebp, ebp
push eax
push ebp
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x9c], ebp
call fcn.00416cf0
mov ecx, dword [ebx + 0x94]
cmp ecx, ebp
je 0x42cbbf
push 0xe
call fcn.0049c080
mov eax, dword [esp + 0x44]
cmp eax, ebp
jne 0x42cbcc
mov eax, 0x4ec3fc
push eax
push 8
push ebx
mov ecx, ebx
call fcn.0042ca80
cmp eax, ebp
mov dword [ebx + 0x94], eax
je 0x42cf3e
push 1
push 0xe
mov ecx, eax
call fcn.0049c040
mov edx, dword [esp + 0x98]
push 0x504104
push 5
push edx
mov ecx, ebx
call fcn.0042ca80
mov edi, eax
mov ecx, edi
call fcn.00433210
test eax, eax
jle 0x42cc9e
push 0
push 0x5040e0
push 0x502280
push 0
push ebp
mov ecx, edi
call fcn.0049c4d0
push eax
call fcn.004bed57
mov esi, eax
add esp, 0x14
test esi, esi
je 0x42cc8e
lea eax, [esi + 0x10]
lea ecx, [esp + 0x50]
push eax
call fcn.004144d0
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x50]
lea edx, [esp + 0x28]
push ecx
push edx
lea ecx, [ebx + 0xa4]
mov byte [esp + 0x98], 1
call fcn.0042d760
mov eax, dword [eax]
push 1
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], eax
mov byte [esp + 0x94], 0
call fcn.00401510
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x1c], esi
mov ecx, edi
inc ebp
call fcn.00433210
cmp ebp, eax
jl 0x42cc17
mov ecx, dword [ebx + 0x94]
lea eax, [esp + 0x64]
push 0
push eax
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [ebx + 0x98]
push 0x5040d4
push 5
push ecx
mov ecx, ebx
mov byte [esp + 0x9c], 2
call fcn.0042ca80
mov edx, dword [ebx + 0x98]
push 0x5040cc
push 5
push edx
mov ecx, ebx
mov dword [ebx + 0xa0], eax
call fcn.0042ca80
xor esi, esi
mov ecx, eax
mov dword [ebx + 0x9c], eax
mov dword [esp + 0x14], esi
call fcn.00433210
test eax, eax
jle 0x42cf01
mov ecx, dword [ebx + 0x9c]
push 0
push 0x5040a8
push 0x502280
push 0
push esi
call fcn.0049c4d0
push eax
call fcn.004bed57
mov esi, eax
add esp, 0x14
test esi, esi
je 0x42cee5
lea eax, [esi + 0xc8]
lea ecx, [esp + 0x74]
push eax
mov dword [esi + 0xe8], ebx
call fcn.004144d0
mov dword [esp + 0x84], 0
lea ecx, [esp + 0x74]
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [ebx + 0xa4]
mov byte [esp + 0x98], 3
call fcn.004258b0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.0049a2c0
mov edi, dword [esp + 0x20]
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x94], 2
call fcn.00401510
mov ebp, dword [edi + 0x1c]
mov edi, dword [ebp + 0x90]
mov eax, dword [ebp + 0x94]
mov ecx, dword [ebp + 0x98]
test edi, edi
je 0x42cee5
test eax, eax
je 0x42cee5
test ecx, ecx
je 0x42cee5
mov dword [esi + 0xdc], ecx
lea ecx, [esp + 0x30]
mov dword [esi + 0xd8], eax
call fcn.0049c110
mov edx, dword [ebp + 0x84]
mov eax, dword [ebp + 0x88]
mov ecx, edi
mov byte [esp + 0x90], 4
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call fcn.0049e1f0
mov ecx, edi
mov dword [esp + 0x38], eax
call fcn.0049e200
lea ecx, [esp + 0x30]
mov dword [esp + 0x3c], eax
push ecx
mov ecx, dword [ebx + 0x94]
call fcn.00423200
push eax
push edi
mov ecx, esi
call fcn.0042daf0
mov edx, dword [esi]
lea eax, [esp + 0x50]
push 0
push eax
mov ecx, esi
call dword [edx + 0x10]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
add edx, ecx
mov ecx, dword [esp + 0x50]
push edx
add ecx, eax
mov byte [esp + 0x94], 5
push ecx
lea ecx, [esp + 0x30]
call fcn.0049fc10
push eax
lea ecx, [esi + 0xb8]
mov byte [esp + 0x94], 6
call fcn.0049fc30
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 5
call fcn.004a6da0
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x4ecab4]
add ecx, eax
mov eax, dword [esp + 0x38]
push 1
push ecx
mov ecx, dword [0x4ecab0]
mov edx, dword [esi]
add ecx, eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x74]
add ecx, eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x60]
add ecx, eax
push ecx
mov ecx, esi
call dword [edx + 0x14]
push 1
push 0xe
mov ecx, esi
call fcn.0049c040
lea ecx, [esp + 0x50]
mov byte [esp + 0x90], 4
call fcn.004a6da0
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 2
call fcn.004a6da0
mov esi, dword [esp + 0x14]
mov ecx, dword [ebx + 0x9c]
inc esi
mov dword [esp + 0x14], esi
call fcn.00433210
cmp esi, eax
jl 0x42cd03
mov ecx, dword [ebx + 0x98]
call fcn.0049ba70
mov ecx, dword [ebx + 0x94]
push 0x3ecccccd
call fcn.004a6a80
mov ecx, ebx
call fcn.0042d000
lea ecx, [esp + 0x64]
mov dword [ebx + 0x88], 1
mov byte [esp + 0x90], 0
call fcn.004a6da0
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
test ecx, ecx
pop ebx
je 0x42cf78
mov al, byte [ecx - 1]
test al, al
je 0x42cf6e
cmp al, 0xff
je 0x42cf6e
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret 8
dec ecx
push ecx
call fcn.004b124a
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret 8