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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x54847c]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov dword [esp + 0x50], 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.0042778d
lea esi, [ebx + 0x158]
xor ecx, ecx
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]
mov eax, dword [ebp + 0xc]
add eax, dword [ebx + 0x564]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebx + 0x560]
add edi, dword [ebp + 8]
sub esi, dword [ebx + 0x568]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x14]
sub eax, dword [ebx + 0x56c]
mov dword [ebp + 8], edi
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], eax
cmp dword [ebx + 0x558], ecx
jne 0x457ff6
push ecx
push ecx
jmp 0x458532
mov ecx, dword [ebx + 0x584]
test ecx, ecx
je 0x45801c
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x45801c
mov ecx, dword [ebx + 0x584]
mov eax, dword [ecx]
call dword [eax + 0x7c]
sub esi, eax
mov dword [ebp + 0x10], esi
mov ecx, dword [ebx + 0x588]
test ecx, ecx
je 0x458043
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x458043
mov ecx, dword [ebx + 0x588]
mov eax, dword [ecx]
call dword [eax + 0x84]
sub dword [ebp + 0x14], eax
mov ecx, dword [ebx + 0x698]
test ecx, ecx
jle 0x45805e
mov eax, esi
sub eax, edi
cdq
idiv ecx
mov ecx, eax
mov dword [ebx + 0x6a0], ecx
jmp 0x458064
mov ecx, dword [ebx + 0x6a0]
xor eax, eax
inc eax
test ecx, ecx
jne 0x458073
mov dword [ebx + 0x6a0], eax
mov ecx, eax
mov eax, esi
and dword [esp + 0x10], 0
sub eax, edi
cdq
idiv ecx
mov ecx, dword [ebx + 0x588]
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x4580b4
mov edx, dword [ecx]
call dword [edx + 0xf4]
test al, al
je 0x4580b4
mov eax, dword [ebx + 0x588]
mov eax, dword [eax + 0x554]
sub eax, edi
add eax, esi
cdq
idiv dword [ebx + 0x6a0]
mov dword [esp + 0x38], eax
and dword [esp + 0x1c], 0
and dword [esp + 0x18], 0
mov ecx, dword [ebx + 0x584]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x24], esi
test ecx, ecx
je 0x4580eb
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x4580eb
mov eax, dword [ebx + 0x584]
sub esi, dword [eax + 0x558]
mov dword [esp + 0x24], esi
mov ecx, dword [ebx + 0x588]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x458127
mov eax, dword [ecx]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], edi
call dword [eax + 0xf4]
test al, al
je 0x458127
mov eax, dword [ebx + 0x588]
mov esi, edi
sub esi, dword [eax + 0x558]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], esi
xor edi, edi
mov dword [esp + 0x28], edi
cmp dword [ebx + 0x558], edi
jle 0x45852c
mov eax, dword [ebx + 0x554]
mov esi, dword [eax + edi*4]
mov ecx, esi
mov dword [esp + 0x40], esi
mov eax, dword [esi]
call dword [eax + 0xf4]
test al, al
je 0x45851b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x120]
test al, al
je 0x458176
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x1f8]
jmp 0x45851b
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov eax, ecx
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
jne 0x45832c
mov dword [esp + 0x10], ecx
mov ecx, edi
mov dword [esp + 0x20], edi
cmp edi, dword [ebx + 0x558]
jge 0x45832c
mov eax, dword [ebx + 0x554]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov dword [esp + 0x34], edi
mov eax, dword [edi]
call dword [eax + 0xf4]
test al, al
je 0x458317
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x120]
test al, al
jne 0x458317
mov eax, dword [edi]
lea ecx, [esp + 0x64]
push ecx
mov ecx, edi
call dword [eax + 0x6c]
mov edi, dword [esp + 0x30]
sub edi, dword [esp + 0x6c]
sub edi, dword [esp + 0x64]
sub edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
je 0x458218
inc eax
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
je 0x458218
sub edi, dword [ebx + 0x570]
jmp 0x458225
mov eax, dword [ebx + 0x570]
cdq
sub eax, edx
sar eax, 1
sub edi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
cmp edi, eax
jge 0x45823f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
mov edi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x94]
cmp edi, eax
jle 0x458259
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
mov edi, eax
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x5c]
push 0x270f
push edi
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
cmp dword [esp + 0x5c], eax
jge 0x45828e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
cmp dword [esp + 0x5c], eax
jle 0x4582ac
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
cmp dword [esp + 0x60], eax
jge 0x4582ca
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
mov dword [esp + 0x60], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov edi, dword [esp + 0x60]
cmp edi, eax
jle 0x4582ec
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov edi, eax
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x68]
add eax, edi
cmp dword [esp + 0x1c], eax
cmovg eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
je 0x45832c
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, dword [ebx + 0x558]
jl 0x4581ad
mov eax, dword [esi]
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
call dword [eax + 0x6c]
mov eax, dword [ebx + 0x570]
mov ecx, dword [esp + 0x3c]
cdq
sub eax, edx
mov esi, dword [esp + 0x74]
mov ebx, eax
mov edi, dword [esp + 0x30]
mov ecx, dword [ecx + 0x6a0]
mov eax, dword [esp + 0x18]
cdq
idiv ecx
sar ebx, 1
add esi, ebx
sub edi, ebx
add esi, dword [esp + 0x14]
sub edi, dword [esp + 0x7c]
mov eax, esi
sub eax, ebx
test edx, edx
cmovne eax, esi
add ebx, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cdq
idiv ecx
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x54]
test edx, edx
mov edx, dword [esp + 0x78]
cmovne ebx, edi
add eax, dword [esp + 0x24]
add edx, dword [esp + 0x24]
mov edi, eax
mov esi, ebx
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x40]
sub edi, edx
sub esi, dword [esp + 0x20]
push edi
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
push esi
push ecx
mov ecx, ebx
mov dword [esp + 0x20], edx
call dword [eax + 0x140]
mov eax, dword [esp + 0x54]
mov ecx, ebx
test eax, eax
cmove eax, esi
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x58]
test eax, eax
cmove eax, edi
mov dword [esp + 0x58], eax
mov eax, dword [ebx]
call dword [eax + 0x8c]
cmp dword [esp + 0x54], eax
jge 0x4583fd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x8c]
mov dword [esp + 0x54], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x94]
cmp dword [esp + 0x54], eax
jle 0x45841b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x94]
mov dword [esp + 0x54], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x9c]
cmp dword [esp + 0x58], eax
jge 0x458439
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x9c]
mov dword [esp + 0x58], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xa4]
mov edi, dword [esp + 0x58]
cmp edi, eax
jle 0x45845b
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xa4]
mov edi, eax
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x20]
lea esi, [esp + 0x44]
sub eax, dword [esp + 0x54]
add eax, dword [esp + 0x34]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x10]
sub eax, edi
sar ecx, 1
add eax, dword [esp + 0x14]
cdq
sub eax, edx
mov dword [esp + 0x44], ecx
add ecx, dword [esp + 0x54]
sar eax, 1
mov dword [esp + 0x48], eax
add eax, edi
push 1
sub esp, 0x10
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov edi, esp
mov eax, dword [ebx]
mov ecx, ebx
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 + 0x54]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
jne 0x4584d8
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x570]
add eax, dword [esp + 0x1c]
add dword [esp + 0x24], eax
and dword [esp + 0x1c], edx
jmp 0x4584e0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x10]
sub esi, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x584]
mov dword [esp + 0x10], esi
test ecx, ecx
je 0x458517
mov eax, dword [ecx]
call dword [eax + 0xf4]
mov edi, dword [esp + 0x28]
test al, al
je 0x45851b
mov eax, dword [ebx + 0x584]
add esi, dword [eax + 0x558]
mov dword [esp + 0x10], esi
jmp 0x45851b
mov edi, dword [esp + 0x28]
inc edi
mov dword [esp + 0x28], edi
cmp edi, dword [ebx + 0x558]
jl 0x458139
push dword [esp + 0x10]
push 0
mov eax, dword [ebx]
lea esi, [ebp + 8]
sub esp, 0x10
mov ecx, 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 dword [eax + 0x1fc]
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c7036
mov esp, ebp
pop ebp
ret 0x14