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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x581980]
xor eax, esp
mov dword [esp + 0x80], eax
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov ecx, esi
mov dword [eax + 0xc], ebx
call fcn.00412250
mov ecx, dword [esi + 0x158]
add ecx, dword [esi + 0x4b4]
mov eax, dword [esi + 0x154]
mov edi, dword [esi + 0x15c]
mov ebx, dword [esi + 0x160]
add eax, dword [esi + 0x4b0]
sub edi, dword [esi + 0x4b8]
sub ebx, dword [esi + 0x4bc]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x4cc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
test ecx, ecx
je 0x430fbd
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x430fbd
mov ecx, dword [esi + 0x4cc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
call edx
sub edi, eax
mov dword [esp + 0x30], edi
mov ecx, dword [esi + 0x4d0]
test ecx, ecx
je 0x430fe8
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x430fe8
mov ecx, dword [esi + 0x4d0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x60]
call edx
sub ebx, eax
mov dword [esp + 0x34], ebx
sub edi, dword [esp + 0x28]
sub ebx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x4d0]
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x18], ebx
test ecx, ecx
je 0x431024
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x431024
mov eax, dword [esi + 0x4d0]
mov ecx, dword [eax + 0x4a4]
add dword [esp + 0x4c], ecx
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x4a8], eax
jle 0x431192
mov edi, eax
jmp 0x431050
mov edx, dword [esi + 0x4a4]
mov ebx, dword [edx + edi*4]
mov eax, dword [ebx]
mov edx, dword [eax + 0xc8]
mov ecx, ebx
call edx
test al, al
je 0x431181
mov eax, dword [ebx]
mov edx, dword [eax + 0xf4]
mov ecx, ebx
call edx
test al, al
jne 0x431181
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
mov eax, dword [ebx]
push ecx
push edx
mov edx, dword [eax + 0x114]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call edx
cmp dword [esp + 0x10], 0
jne 0x4310a9
inc dword [esp + 0x3c]
jmp 0x4310e7
mov eax, dword [ebx]
mov edx, dword [eax + 0x78]
mov ecx, ebx
call edx
cmp dword [esp + 0x10], eax
jge 0x4310c5
mov eax, dword [ebx]
mov edx, dword [eax + 0x78]
mov ecx, ebx
call edx
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x80]
mov ecx, ebx
call edx
cmp dword [esp + 0x10], eax
jle 0x4310e7
mov eax, dword [ebx]
mov edx, dword [eax + 0x80]
mov ecx, ebx
call edx
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, ebx
call edx
lea edi, [eax + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, ebx
call edx
mov eax, dword [eax + 4]
add eax, dword [edi]
mov edx, dword [ebx]
add eax, dword [esp + 0x10]
mov edx, dword [edx + 0x48]
add dword [esp + 0x14], eax
lea eax, [esp + 0x6c]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0xc]
xor ecx, ecx
test eax, eax
setle cl
dec ecx
and ecx, eax
mov dword [esp + 0xc], ecx
mov edx, dword [ebx]
mov eax, dword [edx + 0x68]
mov ecx, ebx
call eax
cmp dword [esp + 0xc], eax
jge 0x43114f
mov edx, dword [ebx]
mov eax, dword [edx + 0x68]
mov ecx, ebx
call eax
mov dword [esp + 0xc], eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x70]
mov ecx, ebx
call eax
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jle 0x43116f
mov edx, dword [ebx]
mov eax, dword [edx + 0x70]
mov ecx, ebx
call eax
mov ecx, eax
mov dword [esp + 0xc], ecx
cmp dword [esp + 0x24], ecx
jg 0x431179
mov dword [esp + 0x24], ecx
inc dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
inc edi
mov dword [esp + 0x1c], edi
cmp edi, dword [esi + 0x4a8]
jl 0x431050
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x4c0]
dec eax
imul ecx, eax
add dword [esp + 0x14], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x4f8]
test eax, eax
je 0x43129c
mov edx, dword [eax + 0x4f8]
lea ecx, [eax + 0x4f8]
mov eax, dword [edx + 0x10]
call eax
mov ebx, eax
test ebx, ebx
je 0x43129c
mov edx, dword [ebx + 0x4a0]
mov eax, dword [edx + 0xc]
lea ecx, [ebx + 0x4a0]
call eax
test eax, eax
jle 0x43129c
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov edx, dword [ebx]
mov edx, dword [edx + 0x114]
push edi
push eax
lea ecx, [esp + 0x74]
push ecx
mov ecx, ebx
call edx
cmp dword [eax], 0
jge 0x431214
mov dword [esp + 0x24], 0
jmp 0x431231
mov ecx, dword [esp + 0x44]
mov eax, dword [ebx]
mov eax, dword [eax + 0x114]
push edi
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, ebx
call eax
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x4cc]
test ecx, ecx
je 0x4312a0
mov edx, dword [ecx]
mov eax, dword [edx + 0xc8]
call eax
test al, al
je 0x4312a0
mov ecx, dword [esi + 0x4d0]
mov edx, dword [ebx]
mov edi, dword [ecx + 0x4a8]
mov eax, dword [edx + 0x30]
mov ecx, ebx
call eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x64], ecx
sub edx, edi
mov edi, dword [ebx]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x70]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x74]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x34]
mov ecx, ebx
call eax
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x54], ebx
cmp ecx, ebx
jle 0x4312c9
mov eax, edi
sub eax, dword [esp + 0x14]
cdq
idiv ecx
xor ecx, ecx
cmp eax, ebx
setl cl
dec ecx
and ecx, eax
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x4cc]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x70], edi
mov dword [esp + 0x40], ebx
test ecx, ecx
je 0x4312fd
mov edx, dword [ecx]
mov eax, dword [edx + 0xc8]
call eax
test al, al
je 0x4312fd
mov ecx, dword [esi + 0x4cc]
sub ebx, dword [ecx + 0x4a8]
mov dword [esp + 0x40], ebx
mov ecx, dword [esi + 0x4d0]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x431331
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x431331
mov ecx, dword [esi + 0x4d0]
mov eax, dword [esp + 0x28]
sub eax, dword [ecx + 0x4a8]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
cmp dword [esi + 0x4a8], eax
jle 0x431585
nop
mov eax, dword [esi + 0x4a4]
mov ecx, dword [esp + 0x14]
mov edi, dword [eax + ecx*4]
mov edx, dword [edi]
mov eax, dword [edx + 0xc8]
mov ecx, edi
call eax
test al, al
je 0x431570
mov edx, dword [edi]
mov eax, dword [edx + 0xf4]
mov ecx, edi
call eax
test al, al
je 0x431397
mov edx, dword [esi]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0x1b0]
push eax
mov ecx, esi
call edx
jmp 0x431570
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x60]
mov edx, dword [edi]
mov edx, dword [edx + 0x114]
push eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x50]
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call edx
cmp dword [esp + 0x10], 0
jne 0x431441
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
inc eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x10], ecx
cmp eax, dword [esp + 0x3c]
jne 0x431401
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x68]
mov edx, 0
sub eax, dword [esp + 0x20]
sets dl
dec edx
and edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
cmp dword [esp + 0x10], eax
jge 0x43141d
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
cmp dword [esp + 0x10], eax
jle 0x431487
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov dword [esp + 0x10], eax
jmp 0x431487
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
cmp dword [esp + 0x10], eax
jge 0x43145d
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jle 0x431483
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov ecx, eax
mov dword [esp + 0x10], ecx
sub dword [esp + 0x20], ecx
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x24]
sub eax, dword [esp + 0x5c]
mov dword [esp + 0xc], ecx
cmp ecx, eax
jg 0x4314a3
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
mov ecx, edi
call edx
cmp dword [esp + 0xc], eax
jge 0x4314bf
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
mov ecx, edi
call edx
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
mov ecx, edi
call edx
cmp dword [esp + 0xc], eax
jle 0x4314db
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
mov ecx, edi
call edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ecx]
add eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x60]
add eax, dword [esp + 0x1c]
add ecx, ebx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x68]
mov dword [esp + 0x80], ecx
add eax, dword [esp + 0x60]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x90]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x94]
add eax, ebx
mov ebx, dword [edi]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x34]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x4c0]
mov ebx, dword [esp + 0x40]
lea edi, [ecx + edx]
mov edx, dword [esp + 0x60]
add edi, edx
add edi, eax
add ebx, edi
mov edi, dword [esp + 0x10]
add edi, ecx
add ecx, dword [esp + 0x10]
add edi, edx
add dword [esp + 0x18], edi
add ecx, eax
sub dword [esp + 0x70], ecx
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esi + 0x4a8]
jl 0x431350
mov eax, dword [esi + 0x4c0]
imul eax, dword [esp + 0x58]
mov ecx, dword [esi + 0x4d0]
add dword [esp + 0x18], eax
xor edi, edi
cmp ecx, edi
je 0x4317e2
mov edx, dword [ecx]
mov eax, dword [edx + 0xc8]
mov ebx, dword [esp + 0x24]
call eax
cmp ebx, dword [esp + 0x44]
jle 0x431714
mov ecx, dword [esi + 0x4d0]
test al, al
je 0x431634
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x30]
add eax, ebx
cmp dword [ecx + 0x4a4], eax
je 0x4317e2
mov dword [ecx + 0x4a4], eax
cmp eax, edi
jge 0x4315ec
mov dword [ecx + 0x4a4], edi
mov eax, dword [ecx + 0x4a4]
cmp dword [ecx + 0x4a8], eax
jle 0x431600
mov dword [ecx + 0x4a8], eax
mov edi, dword [ecx + 0x154]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ecx + 0x158]
mov dword [eax + 4], edi
mov edi, dword [ecx + 0x15c]
mov dword [eax + 8], edi
mov edi, dword [ecx + 0x160]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x34]
call eax
jmp 0x4317e2
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push 1
call eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x4d0]
add eax, ebx
cmp dword [ecx + 0x4a4], eax
je 0x4316ab
mov dword [ecx + 0x4a4], eax
cmp eax, edi
jge 0x431668
mov dword [ecx + 0x4a4], edi
mov eax, dword [ecx + 0x4a4]
cmp dword [ecx + 0x4a8], eax
jle 0x43167c
mov dword [ecx + 0x4a8], eax
mov ebx, dword [ecx + 0x154]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [ecx + 0x158]
mov dword [eax + 4], ebx
mov ebx, dword [ecx + 0x15c]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 0x160]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esi + 0x4d0]
cmp dword [ecx + 0x4a8], edi
je 0x4316fe
mov eax, dword [ecx + 0x4a4]
mov dword [ecx + 0x4a8], edi
cmp eax, edi
jge 0x4316cf
mov dword [ecx + 0x4a8], eax
mov edi, dword [ecx + 0x154]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ecx + 0x158]
mov dword [eax + 4], edi
mov edi, dword [ecx + 0x15c]
mov dword [eax + 8], edi
mov edi, dword [ecx + 0x160]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esi + 0x4d0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
sub dword [esp + 0x34], eax
jmp 0x4317e2
test al, al
je 0x4317e2
mov ecx, dword [esi + 0x4d0]
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push edi
call eax
mov ecx, dword [esi + 0x4d0]
cmp dword [ecx + 0x4a4], edi
je 0x43177e
mov dword [ecx + 0x4a4], edi
cmp dword [ecx + 0x4a8], edi
jle 0x43174f
mov dword [ecx + 0x4a8], edi
mov ebx, dword [ecx + 0x154]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [ecx + 0x158]
mov dword [eax + 4], ebx
mov ebx, dword [ecx + 0x15c]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 0x160]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esi + 0x4d0]
cmp dword [ecx + 0x4a8], edi
je 0x4317d1
mov eax, dword [ecx + 0x4a4]
mov dword [ecx + 0x4a8], edi
cmp eax, edi
jge 0x4317a2
mov dword [ecx + 0x4a8], eax
mov edi, dword [ecx + 0x154]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ecx + 0x158]
mov dword [eax + 4], edi
mov edi, dword [ecx + 0x15c]
mov dword [eax + 8], edi
mov edi, dword [ecx + 0x160]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esi + 0x4d0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
add dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [esi]
mov edx, dword [edx + 0x1b4]
push eax
push ecx
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f2889
mov esp, ebp
pop ebp
ret 0x10