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

Disassembly:
mov ecx, dword [0x1194ab8]
sub esp, 0x94
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [esi]
push edi
mov edi, dword [esi + 4]
add edi, ecx
xor edx, edx
mov ecx, 0x48
div ecx
test edx, edx
je 0x4d109b
push 0x1194ac0
push 0x541cf0
push 1
call dword [0x15485a4]
add esp, 0xc
mov eax, 0x38e38e39
mul dword [esi]
mov ebp, edx
shr ebp, 4
mov edx, ebp
imul edx, edx, 0x88
push edx
call dword [0x15485ac]
xor ebx, ebx
add esp, 4
cmp ebp, ebx
mov esi, eax
mov dword [0x1194bd4], ebx
mov dword [0x1194bd0], esi
mov dword [0x1194bcc], ebp
jle 0x4d1593
mov dword [esp + 0x20], ebp
mov ebp, 0x3f800000
mov eax, dword [edi]
push eax
call dword [0x8c3980]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov ecx, eax
push ecx
mov dword [esp + 0xa4], eax
call dword [0x8cb68c]
fmul dword [0x1535230]
mov edx, dword [edi + 8]
mov eax, edx
push eax
fstp dword [esp + 0x20]
mov dword [esp + 0x64], edx
call dword [0x8cb68c]
fmul dword [0x1535230]
mov ecx, dword [edi + 0xc]
mov edx, ecx
push edx
fstp dword [esp + 0x28]
mov dword [esp + 0xb0], ecx
call dword [0x8cb68c]
fmul dword [0x1535230]
fld dword [0x5355e0]
add esp, 0x10
fmul st(1)
fld dword [0x5355dc]
fmul dword [esp + 0x18]
faddp st(1)
fld dword [0x5355d8]
fmul dword [esp + 0x14]
faddp st(1)
fcom dword [0x55a4ac]
fst dword [esi + 0x10]
fnstsw ax
test ah, 0x44
jnp 0x4d1174
fdivr dword [0x55a4a8]
fld dword [esp + 0x14]
mov eax, dword [esi]
cmp eax, 1
fmul st(1)
fstp dword [esi + 4]
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esi + 8]
fmul st(1)
fstp dword [esi + 0xc]
jne 0x4d121e
mov dword [esi + 0x14], ebx
fstp st(0)
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov eax, dword [0x1194ba8]
mov dword [esi + 0x24], eax
mov ecx, dword [0x1194bac]
mov dword [esi + 0x28], ecx
mov edx, dword [0x1194bb0]
mov dword [esi + 0x2c], edx
mov eax, dword [0x1194bb4]
mov dword [esi + 0x30], eax
fld dword [0x5355dc]
fmul dword [esi + 0x28]
fld dword [0x5355e0]
fmul dword [esi + 0x2c]
faddp st(1)
fld dword [0x5355d8]
fmul dword [esi + 0x24]
faddp st(1)
fstp dword [esi + 0x10]
fld dword [0x1194bc0]
mov dword [0x1194bd4], esi
fmul dword [0x5355e0]
fld dword [0x1194bbc]
fmul dword [0x5355dc]
faddp st(1)
fld dword [0x1194bb8]
fmul dword [0x5355d8]
faddp st(1)
fstp dword [0x1194bc8]
jmp 0x4d126c
fld dword [esp + 0x14]
mov dword [esi + 0x20], ebp
fmul dword [0x55a644]
mov dword [esi + 0x30], ebp
fstp dword [esi + 0x14]
fld dword [esp + 0x18]
fmul dword [0x55a644]
fstp dword [esi + 0x18]
fld dword [0x55a644]
fmul st(1)
fstp dword [esi + 0x1c]
fld dword [esp + 0x14]
fmul dword [0x55a5b8]
fstp dword [esi + 0x24]
fld dword [esp + 0x18]
fmul dword [0x55a5b8]
fstp dword [esi + 0x28]
fmul dword [0x55a5b8]
fstp dword [esi + 0x2c]
mov eax, dword [esi]
dec eax
cmp eax, 6
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebp
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], 0x43340000
mov dword [esi + 0x6c], ebx
ja case.0x4d1297.6
jmp dword [eax*4 + 0x4d15a0]
mov ecx, dword [edi + 0x1c]
mov edx, ecx
push edx
mov dword [esp + 0x30], ecx
call dword [0x8cb68c]
fstp dword [esi + 0x44]
mov eax, dword [edi + 0x20]
mov ecx, eax
push ecx
mov dword [esp + 0x8c], eax
call dword [0x8cb68c]
fstp dword [esi + 0x48]
mov edx, dword [edi + 0x24]
mov eax, edx
push eax
mov dword [esp + 0x40], edx
call dword [0x8cb68c]
fstp dword [esi + 0x4c]
add esp, 0xc
mov dword [esi + 0x50], ebx
mov dword [esi + 0x60], ebp
jmp case.0x4d1297.6
mov ecx, dword [edi + 0x10]
mov edx, ecx
push edx
mov dword [esp + 0x70], ecx
call dword [0x8cb68c]
fstp dword [esi + 0x44]
mov eax, dword [edi + 0x14]
mov ecx, eax
push ecx
mov dword [esp + 0x44], eax
call dword [0x8cb68c]
fstp dword [esi + 0x48]
mov edx, dword [edi + 0x18]
mov eax, edx
push eax
mov dword [esp + 0xa0], edx
call dword [0x8cb68c]
fstp dword [esi + 0x4c]
add esp, 0xc
mov dword [esi + 0x50], ebp
mov dword [esi + 0x68], ebp
jmp case.0x4d1297.6
mov ecx, dword [edi + 0x10]
mov edx, ecx
push edx
mov dword [esp + 0x48], ecx
call dword [0x8cb68c]
fstp dword [esi + 0x44]
mov eax, dword [edi + 0x14]
mov ecx, eax
push ecx
mov dword [esp + 0x7c], eax
call dword [0x8cb68c]
fstp dword [esi + 0x48]
mov edx, dword [edi + 0x18]
mov eax, edx
push eax
mov dword [esp + 0x58], edx
call dword [0x8cb68c]
fstp dword [esi + 0x4c]
mov dword [esi + 0x50], ebp
mov ecx, dword [edi + 0x28]
mov edx, ecx
push edx
mov dword [esp + 0x9c], ecx
call dword [0x8cb68c]
fstp dword [esi + 0x64]
add esp, 0x10
jmp case.0x4d1297.6
mov eax, dword [edi + 0x10]
mov ecx, eax
push ecx
mov dword [esp + 0x58], eax
call dword [0x8cb68c]
fstp dword [esi + 0x44]
mov edx, dword [edi + 0x14]
mov eax, edx
push eax
mov dword [esp + 0x84], edx
call dword [0x8cb68c]
fstp dword [esi + 0x48]
mov ecx, dword [edi + 0x18]
mov edx, ecx
push edx
mov dword [esp + 0x68], ecx
call dword [0x8cb68c]
fstp dword [esi + 0x4c]
mov dword [esi + 0x50], ebp
mov eax, dword [edi + 0x28]
mov ecx, eax
push ecx
mov dword [esp + 0x34], eax
call dword [0x8cb68c]
fstp dword [esi + 0x68]
mov edx, dword [edi + 0x2c]
mov eax, edx
push eax
mov dword [esp + 0x78], edx
call dword [0x8cb68c]
fstp dword [esi + 0x60]
add esp, 0x14
jmp case.0x4d1297.6
mov ecx, dword [edi + 0x10]
mov edx, ecx
push edx
mov dword [esp + 0x2c], ecx
call dword [0x8cb68c]
fstp dword [esi + 0x44]
mov eax, dword [edi + 0x14]
mov ecx, eax
push ecx
mov dword [esp + 0x38], eax
call dword [0x8cb68c]
fstp dword [esi + 0x48]
mov edx, dword [edi + 0x18]
mov eax, edx
push eax
mov dword [esp + 0x44], edx
call dword [0x8cb68c]
fstp dword [esi + 0x4c]
mov dword [esi + 0x50], ebp
mov dword [esi + 0x68], ebp
mov ecx, dword [edi + 0x1c]
mov edx, ecx
push edx
mov dword [esp + 0x50], ecx
call dword [0x8cb68c]
fchs
fstp dword [esi + 0x54]
mov eax, dword [edi + 0x20]
mov ecx, eax
push ecx
mov dword [esp + 0x5c], eax
call dword [0x8cb68c]
fchs
fstp dword [esi + 0x58]
mov edx, dword [edi + 0x24]
mov eax, edx
push eax
mov dword [esp + 0x68], edx
call dword [0x8cb68c]
fchs
fstp dword [esi + 0x5c]
fld dword [edi + 0x28]
call fcn.0052db60
fmul qword [0x55a6c0]
fstp dword [esi + 0x70]
mov eax, dword [edi + 0x2c]
push eax
call dword [0x8c3980]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
add esp, 0x1c
jmp 0x4d1578
mov ecx, dword [edi + 0x10]
mov edx, ecx
push edx
mov dword [esp + 0x64], ecx
call dword [0x8cb68c]
fstp dword [esi + 0x44]
mov eax, dword [edi + 0x14]
mov ecx, eax
push ecx
mov dword [esp + 0x70], eax
call dword [0x8cb68c]
fstp dword [esi + 0x48]
mov edx, dword [edi + 0x18]
mov eax, edx
push eax
mov dword [esp + 0x7c], edx
call dword [0x8cb68c]
fstp dword [esi + 0x4c]
mov dword [esi + 0x50], ebp
mov ecx, dword [edi + 0x28]
mov edx, ecx
push edx
mov dword [esp + 0x88], ecx
call dword [0x8cb68c]
fstp dword [esi + 0x68]
mov eax, dword [edi + 0x2c]
mov ecx, eax
push ecx
mov dword [esp + 0x94], eax
call dword [0x8cb68c]
fstp dword [esi + 0x60]
mov edx, dword [edi + 0x1c]
mov eax, edx
push eax
mov dword [esp + 0xa0], edx
call dword [0x8cb68c]
fchs
fstp dword [esi + 0x54]
mov ecx, dword [edi + 0x20]
mov edx, ecx
push edx
mov dword [esp + 0xac], ecx
call dword [0x8cb68c]
fchs
fstp dword [esi + 0x58]
mov eax, dword [edi + 0x24]
mov ecx, eax
push ecx
mov dword [esp + 0xb8], eax
call dword [0x8cb68c]
fchs
fstp dword [esi + 0x5c]
fld dword [edi + 0x30]
call fcn.0052db60
fmul qword [0x55a6c0]
fstp dword [esi + 0x70]
mov eax, dword [edi + 0x34]
push eax
call dword [0x8c3980]
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
add esp, 0x24
fstp dword [esi + 0x6c]
mov eax, dword [esp + 0x20]
add edi, 0x48
add esi, 0x88
dec eax
mov dword [esp + 0x20], eax
jne 0x4d10e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret