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

Disassembly:
push ebp
lea ebp, [esp - 0x154]
sub esp, 0x1d4
mov eax, dword [0x1039f6e0]
xor eax, ebp
mov dword [ebp + 0x150], eax
mov eax, dword [ebp + 0x15c]
push ebx
push esi
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x160]
push edi
mov ebx, ecx
mov dword [ebp - 0x10], eax
call 0x5e89c0
lea esi, [ebx + 0xb0]
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x30]
push eax
mov dword [ebp + 0xc], ecx
movsd dword es:[edi], dword [esi]
call 0x5ab0a0
lea eax, [ebp - 0x30]
push eax
push 1
call 0x576e80
mov esi, dword [ebp + 0xc]
add esi, 0x78
lea edi, [ebp - 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 4]
push eax
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x30]
push eax
movsd dword es:[edi], dword [esi]
call 0x576260
add esp, 0x14
cmp dword [ebp - 4], 0x7ffffff
je 0x64a932
mov esi, dword [ebp]
sub esi, dword [ebp - 4]
mov edi, dword [ebp + 8]
sub edi, dword [ebp + 4]
mov dword [ebp - 0xc], esi
mov dword [ebp + 0x10], edi
test esi, esi
je 0x64a932
test edi, edi
je 0x64a932
mov ecx, dword [ebx + 0x1b4]
test ecx, ecx
je 0x64a600
cmp dword [ecx + 8], esi
jne 0x64a5f5
cmp dword [ecx + 4], edi
je 0x64a624
test ecx, ecx
je 0x64a600
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, ebx
call 0x5e3f30
mov edx, dword [eax]
push 0x100
push 8
push edi
push esi
mov ecx, eax
call dword [edx + 0x3c]
mov ecx, eax
call fcn.00670520
mov dword [ebx + 0x1b4], eax
mov ecx, dword [ebx + 0x1b4]
test ecx, ecx
je 0x64a91a
mov eax, dword [ecx]
call dword [eax + 0x10]
test al, al
je 0x64a91a
mov ecx, dword [ebx + 0x1b4]
mov eax, dword [ecx]
push 0
call dword [eax + 0x24]
test al, al
je 0x64a91a
lea eax, [ebp - 0x40]
push eax
push edi
push esi
xor esi, esi
push esi
push esi
call 0x575f80
push esi
lea eax, [ebp - 0x40]
push eax
push dword [ebx + 0x1b4]
call 0x585d30
lea esi, [ebp - 4]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 4]
movsd dword es:[edi], dword [esi]
neg eax
push eax
mov eax, dword [ebp - 4]
movsd dword es:[edi], dword [esi]
neg eax
push eax
movsd dword es:[edi], dword [esi]
call fcn.005760c0
add esp, 0x2c
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x1b4]
lea ecx, [ebp - 0x60]
call fcn.0068e453
push dword [ebp - 0x44]
lea esi, [ebx + 0xc8]
mov ecx, esi
call 0x5592c5
push dword [ebp - 8]
lea ecx, [ebp + 0x14]
call 0x5ed950
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x40]
mov ecx, eax
imul eax, dword [ebp + 4]
imul ecx, dword [ebp - 4]
sub dword [ebp + 0x28], eax
sub dword [ebp + 0x24], ecx
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0xc0]
lea eax, [ebp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.0068f62c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
lea ecx, [ebp - 0x60]
call fcn.0068fc5a
cmp dword [ebx + 0x1bc], 0
jne 0x64a72b
push 0x30
call fcn.00829529
mov esi, eax
pop ecx
test esi, esi
je 0x64a723
push 0x30
push 0
push esi
call fcn.008290b0
add esp, 0xc
jmp 0x64a725
xor esi, esi
mov dword [ebx + 0x1bc], esi
push dword [ebp + 0x10]
mov ecx, dword [ebx + 0x1bc]
push dword [ebp - 0xc]
push dword [ebx + 0x1b4]
call 0x5c5b7b
mov ecx, dword [ebx + 0x1c0]
test ecx, ecx
je 0x64a762
cmp edi, dword [ecx + 0x14]
jne 0x64a758
call 0x5b7ec0
jmp 0x64a782
test ecx, ecx
je 0x64a762
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x4c
call fcn.00829529
pop ecx
test eax, eax
je 0x64a77a
push 0
push edi
mov ecx, eax
call 0x5a7dd0
jmp 0x64a77c
xor eax, eax
mov dword [ebx + 0x1c0], eax
mov ecx, dword [ebx + 0x1c0]
push 1
call 0x5bc3b0
mov eax, dword [ebx + 0x1c0]
mov eax, dword [eax + 0x48]
mov ecx, dword [ebx + 0x1bc]
mov esi, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x1c0]
mov eax, dword [eax + 0x48]
push 0x41
pop ecx
mov word [eax], cx
mov eax, dword [ebx + 0x1c0]
mov edi, dword [eax + 0x48]
push 5
pop ecx
add esi, 0x1c
add edi, 0x40
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x1c0]
mov eax, dword [eax + 0x48]
add eax, 8
push eax
mov eax, 0x140000
push eax
push eax
call 0x576710
add esp, 0xc
mov ecx, ebx
call 0x5e3f30
push eax
mov eax, dword [ebx + 0x1c0]
mov eax, dword [eax + 0x48]
add eax, 0x24
push eax
call fcn.005765d0
mov eax, dword [ebp - 4]
pop ecx
neg eax
pop ecx
mov ecx, dword [ebx + 0x1c0]
mov ecx, dword [ecx + 0x48]
shl eax, 0x10
mov dword [ecx + 0x34], eax
mov eax, dword [ebp + 4]
mov ecx, dword [ebx + 0x1c0]
mov ecx, dword [ecx + 0x48]
neg eax
shl eax, 0x10
mov dword [ecx + 0x38], eax
mov ecx, ebx
call 0x5e3f30
test eax, eax
je 0x64a85d
mov ecx, ebx
call 0x5e3f30
mov ecx, eax
call 0x60f450
test al, al
je 0x64a85d
mov eax, dword [ebx + 0x1c0]
mov eax, dword [eax + 0x48]
cmp dword [eax + 0x3c], 1
jne 0x64a85d
add eax, 0x24
push eax
call 0x577150
pop ecx
mov eax, dword [ebx + 0x1c0]
mov eax, dword [eax + 0x48]
mov dword [eax + 0x3c], 2
mov eax, dword [ebx + 0x1c0]
mov byte [eax + 0x2c], 1
mov ecx, dword [ebx + 0x1c0]
call 0x5bce90
cmp dword [ebx + 0x1c4], 0
jne 0x64a89c
push 0x90
call fcn.00775416
pop ecx
mov dword [ebx + 0x1c4], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x40]
and dword [ebp + 0x10], 0
lea esi, [ebp - 0x80]
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
call 0x576110
mov eax, dword [esi]
imul eax, edi
mov dword [esi], eax
mov eax, dword [esi + 4]
imul eax, edi
add esp, 0xc
inc dword [ebp + 0x10]
mov dword [esi + 4], eax
add esi, 8
cmp dword [ebp + 0x10], 4
jl 0x64a8a9
push dword [ebx + 0x1c4]
lea eax, [ebp - 0x80]
push dword [ebx + 0x1c0]
push eax
call 0x586180
add esp, 0xc
test eax, eax
je 0x64a932
mov eax, dword [ebp - 8]
add eax, 0x30
movzx ecx, byte [eax]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
push dword [ebx + 0x1c0]
push dword [ebx + 0x1c4]
call fcn.005bdc60
jmp 0x64a932
mov ecx, dword [ebx + 0x1b4]
test ecx, ecx
je 0x64a92b
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [ebx + 0x1b4], 0
mov ecx, dword [ebp + 0x150]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.008296eb
add ebp, 0x154
leave
ret 8