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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x250
push ebx
push ebp
mov al, 0xff
push esi
push edi
mov byte [esp + 0x24], al
mov byte [esp + 0x25], al
mov byte [esp + 0x26], al
mov byte [esp + 0x27], al
mov dword [esp + 0x58], 0x41600000
mov dword [esp + 0x5c], 0x42280000
mov dword [esp + 0x60], 0x41600000
mov dword [esp + 0x64], 0x41c00000
mov dword [esp + 0x68], 0x41600000
mov dword [esp + 0x6c], 0x41a80000
call fcn.004b2200
mov esi, eax
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x40], esi
je 0x4c6ab2
mov al, byte [esi + 0x94]
cmp al, 8
ja 0x4c6817
mov byte [esp + 0x17], bl
jmp 0x4c6822
cmp al, 0xe
seta al
inc al
mov byte [esp + 0x17], al
mov eax, dword [0x8efbb8]
xor ecx, ecx
mov cl, byte [eax + 0x17e3d]
push ecx
call fcn.0046f210
mov byte [esp + 0x23], al
add esp, 4
lea eax, [esp + 0x74]
mov ecx, 0x1e
mov dword [eax - 4], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
add eax, 0x10
dec ecx
jne 0x4c6845
mov cl, byte [esi + 0x95]
mov al, byte [esi + 0x96]
cmp cl, al
jbe 0x4c686a
dec al
jmp 0x4c686c
mov al, cl
mov cl, byte [esi + 0x94]
test cl, cl
mov dword [esp + 0x30], ebx
jbe 0x4c6ab2
mov ebp, dword [esp + 0x28]
movzx edx, al
movzx eax, byte [esp + 0x17]
lea ecx, [esi + 0x1e8]
add esi, 0x1a8
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], esi
jmp 0x4c68b0
mov eax, dword [esp + 0x38]
lea esp, [esp]
mov cl, byte [esp + 0x1f]
mov dl, byte [esp + 0x30]
add dl, cl
mov ecx, dword [esp + 0x3c]
xor esi, esi
cmp ecx, ebx
mov byte [esp + 0x44], dl
mov dword [esp + 0x18], esi
jle 0x4c694b
mov edi, dword [esp + 0x44]
lea ecx, [esp + eax*8 + 0x58]
lea edx, [esp + eax*8 + 0x5c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], edx
mov eax, dword [0x8efba4]
push esi
add eax, 0x332c
push edi
push eax
call fcn.0046f5a0
add esp, 0xc
dec al
cmp esi, ebx
jne 0x4c68ff
mov byte [esp + 0x17], al
fild dword [esp + 0x18]
mov edx, dword [esp + 0x34]
movzx eax, al
mov ecx, esi
fmul dword [edx]
movzx edx, byte [esp + 0x17]
shl ecx, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
inc esi
fstp dword [esp + ecx + 0x70]
mov dword [esp + ecx + 0x78], ebx
fild dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov dword [esp + ecx + 0x7c], ebx
fisub dword [esp + 0x18]
mov dword [esp + 0x18], esi
fmul dword [eax]
cmp dword [esp + 0x3c], esi
fstp dword [esp + ecx + 0x74]
jg 0x4c68e0
mov eax, dword [esp + 0x38]
sub eax, ebx
lea edi, [esi - 1]
mov dword [esp + 0x34], edi
je 0x4c6996
dec eax
je 0x4c6979
dec eax
jne 0x4c69b1
movzx ebp, byte [esp + 0x17]
and ebp, 0x80000001
jns 0x4c696e
dec ebp
or ebp, 0xfffffffe
inc ebp
neg ebp
sbb ebp, ebp
neg ebp
add ebp, 0x6c
jmp 0x4c69b1
movzx ebp, byte [esp + 0x17]
and ebp, 0x80000001
jns 0x4c698b
dec ebp
or ebp, 0xfffffffe
inc ebp
neg ebp
sbb ebp, ebp
neg ebp
add ebp, 0x3a
jmp 0x4c69b1
movzx ebp, byte [esp + 0x17]
and ebp, 0x80000001
jns 0x4c69a8
dec ebp
or ebp, 0xfffffffe
inc ebp
neg ebp
sbb ebp, ebp
neg ebp
add ebp, 0x12
movzx edx, byte [esp + 0x17]
mov eax, dword [esp + 0x40]
movzx ecx, bp
push ecx
mov ecx, dword [eax + edx*4 + 8]
push ecx
call fcn.004687c0
mov edx, dword [esp + 0x34]
mov dword [edx], eax
mov esi, dword [eax + 0x10]
push ebx
push esi
mov dword [esp + 0x38], esi
call fcn.0046ca90
add esp, 0x10
cmp edi, ebx
jle 0x4c6a4a
mov ebx, dword [esp + 0x20]
lea esi, [esp + 0x74]
mov dword [esp + 0x18], edi
nop
fld dword [esi - 4]
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
fstp dword [esp + 0x50]
fld dword [esi + 0xc]
mov dword [esp + 0x4c], ecx
fstp dword [esp + 0x48]
mov edi, 4
lea ecx, [esp + 0x48]
lea edx, [esp + 0x50]
call fcn.004c64c0
push 0
push eax
mov dword [ebx], eax
call fcn.004654b0
mov eax, dword [esp + 0x20]
add esp, 8
add ebx, edi
add esi, 0x10
dec eax
mov dword [esp + 0x18], eax
jne 0x4c69f0
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x34]
xor ebx, ebx
lea ecx, [esp + 0x24]
push ecx
push esi
call fcn.00462ce0
add esp, 8
cmp edi, 1
jle 0x4c6a80
mov esi, dword [esp + 0x20]
dec edi
mov dword [esp + 0x18], edi
mov edi, dword [esi + 4]
mov ebx, dword [esi]
call fcn.004c6600
mov eax, dword [esp + 0x18]
add esi, 4
dec eax
mov dword [esp + 0x18], eax
jne 0x4c6a66
xor ebx, ebx
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
movzx ecx, byte [edx + 0x94]
inc eax
add edi, 4
add esi, 0x78
cmp ecx, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], esi
jg 0x4c68a8
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret