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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebp, dword [esp + 0x80]
cmp byte [ebp + 0xe], 0
movzx ecx, word [ebp + 0x10]
je 0x6cc49ca0
mov eax, dword [esp + 0x7c]
mov ebx, ecx
and bx, 0xf0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x6cc49c73
test bx, bx
jne 0x6cc4a158
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 8]
lea edx, [eax + eax]
mov ecx, dword [ebp + 0x18]
test bx, bx
sete byte [esp + 0x2c]
movzx eax, byte [ecx + eax]
mov ecx, dword [ebp + 0x14]
movzx ecx, word [ecx + edx]
jmp 0x6cc49ca9
movzx eax, byte [ebp + 0x12]
mov byte [esp + 0x2c], 1
mov edi, dword [esp + 0x70]
mov ebx, dword [edi]
mov edx, dword [ebx + 0x1c]
mov edi, dword [edx + eax*4]
mov eax, dword [ebx]
mov ebx, dword [eax + 0x40]
test ebx, ebx
je 0x6cc4a34d
mov word [esp + 0x20], cx
jmp 0x6cc49cd7
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x6cc49ced
mov esi, dword [ebx]
mov eax, dword [esi + 0x14]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_strcmp]
test eax, eax
jne 0x6cc49cd0
movzx ecx, word [esp + 0x20]
mov eax, dword [esp + 0x84]
cmp word [eax + 4], 0xff
jne 0x6cc49d0c
cmp byte [esp + 0x2c], 0
jne 0x6cc4a1a0
xor edx, edx
xor ebx, ebx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
add eax, 0x34
mov dword [esp + 0x14], eax
movzx eax, byte [ebp + 8]
mov dword [esp + 4], ecx
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.6cc47fd0
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x70]
mov eax, dword [eax + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 0xd], 0
jne 0x6cc49f88
mov eax, dword [esp + 0x70]
cmp byte [eax + 0x38], 0
jne 0x6cc49ed0
movzx eax, word [ebp + 0x3c]
test ah, 0x10
jne 0x6cc49f09
mov edi, dword [esp + 0x74]
movzx edx, word [edi + 8]
mov edi, dword [esp + 0x7c]
mov word [edi + 0x3c], dx
test ah, 0x20
jne 0x6cc4a0e0
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
movss xmm0, dword [edx + 4]
mov edx, dword [esp + 0x78]
addss xmm0, dword [edx + 4]
movss dword [ecx + 0x38], xmm0
cmp ax, 0x3fff
ja 0x6cc49fe0
mov eax, dword [esp + 0x78]
pxor xmm0, xmm0
pxor xmm1, xmm1
pxor xmm4, xmm4
movss xmm3, dword [0x6cc6d63c]
movaps xmm2, xmm3
movzx eax, byte [eax + 9]
cvtsi2ss xmm0, eax
mov eax, dword [esp + 0x78]
divss xmm0, dword [0x6cc6d62c]
divss xmm2, xmm0
pxor xmm0, xmm0
movzx eax, word [eax + 0xa]
cvtsi2ss xmm0, eax
mov eax, dword [esp + 0x70]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x7c]
movzx edx, ax
shr eax, 0x10
cvtsi2ss xmm1, eax
mulss xmm1, dword [0x6cc6d620]
cvtsi2ss xmm4, edx
addss xmm1, xmm4
divss xmm0, xmm1
movss xmm1, dword [0x6cc6d624]
comiss xmm1, xmm0
ja 0x6cc49e70
movaps xmm0, xmm3
mov eax, dword [esp + 0x7c]
minss xmm2, xmm3
movss dword [eax + 0x44], xmm0
movss dword [eax + 0x40], xmm2
mov eax, dword [esp + 0x84]
cmp bl, 0xff
je 0x6cc49ec0
movzx eax, word [eax + 4]
test ax, ax
je 0x6cc49e63
mov edx, dword [esp + 0x84]
sub eax, 1
mov word [edx + 4], ax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mulss xmm0, dword [0x6cc6d628]
movss dword [esp + 0x2c], xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call dword [sym.imp.ucrtbase.dll_sin]
movss xmm2, dword [esp + 0x2c]
movss xmm3, dword [0x6cc6d63c]
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
addsd xmm0, xmm0
cvtsd2ss xmm0, xmm0
minss xmm0, xmm3
jmp 0x6cc49e2e
xor edx, edx
mov word [eax + 4], dx
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, 0x44
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 0x34]
mov dword [esp], eax
call fcn.6cc48930
movzx eax, word [ebp + 0x3c]
test ah, 0x10
je 0x6cc49d72
call fcn.6cc49a40
movsx ecx, word [ebp + 0x20]
pxor xmm0, xmm0
pxor xmm1, xmm1
movsx edx, word [ebp + 0x22]
add eax, 0x80000000
cvtsi2sd xmm0, eax
addsd xmm0, qword [0x6cc6d610]
mulsd xmm0, qword [0x6cc6d618]
mov esi, ecx
sub edx, ecx
cvtsi2ss xmm1, edx
cvtsd2ss xmm0, xmm0
mulss xmm1, xmm0
cvttss2si eax, xmm1
add esi, eax
mov eax, dword [esp + 0x7c]
mov edi, dword [eax + 0x20]
test edi, edi
je 0x6cc4a228
movzx eax, word [ebp + 0x3c]
test ah, 1
je 0x6cc49d82
test al, 4
je 0x6cc4a338
mov edi, dword [esp + 0x7c]
add si, word [edi + 0x28]
mov word [edi + 0x3c], si
jmp 0x6cc49d82
mov edi, dword [esp + 0x70]
mov dword [esp + 0x40], 0
mov edx, dword [edi]
mov edx, dword [edx]
mov dword [esp + 0x48], 0
mov dword [esp + 0x38], 2
mov ecx, dword [edx + 0x54]
mov edx, dword [edx + 0x58]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x40]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x38]
mov dword [esp + 4], edx
mov eax, dword [eax + 0x2c]
mov dword [esp], eax
call fcn.6cc527b0
jmp 0x6cc49d57
call fcn.6cc49a40
pxor xmm0, xmm0
movss xmm2, dword [ebp + 0x34]
add eax, 0x80000000
movss xmm1, dword [ebp + 0x38]
cvtsi2sd xmm0, eax
mov eax, dword [esp + 0x70]
movsd xmm7, qword [0x6cc6d610]
subss xmm1, xmm2
movss xmm5, dword [0x6cc6d63c]
addsd xmm0, xmm7
mov eax, dword [eax]
mulsd xmm0, qword [0x6cc6d618]
mov eax, dword [eax]
cvtsd2ss xmm0, xmm0
mulss xmm0, xmm1
mov eax, dword [eax + 0x50]
addss xmm0, xmm2
mov eax, dword [eax + 0x10]
divss xmm5, xmm0
mov edi, dword [eax + 0x7c]
movd esi, xmm5
call fcn.6cc49a40
pxor xmm1, xmm1
movss xmm2, dword [ebp + 0x2c]
add eax, 0x80000000
movss xmm0, dword [ebp + 0x30]
cvtsi2sd xmm1, eax
movzx eax, di
subss xmm0, xmm2
shr edi, 0x10
addsd xmm1, xmm7
mulsd xmm1, qword [0x6cc6d618]
cvtsd2ss xmm1, xmm1
mulss xmm0, xmm1
pxor xmm1, xmm1
cvtsi2ss xmm1, edi
mulss xmm1, dword [0x6cc6d620]
addss xmm0, xmm2
pxor xmm2, xmm2
cvtsi2ss xmm2, eax
addss xmm1, xmm2
divss xmm0, xmm1
movss xmm1, dword [0x6cc6d624]
comiss xmm1, xmm0
ja 0x6cc4a1b8
movss xmm0, dword [0x6cc6d63c]
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x6cc4a1f0
test word [ebp + 0x3c], 0xc00
je 0x6cc49e40
mov dword [eax + 0x40], esi
movss dword [eax + 0x44], xmm0
jmp 0x6cc49e40
call fcn.6cc49a40
movss xmm2, dword [ebp + 0x24]
pxor xmm1, xmm1
add eax, 0x80000000
movss xmm0, dword [ebp + 0x28]
cvtsi2sd xmm1, eax
mov eax, dword [esp + 0x7c]
addsd xmm1, qword [0x6cc6d610]
mulsd xmm1, qword [0x6cc6d618]
subss xmm0, xmm2
mov esi, dword [eax + 0x20]
cvtsd2ss xmm1, xmm1
mulss xmm0, xmm1
addss xmm0, xmm2
test esi, esi
je 0x6cc4a200
movzx eax, word [ebp + 0x3c]
test ah, 2
je 0x6cc49da6
test al, 1
je 0x6cc4a318
mov edi, dword [esp + 0x7c]
addss xmm0, dword [edi + 0x24]
movss dword [edi + 0x38], xmm0
jmp 0x6cc49da6
test cl, 0xe
jne 0x6cc4a241
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x84]
movzx edx, word [ebp + 0x12]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
add eax, 1
mov dword [ecx + 8], eax
cmp eax, edx
jb 0x6cc49c7d
mov eax, dword [esp + 0x84]
xor edx, edx
mov dword [eax + 8], 0
xor eax, eax
jmp 0x6cc49c80
test word [ebp + 0x3c], 0xf00
sete bl
neg ebx
movzx edx, bl
jmp 0x6cc49d10
mulss xmm0, dword [0x6cc6d628]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call dword [sym.imp.ucrtbase.dll_sin]
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
addsd xmm0, xmm0
cvtsd2ss xmm0, xmm0
minss xmm0, dword [0x6cc6d63c]
jmp 0x6cc4a0b8
mov eax, dword [esp + 0x7c]
jmp 0x6cc4a0d3
mov eax, dword [esp + 0x74]
addss xmm0, dword [eax + 4]
mov eax, dword [esp + 0x78]
addss xmm0, dword [eax + 4]
mov eax, dword [esp + 0x7c]
movss dword [eax + 0x38], xmm0
movzx eax, word [ebp + 0x3c]
jmp 0x6cc49da6
mov eax, dword [esp + 0x74]
add si, word [eax + 8]
mov eax, dword [esp + 0x7c]
mov word [eax + 0x3c], si
movzx eax, word [ebp + 0x3c]
jmp 0x6cc49d82
and ecx, 0xf
cmp cx, 2
je 0x6cc4a354
movzx ecx, cx
lea eax, [ecx - 3]
cmp eax, 1
ja 0x6cc49c73
movzx ecx, word [ebp + 0x12]
test cx, cx
je 0x6cc4a43b
mov eax, dword [esp + 0x84]
pxor xmm7, xmm7
mov ebx, dword [eax + 8]
xor eax, eax
lea esi, [esi]
cmp ebx, eax
je 0x6cc4a297
mov edx, dword [ebp + 0x1c]
pxor xmm0, xmm0
movzx edx, byte [edx + eax]
cvtsi2ss xmm0, edx
addss xmm7, xmm0
add eax, 1
cmp eax, ecx
jne 0x6cc4a280
call fcn.6cc49a40
pxor xmm1, xmm1
movzx ecx, word [ebp + 0x12]
add eax, 0x80000000
cvtsi2sd xmm1, eax
mov eax, dword [esp + 0x84]
addsd xmm1, qword [0x6cc6d610]
mulsd xmm1, qword [0x6cc6d618]
mov eax, dword [eax + 8]
cvtsd2ss xmm1, xmm1
mulss xmm1, xmm7
test ecx, ecx
je 0x6cc4a307
lea esi, [esi]
sub ecx, 1
cmp ecx, eax
je 0x6cc4a303
mov edx, dword [ebp + 0x1c]
pxor xmm0, xmm0
movzx edx, byte [edx + ecx]
cvtsi2ss xmm0, edx
subss xmm7, xmm0
comiss xmm1, xmm7
ja 0x6cc4a415
test ecx, ecx
jne 0x6cc4a2e0
movzx ebx, word [ebp + 0x10]
lea edx, [eax + eax]
and bx, 0xf0
jmp 0x6cc49c80
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
addss xmm0, dword [edx + 4]
addss xmm0, dword [edi + 4]
movss dword [ecx + 0x38], xmm0
jmp 0x6cc49da6
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
add si, word [ecx + 8]
mov word [edx + 0x3c], si
jmp 0x6cc49d82
xor esi, esi
jmp 0x6cc49cf2
movzx ecx, word [ebp + 0x12]
test cx, cx
je 0x6cc4a432
mov eax, dword [ebp + 0x1c]
pxor xmm7, xmm7
add ecx, eax
lea esi, [esi]
movzx edx, byte [eax]
pxor xmm0, xmm0
add eax, 1
cvtsi2ss xmm0, edx
addss xmm7, xmm0
cmp eax, ecx
jne 0x6cc4a370
call fcn.6cc49a40
pxor xmm1, xmm1
add eax, 0x80000000
cvtsi2sd xmm1, eax
movzx eax, word [ebp + 0x12]
addsd xmm1, qword [0x6cc6d610]
mulsd xmm1, qword [0x6cc6d618]
cvtsd2ss xmm1, xmm1
mulss xmm1, xmm7
jmp 0x6cc4a3db
mov edx, dword [ebp + 0x1c]
sub eax, 1
pxor xmm0, xmm0
movzx edx, byte [edx + eax]
cvtsi2ss xmm0, edx
subss xmm7, xmm0
comiss xmm1, xmm7
ja 0x6cc4a3fa
test eax, eax
jne 0x6cc4a3c0
mov eax, dword [esp + 0x84]
movzx ebx, word [ebp + 0x10]
mov eax, dword [eax + 8]
and bx, 0xf0
lea edx, [eax + eax]
jmp 0x6cc49c80
mov edx, dword [esp + 0x84]
movzx ebx, word [ebp + 0x10]
mov dword [edx + 8], eax
lea edx, [eax + eax]
and bx, 0xf0
jmp 0x6cc49c80
mov eax, dword [esp + 0x84]
lea edx, [ecx + ecx]
movzx ebx, word [ebp + 0x10]
mov dword [eax + 8], ecx
mov eax, ecx
and bx, 0xf0
jmp 0x6cc49c80
pxor xmm7, xmm7
jmp 0x6cc4a386
pxor xmm7, xmm7
jmp 0x6cc4a29e