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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb0
mov ebx, ecx
mov byte [esp], dl
mov edi, eax
mov byte [esp + 0x42], 0
push dword [edi + 0x5c]
push dword [edi + 0x58]
push dword [edi + 0x64]
push dword [edi + 0x60]
mov edx, ebx
mov eax, edi
call fcn.004d8258
test al, al
jne 0x4d82d2
push dword [edi + 0x7c]
push dword [edi + 0x78]
push dword [edi + 0x84]
push dword [edi + 0x80]
mov eax, edi
call fcn.004ad740
mov byte [esp + 0x42], 1
mov eax, dword [edi + 0x58]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x64]
mov dword [esp + 0x14], eax
cmp byte [esp], 0
je 0x4d84a7
mov ebp, 0x12
fld qword [edi + 0x88]
fdiv dword [0x4d85d8]
call fcn.00402d24
push edx
push eax
mov eax, 0xa
xor edx, edx
call fcn.00405f8c
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
fild qword [esp + 0x44]
fstp qword [esp + 0x38]
wait
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
mov esi, ebp
add esi, esi
dec esi
test esi, esi
jle 0x4d83e2
mov dword [esp + 0x4c], ebp
fild dword [esp + 0x4c]
fdivr dword [0x4d85dc]
fsubr qword [esp + 0x28]
fstp qword [esp + 0x28]
wait
fld xword [0x4d85e0]
fmul qword [esp + 0x28]
fdiv dword [0x4d85dc]
call fcn.00402cc8
fmul qword [edi + 0x90]
fadd qword [esp + 8]
fstp qword [esp + 0x18]
wait
fld xword [0x4d85e0]
fmul qword [esp + 0x28]
fdiv dword [0x4d85dc]
call fcn.00402cf0
fmul qword [edi + 0x90]
fsubr qword [esp + 0x10]
fstp qword [esp + 0x20]
wait
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
mov edx, ebx
mov eax, edi
call fcn.004d8258
test al, al
jne 0x4d83e2
mov byte [esp + 0x42], 1
dec esi
jne 0x4d835a
mov esi, ebp
add esi, esi
dec esi
test esi, esi
jle 0x4d8477
mov dword [esp + 0x4c], ebp
fild dword [esp + 0x4c]
fdivr dword [0x4d85dc]
fadd qword [esp + 0x30]
fstp qword [esp + 0x30]
wait
fld xword [0x4d85e0]
fmul qword [esp + 0x30]
fdiv dword [0x4d85dc]
call fcn.00402cc8
fmul qword [edi + 0x90]
fadd qword [esp + 8]
fstp qword [esp + 0x18]
wait
fld xword [0x4d85e0]
fmul qword [esp + 0x30]
fdiv dword [0x4d85dc]
call fcn.00402cf0
fmul qword [edi + 0x90]
fsubr qword [esp + 0x10]
fstp qword [esp + 0x20]
wait
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
mov edx, ebx
mov eax, edi
call fcn.004d8258
test al, al
jne 0x4d8477
mov byte [esp + 0x42], 1
dec esi
jne 0x4d83ef
cmp byte [esp + 0x42], 0
je 0x4d85d0
fld qword [esp + 0x28]
fadd qword [esp + 0x30]
fadd dword [0x4d85dc]
fsub qword [esp + 0x38]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, edi
call fcn.004aca48
jmp 0x4d85d0
fld qword [edi + 0x58]
fadd qword [edi + 0xb0]
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [edi + 0x64]
push dword [edi + 0x60]
mov edx, ebx
mov eax, edi
call fcn.004d8258
xor al, 1
mov byte [esp + 0x40], al
push dword [edi + 0x5c]
push dword [edi + 0x58]
fld qword [edi + 0x60]
fadd qword [edi + 0xb8]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov edx, ebx
mov eax, edi
call fcn.004d8258
xor al, 1
mov byte [esp + 0x41], al
fld qword [edi + 0x58]
fadd qword [edi + 0xb0]
add esp, 0xfffffff8
fstp qword [esp]
wait
fld qword [edi + 0x60]
fadd qword [edi + 0xb8]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov edx, ebx
mov eax, edi
call fcn.004d8258
xor al, 1
mov dl, byte [esp + 0x40]
and dl, byte [esp + 0x41]
je 0x4d8554
fld qword [edi + 0xb0]
fchs
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, edi
call fcn.004acae4
fld qword [edi + 0xb8]
fchs
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, edi
call fcn.004acb14
jmp 0x4d85d0
cmp byte [esp + 0x40], 0
jne 0x4d8594
cmp byte [esp + 0x41], 0
jne 0x4d8594
test al, al
je 0x4d8594
fld qword [edi + 0xb0]
fchs
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, edi
call fcn.004acae4
fld qword [edi + 0xb8]
fchs
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, edi
call fcn.004acb14
jmp 0x4d85d0
cmp byte [esp + 0x40], 0
je 0x4d85b3
fld qword [edi + 0xb0]
fchs
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, edi
call fcn.004acae4
jmp 0x4d85d0
cmp byte [esp + 0x41], 0
je 0x4d85d0
fld qword [edi + 0xb8]
fchs
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, edi
call fcn.004acb14
add esp, 0x50
pop ebp
pop edi
pop esi
pop ebx
ret