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

Disassembly:
sub esp, 0xac
push ebx
push esi
mov esi, ecx
movzx eax, word [esi + 0x24]
push edi
push eax
call fcn.04c99fd0
add esp, 4
cmp byte [esp + 0xc4], 0
je 0x4cf3df8
cmp dword [esi + 0x28], 0
jne 0x4cf3fd5
cmp dword [eax + 0x7b8], 2
je 0x4cf3fd5
mov al, byte [eax + 2]
cmp al, 6
je 0x4cf3fd5
cmp al, 7
je 0x4cf3fd5
cmp al, 0xa
je 0x4cf3fd5
cmp al, 4
je 0x4cf3fd5
test al, al
je 0x4cf3fd5
fld dword [esi + 0x2c]
fcomp qword [0x4e0d270]
fnstsw ax
test ah, 0x44
jp 0x4cf3fd5
mov ebx, dword [esp + 0xc0]
test ebx, ebx
mov ecx, dword [0x4e7ffd8]
je 0x4cf3e20
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0xc]
push 0x4e38ec8
push eax
call edx
jmp 0x4cf3e35
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esi + 0xc]
push 0x4e368d8
push edx
call eax
test eax, eax
jne 0x4cf3fd5
fldz
mov ecx, dword [0x4e7ffd8]
fst dword [esp + 0x5c]
push 1
fst dword [esp + 0x64]
lea eax, [esp + 0x54]
fstp dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x20]
fld1
push eax
fstp dword [esp + 0x74]
mov eax, dword [esi + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push eax
call edx
mov eax, dword [0x4e83f60]
mov edi, dword [eax]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [0x4e83f6c]
call fcn.04b7fb90
mov ecx, dword [0x4e83f60]
mov edx, dword [edi + 0x98]
push eax
call edx
fldz
mov eax, dword [0x4e83f60]
fst dword [esp + 0x1c]
fst dword [esp + 0x20]
lea ecx, [esp + 0x1c]
fstp dword [esp + 0x24]
push ecx
fld1
mov ecx, dword [0x4e83f6c]
fstp dword [esp + 0x2c]
mov edi, dword [eax]
call fcn.04b7fb90
mov ecx, dword [0x4e83f60]
mov edx, dword [edi + 0x94]
push eax
call edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.04c860b0
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.04b77de0
fld dword [esp + 0x58]
fadd dword [esp + 0x20]
mov ecx, dword [0x4e7ffd4]
add esp, 0x14
cmp byte [esi + 0x48], 0
fstp dword [esp + 0x34]
fld dword [esp + 0x10]
fadd dword [esp + 0x48]
fstp dword [esp + 0x30]
fld dword [esp + 0x14]
fadd dword [esp + 0x4c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x34]
fstp dword [esp + 0xc]
fld dword [esp + 0x30]
fstp dword [esp + 0x10]
fld dword [esp + 0x2c]
fstp dword [esp + 0x14]
je 0x4cf3f5d
mov edx, dword [0x4e83f6c]
mov eax, dword [edx + 0x50]
mov eax, dword [eax + 0x100]
mov edx, dword [ecx]
lea edi, [esp + 0x38]
push edi
push eax
mov eax, dword [edx + 0x28]
call eax
jmp 0x4cf3f6d
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x38]
push eax
mov eax, dword [esi + 0x10]
push eax
call edx
mov eax, dword [esp + 0xbc]
fld dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
push ebx
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
fstp dword [eax]
sub esp, 0xc
fld dword [esp + 0x50]
fstp dword [eax + 4]
fld dword [esp + 0x54]
fstp dword [eax + 8]
fld dword [esp + 0x58]
fstp dword [eax + 0xc]
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
movzx eax, word [esi + 0x24]
push eax
lea ecx, [esi + 0x60]
call fcn.04cacbc0
pop edi
pop esi
pop ebx
add esp, 0xac
ret 0xc