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

Disassembly:
sub esp, 0xd4
push esi
mov esi, ecx
mov eax, dword [esi + 0x48]
fld dword [esi + 0x110]
fmul dword [eax + 0xc8]
push edi
xor edi, edi
fstp dword [esp + 0x10]
fld dword [esi + 0x10c]
fmul dword [eax + 0xc8]
mov eax, dword [esi + 0x104]
test eax, eax
fstp dword [esp + 8]
jle 0x4d1fa1
push ebx
mov ebx, dword [sym.imp.MSVCR71.dll_rand]
push ebp
jmp 0x4d1c50
mov ecx, dword [esi + 0xf4]
test cl, 0x10
je 0x4d1d21
test edi, edi
jne 0x4d1d21
mov eax, dword [esi + 0xac]
fld dword [esp + 0x10]
fmul dword [eax + 0xc]
fld dword [esp + 0x10]
fmul dword [eax + 0x10]
fld dword [esp + 0x10]
fmul dword [eax + 0x14]
fstp dword [esp + 0x8c]
fxch st(1)
fadd dword [eax]
fstp dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
fadd dword [eax + 4]
fstp dword [esp + 0x50]
mov edx, dword [esp + 0x50]
fld dword [esp + 0x8c]
fadd dword [eax + 8]
mov eax, dword [esi + 0xa8]
mov dword [eax], ecx
mov dword [eax + 4], edx
fstp dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
fld dword [esp + 0x10]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0xac]
fmul dword [eax + 0xc]
mov edx, dword [esi + 0xa8]
fld dword [esp + 0x10]
add edx, 0x18
fmul dword [eax + 0x10]
fld dword [esp + 0x10]
fmul dword [eax + 0x14]
fstp dword [esp + 0xa4]
fld dword [eax]
fsub st(2)
fstp dword [esp + 0x74]
fld dword [eax + 4]
fsub st(1)
fstp dword [esp + 0x78]
mov ecx, dword [esp + 0x78]
fstp st(0)
fstp st(0)
fld dword [eax + 8]
mov eax, dword [esp + 0x74]
fsub dword [esp + 0xa4]
mov dword [edx], eax
fstp dword [esp + 0x7c]
mov eax, dword [esp + 0x7c]
jmp 0x4d1f8a
test cl, 0x20
je 0x4d1e03
dec eax
cmp edi, eax
jl 0x4d1e03
mov edx, dword [esi + 0xac]
fld dword [esp + 0x10]
lea ecx, [edi + edi*8]
shl ecx, 2
fmul dword [ecx + edx + 0xc]
lea eax, [ecx + edx]
fld dword [esp + 0x10]
lea edx, [edi + edi*2]
fmul dword [eax + 0x10]
shl edx, 4
fld dword [esp + 0x10]
fmul dword [eax + 0x14]
fstp dword [esp + 0xd4]
fxch st(1)
fadd dword [eax]
fstp dword [esp + 0x5c]
mov ebp, dword [esp + 0x5c]
fadd dword [eax + 4]
fstp dword [esp + 0x60]
fld dword [esp + 0xd4]
fadd dword [eax + 8]
mov eax, dword [esi + 0xa8]
add eax, edx
mov dword [eax], ebp
mov ebp, dword [esp + 0x60]
fstp dword [esp + 0x64]
fld dword [esp + 0x10]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x64]
mov dword [eax + 8], ebp
mov eax, dword [esi + 0xac]
fmul dword [eax + ecx + 0xc]
add eax, ecx
fld dword [esp + 0x10]
mov ecx, dword [esi + 0xa8]
fmul dword [eax + 0x10]
lea edx, [edx + ecx + 0x18]
fld dword [esp + 0x10]
fmul dword [eax + 0x14]
fstp dword [esp + 0xbc]
fld dword [eax]
fsub st(2)
fstp dword [esp + 0x40]
fld dword [eax + 4]
fsub st(1)
fstp dword [esp + 0x44]
mov ecx, dword [esp + 0x44]
fstp st(0)
fstp st(0)
fld dword [eax + 8]
mov eax, dword [esp + 0x40]
fsub dword [esp + 0xbc]
mov dword [edx], eax
fstp dword [esp + 0x48]
mov eax, dword [esp + 0x48]
jmp 0x4d1f8a
call ebx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [0x5d4bc4]
fsub dword [0x5d8378]
fmul dword [esp + 0x18]
fstp dword [esp + 0x58]
call ebx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [0x5d4bc4]
fsub dword [0x5d8378]
fmul dword [esp + 0x18]
fstp dword [esp + 0x80]
call ebx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], ecx
lea ecx, [edi + edi*8]
fmul dword [0x5d4bc4]
shl ecx, 2
mov edx, dword [esp + 0x58]
fsub dword [0x5d8378]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], edx
fmul dword [esp + 0x18]
lea edx, [edi + edi*2]
shl edx, 4
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
fld dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xac]
fmul dword [eax + ecx + 0xc]
add eax, ecx
fld dword [esp + 0x10]
fmul dword [eax + 0x10]
fld dword [esp + 0x10]
fmul dword [eax + 0x14]
fstp dword [esp + 0x98]
fxch st(1)
fadd dword [eax]
fstp dword [esp + 0xa8]
fadd dword [eax + 4]
fld dword [esp + 0x98]
fadd dword [eax + 8]
mov eax, dword [esi + 0xa8]
fld dword [esp + 0x1c]
add eax, edx
fadd dword [esp + 0xa8]
fstp dword [esp + 0x68]
mov ebp, dword [esp + 0x68]
fld dword [esp + 0x20]
mov dword [eax], ebp
fadd st(2)
fstp dword [esp + 0x6c]
mov ebp, dword [esp + 0x6c]
fld dword [esp + 0x24]
mov dword [eax + 4], ebp
fadd st(1)
fstp dword [esp + 0x70]
mov ebp, dword [esp + 0x70]
mov dword [eax + 8], ebp
mov eax, dword [esi + 0xac]
fstp st(0)
fstp st(0)
add eax, ecx
fld dword [esp + 0x10]
fmul dword [eax + 0xc]
fld dword [esp + 0x10]
fmul dword [eax + 0x10]
mov ecx, dword [esi + 0xa8]
fld dword [esp + 0x10]
lea edx, [edx + ecx + 0x18]
fmul dword [eax + 0x14]
fstp dword [esp + 0xc8]
fld dword [eax]
fsub st(2)
fstp dword [esp + 0xd8]
fld dword [eax + 4]
fsub st(1)
fstp st(2)
fstp st(0)
fld dword [eax + 8]
fsub dword [esp + 0xc8]
fld dword [esp + 0xd8]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
fxch st(1)
mov dword [edx], eax
fadd dword [esp + 0x20]
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
fadd dword [esp + 0x24]
fstp dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [esi + 0x104]
inc edi
cmp edi, eax
jl 0x4d1c50
pop ebp
pop ebx
pop edi
pop esi
add esp, 0xd4
ret