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

Disassembly:
sub esp, 0x1c0
mov eax, dword [0x48b114]
push ebx
push ebp
mov dword [esp + 0x1c4], eax
mov eax, dword [0x4938c0]
mov ebp, dword [eax + 0xd7c]
mov eax, dword [ebp + 0x182e8]
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0x1d4]
add ebp, 0x182e4
push 0x429
push ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
call dword [0x47e348]
mov edi, dword [0x47e34c]
push 0
push 0
mov ebx, eax
push 0x1042
push ebx
call edi
xor edx, edx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], edx
mov word [esp + 0xc4], dx
mov dword [esp + 0x88], edx
lea edx, [esp + 0x80]
push edx
push eax
mov eax, dword [esp + 0x1dc]
push 0x102d
lea ecx, [esp + 0xb4]
push eax
mov dword [esp + 0xa8], 0xa
mov dword [esp + 0xa4], ecx
call edi
lea ecx, [esp + 0xa8]
push ecx
call fcn.0045beb8
mov ecx, dword [esi + eax*4 + 0x4c]
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
mov esi, eax
sar esi, 8
mov eax, esi
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add esp, 4
and eax, 0x800000ff
jns 0x42ffb9
dec eax
or eax, 0xffffff00
inc eax
xor edx, edx
mov dh, al
mov eax, esi
and eax, 0x800000ff
jns 0x42ffcd
dec eax
or eax, 0xffffff00
inc eax
mov dl, al
shl edx, 8
and ecx, 0x800000ff
jns 0x42ffe2
dec ecx
or ecx, 0xffffff00
inc ecx
mov eax, dword [esp + 0x18]
push 2
movzx ecx, cl
push 0xffffffffffffffff
push 0x100c
or edx, ecx
push ebx
mov dword [eax + 0x160], edx
call edi
cmp eax, 0xffffffff
je 0x4300ce
mov esi, dword [esp + 0x10]
push 2
push eax
push 0x100c
inc esi
push ebx
mov dword [esp + 0x20], esi
call edi
cmp eax, 0xffffffff
jne 0x430006
mov eax, esi
test eax, eax
je 0x4300ce
mov ecx, 0xffffff
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x1d4]
mov dword [esp + 0x54], ecx
xor edx, edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x7c], ecx
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x40]
push edx
mov dword [esp + 0x20], 0x24
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], 0xffffff
mov dword [esp + 0x34], 1
call dword [0x47e390]
test eax, eax
jne 0x4300d5
xor eax, eax
jmp 0x430190
push 2
push 0xffffffffffffffff
push 0x100c
push ebx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x43018b
lea esp, [esp]
mov eax, dword [esp + 0x1d4]
push 0x429
push eax
call dword [0x47e348]
lea edx, [esp + 0x80]
push edx
push esi
push 0x102d
lea ecx, [esp + 0xd4]
push eax
mov dword [esp + 0x98], 0
mov dword [esp + 0xa8], 0xa
mov dword [esp + 0xa4], ecx
call edi
lea eax, [esp + 0xc8]
push eax
call fcn.0045beb8
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [edx + esi*4 + 0x4c], ecx
mov edx, dword [esp + 0x28]
dec eax
mov ecx, eax
imul ecx, ecx, 0x168
inc eax
mov dword [ecx + ebp + 0x29e44], edx
mov ecx, dword [0x493400]
push eax
call fcn.0042fc00
push 2
push esi
push 0x100c
push ebx
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x4300f0
mov eax, 1
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebp
pop ebx
call fcn.0045a5f9
add esp, 0x1c0
ret 4