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

Disassembly:
sub esp, 0xb0
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x1c]
test eax, eax
jle 0x649687
fld dword [edi + 0xa0]
call fcn.00726fd0
mov esi, eax
cmp esi, 0x20
jge 0x649687
mov eax, dword [edi + esi*4 + 0x20]
test eax, eax
je 0x649687
mov eax, dword [0x805a04]
lea edx, [esp + 0x78]
push ebx
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x78], 0x3f800000
mov dword [esp + 0x64], 0x3f800000
mov dword [esp + 0x50], 0x3f800000
mov dword [esp + 0x3c], 0x3f800000
mov ecx, dword [eax]
push edx
push 0x100
push eax
call dword [ecx + 0x98]
mov eax, dword [0x805a04]
lea edx, [esp + 0x34]
push edx
push 0x1b
mov ecx, dword [eax]
push eax
call dword [ecx + 0xcc]
mov eax, dword [0x805a04]
lea edx, [esp + 0x2c]
push edx
push 0x13
mov ecx, dword [eax]
push eax
call dword [ecx + 0xcc]
mov eax, dword [0x805a04]
lea edx, [esp + 0x1c]
push edx
push 0x14
mov ecx, dword [eax]
push eax
call dword [ecx + 0xcc]
mov eax, dword [0x805a04]
lea edx, [esp + 0x38]
push edx
push 1
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xf8]
mov eax, dword [0x805a04]
lea edx, [esp + 0x24]
push edx
push 2
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xf8]
mov eax, dword [0x805a04]
lea edx, [esp + 0x10]
push edx
push 3
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xf8]
mov eax, dword [0x805a04]
lea edx, [esp + 0x14]
push edx
push 0x12
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xf8]
mov eax, dword [0x805a04]
lea edx, [esp + 0x18]
push edx
mov ecx, dword [eax]
push 1
push 1
push eax
call dword [ecx + 0xf8]
mov eax, dword [0x805a04]
lea edx, [esp + 0x20]
push edx
push 2
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xf8]
mov eax, dword [0x805a04]
lea edx, [esp + 0x28]
push edx
push 3
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xf8]
mov eax, dword [0x805a04]
lea edx, [esp + 0x30]
push edx
push 0x12
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xf8]
mov eax, dword [0x805a04]
lea edx, [esp + 0x3c]
push edx
push 0x100
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
mov edx, dword [edi + esi*4 + 0x20]
mov eax, dword [0x805a04]
mov edx, dword [edx + 0x48]
mov ecx, dword [eax]
push edx
push 0
push eax
call dword [ecx + 0xf4]
mov eax, dword [0x805a04]
push 0
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf4]
mov eax, dword [0x805a04]
push 1
push 0x1b
push eax
mov edx, dword [eax]
call dword [edx + 0xc8]
mov eax, dword [0x805a04]
push 5
push 0x13
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x805a04]
push 6
push 0x14
push eax
mov edx, dword [eax]
call dword [edx + 0xc8]
mov eax, dword [0x805a04]
push 4
push 1
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xfc]
mov eax, dword [0x805a04]
push 2
push 2
push 0
mov edx, dword [eax]
push eax
call dword [edx + 0xfc]
mov eax, dword [0x805a04]
push 0
push 3
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xfc]
mov eax, dword [0x805a04]
push 4
push 1
push 1
mov edx, dword [eax]
push eax
call dword [edx + 0xfc]
mov eax, dword [0x805a04]
push 2
push 2
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xfc]
mov eax, dword [0x805a04]
push 1
push 3
push 1
mov edx, dword [eax]
push eax
call dword [edx + 0xfc]
mov eax, dword [0x805a04]
push 0
push 0x12
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xfc]
mov eax, dword [0x805a04]
push 0
push 0x12
push 1
mov edx, dword [eax]
push eax
call dword [edx + 0xfc]
mov eax, dword [0x805a04]
push 0x252
push eax
mov ecx, dword [eax]
call dword [ecx + 0x130]
mov eax, dword [edi + 0x1c]
xor ebx, ebx
test eax, eax
jle 0x649577
xor esi, esi
push ebp
mov dword [esp + 0x10], esi
add esi, dword [edi + 0x18]
cmp dword [esi + 0x14], 1
jne 0x649563
mov eax, dword [esi + 0x28]
test eax, eax
je 0x64951d
mov ecx, dword [0x805a04]
mov eax, dword [eax + 0x48]
push eax
push 1
mov edx, dword [ecx]
push ecx
call dword [edx + 0xf4]
jmp 0x64952f
mov eax, dword [0x805a04]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf4]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
push 0x2c
push edx
mov edx, dword [esi + 4]
push 0x65
push eax
mov eax, 0x55555556
imul edx
mov ecx, dword [0x805a04]
mov eax, edx
shr eax, 0x1f
mov ebp, dword [ecx]
add edx, eax
push edx
mov edx, dword [esi]
push edx
push 0
push 4
push ecx
call dword [ebp + 0x124]
mov esi, dword [esp + 0x10]
mov eax, dword [edi + 0x1c]
inc ebx
add esi, 0x2c
cmp ebx, eax
mov dword [esp + 0x10], esi
jl 0x6494f6
pop ebp
mov eax, dword [0x805a04]
lea edx, [esp + 0x7c]
push edx
push 0x100
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
mov eax, dword [0x805a04]
mov edx, dword [esp + 0x34]
push edx
push 0x1b
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [0x805a04]
mov edx, dword [esp + 0x2c]
push edx
push 0x13
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [0x805a04]
mov edx, dword [esp + 0x1c]
push edx
push 0x14
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov edx, dword [esp + 0x38]
mov eax, dword [0x805a04]
push edx
push 1
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xfc]
mov edx, dword [esp + 0x24]
mov eax, dword [0x805a04]
push edx
push 2
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xfc]
mov edx, dword [esp + 0x10]
mov eax, dword [0x805a04]
push edx
push 3
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xfc]
mov edx, dword [esp + 0x14]
mov eax, dword [0x805a04]
push edx
push 0x12
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xfc]
mov edx, dword [esp + 0x18]
mov eax, dword [0x805a04]
push edx
push 1
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xfc]
mov edx, dword [esp + 0x20]
mov eax, dword [0x805a04]
push edx
push 2
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xfc]
mov eax, dword [0x805a04]
mov edx, dword [esp + 0x28]
push edx
push 3
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xfc]
mov edx, dword [esp + 0x30]
mov eax, dword [0x805a04]
push edx
push 0x12
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xfc]
pop ebx
pop edi
pop esi
add esp, 0xb0
ret