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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov ecx, edi
mov dword [eax + 0xc], edx
call fcn.0043dcf0
mov ecx, dword [edi + 0x17c]
add ecx, dword [edi + 0x5ec]
mov esi, dword [edi + 0x180]
mov eax, dword [edi + 0x184]
mov edx, dword [edi + 0x188]
add esi, dword [edi + 0x5f0]
sub eax, dword [edi + 0x5f4]
sub edx, dword [edi + 0x5f8]
mov dword [ebp + 8], ecx
mov ecx, dword [edi + 0x610]
xor bl, bl
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], edx
test ecx, ecx
je 0x431369
mov eax, dword [ecx]
mov edx, dword [eax + 0xd4]
call edx
test al, al
je 0x431369
mov ecx, dword [edi + 0x610]
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
mov bl, 1
call edx
sub dword [ebp + 0x10], eax
mov ecx, dword [edi + 0x614]
test ecx, ecx
je 0x431391
mov eax, dword [ecx]
mov edx, dword [eax + 0xd4]
call edx
test al, al
je 0x431391
mov ecx, dword [edi + 0x614]
mov eax, dword [ecx]
mov edx, dword [eax + 0x60]
call edx
sub dword [ebp + 0x14], eax
cmp dword [edi + 0x61c], 0
je 0x4314cd
mov eax, dword [ebp + 8]
mov esi, dword [edi + 0x854]
add esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
sub ecx, dword [edi + 0x85c]
sub edx, dword [edi + 0x860]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
add eax, dword [edi + 0x858]
mov dword [esp + 0x38], esi
mov esi, dword [edi + 0x61c]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
call fcn.0042ff00
test bl, bl
je 0x4314cd
mov ecx, dword [edi + 0x610]
mov edx, dword [ecx]
mov eax, dword [edx + 0xd4]
call eax
test al, al
je 0x431411
cmp byte [edi + 0x620], 0
je 0x4314cd
mov ecx, dword [edi + 0x610]
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
call eax
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x38]
mov edx, dword [edi + 0x61c]
add eax, ecx
mov dword [esp + 0x14], eax
or eax, 0xffffffff
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi]
mov dword [esp + 0x18], 0
mov esi, dword [edx + 0xc]
mov edx, dword [eax + 0x1c]
mov ecx, edi
call edx
mov eax, dword [eax + 8]
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x30]
push ecx
push 1
push 0
push 0
push eax
push 1
mov ecx, esi
call edx
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
cmp dword [esp + 0x18], eax
jle 0x4314ab
mov ecx, dword [edi + 0x610]
mov edx, dword [ecx]
mov eax, dword [edx + 0xd8]
push 1
call eax
mov ecx, dword [edi + 0x610]
xor eax, eax
call fcn.004334c0
mov byte [edi + 0x620], 1
jmp 0x4314cd
cmp byte [edi + 0x620], 0
je 0x4314cd
mov ecx, dword [edi + 0x610]
mov edx, dword [ecx]
mov eax, dword [edx + 0xd8]
push 0
call eax
mov byte [edi + 0x620], 0
mov ecx, dword [edi + 0x610]
test ecx, ecx
je 0x431523
mov edx, dword [ecx]
mov eax, dword [edx + 0xd4]
call eax
test al, al
je 0x431523
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi + 0x610]
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
call eax
add eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0x610]
mov ebx, dword [ecx]
sub esp, 0x10
mov edx, esp
mov dword [edx], esi
mov esi, dword [esp + 0x5c]
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [edx + 0xc], eax
mov edx, dword [ebx + 0x34]
call edx
mov ecx, dword [edi + 0x614]
test ecx, ecx
je 0x431581
mov eax, dword [ecx]
mov edx, dword [eax + 0xd4]
call edx
test al, al
je 0x431581
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [esp + 0x50], ecx
mov ecx, dword [edi + 0x614]
mov edx, dword [ecx]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x60]
call eax
add eax, dword [ebp + 0x14]
mov ecx, dword [edi + 0x614]
mov ebx, dword [ecx]
sub esp, 0x10
mov edx, esp
mov dword [edx], esi
mov esi, dword [esp + 0x5c]
mov dword [edx + 4], esi
mov esi, dword [esp + 0x60]
mov dword [edx + 8], esi
mov dword [edx + 0xc], eax
mov edx, dword [ebx + 0x34]
call edx
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
sub eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0x614]
sub ebx, dword [ebp + 8]
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x4315b5
mov eax, dword [ecx]
mov edx, dword [eax + 0xd4]
call edx
test al, al
je 0x4315b5
mov eax, dword [edi + 0x614]
add ebx, dword [eax + 0x5e0]
xor ecx, ecx
xor esi, esi
cmp dword [edi + 0x5e4], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ecx
jle 0x4316ba
mov ecx, dword [edi + 0x5e0]
mov edx, dword [esp + 0x10]
mov esi, dword [ecx + edx*4]
mov eax, dword [esi]
mov edx, dword [eax + 0xd4]
mov ecx, esi
call edx
test al, al
je 0x43169d
mov eax, dword [esi]
mov edx, dword [eax + 0x108]
mov ecx, esi
call edx
test al, al
jne 0x43169d
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
mov eax, dword [eax + 0x154]
push ecx
push ebx
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call eax
cmp dword [esp + 0x20], 0
jne 0x43162e
inc dword [esp + 0xc]
jmp 0x431666
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
cmp dword [esp + 0x20], eax
jge 0x43164a
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
mov dword [esp + 0x20], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
cmp dword [esp + 0x20], eax
jle 0x431666
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
mov dword [esp + 0x20], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x48]
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call edx
add eax, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
add edx, dword [esp + 0x20]
add edx, dword [eax]
add dword [esp + 0x14], edx
inc dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [edi + 0x5e4]
mov dword [esp + 0x10], eax
jl 0x4315d5
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [edi + 0x5fc]
dec eax
imul edx, eax
mov dword [esp + 0x1c], eax
xor eax, eax
add ecx, edx
cmp esi, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
jle 0x4316f1
mov eax, ebx
sub eax, ecx
cdq
idiv esi
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 0x614]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x28], ebx
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], ebx
cmp ecx, esi
je 0x43172e
mov eax, dword [ecx]
mov edx, dword [eax + 0xd4]
call edx
test al, al
je 0x43172e
mov eax, dword [edi + 0x614]
sub ebx, dword [eax + 0x5e4]
mov dword [esp + 0x18], ebx
cmp dword [edi + 0x5e4], esi
mov dword [esp + 0x10], esi
jle 0x431911
mov ecx, dword [edi + 0x5e0]
mov edx, dword [esp + 0x10]
mov esi, dword [ecx + edx*4]
mov eax, dword [esi]
mov edx, dword [eax + 0xd4]
mov ecx, esi
call edx
test al, al
je 0x4318fa
mov eax, dword [esi]
mov edx, dword [eax + 0x108]
mov ecx, esi
call edx
test al, al
je 0x431785
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
mov edx, dword [eax + 0x1f8]
push ecx
mov ecx, edi
call edx
jmp 0x4318fa
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi]
mov edx, dword [edx + 0x154]
push ecx
push eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call edx
cmp dword [esp + 0x20], 0
mov ecx, esi
jne 0x4317c7
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
call eax
cmp dword [esp + 0x20], eax
jge 0x4317e1
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
mov dword [esp + 0x20], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
cmp dword [esp + 0x20], eax
jle 0x4317fd
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
mov dword [esp + 0x20], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
mov ecx, esi
call eax
mov dword [esp + 0x24], eax
test eax, eax
jne 0x431822
mov eax, dword [ebp + 0x14]
sub eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
test eax, eax
jge 0x43182c
mov dword [esp + 0x24], 0
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
mov ecx, esi
call eax
cmp dword [esp + 0x24], eax
jge 0x431848
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
mov ecx, esi
call eax
mov dword [esp + 0x24], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
cmp dword [esp + 0x24], eax
jle 0x43186a
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
lea edx, [ecx + ebx]
mov dword [esp + 0x48], edx
mov edx, dword [ebp + 0xc]
add eax, edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esp + 0x3c]
add ecx, ebx
mov ebx, dword [esp + 0x24]
add eax, ebx
mov ebx, dword [esp + 0x48]
add eax, edx
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
mov dword [esp + 0x54], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x5c]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x5fc]
mov ebx, dword [esp + 0x18]
lea esi, [ecx + edx]
mov edx, dword [esp + 0x38]
add esi, eax
add esi, edx
add ebx, esi
mov esi, dword [esp + 0x20]
add esi, ecx
add esi, edx
mov edx, dword [esp + 0x20]
add dword [esp + 0xc], esi
add ecx, edx
add ecx, eax
sub dword [esp + 0x28], ecx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [edi + 0x5e4]
mov dword [esp + 0x10], eax
jl 0x43173e
xor esi, esi
mov eax, dword [edi + 0x5fc]
imul eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x614]
add dword [esp + 0xc], eax
cmp ecx, esi
je 0x431a55
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
mov edx, dword [ecx]
cmp dword [esp + 0xc], eax
mov eax, dword [edx + 0xd4]
jle 0x431989
call eax
mov ecx, dword [edi + 0x614]
test al, al
je 0x431966
mov eax, dword [esp + 0xc]
sub eax, dword [ebp + 0x10]
add eax, dword [ebp + 8]
call fcn.00433450
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ecx]
mov eax, dword [edx + 0xd8]
push 1
call eax
mov eax, dword [esp + 0xc]
sub eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0x614]
add eax, dword [ebp + 8]
call fcn.00433450
jmp 0x4319f5
call eax
test al, al
je 0x431a55
mov ecx, dword [edi + 0x614]
mov edx, dword [ecx]
mov eax, dword [edx + 0xd8]
push esi
call eax
mov ecx, dword [edi + 0x614]
cmp dword [ecx + 0x5e0], esi
je 0x4319f5
cmp dword [ecx + 0x5e4], esi
mov dword [ecx + 0x5e0], esi
jle 0x4319c6
mov dword [ecx + 0x5e4], esi
mov ebx, dword [ecx + 0x17c]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [ecx + 0x180]
mov dword [eax + 4], ebx
mov ebx, dword [ecx + 0x184]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 0x188]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [edi + 0x614]
cmp dword [ecx + 0x5e4], esi
je 0x431a48
mov eax, dword [ecx + 0x5e0]
cmp eax, esi
mov dword [ecx + 0x5e4], esi
jge 0x431a19
mov dword [ecx + 0x5e4], eax
mov esi, dword [ecx + 0x17c]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ecx + 0x180]
mov dword [eax + 4], esi
mov esi, dword [ecx + 0x184]
mov dword [eax + 8], esi
mov esi, dword [ecx + 0x188]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [edi + 0x614]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10