Function at 0x14002a990
Capabilities:
Identify system language via api

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x890
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14012ce40]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov qword [rsp + 0x40], rcx
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx r12d, ax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx r13d, ax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx r14d, ax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [rsp + 0x38], ax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ebx, ax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx esi, ax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
cmp di, bx
jne 0x14002aa77
cmp di, si
jne 0x14002aa77
cmp di, ax
jne 0x14002aa77
mov rdi, qword [0x1401370f0]
test rdi, rdi
jne 0x14002aa5e
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14002aa55
mov rcx, rax
call fcn.140050830
mov rdi, rax
jmp 0x14002aa57
xor edi, edi
mov qword [0x1401370f0], rdi
lea rdx, str.This_IS_a_Fully_Localized_OS
mov rcx, rdi
call fcn.140050c00
mov eax, 1
jmp 0x14002b61a
xor edi, edi
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14002aaad
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002aaa3
mov rcx, rax
call fcn.140050830
jmp 0x14002aaa6
mov rax, rdi
mov qword [0x1401370f0], rax
lea rdx, str.NOT_a_Fully_Localized_OS
mov rcx, rax
call fcn.140050c00
mov word [rsp + 0x670], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x672]
call fcn.1400b57e0
mov word [rsp + 0x460], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x462]
call fcn.1400b57e0
mov word [rsp + 0x50], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.1400b57e0
call fcn.14004dd30
movzx r15d, ax
mov word [rsp + 0x260], 0
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rsp + 0x262]
call fcn.1400b57e0
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx esi, ax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ebp, ax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ebx, ax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
cmp si, bx
jne 0x14002ab94
cmp si, ax
jne 0x14002ab94
mov ecx, edi
movzx edx, si
lea rbx, [0x14012f770]
mov rax, rbx
cmp dword [rax], edx
je 0x14002ab87
add ecx, 1
add rax, 0x18
cmp ecx, 0x26
jb 0x14002ab75
jmp 0x14002abc1
mov eax, ecx
lea rcx, [rax + rax*2]
mov si, word [rbx + rcx*8 + 4]
jmp 0x14002abc1
mov eax, edi
movzx edx, bp
lea rbx, [0x14012f770]
mov rcx, rbx
cmp dword [rcx], edx
je 0x14002abb8
add eax, 1
add rcx, 0x18
cmp eax, 0x26
jb 0x14002aba3
mov si, bp
jmp 0x14002abc1
lea rcx, [rax + rax*2]
mov si, word [rbx + rcx*8 + 4]
movzx edx, si
mov esi, edx
and esi, 0x1ff
mov eax, edi
mov rcx, rbx
cmp dword [rcx], edx
je 0x14002acf4
add eax, 1
add rcx, 0x18
cmp eax, 0x26
jb 0x14002abd1
mov word [rsp + 0x260], 0
mov r8, qword [str.English]
test r8, r8
je 0x14002ac14
mov edx, 0x100
lea rcx, [rsp + 0x260]
call fcn.1400b1b70
mov r8, qword [str.English]
mov eax, edi
mov rcx, rbx
nop
nop
cmp dword [rcx], esi
je 0x14002acc8
add eax, 1
add rcx, 0x18
cmp eax, 0x26
jb 0x14002ac20
mov word [rsp + 0x260], 0
test r8, r8
je 0x14002ac5c
mov edx, 0x100
lea rcx, [rsp + 0x260]
call fcn.1400b1b70
mov r8, qword [str.English]
mov eax, edi
mov rcx, rbx
cmp dword [rcx], 9
je 0x14002ac9c
add eax, 1
add rcx, 0x18
cmp eax, 0x26
jb 0x14002ac61
mov word [rsp + 0x260], 0
test r8, r8
je 0x14002ad1e
mov edx, 0x100
lea rcx, [rsp + 0x260]
call fcn.1400b1b70
jmp 0x14002ad1e
lea rcx, [rax + rax*2]
mov r8, qword [rbx + rcx*8 + 8]
mov word [rsp + 0x260], 0
test r8, r8
je 0x14002ad1e
mov edx, 0x100
lea rcx, [rsp + 0x260]
call fcn.1400b1b70
jmp 0x14002ad1e
lea rcx, [rax + rax*2]
mov r8, qword [rbx + rcx*8 + 8]
mov word [rsp + 0x260], 0
test r8, r8
je 0x14002ad1e
mov edx, 0x100
lea rcx, [rsp + 0x260]
call fcn.1400b1b70
jmp 0x14002ad1e
lea rcx, [rax + rax*2]
mov r8, qword [rbx + rcx*8 + 8]
mov word [rsp + 0x260], 0
test r8, r8
je 0x14002ad1e
mov edx, 0x100
lea rcx, [rsp + 0x260]
call fcn.1400b1b70
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14002ad52
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002ad48
mov rcx, rax
call fcn.140050830
jmp 0x14002ad4b
mov rax, rdi
mov qword [0x1401370f0], rax
lea r8, [rsp + 0x260]
lea rdx, str.GetLandDir____s
mov rcx, rax
call fcn.140050c00
lea r11, [rsp + 0x260]
mov qword [rsp + 0x20], r11
mov rbp, qword [rsp + 0x40]
mov r9, rbp
lea r8, [0x1400ecb00]
mov edx, 0x104
lea rcx, [rsp + 0x670]
call fcn.1400b1010
movzx r11d, r12w
cmp r15d, r11d
je 0x14002afb5
mov esi, r11d
and esi, 0x1ff
mov eax, edi
mov rcx, rbx
cmp dword [rcx], r11d
je 0x14002aeae
add eax, 1
add rcx, 0x18
cmp eax, 0x26
jb 0x14002adb2
mov word [rsp + 0x50], 0
mov r8, qword [str.English]
test r8, r8
je 0x14002adf0
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
mov r8, qword [str.English]
mov eax, edi
mov rcx, rbx
cmp dword [rcx], esi
je 0x14002ae88
add eax, 1
add rcx, 0x18
cmp eax, 0x26
jb 0x14002adf5
mov word [rsp + 0x50], 0
test r8, r8
je 0x14002ae2b
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
mov r8, qword [str.English]
mov eax, edi
mov rcx, rbx
cmp dword [rcx], 9
je 0x14002ae62
add eax, 1
add rcx, 0x18
cmp eax, 0x26
jb 0x14002ae30
mov word [rsp + 0x50], 0
test r8, r8
je 0x14002aed2
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
jmp 0x14002aed2
lea rcx, [rax + rax*2]
mov r8, qword [rbx + rcx*8 + 8]
mov word [rsp + 0x50], 0
test r8, r8
je 0x14002aed2
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
jmp 0x14002aed2
lea rcx, [rax + rax*2]
mov r8, qword [rbx + rcx*8 + 8]
mov word [rsp + 0x50], 0
test r8, r8
je 0x14002aed2
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
jmp 0x14002aed2
lea rcx, [rax + rax*2]
mov r8, qword [rbx + rcx*8 + 8]
mov word [rsp + 0x50], 0
test r8, r8
je 0x14002aed2
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14002af06
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002aefc
mov rcx, rax
call fcn.140050830
jmp 0x14002aeff
mov rax, rdi
mov qword [0x1401370f0], rax
lea r8, [rsp + 0x50]
lea rdx, str.GetLandDir____s
mov rcx, rax
call fcn.140050c00
lea r11, [rsp + 0x50]
mov qword [rsp + 0x20], r11
mov r9, rbp
lea r8, [0x1400ecb00]
mov edx, 0x104
lea rcx, [rsp + 0x460]
call fcn.1400b1010
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14002af74
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002af6a
mov rcx, rax
call fcn.140050830
jmp 0x14002af6d
mov rax, rdi
mov qword [0x1401370f0], rax
lea r9, [rsp + 0x460]
lea r8, [rsp + 0x670]
lea rdx, str.CopyEntireFolder__s__s_
mov rcx, rax
call fcn.140050c00
mov r9d, 1
lea r8, [rsp + 0x460]
lea rdx, [rsp + 0x670]
lea rcx, [0x1400f15b8]
call fcn.140060100
movzx edx, r13w
cmp r15d, edx
je 0x14002b1d5
mov esi, edx
and esi, 0x1ff
mov eax, edi
mov rcx, rbx
nop
cmp dword [rcx], edx
je 0x14002b0ce
add eax, 1
add rcx, 0x18
cmp eax, 0x26
jb 0x14002afd0
mov word [rsp + 0x50], 0
mov r8, qword [str.English]
test r8, r8
je 0x14002b00d
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
mov r8, qword [str.English]
mov eax, edi
mov rcx, rbx
cmp dword [rcx], esi
je 0x14002b0a8
add eax, 1
add rcx, 0x18
cmp eax, 0x26
jb 0x14002b012
mov word [rsp + 0x50], 0
test r8, r8
je 0x14002b048
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
mov r8, qword [str.English]
mov eax, edi
mov rcx, rbx
nop
cmp dword [rcx], 9
je 0x14002b082
add eax, 1
add rcx, 0x18
cmp eax, 0x26
jb 0x14002b050
mov word [rsp + 0x50], 0
test r8, r8
je 0x14002b0f2
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
jmp 0x14002b0f2
lea rcx, [rax + rax*2]
mov r8, qword [rbx + rcx*8 + 8]
mov word [rsp + 0x50], 0
test r8, r8
je 0x14002b0f2
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
jmp 0x14002b0f2
lea rcx, [rax + rax*2]
mov r8, qword [rbx + rcx*8 + 8]
mov word [rsp + 0x50], 0
test r8, r8
je 0x14002b0f2
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
jmp 0x14002b0f2
lea rcx, [rax + rax*2]
mov r8, qword [rbx + rcx*8 + 8]
mov word [rsp + 0x50], 0
test r8, r8
je 0x14002b0f2
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14002b126
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002b11c
mov rcx, rax
call fcn.140050830
jmp 0x14002b11f
mov rax, rdi
mov qword [0x1401370f0], rax
lea r8, [rsp + 0x50]
lea rdx, str.GetLandDir____s
mov rcx, rax
call fcn.140050c00
lea r11, [rsp + 0x50]
mov qword [rsp + 0x20], r11
mov r9, rbp
lea r8, [0x1400ecb00]
mov edx, 0x104
lea rcx, [rsp + 0x460]
call fcn.1400b1010
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14002b194
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002b18a
mov rcx, rax
call fcn.140050830
jmp 0x14002b18d
mov rax, rdi
mov qword [0x1401370f0], rax
lea r9, [rsp + 0x460]
lea r8, [rsp + 0x670]
lea rdx, str.CopyEntireFolder__s__s_
mov rcx, rax
call fcn.140050c00
mov r9d, 1
lea r8, [rsp + 0x460]
lea rdx, [rsp + 0x670]
lea rcx, [0x1400f15b8]
call fcn.140060100
movzx edx, r14w
cmp r15d, edx
je 0x14002b3f5
mov esi, edx
and esi, 0x1ff
mov eax, edi
mov rcx, rbx
nop
cmp dword [rcx], edx
je 0x14002b2ee
add eax, 1
add rcx, 0x18
cmp eax, 0x26
jb 0x14002b1f0
mov word [rsp + 0x50], 0
mov r8, qword [str.English]
test r8, r8
je 0x14002b22d
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
mov r8, qword [str.English]
mov eax, edi
mov rcx, rbx
cmp dword [rcx], esi
je 0x14002b2c8
add eax, 1
add rcx, 0x18
cmp eax, 0x26
jb 0x14002b232
mov word [rsp + 0x50], 0
test r8, r8
je 0x14002b268
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
mov r8, qword [str.English]
mov eax, edi
mov rcx, rbx
nop
cmp dword [rcx], 9
je 0x14002b2a2
add eax, 1
add rcx, 0x18
cmp eax, 0x26
jb 0x14002b270
mov word [rsp + 0x50], 0
test r8, r8
je 0x14002b312
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
jmp 0x14002b312
lea rcx, [rax + rax*2]
mov r8, qword [rbx + rcx*8 + 8]
mov word [rsp + 0x50], 0
test r8, r8
je 0x14002b312
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
jmp 0x14002b312
lea rcx, [rax + rax*2]
mov r8, qword [rbx + rcx*8 + 8]
mov word [rsp + 0x50], 0
test r8, r8
je 0x14002b312
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
jmp 0x14002b312
lea rcx, [rax + rax*2]
mov r8, qword [rbx + rcx*8 + 8]
mov word [rsp + 0x50], 0
test r8, r8
je 0x14002b312
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14002b346
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002b33c
mov rcx, rax
call fcn.140050830
jmp 0x14002b33f
mov rax, rdi
mov qword [0x1401370f0], rax
lea r8, [rsp + 0x50]
lea rdx, str.GetLandDir____s
mov rcx, rax
call fcn.140050c00
lea r11, [rsp + 0x50]
mov qword [rsp + 0x20], r11
mov r9, rbp
lea r8, [0x1400ecb00]
mov edx, 0x104
lea rcx, [rsp + 0x460]
call fcn.1400b1010
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14002b3b4
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002b3aa
mov rcx, rax
call fcn.140050830
jmp 0x14002b3ad
mov rax, rdi
mov qword [0x1401370f0], rax
lea r9, [rsp + 0x460]
lea r8, [rsp + 0x670]
lea rdx, str.CopyEntireFolder__s__s_
mov rcx, rax
call fcn.140050c00
mov r9d, 1
lea r8, [rsp + 0x460]
lea rdx, [rsp + 0x670]
lea rcx, [0x1400f15b8]
call fcn.140060100
movzx edx, word [rsp + 0x38]
cmp r15d, edx
je 0x14002b615
mov esi, edx
and esi, 0x1ff
mov eax, edi
mov rcx, rbx
cmp dword [rcx], edx
je 0x14002b50e
add eax, 1
add rcx, 0x18
cmp eax, 0x26
jb 0x14002b410
mov word [rsp + 0x50], 0
mov r8, qword [str.English]
test r8, r8
je 0x14002b44d
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
mov r8, qword [str.English]
mov eax, edi
mov rcx, rbx
cmp dword [rcx], esi
je 0x14002b4e8
add eax, 1
add rcx, 0x18
cmp eax, 0x26
jb 0x14002b452
mov word [rsp + 0x50], 0
test r8, r8
je 0x14002b488
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
mov r8, qword [str.English]
mov eax, edi
mov rcx, rbx
nop
cmp dword [rcx], 9
je 0x14002b4c2
add eax, 1
add rcx, 0x18
cmp eax, 0x26
jb 0x14002b490
mov word [rsp + 0x50], 0
test r8, r8
je 0x14002b532
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
jmp 0x14002b532
lea rcx, [rax + rax*2]
mov r8, qword [rbx + rcx*8 + 8]
mov word [rsp + 0x50], 0
test r8, r8
je 0x14002b532
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
jmp 0x14002b532
lea rcx, [rax + rax*2]
mov r8, qword [rbx + rcx*8 + 8]
mov word [rsp + 0x50], 0
test r8, r8
je 0x14002b532
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
jmp 0x14002b532
lea rcx, [rax + rax*2]
mov r8, qword [rbx + rcx*8 + 8]
mov word [rsp + 0x50], 0
test r8, r8
je 0x14002b532
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400b1b70
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14002b566
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002b55c
mov rcx, rax
call fcn.140050830
jmp 0x14002b55f
mov rax, rdi
mov qword [0x1401370f0], rax
lea r8, [rsp + 0x50]
lea rdx, str.GetLandDir____s
mov rcx, rax
call fcn.140050c00
lea r11, [rsp + 0x50]
mov qword [rsp + 0x20], r11
mov r9, rbp
lea r8, [0x1400ecb00]
mov edx, 0x104
lea rcx, [rsp + 0x460]
call fcn.1400b1010
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14002b5d4
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002b5ca
mov rcx, rax
call fcn.140050830
jmp 0x14002b5cd
mov rax, rdi
mov qword [0x1401370f0], rax
lea r9, [rsp + 0x460]
lea r8, [rsp + 0x670]
lea rdx, str.CopyEntireFolder__s__s_
mov rcx, rax
call fcn.140050c00
mov r9d, 1
lea r8, [rsp + 0x460]
lea rdx, [rsp + 0x670]
lea rcx, [0x1400f15b8]
call fcn.140060100
mov eax, 1
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.1400b09d0
lea r11, [rsp + 0x890]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret