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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x4d0018]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov dword [esp + 0x3c], ebx
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041d690
lea esi, [ebx + 0x1b0]
lea edi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x6d4]
lea edi, [esp + 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ebx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x40]
test eax, eax
je 0x450d0e
lea eax, [esp + 0x74]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0x40]
mov ecx, eax
call fcn.004167be
mov ecx, eax
call fcn.004264bd
mov ecx, dword [esp + 0x74]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
add dword [ebp + 8], ecx
add edi, dword [esp + 0x78]
sub eax, dword [esp + 0x7c]
sub ebx, dword [esp + 0x80]
mov ecx, dword [esi + 0x6f8]
mov dword [esp + 0x24], edi
mov dword [ebp + 0xc], edi
mov dword [esp + 0x34], eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ebx
test ecx, ecx
je 0x450d6f
mov eax, dword [ecx]
call dword [eax + 0x170]
test al, al
je 0x450d6f
mov ecx, dword [esi + 0x6f8]
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov edx, dword [esp + 0x34]
sub edx, eax
mov dword [esp + 0x34], edx
mov dword [ebp + 0x10], edx
mov ecx, dword [esi + 0x6fc]
test ecx, ecx
je 0x450d98
mov eax, dword [ecx]
call dword [eax + 0x170]
test al, al
je 0x450d98
mov ecx, dword [esi + 0x6fc]
mov eax, dword [ecx]
call dword [eax + 0xd4]
sub ebx, eax
mov dword [ebp + 0x14], ebx
lea eax, [esi + 0x6bc]
test eax, eax
je 0x451571
cmp dword [eax + 4], 0
je 0x451571
mov eax, dword [esp + 0x34]
sub ebx, edi
sub eax, dword [ebp + 8]
mov ecx, dword [esi + 0x6fc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x54], ebx
test ecx, ecx
je 0x450de7
mov eax, dword [ecx]
call dword [eax + 0x170]
test al, al
je 0x450de7
mov eax, dword [esi + 0x6fc]
mov eax, dword [eax + 0x6bc]
add dword [esp + 0x20], eax
mov ecx, dword [esi + 0x6f8]
test ecx, ecx
je 0x450e0f
mov eax, dword [ecx]
call dword [eax + 0x170]
test al, al
je 0x450e0f
mov eax, dword [esi + 0x6f8]
mov eax, dword [eax + 0x6bc]
add ebx, eax
mov dword [esp + 0x54], ebx
xor eax, eax
mov dword [esp + 0x5c], 0x64
xor edi, edi
mov dword [esp + 0x44], eax
xor ecx, ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esi + 0x6c0]
jge 0x451022
mov eax, dword [esi + 0x6bc]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x170]
test al, al
je 0x451014
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1a4]
test al, al
jne 0x451014
mov eax, dword [edi]
lea ecx, [esp + 0x74]
mov esi, dword [esp + 0x20]
push ecx
mov ecx, edi
mov dword [esp + 0x50], esi
call dword [eax + 0xbc]
mov eax, dword [edi]
mov ecx, edi
sub esi, dword [esp + 0x7c]
sub esi, dword [esp + 0x74]
call dword [eax + 0xcc]
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x1c], eax
call dword [edx + 0xd4]
cmp dword [esp + 0x1c], 0
mov ecx, eax
mov dword [esp + 0x38], ecx
jg 0x450ec0
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xf8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
test ecx, ecx
jg 0x450ed0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x108]
mov ecx, eax
cmp esi, dword [esp + 0x1c]
mov eax, ebx
mov edx, dword [edi]
cmovg esi, dword [esp + 0x1c]
cmp ebx, ecx
cmovg eax, ecx
mov ecx, edi
push eax
push esi
lea eax, [esp + 0x18]
push eax
call dword [edx + 0x1cc]
cmp dword [esp + 0x14], 0
jne 0x450f2d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xe8]
test eax, eax
jle 0x450f1f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xe8]
imul eax, ebx
push 0x64
pop ecx
cdq
idiv ecx
mov dword [esp + 0x14], eax
jmp 0x450f23
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x450f2d
inc dword [esp + 0x30]
jmp 0x450f69
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x100]
cmp dword [esp + 0x14], eax
jge 0x450f4b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x100]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x108]
cmp dword [esp + 0x14], eax
jle 0x450f69
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x108]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
lea ecx, [esp + 0x94]
push ecx
mov ecx, edi
call dword [eax + 0xbc]
lea ecx, [esp + 0x84]
push ecx
mov ecx, edi
lea esi, [eax + 0xc]
mov eax, dword [edi]
call dword [eax + 0xbc]
mov ecx, dword [esi]
add ecx, dword [eax + 4]
xor eax, eax
add ecx, dword [esp + 0x14]
add dword [esp + 0x18], ecx
mov ecx, edi
cmp dword [esp + 0x10], eax
cmovg eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
call dword [eax + 0xf0]
cmp dword [esp + 0x10], eax
jge 0x450fca
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xf0]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xf8]
mov edx, dword [esp + 0x10]
cmp edx, eax
jle 0x450fec
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xf8]
mov edx, eax
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x74]
add ecx, edx
mov esi, dword [esp + 0x28]
add eax, ecx
cmp dword [esp + 0x44], eax
cmovg eax, dword [esp + 0x44]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
jmp 0x451018
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
inc ecx
jmp 0x450e2d
mov edx, dword [esp + 0x18]
lea ecx, [eax - 1]
mov eax, dword [esi + 0x6e4]
and dword [esp + 0x2c], 0
and dword [esp + 0x38], 0
mov edi, dword [esp + 0x30]
imul eax, ecx
mov dword [esp + 0x60], ecx
add edx, eax
mov dword [esp + 0x18], edx
test edi, edi
jle 0x451060
mov eax, ebx
xor ecx, ecx
sub eax, edx
cdq
idiv edi
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x6f8]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc], edi
test ecx, ecx
je 0x451090
mov eax, dword [ecx]
call dword [eax + 0x170]
test al, al
je 0x451090
mov eax, dword [esi + 0x6f8]
sub edi, dword [eax + 0x6c0]
jmp 0x4510c4
cmp dword [esp + 0x30], 0
jg 0x4510c8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x230]
cmp eax, 4
jne 0x4510b9
mov eax, ebx
sub eax, dword [esp + 0x18]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
add edi, dword [esp + 0xc]
jmp 0x4510c4
cmp eax, 8
jne 0x4510c8
sub edi, dword [esp + 0x18]
add edi, ebx
mov dword [esp + 0x24], edi
xor eax, eax
and dword [esp + 0x58], eax
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
cmp ecx, dword [esi + 0x6c0]
jge 0x451542
mov eax, dword [esi + 0x6bc]
mov ebx, dword [eax + ecx*4]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x170]
test al, al
je 0x451538
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1a4]
test al, al
je 0x451120
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x40]
call dword [eax + 0x2a4]
jmp 0x451538
mov eax, dword [ebx]
lea ecx, [esp + 0x74]
inc dword [esp + 0x3c]
push ecx
mov ecx, ebx
call dword [eax + 0xbc]
mov eax, dword [esp + 0x1c]
mov ecx, ebx
sub eax, dword [esp + 0x78]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
sub eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x74]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx]
call dword [eax + 0xcc]
mov edx, dword [ebx]
mov ecx, ebx
mov dword [esp + 0xc], eax
call dword [edx + 0xd4]
cmp dword [esp + 0xc], 0
mov ecx, eax
mov dword [esp + 0x48], ecx
jg 0x45118a
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xf8]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc], eax
test ecx, ecx
jg 0x45119a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x108]
mov ecx, eax
mov eax, dword [esp + 0x4c]
mov edx, eax
mov edi, dword [esp + 0xc]
cmp eax, edi
cmovg edx, edi
cmovle edi, eax
mov eax, dword [esp + 0x1c]
cmp eax, ecx
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x24]
cmovg eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x78]
sub ecx, eax
cmp dword [esp + 0x3c], 1
mov dword [esp + 0x18], ecx
jle 0x4511e7
sub ecx, dword [esi + 0x6e4]
mov dword [esp + 0x18], ecx
push dword [esp + 0x4c]
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
push edx
push ecx
mov ecx, ebx
call dword [eax + 0x1cc]
cmp dword [esp + 0x14], 0
jne 0x4512a5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe8]
test eax, eax
jle 0x45122f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe8]
imul eax, dword [esp + 0x54]
push 0x64
pop ecx
cdq
idiv ecx
mov dword [esp + 0x14], eax
jmp 0x451233
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4512a5
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x14], eax
cmp ecx, dword [esp + 0x30]
jne 0x451267
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x80]
sub eax, dword [esp + 0x18]
push 0
pop ecx
cmovs eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x100]
cmp dword [esp + 0x14], eax
jge 0x451285
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x100]
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x108]
cmp dword [esp + 0x14], eax
jle 0x4512e9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x108]
mov dword [esp + 0x14], eax
jmp 0x4512e9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x100]
cmp dword [esp + 0x14], eax
jge 0x4512c3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x100]
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x108]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jle 0x4512e5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x108]
mov ecx, eax
mov dword [esp + 0x14], ecx
sub dword [esp + 0x18], ecx
xor eax, eax
cmp dword [esp + 0x10], eax
cmovg eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x451334
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xcc]
test eax, eax
jne 0x451330
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe0]
test eax, eax
jle 0x451330
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe0]
mov ecx, dword [esp + 0x20]
imul eax, ecx
cdq
idiv dword [esp + 0x5c]
jmp 0x451338
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x451346
mov eax, ecx
sub eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x74]
cmp eax, dword [esp + 0xc]
mov ecx, ebx
cmovg eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
call dword [eax + 0xf0]
cmp dword [esp + 0x10], eax
jge 0x451371
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xf0]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x228]
mov ecx, dword [esi + 0x6fc]
cmp eax, 1
jne 0x4513fd
mov eax, dword [esp + 0x34]
add eax, dword [ebp + 8]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
test ecx, ecx
je 0x4513c1
mov edx, dword [ecx]
call dword [edx + 0x170]
test al, al
je 0x4513c1
mov ecx, dword [esi + 0x6fc]
mov eax, dword [ecx + 0x6bc]
cdq
sub eax, edx
sar eax, 1
sub eax, dword [ecx + 0x6c0]
add dword [esp + 0xc], eax
mov esi, dword [esp + 0x10]
mov eax, esi
mov ecx, dword [esp + 0x78]
cdq
sub eax, edx
mov edx, dword [esp + 0xc]
sar eax, 1
sub edx, eax
lea eax, [ecx + edi]
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], edx
lea eax, [edx + esi]
mov dword [esp + 0x6c], eax
lea esi, [esp + 0x64]
mov eax, dword [esp + 0x14]
add eax, ecx
add eax, edi
mov dword [esp + 0x70], eax
jmp 0x4514eb
cmp eax, 2
jne 0x45147c
mov edx, dword [esp + 0x34]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
test ecx, ecx
je 0x45143a
mov eax, dword [ecx]
call dword [eax + 0x170]
test al, al
je 0x451436
mov eax, dword [esi + 0x6fc]
mov edx, dword [eax + 0x6bc]
sub edx, dword [eax + 0x6c0]
add edx, dword [esp + 0x4c]
jmp 0x45143a
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x78]
lea esi, [esp + 0x84]
mov eax, edx
sub edx, dword [esp + 0x7c]
sub eax, dword [esp + 0x10]
sub eax, dword [esp + 0x7c]
mov dword [esp + 0x84], eax
lea eax, [ecx + edi]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x14]
add eax, ecx
mov dword [esp + 0x8c], edx
add eax, edi
mov dword [esp + 0x90], eax
jmp 0x4514eb
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ecx, ecx
je 0x4514a6
mov eax, dword [ecx]
call dword [eax + 0x170]
test al, al
je 0x4514a6
mov eax, dword [esi + 0x6fc]
mov ecx, dword [ebp + 8]
sub ecx, dword [eax + 0x6c0]
mov dword [esp + 0xc], ecx
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
lea eax, [esi + ecx]
mov dword [esp + 0x94], eax
lea eax, [edx + edi]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x10]
add eax, esi
lea esi, [esp + 0x94]
add eax, ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x14]
add eax, edx
add eax, edi
mov dword [esp + 0xa0], eax
mov eax, dword [ebx]
mov ecx, ebx
push 0
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0xa0]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x80]
mov esi, dword [ebx + 0x6e4]
lea eax, [esi + edx]
add eax, ecx
add eax, dword [esp + 0x78]
add dword [esp + 0x24], eax
lea eax, [edx + ecx]
add eax, dword [esp + 0x78]
add dword [esp + 0x2c], eax
lea eax, [esi + edx]
add eax, ecx
mov esi, ebx
sub dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x40]
inc ecx
jmp 0x4510d4
mov eax, dword [esi + 0x6e4]
imul eax, dword [esp + 0x60]
mov edx, dword [esi]
lea esi, [ebp + 8]
mov ecx, dword [esp + 0x28]
add eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x48]
push eax
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [edx + 0x2a8]
jmp 0x45158d
mov eax, dword [esi]
lea esi, [ebp + 8]
mov ecx, dword [esp + 0x28]
push 0
push 0
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x2a8]
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047ecc2
mov esp, ebp
pop ebp
ret 0x14