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

Disassembly:
sub esp, 0x64
mov eax, dword [esp + 0x68]
push ebx
movsx ebx, word [eax + 0x978]
push ebp
movsx ebp, word [eax + 0x976]
push esi
push 0x323232
push 0xc8c8c8
call fcn.00470e70
mov eax, dword [0x6043b8]
mov ecx, dword [0x4c02d8]
push eax
push ecx
call fcn.004733b0
mov edx, dword [edi + 0xa9c]
push edx
mov esi, eax
lea ecx, [ebx + 0xc3]
push ecx
lea eax, [ebp + 0x108]
push eax
push esi
call fcn.00472890
mov edx, dword [edi + 0xa9c]
add edx, 0x28
push edx
lea eax, [ebx + 0xd2]
push eax
lea eax, [ebp + 0x108]
push eax
push esi
call fcn.00472890
mov ecx, dword [edi + 0xa9c]
add ecx, 0x50
push ecx
lea edx, [ebx + 0xe2]
push edx
lea eax, [ebp + 0x108]
push eax
push esi
call fcn.00472890
mov eax, dword [edi + 0xa9c]
add esp, 0x40
add eax, 0x78
push eax
lea ecx, [ebx + 0xfa]
push ecx
lea eax, [ebp + 0x108]
push eax
push esi
call fcn.00472890
mov eax, dword [edi + 0xa9c]
movzx edx, byte [eax + 0xfb0]
mov eax, dword [eax + edx*4 + 0x102c]
add eax, 0x18
push eax
lea ecx, [ebx + 0x14]
push ecx
lea eax, [ebp + 0x109]
push eax
push esi
call fcn.00472890
mov eax, dword [edi + 0xa9c]
movzx ecx, byte [eax + 0xfb0]
shl ecx, 7
lea edx, [ecx + eax + 0xa0]
push edx
push 0x10
lea eax, [ebp + 0x109]
push eax
lea ecx, [ebx + 0x28]
push esi
call fcn.004417b0
mov eax, dword [0x4c02d8]
push esi
push eax
call fcn.00473540
mov eax, dword [edi + 0xa9c]
movzx ecx, byte [eax + 0xfb0]
mov eax, dword [eax + ecx*4 + 0xfb4]
add esp, 0x38
mov dword [esp + 0xc], eax
test eax, eax
je 0x42c3b4
mov ecx, dword [edi + 0xa9c]
mov esi, dword [eax + 0x70]
mov eax, dword [ecx + 0xfa0]
imul esi
push 0
push 0x2710
push edx
push eax
call fcn.004a4070
mov ecx, dword [edi + 0xa9c]
sub esi, eax
mov eax, dword [ecx + 0xfac]
imul eax, esi
cmp byte [ecx + 0xfb1], 0
cdq
push 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
push 0
je 0x42bfe2
mov edx, dword [edi + 0x43d9c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x7c]
mov eax, 2
call fcn.0042d2c0
mov eax, dword [edi + 0x43d9c]
push 0xa
push eax
jmp 0x42c003
mov ecx, dword [edi + 0x43d98]
mov edx, dword [esp + 0x7c]
mov eax, 1
mov dword [esp + 0x1c], ecx
call fcn.0042d2c0
mov edx, dword [edi + 0x43d98]
push 0xa
push edx
lea esi, [ebx + 0x8c]
push esi
xor eax, eax
lea ecx, [ebp + 0x16d]
call fcn.0044d040
mov ecx, dword [esp + 0x20]
mov eax, ecx
cdq
add esp, 0xc
cmp dword [esp + 0x1c], edx
jl 0x42c049
jg 0x42c02f
cmp dword [esp + 0x18], eax
jbe 0x42c049
cmp dword [esp + 0x10], 0
je 0x42c049
mov eax, ecx
cdq
idiv dword [esp + 0x10]
mov ecx, dword [edi + 0xa9c]
mov dword [ecx + 0xfac], eax
mov edx, dword [edi + 0xa9c]
mov eax, dword [edx + 0xfa4]
push 0xa
push eax
lea ecx, [ebp + 0x1e0]
push esi
xor eax, eax
call fcn.0044d040
mov ecx, dword [esp + 0x18]
movzx edx, word [ecx + 0x60]
push 5
push edx
lea eax, [ebx + 0x14]
push eax
lea ecx, [ebp + 0x1ea]
xor eax, eax
call fcn.0044d040
mov eax, dword [edi + 0xa9c]
mov ecx, dword [eax + 0xfac]
push 4
push ecx
lea esi, [ebx + 0x67]
push esi
lea ecx, [ebp + 0x154]
xor eax, eax
call fcn.0044d040
mov eax, dword [esp + 0x3c]
add esp, 0x24
mov edx, eax
or edx, dword [esp + 0x1c]
push 7
lea ecx, [ebp + 0x1e0]
jne 0x42c0bd
mov eax, dword [esp + 0x14]
push eax
push esi
xor eax, eax
call fcn.0044d040
mov edx, dword [edi + 0xa9c]
mov eax, dword [edx + 0xfac]
add esp, 0xc
cmp eax, 0xa
jg 0x42c0e4
lea ecx, [eax + eax*4]
push 0
add ecx, ecx
push ecx
jmp 0x42c121
mov ecx, dword [esp + 0xc]
movzx ecx, word [ecx + 0x60]
cmp ecx, 0x63
jle 0x42c0f8
mov ecx, 0x63
jmp 0x42c0fc
test ecx, ecx
jle 0x42c12f
cmp eax, ecx
jle 0x42c106
mov dword [edx + 0xfac], ecx
mov edx, dword [edi + 0xa9c]
mov eax, dword [edx + 0xfac]
sub eax, 0xa
imul eax, eax, 0x5a
cdq
idiv ecx
push 0
add eax, 0x5a
push eax
mov edx, dword [esp + 0x7c]
mov eax, 3
call fcn.0042d2c0
mov eax, 0x10
mov ecx, 0x34
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 0x980]
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x38], 0x60
mov dword [esp + 0x40], 0x68
mov dword [esp + 0x48], 0x8c
mov dword [esp + 0x50], 0x94
mov dword [esp + 0x58], 0xb8
mov dword [esp + 0x60], 0xc0
mov dword [esp + 0x68], 0xe4
mov edx, dword [ecx + 4]
lea ecx, [ebx + 0x10]
mov dword [esp + 0x10], edx
mov eax, 0xfb4
mov dword [esp + 0xc], ecx
jmp 0x42c1d4
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], eax
lea eax, [ebp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 5
jmp 0x42c1f8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi + 0xa9c]
mov esi, dword [esp + 0x74]
mov esi, dword [esi + edx]
test esi, esi
je 0x42c233
movzx edx, byte [esi + 0x5f]
shl edx, 4
lea edx, [esp + edx + 0x20]
push edx
mov edx, dword [esp + 0x14]
push edx
push ecx
mov ecx, dword [0x4c02d8]
push eax
call fcn.0046a750
push 2
push ebx
mov eax, ebp
call fcn.004489a0
jmp 0x42c24a
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x14]
push edx
push ecx
mov ecx, dword [0x4c02d8]
push eax
call fcn.0046a750
add dword [esp + 0x74], 4
add dword [esp + 0x14], 0x2c
sub dword [esp + 0x18], 1
jne 0x42c1f0
mov eax, dword [esp + 0x74]
add dword [esp + 0xc], 0x2c
cmp eax, 0x1018
jl 0x42c1d0
lea ecx, [ebx + 0xf8]
lea eax, [ebp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x74], 0x1018
mov dword [esp + 0x14], eax
jmp 0x42c298
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0xa9c]
mov esi, dword [esp + 0x74]
mov esi, dword [esi + edx]
test esi, esi
je 0x42c2d3
movzx edx, byte [esi + 0x5f]
shl edx, 4
lea edx, [esp + edx + 0x20]
push edx
mov edx, dword [esp + 0x14]
push edx
push ecx
mov ecx, dword [0x4c02d8]
push eax
call fcn.0046a750
push 2
push ebx
mov eax, ebp
call fcn.004489a0
jmp 0x42c2ea
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x14]
push edx
push ecx
mov ecx, dword [0x4c02d8]
push eax
call fcn.0046a750
mov eax, dword [esp + 0x74]
add dword [esp + 0x14], 0x2c
add eax, 4
cmp eax, 0x102c
mov dword [esp + 0x74], eax
jl 0x42c290
mov eax, dword [edi + 0xa9c]
movzx ecx, byte [eax + 0xfb0]
mov edx, dword [eax + ecx*4 + 0xfb4]
cmp byte [edx + 0x5f], 0
jne 0x42c322
mov byte [eax + 0xfb0], 0
mov eax, dword [edi + 0xa9c]
mov al, byte [eax + 0xfb0]
cmp al, 0x19
jae 0x42c375
mov ecx, dword [edi + 0xa9c]
movzx eax, byte [ecx + 0xfb0]
cdq
mov ecx, 5
idiv ecx
movzx ecx, byte [0x4c02cc]
neg ecx
sbb ecx, ecx
and ecx, 0x6720
add ecx, 0x6739
push ecx
push 0x24
push 0x24
imul eax, eax, 0x2c
imul edx, edx, 0x2c
lea eax, [eax + ebx + 0xf]
push eax
lea ecx, [edx + ebp + 0xf]
push ecx
jmp 0x42c3a9
movzx edx, byte [0x4c02cc]
mov ecx, dword [esp + 0x18]
neg edx
sbb edx, edx
and edx, 0x6720
add edx, 0x6739
push edx
push 0x24
movzx eax, al
push 0x24
push ecx
cdq
mov ecx, 5
idiv ecx
imul edx, edx, 0x2c
lea edx, [edx + ebp + 0xf]
push edx
mov ecx, dword [0x4c02d8]
call fcn.00467200
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x64
ret 4