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

Disassembly:
sub esp, 0x68
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [esp + 0x78]
mov ebp, dword [eax + 0x10]
cmp dword [edi], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0xf], 0
mov dword [esp + 0x10], 0
je 0x4d1747
mov eax, dword [edi + 4]
lea esi, [edi + 4]
nop
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4d173d
mov eax, dword [eax + 0x14]
xor ecx, ecx
mov cx, word [eax + 0x2e]
mov dl, cl
shr dl, 4
test dl, 1
je 0x4d173d
shr ecx, 0xa
test cl, 1
jne 0x4d173d
fld dword [eax + 0x18]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x4d1710
lea esi, [edi + 4]
mov edi, esi
mov ecx, dword [edi]
mov edi, edi
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4d17b9
mov al, byte [eax + 4]
shr al, 1
test al, 1
je 0x4d17b9
mov edx, dword [ecx + 0x14]
xor eax, eax
mov ax, word [edx + 0x2e]
mov edx, eax
shr edx, 0xd
test dl, 1
jne 0x4d17b9
shr al, 6
test al, 1
je 0x4d17b9
fld dword [0x858624]
push ecx
fsub dword [esp + 0x14]
lea eax, [esp + 0x28]
fstp dword [esp]
push eax
call fcn.004cfc50
fld dword [esp + 0x40]
mov ecx, dword [edi]
fadd dword [esp + 0x28]
mov edx, dword [ecx + 0x14]
mov al, byte [edx + 0x2e]
shr al, 7
fstp dword [esp + 0x40]
test al, 1
je 0x4d17b9
fld dword [esp + 0x3c]
fadd dword [esp + 0x24]
fstp dword [esp + 0x3c]
mov ecx, dword [edi + 4]
add edi, 4
test ecx, ecx
jne 0x4d1750
push ebx
mov ecx, dword [esi]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4d193b
fld dword [0x858624]
lea edx, [esp + 0x68]
fsub dword [esp + 0x14]
lea eax, [esp + 0x28]
fstp dword [esp + 0x18]
mov edi, dword [esp + 0x18]
push edi
push edx
push eax
call fcn.004d06c0
fld dword [esp + 0x74]
fmul dword [esp + 0x64]
mov dl, al
fld dword [esp + 0x70]
fmul dword [esp + 0x60]
faddp st(1)
fld dword [esp + 0x6c]
fmul dword [esp + 0x5c]
faddp st(1)
fld dword [esp + 0x68]
fmul dword [esp + 0x58]
faddp st(1)
fcomp dword [0x858b50]
fnstsw ax
test ah, 5
jp 0x4d1856
fld dword [esp + 0x58]
fsub dword [esp + 0x68]
fstp dword [esp + 0x58]
fld dword [esp + 0x5c]
fsub dword [esp + 0x6c]
fstp dword [esp + 0x5c]
fld dword [esp + 0x60]
fsub dword [esp + 0x70]
fstp dword [esp + 0x60]
fld dword [esp + 0x64]
fsub dword [esp + 0x74]
jmp 0x4d1882
fld dword [esp + 0x68]
fadd dword [esp + 0x58]
fstp dword [esp + 0x58]
fld dword [esp + 0x6c]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x5c]
fld dword [esp + 0x70]
fadd dword [esp + 0x60]
fstp dword [esp + 0x60]
fld dword [esp + 0x74]
fadd dword [esp + 0x64]
mov ecx, dword [esi]
fstp dword [esp + 0x64]
mov eax, dword [ecx + 0x10]
mov al, byte [eax + 4]
shr al, 1
test al, 1
je 0x4d193b
mov eax, dword [ecx + 0x14]
movzx eax, word [eax + 0x2e]
mov ebx, eax
shr ebx, 0xd
test bl, 1
jne 0x4d193b
fld dword [esp + 0x1c]
mov bl, al
fadd dword [esp + 0x28]
shr bl, 6
test bl, 1
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x20]
fld dword [esp + 0x30]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
je 0x4d193b
fld dword [esp + 0x38]
shr al, 7
test al, 1
fadd dword [esp + 0x2c]
fstp dword [esp + 0x38]
je 0x4d18fa
fld dword [esp + 0x34]
fadd dword [esp + 0x28]
fstp dword [esp + 0x34]
mov bl, byte [esp + 0x13]
or bl, dl
test dl, dl
mov byte [esp + 0x13], bl
je 0x4d193b
push edi
lea edx, [esp + 0x2c]
push edx
call fcn.004cfd90
fld dword [esp + 0x50]
mov ecx, dword [esi]
fadd dword [esp + 0x2c]
mov eax, dword [ecx + 0x14]
mov dl, byte [eax + 0x2e]
shr dl, 7
fstp dword [esp + 0x50]
test dl, 1
je 0x4d193b
fld dword [esp + 0x4c]
fadd dword [esp + 0x28]
fstp dword [esp + 0x4c]
add ecx, 0x18
mov dword [esi], ecx
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x4d17c4
mov esi, dword [esp + 0x7c]
test byte [esi], 2
pop ebx
jne 0x4d197d
lea ecx, [esp + 0x54]
call fcn.004d1610
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [ebp], eax
mov eax, dword [esp + 0x60]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], eax
test byte [esi], 4
jne 0x4d1a44
fld dword [esp + 0x30]
mov eax, dword [0xb4ea0c]
fsub dword [esp + 0x3c]
mov ecx, dword [eax + 0xc]
fstp dword [ecx]
mov cl, byte [esp + 0xf]
test cl, cl
fld dword [esp + 0x34]
fsub dword [esp + 0x40]
mov edx, dword [eax + 0xc]
fstp dword [edx + 4]
je 0x4d19c6
mov ecx, dword [eax + 0xc]
fld dword [esp + 0x48]
fadd dword [ecx]
fstp dword [ecx]
mov eax, dword [eax + 0xc]
fld dword [esp + 0x4c]
fadd dword [eax + 4]
fstp dword [eax + 4]
fld dword [esp + 0x18]
lea ecx, [ebp + 0x10]
fsub dword [esp + 0x30]
mov eax, ecx
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fld dword [esp + 0x1c]
mov dword [eax], edx
fsub dword [esp + 0x34]
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 8], edx
fld dword [ebp + 0x18]
fcomp dword [0x858c9c]
fnstsw ax
test ah, 5
jnp 0x4d1a34
fld dword [ebp + 0x18]
fcomp dword [0x858f0c]
fnstsw ax
test ah, 5
jp 0x4d1a2b
fld dword [ebp + 0x18]
fmul dword [0x858fa0]
fadd dword [0x858ca0]
fmul dword [esi + 0xc]
jmp 0x4d1a2e
fld dword [esi + 0xc]
fadd dword [ebp + 0x18]
fstp dword [ebp + 0x18]
fld dword [esi + 4]
fadd dword [ecx]
fstp dword [ecx]
fld dword [esi + 8]
fadd dword [ebp + 0x14]
fstp dword [ebp + 0x14]
pop edi
pop esi
pop ebp
add esp, 0x68
ret