Function at 0x1400ad5d0
Capabilities:
Identify system language via api

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rdi
push r12
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov r12, r9
movzx esi, r8b
mov rdi, rdx
mov dword [rbp - 0x50], 0
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
mov dword [rbp - 0x50], 1
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x60], rax
or ebx, 0xffffffff
test sil, sil
je 0x1400ad651
lea rcx, [rbp - 0x60]
call fcn.14005c980
jmp 0x1400ad6ac
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x60]
call fcn.14005c060
test al, al
je 0x1400ad684
lea rcx, [rbp - 0x48]
call fcn.14005c320
test al, al
jne 0x1400ad68e
lea rcx, [rbp - 0x60]
call fcn.14005c980
nop
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400ad6ac
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x58]
call fcn.14005cce0
test sil, sil
je 0x1400ad7cd
lea rdx, reloc.ATL100.DLL_Ordinal_49
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
je 0x1400ad745
mov r8, r12
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.140008ad0
nop
lea r8, str..xml
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.140002ce0
nop
mov rdx, rax
mov rcx, rdi
call fcn.140002250
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400ad73c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x40]
jmp 0x1400ad821
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
mov r8, r12
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x38]
call fcn.140008ad0
nop
lea r8, str.__04X.xml
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.140002ce0
nop
mov rdx, rax
mov rcx, rdi
call fcn.140002250
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400ad79e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400ad7bc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
movzx r8d, si
mov rdx, qword [rdi]
mov rcx, rdi
call fcn.140004440
jmp 0x1400ad83c
mov r8, r12
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.140008ad0
nop
lea r8, str..xml
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140002ce0
nop
mov rdx, rax
mov rcx, rdi
call fcn.140002250
nop
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400ad81d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400ad83c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400ad85b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x1400ad877
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, rdi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret