Function at 0x140039a50
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx edx, ax
movzx eax, ax
and eax, 0x3ff
shr dx, 0xa
dec eax
cmp eax, 0x1e
ja case.0x140039a94.2
lea r8, [0x140000000]
cdqe
mov ecx, dword [r8 + rax*4 + 0x39dcc]
add rcx, r8
jmp rcx
cmp dx, 1
mov rcx, rbx
mov rdx, rdi
jne 0x140039ab8
lea r8, [0x140074270]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x140074260]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x140074280]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x140074290]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x1400742a0]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
cmp dx, 2
mov rcx, rbx
mov rdx, rdi
jne 0x140039b44
lea r8, [0x1400742b0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x1400742c0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x1400742d0]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x1400742e0]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x1400742f0]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x140074300]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x140074310]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x140074320]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x140074330]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x140074340]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, str.no_NO
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x140074360]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
cmp dx, 1
mov rcx, rbx
mov rdx, rdi
jne 0x140039c94
lea r8, [0x140074370]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x140074380]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x140074390]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
cmp dx, 2
mov rcx, rbx
mov rdx, rdi
jne 0x140039ce8
lea r8, [0x1400743b0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x1400743a0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x1400743c0]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x1400743e0]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x1400743d0]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea r8, [0x1400743f0]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002150
lea rax, [rdi - 1]
mov ecx, 0x7ffffffe
cmp rax, rcx
ja 0x140039dbf
sub rcx, rdi
lea rdx, [0x1400742c0]
sub rdx, rbx
nop dword [rax]
lea rax, [rcx + rdi]
test rax, rax
je 0x140039daf
movzx eax, word [rdx + rbx]
test ax, ax
je 0x140039daf
mov word [rbx], ax
add rbx, 2
sub rdi, 1
jne 0x140039d90
test rdi, rdi
lea rax, [rbx - 2]
cmovne rax, rbx
xor ecx, ecx
mov word [rax], cx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret