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

Disassembly:
sub esp, 0x64
or eax, 0xffffffff
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x70]
push edi
xor ebx, ebx
push eax
lea ecx, [esi + 0xba0]
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], 0x4de284
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], ebx
call fcn.00458500
mov edi, eax
cmp edi, ebx
je 0x43142e
mov ecx, dword [esi + 0xb74]
mov edx, dword [esi + 0xa0]
mov eax, dword [esi + 0x9c]
push ecx
push edx
push eax
push ebx
push ebx
mov ecx, esi
call fcn.004956bb
mov eax, dword [edi + 0x28]
sub eax, dword [edi + 0x24]
sar eax, 2
cmp eax, ebx
mov dword [esp + 0x1c], eax
jle 0x43142e
push ebp
mov ebp, dword [esp + 0x7c]
jmp 0x431164
mov esi, dword [esp + 0x10]
mov ecx, dword [edi + 0x28]
sub ecx, dword [edi + 0x24]
sar ecx, 2
cmp ebx, ecx
jb 0x431176
call fcn.004a067d
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x24]
mov eax, dword [edx + ebx*4]
sar ecx, 2
mov dword [esp + 0x7c], eax
cmp ebx, ecx
jb 0x431192
call fcn.004a067d
mov ecx, dword [esi + 0x12c]
sub ecx, dword [esi + 0x128]
mov edx, dword [edi + 0xc]
mov eax, dword [edx + ebx*4]
sar ecx, 2
mov dword [esp + 0x18], eax
cmp eax, ecx
jb 0x4311b8
call fcn.004a067d
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x128]
mov esi, dword [edx + eax*4]
mov eax, dword [edi + 0xa8]
sub eax, dword [edi + 0xa4]
sar eax, 2
cmp ebx, eax
jb 0x4311d9
call fcn.004a067d
mov ecx, dword [edi + 0xa4]
mov edx, dword [esp + 0x7c]
cmp dword [ecx + ebx*4], 0
push edx
mov ecx, esi
jne 0x4312a2
call fcn.00458560
mov dword [esp + 0x7c], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
lea ecx, [esi + 0x1c]
push eax
mov dword [esp + 0x18], ecx
call fcn.0040e4d0
mov eax, dword [eax]
lea ecx, [esp + 0x18]
inc eax
push ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
call fcn.0040e4d0
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
mov dword [esi + 0xb0], 0
mov eax, dword [edi + 0x58]
sub eax, dword [edi + 0x54]
sar eax, 3
cmp ebx, eax
jb 0x431245
call fcn.004a067d
mov ecx, dword [edi + 0x54]
mov esi, dword [esp + 0x7c]
lea eax, [ecx + ebx*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
push ecx
push esi
mov ecx, ebp
call fcn.0040eae0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], esi
call fcn.0040e4d0
mov esi, dword [eax]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
inc esi
call fcn.0040e4d0
mov ecx, dword [esp + 0x7c]
push 0
push ecx
mov ecx, ebp
mov dword [eax], esi
call fcn.0040fac0
mov ecx, dword [esp + 0x10]
push ebx
push eax
push edi
call fcn.0041e4a0
jmp 0x431422
call fcn.00458560
cmp dword [esi + 0x1e8], 0
jne 0x43132c
mov eax, dword [esp + 0x10]
add eax, 0x178
push eax
mov ecx, esi
call fcn.0045bb10
mov eax, dword [esi + 0x118]
sub eax, dword [esi + 0x114]
mov dword [esp + 0x7c], 0
sar eax, 2
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x431322
mov ecx, dword [esi + 0x118]
sub ecx, dword [esi + 0x114]
sar ecx, 2
cmp dword [esp + 0x7c], ecx
jb 0x4312fa
call fcn.004a067d
mov edx, dword [esi + 0x114]
mov eax, dword [esp + 0x7c]
mov ecx, dword [edx + eax*4]
push 0
push 0
push ecx
mov ecx, ebp
call fcn.0040eae0
mov eax, dword [esp + 0x7c]
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
jl 0x4312e0
mov dword [esi + 0x1e8], 1
mov edx, dword [edi + 0x58]
sub edx, dword [edi + 0x54]
sar edx, 3
cmp ebx, edx
jb 0x43133e
call fcn.004a067d
mov eax, dword [edi + 0x54]
mov ecx, dword [eax + ebx*8]
lea eax, [eax + ebx*8]
mov eax, dword [eax + 4]
push eax
push ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x1e0]
push ecx
mov ecx, ebp
mov dword [esp + 0x34], eax
call fcn.0040eae0
mov edx, dword [esi + 0x1e0]
push 0
push edx
mov ecx, ebp
call fcn.0040fac0
mov ecx, dword [esp + 0x10]
push ebx
push eax
push edi
call fcn.0041e4a0
cmp dword [esi + 0x1e4], 0
mov dword [esp + 0x7c], 0
jle 0x431422
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
push esi
push eax
mov eax, dword [esp + 0x18]
add eax, 0x178
push eax
push ecx
lea edx, [esp + 0x60]
push edx
lea ecx, [esi + 0xd8]
call fcn.00459de0
push eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
lea ecx, [esp + 0x30]
call edx
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x43140d
cmp eax, 0xffffd8f1
je 0x43140d
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
add ecx, edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x3c]
add ecx, edx
push ecx
push eax
mov ecx, ebp
call fcn.0040eae0
mov eax, dword [esp + 0x34]
push 0
push eax
mov ecx, ebp
call fcn.0040fac0
mov ecx, dword [esp + 0x10]
push ebx
push eax
push edi
call fcn.0041e4a0
mov eax, dword [esp + 0x7c]
inc eax
cmp eax, dword [esi + 0x1e4]
mov dword [esp + 0x7c], eax
jl 0x431393
inc ebx
cmp ebx, dword [esp + 0x20]
jl 0x431160
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x64
ret 8