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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0xc8]
test ecx, ecx
je 0x4c72d3
mov edx, dword [ebp + 0xc]
test edx, edx
js 0x4c72d3
movsx eax, word [edi + 0x24]
cmp edx, eax
jge 0x4c72d3
mov al, byte [ebp + 0x14]
imul edx, edx, 0x94
add edx, ecx
push ebx
mov byte [edx + 1], al
mov al, byte [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x10]
mov byte [edx + 2], al
mov eax, 0xffff
mov dword [ebp + 0xc], edx
mov byte [edx], 0
mov word [edx + 4], ax
test esi, esi
je 0x4c70c0
mov ax, word [esi]
mov word [edx + 6], ax
movzx ecx, byte [esi + 6]
movzx eax, byte [esi + 5]
movzx edx, byte [esi + 4]
movzx ebx, byte [esi + 7]
add edx, edx
add ecx, ecx
add eax, eax
add ebx, ebx
mov dword [ebp + 8], edx
mov dword [ebp - 4], 0xff
jns 0x4c706e
xor ebx, ebx
jmp 0x4c7078
cmp ebx, 0xff
cmovg ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
test ecx, ecx
jns 0x4c7083
xor ecx, ecx
jmp 0x4c708d
cmp ecx, 0xff
cmovg ecx, dword [ebp - 4]
test eax, eax
jns 0x4c7095
xor eax, eax
jmp 0x4c709e
cmp eax, 0xff
cmovg eax, dword [ebp - 4]
test edx, edx
mov edx, dword [ebp + 0xc]
jns 0x4c70ae
mov dword [ebp + 8], 0
jmp 0x4c70d6
cmp dword [ebp + 8], 0xff
jle 0x4c70d6
mov dword [ebp + 8], 0xff
jmp 0x4c70d6
mov ebx, 0xff
or eax, 0xffffffff
mov ecx, ebx
mov word [edx + 6], ax
mov eax, ecx
mov dword [ebp - 8], ebx
mov dword [ebp + 8], eax
mov byte [edx + 8], bl
mov ebx, dword [ebp + 8]
mov byte [edx + 0xa], al
mov byte [edx + 0xb], bl
mov ebx, dword [ebp - 8]
mov byte [edx + 0xe], al
mov eax, dword [ebp + 8]
mov byte [edx + 9], cl
mov byte [edx + 0xc], bl
mov byte [edx + 0xd], cl
mov byte [edx + 0xf], al
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
test esi, esi
je 0x4c7131
movzx eax, word [esi + 0xc]
sub ax, word [esi + 8]
mov word [edx + 0x24], ax
movzx eax, word [esi + 0x14]
sub ax, word [esi + 0x10]
mov word [edx + 0x26], ax
jmp 0x4c7136
xor eax, eax
mov dword [edx + 0x24], eax
xor eax, eax
mov dword [edx + 0x20], eax
movzx eax, word [edx + 6]
mov dword [edx + 0x40], 0x3f800000
mov dword [edx + 0x44], 0x3f800000
test ax, ax
js 0x4c71be
cmp ax, word [edi + 0x20]
jge 0x4c71be
mov edi, dword [edi + 0xc4]
test edi, edi
je 0x4c71be
cwde
lea ecx, [eax + eax*4]
movsx eax, word [edx + 0x24]
movd xmm1, eax
movzx eax, word [edi + ecx*2 + 2]
movd xmm0, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movsx eax, word [edx + 0x26]
divss xmm1, xmm0
movss dword [edx + 0x40], xmm1
movd xmm1, eax
movzx eax, word [edi + ecx*2 + 4]
movd xmm0, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [edx + 0x44], xmm1
movzx eax, word [edi + ecx*2 + 2]
add ax, ax
mov word [edx + 0x24], ax
movzx eax, word [edi + ecx*2 + 4]
add ax, ax
mov word [edx + 0x26], ax
test esi, esi
je 0x4c71ee
movd xmm0, dword [esi + 8]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x624180]
movss dword [edx + 0x30], xmm0
movd xmm0, dword [esi + 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x624180]
movss dword [edx + 0x34], xmm0
jmp 0x4c71fc
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 0
mov dword [edx + 0x38], 0x3f800000
mov dword [edx + 0x3c], 0x3f800000
mov dword [edx + 0x48], 0
mov dword [edx + 0x54], 0x3f800000
mov dword [edx + 0x58], 0
mov dword [edx + 0x5c], 0
mov dword [edx + 0x60], 0
mov dword [edx + 0x64], 0x3f800000
mov dword [edx + 0x68], 0
mov dword [edx + 0x6c], 0
mov dword [edx + 0x70], 0
mov dword [edx + 0x74], 0x3f800000
test esi, esi
je 0x4c7290
movzx eax, word [esi + 8]
add ax, ax
mov word [edx + 0x4c], ax
movzx eax, word [esi + 0x10]
add ax, ax
mov word [edx + 0x4e], ax
movzx eax, word [esi + 0xc]
add ax, ax
mov word [edx + 0x50], ax
movzx eax, word [esi + 0x14]
add ax, ax
mov word [edx + 0x52], ax
jmp 0x4c7298
xor eax, eax
mov dword [edx + 0x4c], eax
mov dword [edx + 0x50], eax
mov eax, dword [edx + 0x24]
mov dword [edx + 0x78], eax
mov eax, dword [edx + 0x30]
mov dword [edx + 0x7c], eax
mov eax, dword [edx + 0x34]
mov dword [edx + 0x80], eax
mov eax, dword [edx + 0x40]
mov dword [edx + 0x84], eax
mov eax, dword [edx + 0x44]
mov dword [edx + 0x88], eax
mov eax, dword [edx + 0x4c]
mov dword [edx + 0x8c], eax
mov eax, dword [edx + 0x50]
pop esi
mov dword [edx + 0x90], eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret