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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov di, word [esp + 0x64]
movzx ebp, di
lea eax, [ebp*4]
mov dword [ecx], 0x6c71e0
xor esi, esi
push eax
mov dword [esp + 0x20], ecx
mov dword [ecx + 0x7c], esi
mov dword [esp + 0x1c], ebp
call fcn.005354dd
mov dword [esp + 0x14], eax
lea eax, [ebp + ebp*2]
shl eax, 2
push eax
call fcn.005354dd
mov ebx, dword [esp + 0x70]
add esp, 8
cmp di, si
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
jbe 0x5a4b8b
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ebp
movzx edx, si
mov ax, word [ebx + edx*2]
inc esi
movzx ecx, si
mov cx, word [ebx + ecx*2]
movzx ecx, cx
inc esi
movzx edx, si
mov dx, word [ebx + edx*2]
movzx eax, ax
lea ecx, [ecx + ecx*2]
lea ecx, [edi + ecx*4]
lea eax, [eax + eax*2]
lea eax, [edi + eax*4]
fld dword [ecx]
movzx edx, dx
fsub dword [eax]
fld dword [ecx + 4]
lea edx, [edx + edx*2]
fsub dword [eax + 4]
lea edx, [edi + edx*4]
fld dword [ecx + 8]
mov ebp, dword [esp + 0x64]
fsub dword [eax + 8]
inc esi
fld dword [edx]
fsub dword [eax]
fstp dword [esp + 0x20]
fld dword [edx + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x24]
fld dword [edx + 8]
fsub dword [eax + 8]
fld st(0)
fmul st(3)
fld dword [esp + 0x24]
fmul st(3)
fsubp st(1)
fstp dword [esp + 0x2c]
fxch st(1)
fmul dword [esp + 0x20]
fxch st(1)
fmul st(3)
fsubp st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x24]
fmulp st(2)
fmul dword [esp + 0x20]
fsubp st(1)
fld st(0)
fmulp st(1)
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
faddp st(1)
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
faddp st(1)
fsqrt
fmul dword [0x6c2890]
fstp dword [ebp]
fld dword [ecx]
fadd dword [eax]
fld dword [ecx + 4]
fadd dword [eax + 4]
fld dword [ecx + 8]
fadd dword [eax + 8]
fstp dword [esp + 0x4c]
fxch st(1)
fadd dword [edx]
fstp dword [esp + 0x50]
fadd dword [edx + 4]
fld dword [esp + 0x4c]
fadd dword [edx + 8]
fld dword [esp + 0x50]
fmul dword [0x6c71f4]
fstp dword [esp + 0x38]
fxch st(1)
fmul dword [0x6c71f4]
mov eax, dword [esp + 0x6c]
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
fmul dword [0x6c71f4]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x3c]
add eax, 0xc
fstp dword [esp + 0x40]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x68]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x40]
add ebp, 4
dec eax
mov dword [ecx + 8], edx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], eax
jne 0x5a4a58
mov ebp, dword [esp + 0x18]
lea eax, [ebp*4]
push eax
call fcn.005354dd
mov esi, eax
add esp, 4
xor eax, eax
test ebp, ebp
jle 0x5a4bab
mov dword [esi + eax*4], eax
inc eax
cmp eax, ebp
jl 0x5a4ba3
lea eax, [ebp*4]
push eax
call fcn.005354dd
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x18]
add esp, 4
push ecx
mov ecx, dword [esp + 0x64]
push eax
push esi
dec ebp
push ebp
mov ebp, dword [esp + 0x20]
push 0
push edx
push ebp
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x8c]
push eax
push edi
mov edi, dword [esp + 0x40]
push ebx
push ecx
mov ecx, edi
call fcn.005a47e0
mov edx, dword [esp + 0x64]
push edx
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
push esi
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x1c]
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
push ebp
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 0x10
mov dword [edi + 0x88], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x18