Function at 0x1400d0110
Capabilities:
Identify system language via api

Disassembly:
push rbx
push rdi
sub rsp, 0x38
mov eax, ecx
mov edi, ecx
and eax, 0xfff0000
cmp eax, 0x70000
je 0x1400d0152
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
lea rcx, [0x140158a10]
movzx ebx, ax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9d, edi
mov r8d, ebx
mov rcx, rax
mov edx, 0xb
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhGetMessage
jmp 0x1400d015a
movzx ecx, di
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhGetWin32Message
mov rbx, rax
test rax, rax
je 0x1400d035e
cmp qword [rax], 0
je 0x1400d035e
cmp byte [0x14018dbaa], 1
mov rdi, qword [rax + 8]
mov qword [rsp + 0x60], rsi
mov rsi, 0xffffffffffffffff
mov qword [rsp + 0x30], r15
jb 0x1400d0209
mov rax, rdi
mov ecx, edi
and rax, 0xfffffffffffffff1
xorps xmm1, xmm1
and ecx, 0xf
je 0x1400d01c0
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rax]
pmovmskb edx, xmm0
sar edx, cl
bsf ecx, edx
mov dword [rsp + 0x50], ecx
je 0x1400d01bc
mov eax, ecx
shr rax, 1
jmp 0x1400d021a
add rax, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rax]
pmovmskb ecx, xmm0
bsf edx, ecx
mov dword [rsp + 0x50], edx
jne 0x1400d01f9
nop dword [rax]
nop dword [rax + rax]
add rax, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rax]
pmovmskb ecx, xmm0
bsf edx, ecx
mov dword [rsp + 0x50], edx
je 0x1400d01e0
sub rax, rdi
mov ecx, edx
sar rax, 1
shr rcx, 1
add rax, rcx
jmp 0x1400d021a
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x1400d0210
lea rcx, [rax + rax]
mov qword [rsp + 0x58], rbp
xor r15d, r15d
mov qword [rsp + 0x68], r14
mov qword [rbx], rcx
cmp rcx, 4
jb 0x1400d02a0
mov rax, rcx
shr rax, 1
cmp word [rdi + rax*2 - 4], 0xd
jne 0x1400d02a0
cmp word [rdi + rax*2 - 2], 0xa
jne 0x1400d02a0
mov rdx, qword [0x140191180]
lea rbp, [rcx - 4]
lea rcx, [rbp + 0x12]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov r14, rax
mov qword [rax], rbp
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbp], r15w
test rdi, rdi
je 0x1400d0285
mov rcx, qword [rax + 8]
mov r8, rbp
mov rdx, rdi
call fcn.1401317c0
mov rcx, rbx
mov eax, esi
add rcx, 0xfffffffffffffff0
mov rbx, r14
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400d02a0
call fcn.1400d9400
mov rax, qword [rbx + 8]
cmp word [rax], 0x7b
jne 0x1400d034a
movaps xmmword [rsp + 0x20], xmm6
mov edx, 0xa
movups xmm6, xmmword [rbx]
xor r8d, r8d
mov rcx, rbx
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhFindCharInStringRef
cmp rax, rsi
je 0x1400d0345
mov rdx, qword [0x140191180]
lea rcx, [rax + rax]
movdqa xmm0, xmm6
movq rbp, xmm6
sub rbp, rcx
psrldq xmm0, 8
movq r14, xmm0
sub rbp, 2
add r14, 2
add r14, rcx
lea rcx, [rbp + 0x12]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov rdi, rax
mov qword [rax], rbp
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbp], r15w
test r14, r14
je 0x1400d0327
mov rcx, qword [rax + 8]
mov r8, rbp
mov rdx, r14
call fcn.1401317c0
mov rcx, rbx
mov rbx, rdi
test rcx, rcx
je 0x1400d0345
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], esi
cmp esi, 1
jne 0x1400d0345
call fcn.1400d9400
movaps xmm6, xmmword [rsp + 0x20]
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rax, rbx
add rsp, 0x38
pop rdi
pop rbx
ret