Function at 0x18000329c
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm7
cmp rcx, 0x73
jle 0x180003355
mov ecx, 0x14
call fcn.18000329c
movsd xmm6, qword [0x18002fd10]
mov ebx, 0x3f
movsx ecx, al
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
subsd xmm1, qword [0x18002fdf8]
subsd xmm1, qword [0x18002fc48]
cvttsd2si rax, xmm1
jmp 0x180003320
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
cvttsd2si rcx, xmm6
add ebx, ebx
call fcn.180002e88
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movd xmm6, eax
cvtdq2pd xmm6, xmm6
addsd xmm0, xmm6
cvttsd2si rax, xmm0
cmp rax, 1
jl 0x1800032f5
movsd xmm6, qword [0x18002fdd8]
call qword [sym.imp.KERNEL32.dll_UnregisterApplicationRestart]
cvttsd2si ecx, xmm6
call fcn.18000300c
movd xmm6, eax
cvtdq2pd xmm6, xmm6
cvttsd2si rax, xmm6
cmp rax, 1
jge 0x18000332e
jmp 0x180003592
call qword [sym.imp.USER32.dll_IsWow64Message]
mov ecx, 0x14
call fcn.18000329c
movsx ecx, al
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvtps2pd xmm7, xmm0
movaps xmm6, xmm7
mulsd xmm6, qword [0x18002fcd8]
cvttsd2si rcx, xmm6
call fcn.180002e88
subsd xmm7, xmm6
movss xmm6, dword [0x18002fe20]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm7
cvttsd2si rax, xmm0
cmp rax, 0x27
jge 0x180003464
mov ebx, 0x3f
cvttss2si ecx, xmm6
call fcn.18000300c
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movaps xmm0, xmm6
mulss xmm0, xmm6
cvtps2pd xmm1, xmm6
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si rax, xmm1
cmp rax, 0x54
je 0x180003404
call qword [sym.imp.USER32.dll_AnyPopup]
mov ecx, 0x71
call fcn.180002e88
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x18002fe08]
cvttsd2si rax, xmm0
movss xmm7, dword [0x18002fe60]
mov edi, 0x7c
cmp rax, 0x3e
jle 0x18000345a
mov rcx, rbx
pause
mov rax, rdi
cqo
idiv rcx
mov rcx, rax
mov rdi, rax
call fcn.18000329c
movaps xmm0, xmm7
movsx rcx, al
mulss xmm0, xmm7
mov rax, rdi
sub rax, rcx
movaps xmm7, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm7
cvttss2si rax, xmm0
cmp rax, 0x3e
jg 0x18000341a
cmp rax, 0x27
jl 0x1800033b3
cmp rax, 0x39
jb 0x180003532
mov ecx, 0x74
call fcn.180002e88
movss xmm6, dword [0x18002fe88]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
addss xmm0, dword [0x18002fe58]
cvttss2si eax, xmm0
movsx ecx, al
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
addss xmm1, xmm2
cvttss2si rax, xmm1
jmp 0x1800034c0
call qword [sym.imp.USER32.dll_GetCursor]
movaps xmm0, xmm6
subss xmm0, xmm6
movaps xmm6, xmm0
cvttss2si rax, xmm0
cmp rax, 0x23
je 0x1800034ab
cmp rax, 0x17
je 0x1800034d2
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
movsd xmm6, qword [0x18002fd00]
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movaps xmm0, xmm6
subsd xmm0, xmm6
cvttsd2si rax, xmm0
movaps xmm6, xmm0
cmp rax, 9
jne 0x1800034da
movsd xmm1, qword [0x18002fd18]
lea ecx, [rax + 0x20]
movsd xmm6, qword [0x18002fd98]
movsxd rcx, ecx
divsd xmm6, xmm1
call fcn.180002e88
mov ecx, eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movaps xmm0, xmm1
mulsd xmm0, xmm6
cvttsd2si rax, xmm0
cmp rax, 0x58
jne 0x180003508
jmp 0x180003592
mov cl, 0x2a
call fcn.180002fb0
mov ecx, 0x25
movd xmm4, eax
cvtdq2ps xmm4, xmm4
subss xmm4, dword [0x18002fc40]
cvttss2si rax, xmm4
cmp rax, 3
jge 0x18000355f
call fcn.180002e88
jmp 0x180003564
call fcn.18000329c
mov edx, 0x33
movsx ecx, dl
add rdx, rdx
imul ecx, ecx
movsx rax, cl
sub rax, rdx
cmp rax, 0x71
jne 0x180003569
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
xor eax, eax
xor ecx, ecx
cdq
idiv ecx
cdqe
add rax, 0x48
mov rbx, qword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret