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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
sub esp, 0x94
push ebx
push esi
push edi
push eax
mov ebx, 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, ebx
mov dword [eax + 0xc], edx
call fcn.004204f0
mov eax, dword [ebx + 0x158]
mov edx, dword [ebx + 0x160]
mov ecx, dword [ebx + 0x15c]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x164]
mov dword [ebp + 0x10], edx
mov edx, dword [ebx]
mov edx, dword [edx + 0x178]
mov dword [ebp + 0x14], eax
lea eax, [esp + 0x70]
mov dword [ebp + 0xc], ecx
push eax
mov ecx, ebx
call edx
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
add edi, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
sub edx, dword [esp + 0x78]
sub ecx, dword [esp + 0x7c]
add dword [ebp + 0xc], eax
xor esi, esi
mov dword [ebp + 8], edi
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], ecx
cmp dword [ebx + 0x558], esi
jne 0x45ce66
push esi
push esi
mov esi, dword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [ebx]
mov edx, dword [eax + 0x208]
mov ecx, ebx
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebx + 0x584]
cmp ecx, esi
je 0x45ce91
mov eax, dword [ecx]
mov edx, dword [eax + 0x100]
call edx
test al, al
je 0x45ce91
mov ecx, dword [ebx + 0x584]
mov eax, dword [ecx]
mov edx, dword [eax + 0x88]
call edx
sub dword [ebp + 0x10], eax
mov ecx, dword [ebx + 0x588]
cmp ecx, esi
je 0x45cebc
mov eax, dword [ecx]
mov edx, dword [eax + 0x100]
call edx
test al, al
je 0x45cebc
mov ecx, dword [ebx + 0x588]
mov eax, dword [ecx]
mov edx, dword [eax + 0x90]
call edx
sub dword [ebp + 0x14], eax
mov edi, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x698]
cmp edi, esi
je 0x45cee9
mov eax, dword [ebx + 0x69c]
push eax
push ecx
call fcn.00408240
lea esi, [esp + 0x48]
mov edi, eax
call fcn.00418660
mov ecx, dword [esp + 0x40]
xor esi, esi
jmp 0x45cef3
mov edx, dword [ebx + 0x69c]
mov dword [esp + 0x44], edx
cmp ecx, esi
jle 0x45cf06
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
cdq
idiv ecx
mov dword [ebx + 0x6a0], eax
cmp dword [ebx + 0x6a0], esi
jne 0x45cf18
mov dword [ebx + 0x6a0], 1
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x588]
cdq
idiv dword [ebx + 0x6a0]
mov dword [esp + 0xc], esi
mov dword [esp + 0x58], eax
cmp ecx, esi
je 0x45cf62
mov eax, dword [ecx]
mov edx, dword [eax + 0x100]
call edx
test al, al
je 0x45cf62
mov eax, dword [ebx + 0x588]
mov eax, dword [eax + 0x558]
sub eax, dword [ebp + 8]
add eax, dword [ebp + 0x10]
cdq
idiv dword [ebx + 0x6a0]
mov dword [esp + 0x58], eax
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0x584]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x45cfa0
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
test al, al
je 0x45cfa0
mov ecx, dword [ebx + 0x584]
sub esi, dword [ecx + 0x560]
mov dword [esp + 0x1c], esi
mov ecx, dword [ebx + 0x588]
mov esi, dword [ebp + 8]
mov dword [esp + 0x28], esi
test ecx, ecx
je 0x45cfd3
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
test al, al
je 0x45cfd3
mov ecx, dword [ebx + 0x588]
sub esi, dword [ecx + 0x560]
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], esi
xor edi, edi
cmp dword [ebx + 0x558], edi
mov dword [esp + 0x2c], edi
jle 0x45d43c
mov edx, dword [ebx + 0x554]
mov esi, dword [edx + edi*4]
mov eax, dword [esi]
mov edx, dword [eax + 0x100]
mov ecx, esi
call edx
test al, al
je 0x45d42b
mov eax, dword [esi]
mov edx, dword [eax + 0x12c]
mov ecx, esi
call edx
test al, al
je 0x45d024
mov eax, dword [ebx]
mov edx, dword [eax + 0x204]
push edi
mov ecx, ebx
call edx
jmp 0x45d42b
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x50], eax
mov eax, ecx
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
jne 0x45d205
cmp edi, dword [ebx + 0x558]
mov dword [esp + 0x38], ecx
mov dword [esp + 0xc], edi
jge 0x45d205
mov edx, dword [ebx + 0x554]
mov eax, dword [esp + 0xc]
mov edi, dword [edx + eax*4]
mov edx, dword [edi]
mov eax, dword [edx + 0x100]
mov ecx, edi
mov dword [esp + 0x3c], edi
call eax
test al, al
je 0x45d1f0
mov edx, dword [edi]
mov eax, dword [edx + 0x12c]
mov ecx, edi
call eax
test al, al
jne 0x45d1f0
mov edx, dword [edi]
mov edx, dword [edx + 0x74]
lea eax, [esp + 0x60]
push eax
mov ecx, edi
call edx
mov edi, dword [esp + 0x50]
sub edi, dword [esp + 0x68]
mov eax, dword [esp + 0x38]
sub edi, dword [esp + 0x60]
sub edi, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
je 0x45d0d4
inc eax
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
je 0x45d0d4
sub edi, dword [ebx + 0x570]
jmp 0x45d0e3
mov eax, dword [ebx + 0x570]
cdq
sub eax, edx
sar eax, 1
neg eax
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x98]
mov ecx, esi
call edx
cmp edi, eax
jge 0x45d101
mov eax, dword [esi]
mov edx, dword [eax + 0x98]
mov ecx, esi
call edx
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0xa0]
mov ecx, esi
call edx
cmp edi, eax
jle 0x45d11f
mov eax, dword [esi]
mov edx, dword [eax + 0xa0]
mov ecx, esi
call edx
mov edi, eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14c]
mov eax, 0x270f
push eax
push edi
lea eax, [esp + 0x38]
push eax
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x98]
mov ecx, esi
call edx
cmp dword [esp + 0x30], eax
jge 0x45d15b
mov eax, dword [esi]
mov edx, dword [eax + 0x98]
mov ecx, esi
call edx
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xa0]
mov ecx, esi
call edx
cmp dword [esp + 0x30], eax
jle 0x45d17d
mov eax, dword [esi]
mov edx, dword [eax + 0xa0]
mov ecx, esi
call edx
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xa8]
mov ecx, esi
call edx
cmp dword [esp + 0x34], eax
jge 0x45d19f
mov eax, dword [esi]
mov edx, dword [eax + 0xa8]
mov ecx, esi
call edx
mov dword [esp + 0x34], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jle 0x45d1c5
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
mov ecx, eax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
add edx, eax
lea eax, [edx + ecx]
cmp dword [esp + 0x24], eax
jg 0x45d1dc
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
je 0x45d205
mov eax, dword [esp + 0xc]
inc eax
cmp eax, dword [ebx + 0x558]
mov dword [esp + 0xc], eax
jl 0x45d05f
mov eax, dword [esi]
mov edx, dword [eax + 0x74]
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
call edx
mov eax, dword [ebx + 0x570]
mov ecx, dword [esp + 0x80]
cdq
sub eax, edx
mov edx, dword [esp + 0x88]
sar eax, 1
lea edi, [eax + ecx]
mov ecx, dword [ebx + 0x6a0]
mov dword [esp + 0xc], eax
add eax, edx
sub dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
cdq
idiv ecx
add edi, dword [esp + 0x18]
test edx, edx
jne 0x45d255
sub edi, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x3c], eax
cdq
idiv ecx
test edx, edx
jne 0x45d26d
mov eax, dword [esp + 0xc]
add dword [esp + 0x50], eax
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x1c]
lea edx, [ecx + eax]
mov ecx, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], ecx
sub ecx, edx
sub eax, edi
push ecx
mov dword [esp + 0x50], edx
mov edx, dword [esi]
mov edx, dword [edx + 0x14c]
push eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x4c], ecx
push eax
mov ecx, esi
call edx
cmp dword [esp + 0x10], 0
jne 0x45d2bb
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], 0
jne 0x45d2ca
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x98]
mov ecx, esi
call eax
cmp dword [esp + 0x10], eax
jge 0x45d2ec
mov edx, dword [esi]
mov eax, dword [edx + 0x98]
mov ecx, esi
call eax
mov dword [esp + 0x10], eax
mov edx, dword [esi]
mov eax, dword [edx + 0xa0]
mov ecx, esi
call eax
cmp dword [esp + 0x10], eax
jle 0x45d30e
mov edx, dword [esi]
mov eax, dword [edx + 0xa0]
mov ecx, esi
call eax
mov dword [esp + 0x10], eax
mov edx, dword [esi]
mov eax, dword [edx + 0xa8]
mov ecx, esi
call eax
cmp dword [esp + 0x14], eax
jge 0x45d330
mov edx, dword [esi]
mov eax, dword [edx + 0xa8]
mov ecx, esi
call eax
mov dword [esp + 0x14], eax
mov edx, dword [esi]
mov eax, dword [edx + 0xb0]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jle 0x45d356
mov edx, dword [esi]
mov eax, dword [edx + 0xb0]
mov ecx, esi
call eax
mov ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x10]
push 1
add eax, edi
cdq
sub eax, edx
mov edi, eax
mov eax, dword [esp + 0x58]
sub eax, ecx
add eax, dword [esp + 0x50]
sub esp, 0x10
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add ecx, eax
mov dword [esp + 0xb0], ecx
mov ecx, esp
sar edi, 1
add edx, edi
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov dword [esp + 0xac], edx
mov eax, dword [esp + 0xac]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [ecx + 0xc], eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
jne 0x45d3e4
mov ecx, dword [ebx + 0x570]
add ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edx
jmp 0x45d3ec
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x54]
sub eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x584]
mov esi, eax
mov dword [esp + 0xc], esi
test ecx, ecx
je 0x45d427
mov eax, dword [ecx]
mov edx, dword [eax + 0x100]
call edx
mov edi, dword [esp + 0x2c]
test al, al
je 0x45d42b
mov eax, dword [ebx + 0x584]
add esi, dword [eax + 0x560]
mov dword [esp + 0xc], esi
jmp 0x45d42b
mov edi, dword [esp + 0x2c]
inc edi
cmp edi, dword [ebx + 0x558]
mov dword [esp + 0x2c], edi
jl 0x45cfe5
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebx]
mov edx, dword [edx + 0x208]
push eax
push 0
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, ebx
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14