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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x4d897c]
xor eax, esp
mov dword [esp + 0x78], 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.0041d210
mov edx, dword [esi + 0x15c]
sub edx, dword [esi + 0x4b8]
mov ecx, dword [esi + 0x154]
add ecx, dword [esi + 0x4b0]
mov eax, dword [esi + 0x160]
sub eax, dword [esi + 0x4bc]
mov edi, dword [esi + 0x158]
add edi, dword [esi + 0x4b4]
mov dword [esp + 0x30], edx
sub edx, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x4cc]
mov dword [esp + 0x2c], edi
mov ebx, eax
sub ebx, dword [esp + 0x2c]
mov edi, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], edi
test ecx, ecx
je 0x450e16
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x450e16
mov eax, dword [esi + 0x4cc]
add edi, dword [eax + 0x4a4]
mov dword [esp + 0x4c], edi
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
cmp dword [esi + 0x4a8], eax
jle 0x450f82
mov ecx, dword [esi + 0x4a4]
mov edx, dword [esp + 0x20]
mov edi, dword [ecx + edx*4]
mov eax, dword [edi]
mov edx, dword [eax + 0xc8]
mov ecx, edi
call edx
test al, al
je 0x450f6d
mov eax, dword [edi]
mov edx, dword [eax + 0xf4]
mov ecx, edi
call edx
test al, al
jne 0x450f6d
mov ecx, dword [esp + 0x4c]
mov eax, dword [edi]
mov eax, dword [eax + 0x114]
push ebx
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call eax
cmp dword [esp + 0x14], 0
jne 0x450e91
inc dword [esp + 0x38]
jmp 0x450ecf
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
cmp dword [esp + 0x14], eax
jge 0x450ead
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
mov dword [esp + 0x14], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
mov ecx, edi
call eax
cmp dword [esp + 0x14], eax
jle 0x450ecf
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
mov ecx, edi
call eax
mov dword [esp + 0x14], eax
mov edx, dword [edi]
mov edx, dword [edx + 0x48]
lea eax, [esp + 0x74]
push eax
mov ecx, edi
call edx
add eax, 0xc
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
call edx
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x3c]
add eax, dword [ecx]
mov edx, dword [edi]
add eax, dword [esp + 0x14]
mov edx, dword [edx + 0x48]
add dword [esp + 0x18], eax
lea eax, [esp + 0x64]
push eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x10]
xor ecx, ecx
test eax, eax
setle cl
dec ecx
and ecx, eax
mov dword [esp + 0x10], ecx
mov edx, dword [edi]
mov eax, dword [edx + 0x68]
mov ecx, edi
call eax
cmp dword [esp + 0x10], eax
jge 0x450f3f
mov edx, dword [edi]
mov eax, dword [edx + 0x68]
mov ecx, edi
call eax
mov dword [esp + 0x10], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x70]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jle 0x450f5f
mov edx, dword [edi]
mov eax, dword [edx + 0x70]
mov ecx, edi
call eax
mov ecx, eax
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x24], ecx
jg 0x450f69
mov dword [esp + 0x24], ecx
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esi + 0x4a8]
jl 0x450e38
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0x4dc]
dec ecx
imul ecx, dword [esi + 0x4c0]
add dword [esp + 0x18], ecx
test eax, eax
je 0x45100b
mov edx, dword [eax + 0x4f4]
lea ecx, [eax + 0x4f4]
mov eax, dword [edx + 0x10]
call eax
mov edi, eax
test edi, edi
je 0x45100b
mov edx, dword [edi + 0x4a0]
mov eax, dword [edx + 0xc]
lea ecx, [edi + 0x4a0]
call eax
test eax, eax
jle 0x45100b
mov eax, dword [esp + 0x40]
mov edx, dword [edi]
mov edx, dword [edx + 0x114]
push ebx
push eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call edx
cmp dword [eax], 0
jge 0x450fee
mov dword [esp + 0x24], 0
jmp 0x45100b
mov ecx, dword [esp + 0x40]
mov eax, dword [edi]
mov eax, dword [eax + 0x114]
push ebx
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call eax
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x3c], 0
test ecx, ecx
jle 0x451032
mov eax, ebx
sub eax, dword [esp + 0x18]
cdq
idiv ecx
xor edx, edx
test eax, eax
sets dl
dec edx
and edx, eax
mov dword [esp + 0x3c], edx
mov ecx, dword [esi + 0x4c8]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x2c]
xor edi, edi
mov dword [esp + 0x44], ebx
cmp ecx, edi
je 0x451068
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x451068
mov eax, dword [esi + 0x4c8]
sub ebx, dword [eax + 0x4a8]
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x4cc]
cmp ecx, edi
je 0x45109c
mov edx, dword [ecx]
mov eax, dword [edx + 0xc8]
call eax
test al, al
je 0x45109c
mov ecx, dword [esi + 0x4cc]
mov eax, dword [esp + 0x28]
sub eax, dword [ecx + 0x4a8]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edi
cmp dword [esi + 0x4a8], edi
jle 0x4512d9
mov eax, dword [esi + 0x4a4]
mov ecx, dword [esp + 0x18]
mov edi, dword [eax + ecx*4]
mov edx, dword [edi]
mov eax, dword [edx + 0xc8]
mov ecx, edi
call eax
test al, al
je 0x4512c2
mov edx, dword [edi]
mov eax, dword [edx + 0xf4]
mov ecx, edi
call eax
test al, al
je 0x4510ff
mov edx, dword [esi]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0x1a8]
push eax
mov ecx, esi
call edx
jmp 0x4512c2
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x58]
mov edx, dword [edi]
mov edx, dword [edx + 0x114]
push eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x50]
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call edx
cmp dword [esp + 0x14], 0
jne 0x4511a9
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], ecx
cmp eax, dword [esp + 0x38]
jne 0x451169
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
mov edx, 0
sub eax, dword [esp + 0x1c]
sets dl
dec edx
and edx, eax
mov dword [esp + 0x14], edx
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
cmp dword [esp + 0x14], eax
jge 0x451185
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
cmp dword [esp + 0x14], eax
jle 0x4511ef
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov dword [esp + 0x14], eax
jmp 0x4511ef
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
cmp dword [esp + 0x14], eax
jge 0x4511c5
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jle 0x4511eb
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov ecx, eax
mov dword [esp + 0x14], ecx
sub dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x24]
sub eax, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
cmp ecx, eax
jg 0x45120b
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
mov ecx, edi
call edx
cmp dword [esp + 0x10], eax
jge 0x451227
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
mov ecx, edi
call edx
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
mov ecx, edi
call edx
cmp dword [esp + 0x10], eax
jle 0x451243
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
mov ecx, edi
call edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
lea edx, [eax + ecx]
add eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x58]
add eax, dword [esp + 0x20]
add ecx, ebx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x60]
mov dword [esp + 0x78], ecx
add eax, dword [esp + 0x58]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x88]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x8c]
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 + 0x60]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x4c0]
mov ebx, dword [esp + 0x44]
lea edi, [ecx + edx]
add edi, dword [esp + 0x58]
add ecx, edx
add edi, eax
add ebx, edi
add ecx, eax
sub dword [esp + 0x68], ecx
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esi + 0x4a8]
jl 0x4510b8
xor edi, edi
mov ecx, dword [esi + 0x4cc]
cmp ecx, edi
je 0x451525
mov edx, dword [ecx]
mov eax, dword [edx + 0xc8]
mov ebx, dword [esp + 0x24]
call eax
cmp ebx, dword [esp + 0x40]
jle 0x451457
mov ecx, dword [esi + 0x4cc]
test al, al
je 0x451377
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x30]
add eax, ebx
cmp dword [ecx + 0x4a4], eax
je 0x451525
mov dword [ecx + 0x4a4], eax
cmp eax, edi
jge 0x45132f
mov dword [ecx + 0x4a4], edi
mov eax, dword [ecx + 0x4a4]
cmp dword [ecx + 0x4a8], eax
jle 0x451343
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 0x451525
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 + 0x4cc]
add eax, ebx
cmp dword [ecx + 0x4a4], eax
je 0x4513ee
mov dword [ecx + 0x4a4], eax
cmp eax, edi
jge 0x4513ab
mov dword [ecx + 0x4a4], edi
mov eax, dword [ecx + 0x4a4]
cmp dword [ecx + 0x4a8], eax
jle 0x4513bf
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 + 0x4cc]
cmp dword [ecx + 0x4a8], edi
je 0x451441
mov eax, dword [ecx + 0x4a4]
mov dword [ecx + 0x4a8], edi
cmp eax, edi
jge 0x451412
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 + 0x4cc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
sub dword [esp + 0x34], eax
jmp 0x451525
test al, al
je 0x451525
mov ecx, dword [esi + 0x4cc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push edi
call eax
mov ecx, dword [esi + 0x4cc]
cmp dword [ecx + 0x4a4], edi
je 0x4514c1
mov dword [ecx + 0x4a4], edi
cmp dword [ecx + 0x4a8], edi
jle 0x451492
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 + 0x4cc]
cmp dword [ecx + 0x4a8], edi
je 0x451514
mov eax, dword [ecx + 0x4a4]
mov dword [ecx + 0x4a8], edi
cmp eax, edi
jge 0x4514e5
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 + 0x4cc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
add dword [esp + 0x34], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
call fcn.0045ae40
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00494bb0
mov esp, ebp
pop ebp
ret 0x10