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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c2073
sub esp, 0x60
nop
mov eax, dword [esp + 0x74]
mov ecx, eax
and eax, 0x1f
cmp eax, 0xd
jne 0x4c1d86
mov eax, dword [esp + 0x70]
movss xmm0, dword [eax]
cvtss2sd xmm0, xmm0
jmp 0x4c1d97
cmp eax, 0xe
jne 0x4c2034
mov eax, dword [esp + 0x70]
movsd xmm0, qword [eax]
movsd xmm1, qword [0x57a7a4]
ucomisd xmm0, xmm1
ja 0x4c1f3b
movsd xmm1, qword [0x57a7dc]
ucomisd xmm1, xmm0
ja 0x4c1f3b
ucomisd xmm0, xmm0
jne 0x4c1f3b
jp 0x4c1f3b
mov eax, dword [esp + 0x68]
test byte [eax], al
nop
movsd qword [esp + 0x40], xmm0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x48], ecx
and edx, 0x7fffffff
mov dword [esp + 0x4c], edx
movsd xmm1, qword [esp + 0x48]
xorps xmm2, xmm2
ucomisd xmm2, xmm1
jne 0x4c1dff
jnp 0x4c1e55
mov ecx, dword [esp + 0x64]
cmp ecx, 0x40
jne 0x4c1e24
movsd xmm2, qword [0x57a6fc]
ucomisd xmm2, xmm1
ja 0x4c1e47
movsd xmm2, qword [0x57a79c]
ucomisd xmm1, xmm2
jae 0x4c1e47
cmp ecx, 0x20
jne 0x4c1e4e
cvtsd2ss xmm1, xmm1
movss xmm2, dword [0x57a66c]
ucomiss xmm2, xmm1
ja 0x4c1e47
movss xmm2, dword [0x57a67c]
ucomiss xmm1, xmm2
jb 0x4c1e4e
mov edx, 0x65
jmp 0x4c1e5e
mov edx, 0x66
jmp 0x4c1e5e
mov ecx, dword [esp + 0x64]
mov edx, 0x66
mov byte [esp + 0x2f], dl
lea ebx, [eax + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x40
movsd qword [esp + 0xc], xmm0
mov byte [esp + 0x14], dl
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], ecx
call fcn.0046fdb0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
movzx ebx, byte [esp + 0x2f]
cmp bl, 0x65
jne 0x4c1ed3
cmp eax, 4
jl 0x4c1ed3
lea ebx, [eax + ecx - 4]
cmp byte [ebx], 0x65
jne 0x4c1ed3
lea ebx, [eax + ecx - 3]
cmp byte [ebx], 0x2d
jne 0x4c1ed3
lea ebx, [eax + ecx - 2]
cmp byte [ebx], 0x30
jne 0x4c1ed3
movzx ebx, byte [eax + ecx - 1]
mov byte [eax + ecx - 2], bl
dec eax
movzx ebx, byte [esp + 0x78]
test bl, bl
je 0x4c1f05
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov byte [esp + 4], 0x22
call fcn.004bf0f0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.004beb10
movzx eax, byte [esp + 0x78]
test al, al
je 0x4c1f37
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov byte [esp + 4], 0x22
call fcn.004bf0f0
add esp, 0x60
ret
movsd qword [esp], xmm0
mov byte [esp + 8], 0x67
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
call fcn.0046fce0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea edx, [0x51d540]
mov dword [esp], edx
call fcn.0040ba60
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x74]
mov dword [edi + 8], eax
mov eax, dword [0x737a60]
test eax, eax
jne 0x4c2014
mov ecx, dword [esp + 0x6c]
mov dword [edi], ecx
mov ecx, dword [esp + 0x70]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x737a60]
test ecx, ecx
jne 0x4c2000
mov eax, dword [esp + 0x54]
mov dword [edi + 0xc], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea eax, [0x57ac98]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edi
lea eax, [0x51ee60]
mov dword [esp], eax
lea ecx, [esp + 0x58]
mov dword [esp + 4], ecx
call fcn.004091c0
mov eax, dword [esp + 8]
lea ecx, [0x51ee60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00434b50
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x54]
mov edx, edi
mov edi, ecx
call fcn.004614c0
mov edi, edx
jmp 0x4c1fb6
mov eax, dword [esp + 0x6c]
call fcn.004614c0
lea ecx, [edi + 4]
mov eax, dword [esp + 0x70]
mov edx, edi
mov edi, ecx
call fcn.004614c0
mov edi, edx
jmp 0x4c1f9e
mov dword [esp + 0x38], eax
lea eax, [0x51dd80]
mov dword [esp], eax
call fcn.0040ba60
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x53acc3]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
lea ecx, [0x519020]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00434b50
nop
call fcn.004600b0
jmp fcn.004c1d50