Function at 0x180004800
Capabilities:
Identify system language via api

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov rbp, rcx
rdtscp
shl rdx, 0x20
lea r8, [r11 + 0x18]
or rax, rdx
mov dword [r8], ecx
mov r9d, 0x989680
cmp rax, r9
jbe 0x180004845
mov esi, 0xbae1261
jmp 0x180004868
rdtscp
shl rdx, 0x20
lea r8, [rsp + 0x90]
or rax, rdx
mov dword [r8], ecx
mov rcx, rax
xor edx, edx
mov rax, r9
div rcx
mov rsi, rax
rdtscp
shl rdx, 0x20
lea r8, [rsp + 0x90]
or rax, rdx
mov dword [r8], ecx
mov ecx, eax
movabs rax, 0x58ed2308158ed231
imul r13, rcx, 0xbcd2
mov ecx, esi
mul r13
mov rax, r13
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 6
imul rax, rax, 0x5f
sub r13, rax
add r13d, 3
xor r12d, r12d
mov eax, esi
and qword [rsp + 0x98], r12
cdq
sub eax, edx
xor r14d, r14d
sar eax, 1
xor r15d, r15d
xor edi, edi
cmp eax, r13d
jl 0x1800048d8
movsxd r12, dword [rbp + 0x3c]
add r12, rbp
jmp 0x180004932
cmp esi, 0x54
je 0x1800048e3
call qword [sym.imp.USER32.dll_IsProcessDPIAware]
mov ebx, 0x2f
call qword [sym.imp.USER32.dll_GetClipboardSequenceNumber]
imul rbx, rbx
xorps xmm6, xmm6
cvtsi2ss xmm6, rbx
cvttss2si rcx, xmm6
call fcn.1800039e0
xorps xmm1, xmm1
cvttsd2si rbx, xmm0
cvtsi2ss xmm1, rbx
mulss xmm1, xmm6
cvttss2si eax, xmm1
cmp eax, 0x7f
jle 0x1800048e8
cmp eax, 0x27
jl 0x180004927
xor ecx, ecx
jmp 0x180004932
call qword [sym.imp.USER32.dll_IsProcessDPIAware]
mov ecx, 0xffffdfc1
cmp dword [r12 + 0x88], edi
jne 0x180004943
xor eax, eax
jmp 0x180004b5e
cmp esi, r13d
jle 0x180004a66
lea eax, [rsi + 4]
mov dword [rsp + 0x90], eax
cmp eax, r13d
jg 0x180004ae4
cmp ecx, 0x5b
jne 0x180004993
call qword [sym.imp.USER32.dll_GetMessageTime]
movss xmm0, dword [0x180033b5c]
call fcn.18000337c
movsx ecx, al
lea eax, [rcx + rcx]
movd xmm0, ecx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cvttss2si ecx, xmm1
cmp ecx, 0x7e
jle 0x1800049a0
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
jmp 0x1800049b3
call qword [sym.imp.KERNEL32.dll_FlushProcessWriteBuffers]
movss xmm0, dword [0x180033b14]
call fcn.18000337c
movsd xmm1, qword [0x180033860]
mov ecx, 0x3b
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm0, xmm1
cvttsd2si edi, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
call fcn.18000337c
mov cl, dil
mov rbx, rax
call fcn.180004028
mov eax, edi
movsx ecx, bl
cdq
xorps xmm1, xmm1
idiv ecx
cvtss2sd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
cvttsd2si eax, xmm0
cmp eax, 0x64
jg 0x1800049c0
cmp eax, 0x3f
je 0x180004a20
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movss xmm6, dword [0x180033bac]
jmp 0x180004a4d
call qword [sym.imp.USER32.dll_EmptyClipboard]
movss xmm0, dword [0x180033b44]
call fcn.18000337c
mov cl, 0x50
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call fcn.180004028
divss xmm6, xmm0
subss xmm6, dword [0x180033b28]
mov eax, dword [rsp + 0x90]
inc esi
cvttss2si ecx, xmm6
cmp esi, r13d
jg 0x180004956
mov rdi, r14
mov rax, qword [rsp + 0x98]
mov ebx, dword [r14 + 0x18]
xor r9d, r9d
test rbx, rbx
je 0x180004b4d
mov r10, qword [rsp + 0x88]
or esi, 0xffffffff
mov ecx, dword [rax]
xor edx, edx
add rcx, rbp
cmp byte [r10], dl
je 0x180004a9f
inc rdx
cmp byte [rdx + r10], 0
jne 0x180004a95
test rcx, rcx
je 0x180004b29
xor r8d, r8d
test rdx, rdx
je 0x180004b2c
mov r11, r10
mov r10, rcx
sub r11, rcx
neg r10
mov al, byte [r11 + rcx]
cmp byte [rcx], al
jb 0x180004b19
ja 0x180004b11
inc rcx
lea rax, [r10 + rcx]
cmp rax, rdx
jb 0x180004abc
mov rax, qword [rsp + 0x98]
mov r10, qword [rsp + 0x88]
jmp 0x180004b2c
mov r14d, dword [r12 + 0x88]
add r14, rbp
mov eax, dword [r14 + 0x20]
mov r15d, dword [r14 + 0x1c]
add rax, rbp
mov edi, dword [r14 + 0x24]
add r15, rbp
mov qword [rsp + 0x98], rax
add rdi, rbp
jmp 0x180004a6e
mov r8d, 1
jmp 0x180004ad2
mov rax, qword [rsp + 0x98]
mov r10, qword [rsp + 0x88]
mov r8d, esi
test r8d, r8d
je 0x180004b4d
add rax, 4
inc r9
add rdi, 2
mov qword [rsp + 0x98], rax
cmp r9, rbx
jb 0x180004a89
movzx eax, word [rdi]
test eax, eax
je 0x180004b58
lea r15, [r15 + rax*4]
mov eax, dword [r15]
add rax, rbp
mov rbx, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret