Function at 0x10002ee80
Capabilities:
Identify system language via api

Disassembly:
mov rax, rsp
sub rsp, 0x98
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
cmp qword [0x1000a8ba8], 0
jne 0x10002eebb
xor eax, eax
jmp 0x10002f1a6
test cx, cx
jne 0x10002eecf
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [0x1000a8b94], ax
jmp 0x10002eed6
mov word [0x1000a8b94], cx
lea rcx, [0x1000a9318]
mov rax, qword [0x1000a9318]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
xor r12d, r12d
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], 0xa
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], r12
mov rbx, qword [0x1000a8ba8]
test rbx, rbx
je 0x10002ef38
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x10002ef48
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x30], rbx
lea r8, [rsp + 0x40]
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.10002e3e0
lea rcx, [0x1000a9318]
mov rax, qword [0x1000a9318]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0x40]
mov ebp, r12d
test rdi, rdi
je 0x10002f094
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
nop
nop
nop
nop
mov rax, rdi
mov rdi, qword [rdi]
mov qword [rsp + 0x28], r12
mov rbx, qword [rax + 0x10]
test rbx, rbx
je 0x10002efbd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x38], r12
test rbx, rbx
je 0x10002efd5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x10002efe5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x20]
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.10002da50
test eax, eax
jne 0x10002f014
test rbx, rbx
je 0x10002f00d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov qword [rsp + 0x28], r12
jmp 0x10002f08b
mov rax, qword [rsp + 0x20]
cmp dword [rax - 0x10], 0
je 0x10002f078
lea r8, [0x100003260]
lea rdx, [0x100006070]
lea rcx, [rsp + 0x20]
call fcn.10002d060
mov rcx, qword [rsp + 0x20]
call fcn.1000480a0
movzx ecx, word [0x1000a8b94]
cmp eax, ecx
jne 0x10002f078
test rbx, rbx
je 0x10002f05a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [0x1000a8bb0]
test rcx, rcx
je 0x10002f06c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1000a8bb0], rbx
mov ebp, 1
test rbx, rbx
je 0x10002f086
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov qword [rsp + 0x28], r12
test rdi, rdi
jne 0x10002efa0
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x10002f0b9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
cmp qword [rsp + 0x50], 0
jbe 0x10002f151
nop
nop
nop
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x70], rbx
test rbx, rbx
je 0x10002f146
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
lea rdi, [rbx + 0x10]
mov qword [rsp + 0x70], rdi
test rdi, rdi
je 0x10002f106
mov rcx, qword [rdi]
test rcx, rcx
je 0x10002f103
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi], r12
mov rcx, qword [rdi]
test rcx, rcx
je 0x10002f114
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x60]
mov qword [rbx], rax
mov qword [rsp + 0x60], rbx
mov rax, qword [rsp + 0x50]
dec rax
mov qword [rsp + 0x50], rax
jne 0x10002f13f
lea rcx, [rsp + 0x40]
call fcn.10002cca0
mov rax, qword [rsp + 0x50]
test rax, rax
jne 0x10002f0d0
jmp 0x10002f151
mov ecx, 0x80004005
call fcn.100013860
int3
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x60], r12
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x10002f186
nop
nop
mov rbx, qword [rcx]
call qword [sym.imp.msvcrt.dll_free]
mov rcx, rbx
test rbx, rbx
jne 0x10002f170
mov qword [rsp + 0x58], r12
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x10002f1a4
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebp
mov rbx, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xb8]
mov r12, qword [rsp + 0x90]
add rsp, 0x98
ret