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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [ebp + 0xc]
sub esp, 0x44
push ebx
push esi
push edi
mov esi, 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, esi
mov dword [eax + 0xc], edx
call fcn.0043dcf0
mov edi, dword [esi + 0x17c]
mov eax, dword [esi + 0x180]
mov edx, dword [esi + 0x184]
mov ecx, dword [esi + 0x188]
add edi, dword [esi + 0x5ec]
add eax, dword [esi + 0x5f0]
sub edx, dword [esi + 0x5f4]
sub ecx, dword [esi + 0x5f8]
cmp dword [esi + 0x5e4], 0
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], ecx
jne 0x4560b2
mov ebx, dword [esi]
push 0
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ebp + 0xc]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [ebx + 0x1fc]
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi + 0x610]
test ecx, ecx
je 0x4560da
mov edx, dword [ecx]
mov eax, dword [edx + 0xd4]
call eax
test al, al
je 0x4560da
mov ecx, dword [esi + 0x610]
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
call eax
sub dword [ebp + 0x10], eax
mov ecx, dword [esi + 0x614]
test ecx, ecx
je 0x456102
mov edx, dword [ecx]
mov eax, dword [edx + 0xd4]
call eax
test al, al
je 0x456102
mov ecx, dword [esi + 0x614]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
sub dword [ebp + 0x14], eax
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
sub ebx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x614]
sub edi, dword [ebp + 8]
mov dword [esp + 0x2c], ebx
test ecx, ecx
je 0x456136
mov edx, dword [ecx]
mov eax, dword [edx + 0xd4]
call eax
test al, al
je 0x456136
mov ecx, dword [esi + 0x614]
add edi, dword [ecx + 0x5e0]
xor edx, edx
cmp dword [esi + 0x5e4], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
jle 0x456239
mov edx, dword [esi + 0x5e0]
mov eax, dword [esp + 0x10]
mov ebx, dword [edx + eax*4]
mov edx, dword [ebx]
mov eax, dword [edx + 0xd4]
mov ecx, ebx
call eax
test al, al
je 0x45621c
mov edx, dword [ebx]
mov eax, dword [edx + 0x108]
mov ecx, ebx
call eax
test al, al
jne 0x45621c
mov eax, dword [esp + 0x2c]
mov edx, dword [ebx]
mov edx, dword [edx + 0x154]
push eax
push edi
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call edx
cmp dword [esp + 0x20], 0
jne 0x4561ad
inc dword [esp + 0x18]
jmp 0x4561e5
mov eax, dword [ebx]
mov edx, dword [eax + 0x68]
mov ecx, ebx
call edx
cmp dword [esp + 0x20], eax
jge 0x4561c9
mov eax, dword [ebx]
mov edx, dword [eax + 0x68]
mov ecx, ebx
call edx
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x70]
mov ecx, ebx
call edx
cmp dword [esp + 0x20], eax
jle 0x4561e5
mov eax, dword [ebx]
mov edx, dword [eax + 0x70]
mov ecx, ebx
call edx
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebx
call edx
add eax, 8
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call edx
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
add eax, dword [ecx]
add eax, dword [esp + 0x20]
add dword [esp + 0xc], eax
inc dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esi + 0x5e4]
mov dword [esp + 0x10], eax
jl 0x456154
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x5fc]
dec eax
imul ecx, eax
add edx, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
jle 0x456274
mov eax, edi
sub eax, edx
cdq
idiv ecx
xor edx, edx
test eax, eax
setl dl
dec edx
and edx, eax
mov dword [esp + 0x14], edx
mov ecx, dword [esi + 0x614]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x18], ebx
cmp ecx, edi
je 0x4562ad
mov eax, dword [ecx]
mov edx, dword [eax + 0xd4]
call edx
test al, al
je 0x4562ad
mov eax, dword [esi + 0x614]
sub ebx, dword [eax + 0x5e4]
mov dword [esp + 0x18], ebx
cmp dword [esi + 0x5e4], edi
mov dword [esp + 0x10], edi
jle 0x45648c
mov ecx, dword [esi + 0x5e0]
mov edx, dword [esp + 0x10]
mov edi, dword [ecx + edx*4]
mov eax, dword [edi]
mov edx, dword [eax + 0xd4]
mov ecx, edi
call edx
test al, al
je 0x456475
mov eax, dword [edi]
mov edx, dword [eax + 0x108]
mov ecx, edi
call edx
test al, al
je 0x456304
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0x1f8]
push ecx
mov ecx, esi
call edx
jmp 0x456475
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [edi]
mov edx, dword [edx + 0x154]
push ecx
push eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call edx
cmp dword [esp + 0x20], 0
mov ecx, edi
jne 0x456346
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x68]
call eax
cmp dword [esp + 0x20], eax
jge 0x456360
mov edx, dword [edi]
mov eax, dword [edx + 0x68]
mov ecx, edi
call eax
mov dword [esp + 0x20], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x70]
mov ecx, edi
call eax
cmp dword [esp + 0x20], eax
jle 0x45637c
mov edx, dword [edi]
mov eax, dword [edx + 0x70]
mov ecx, edi
call eax
mov dword [esp + 0x20], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x60]
mov ecx, edi
call eax
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4563a1
mov eax, dword [ebp + 0x14]
sub eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
test eax, eax
jge 0x4563ab
mov dword [esp + 0x24], 0
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
cmp dword [esp + 0x24], eax
jge 0x4563c7
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
mov dword [esp + 0x24], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
mov ecx, edi
call eax
cmp dword [esp + 0x24], eax
jle 0x4563e9
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
mov ecx, edi
call eax
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
lea edx, [ecx + ebx]
mov dword [esp + 0x40], edx
mov edx, dword [ebp + 0xc]
add eax, edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esp + 0x34]
add ecx, ebx
mov ebx, dword [esp + 0x24]
add eax, ebx
mov ebx, dword [esp + 0x40]
add eax, edx
mov edx, dword [edi]
mov edx, dword [edx + 0x34]
mov dword [esp + 0x4c], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x54]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0xc], ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x38]
mov eax, dword [esi + 0x5fc]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x18]
lea edi, [eax + ecx]
add edi, dword [esp + 0x20]
add eax, ecx
add eax, dword [esp + 0x20]
add edi, edx
add ebx, edi
mov edi, dword [esp + 0x20]
add edi, ecx
add edi, edx
add dword [esp + 0xc], edi
sub dword [esp + 0x28], eax
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esi + 0x5e4]
mov dword [esp + 0x10], eax
jl 0x4562bd
xor edi, edi
mov eax, dword [esi + 0x5fc]
imul eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x614]
add dword [esp + 0xc], eax
cmp ecx, edi
je 0x456639
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 0x45656a
call eax
mov ecx, dword [esi + 0x614]
test al, al
je 0x4564e1
mov eax, dword [esp + 0xc]
sub eax, dword [ebp + 0x10]
add eax, dword [ebp + 8]
call fcn.00433450
jmp 0x456639
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 [esi + 0x614]
add eax, dword [ebp + 8]
call fcn.00433450
mov ecx, dword [esi + 0x614]
cmp dword [ecx + 0x5e4], edi
je 0x456555
mov eax, dword [ecx + 0x5e0]
cmp eax, edi
mov dword [ecx + 0x5e4], edi
jge 0x456526
mov dword [ecx + 0x5e4], eax
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 [esi + 0x614]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
sub dword [ebp + 0x14], eax
jmp 0x456639
call eax
test al, al
je 0x456639
mov ecx, dword [esi + 0x614]
mov edx, dword [ecx]
mov eax, dword [edx + 0xd8]
push edi
call eax
mov ecx, dword [esi + 0x614]
cmp dword [ecx + 0x5e0], edi
je 0x4565d6
cmp dword [ecx + 0x5e4], edi
mov dword [ecx + 0x5e0], edi
jle 0x4565a7
mov dword [ecx + 0x5e4], edi
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 [esi + 0x614]
cmp dword [ecx + 0x5e4], edi
je 0x456629
mov eax, dword [ecx + 0x5e0]
cmp eax, edi
mov dword [ecx + 0x5e4], edi
jge 0x4565fa
mov dword [ecx + 0x5e4], eax
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 [esi + 0x614]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
add dword [ebp + 0x14], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [esi]
mov edx, dword [edx + 0x1fc]
push edi
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10