Function at 0x1400092a0
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x300
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140049fa0]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov r13, rdx
mov r12, rcx
and word [rsp + 0x30], 0
xor ebx, ebx
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
lea rdx, str.GetUserDefaultUILanguage
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ebp, [rbx + 1]
test rax, rax
je 0x140009395
call rax
mov word [rsp + 0x30], ax
movzx edx, ax
mov ecx, edx
mov edi, 0x3ff
and ecx, edi
movzx ebx, cx
and dx, 0xfc00
movzx ecx, dx
or ecx, ebx
call qword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [rsp + 0x58], eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [rsp + 0x5c], eax
lea ebx, [rbp + 1]
lea rdx, str.GetSystemDefaultUILanguage
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400094f8
call rax
mov word [rsp + 0x30], ax
movzx ecx, ax
mov eax, ecx
and eax, edi
movzx ebx, ax
and cx, 0xfc00
movzx ecx, cx
or ecx, ebx
call qword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [rsp + 0x60], eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [rsp + 0x64], eax
lea ebx, [rbp + 3]
jmp 0x1400094f8
call qword [sym.imp.KERNEL32.dll_GetVersion]
bt eax, 0x1f
jae 0x14000947e
and qword [rsp + 0x50], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.Control_PanelDesktopResourceLocale
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400094f8
mov dword [rsp + 0x34], 0x10
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140009471
cmp dword [rsp + 0x4c], ebp
jne 0x140009471
lea r8, [rsp + 0x48]
lea rdx, [0x140039ccc]
lea rcx, [rsp + 0xb0]
call fcn.14001efc0
cmp eax, ebp
jne 0x140009471
mov eax, dword [rsp + 0x48]
mov word [rsp + 0x30], ax
movzx ecx, ax
mov eax, ecx
mov edi, 0x3ff
and eax, edi
movzx ebx, ax
and cx, 0xfc00
movzx ecx, cx
or ecx, ebx
call qword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [rsp + 0x58], eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [rsp + 0x5c], eax
mov ebx, 2
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400094f8
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400094f8
and word [rsp + 0x30], bx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea r9, [0x140008a04]
mov r8, rbp
mov edx, 0x10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
movzx r11d, word [rsp + 0x30]
test r11w, r11w
je 0x1400094f8
movzx ecx, r11w
mov eax, ecx
mov edi, 0x3ff
and eax, edi
movzx ebx, ax
and cx, 0xfc00
movzx ecx, cx
or ecx, ebx
call qword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [rsp + 0x58], eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [rsp + 0x5c], eax
mov ebx, 2
movsxd rax, ebx
mov dword [rsp + rax*4 + 0x58], 0x800
add ebx, ebp
mov byte [rsp + 0x1c5], 0
mov byte [rsp + 0x1c4], 0
mov r8d, 0x105
lea rdx, [rsp + 0xc0]
lea rsi, [0x140000000]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x14000953e
xor eax, eax
jmp 0x1400097d3
mov edi, 0x38
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.14001b8f0
mov dword [rsp + 0x78], edi
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x98], 0x3e8
mov qword [rsp + 0xa8], rsi
mov dword [rsp + 0x7c], 0x88
or rdx, 0xffffffffffffffff
lea rcx, [rsp + 0x38]
call fcn.140008a1c
nop
mov rdx, qword [0x14004c1e0]
test rdx, rdx
je 0x1400095c1
mov rax, qword [rsp + 0x38]
cmp rax, 0xffffffffffffffff
jne 0x1400095f0
lea rcx, [rsp + 0x78]
call rdx
mov qword [rsp + 0x38], rax
cmp rax, 0xffffffffffffffff
setne cl
test cl, cl
je 0x1400095f0
jmp 0x1400095c6
mov rax, qword [rsp + 0x38]
mov r8, qword [0x14004c1f0]
test r8, r8
je 0x1400095f0
cmp rax, 0xffffffffffffffff
je 0x1400095f0
cmp qword [rsp + 0x40], 0
jne 0x1400095f0
lea rdx, [rsp + 0x40]
mov rcx, rax
call r8
mov rax, qword [rsp + 0x38]
xor edi, edi
movsxd rbp, ebx
test ebx, ebx
jle 0x14000978c
mov ecx, dword [rsp + rdi*4 + 0x58]
cmp ecx, 0x800
jne 0x140009649
lea r8, [0x140039c90]
mov edx, 4
lea rcx, [rsp + 0x34]
call fcn.14001ef10
test eax, eax
je 0x140009666
cmp eax, 0xc
je 0x140009715
cmp eax, 0x16
je 0x14000970f
cmp eax, 0x22
je 0x14000970f
cmp eax, 0x50
jne 0x140009709
jmp 0x140009666
mov r9d, 4
lea r8, [rsp + 0x34]
lea edx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1400096f7
call fcn.14001e9f0
mov esi, dword [rax]
call fcn.14001e9f0
and dword [rax], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9, r12
mov edx, 0x112
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x1d0]
call fcn.14001dfd0
mov ebx, eax
call fcn.14001e9f0
cmp dword [rax], 0
je 0x1400096c9
call fcn.14001e9f0
cmp dword [rax], 0
je 0x1400096d0
cmp dword [rax], 0xc
je 0x140009731
cmp dword [rax], 0x16
je 0x140009726
cmp dword [rax], 0x22
je 0x140009726
cmp dword [rax], 0x50
jne 0x14000971b
jmp 0x1400096d0
call fcn.14001e9f0
mov dword [rax], esi
cmp ebx, 0xffffffff
je 0x1400096f0
cmp ebx, 0x112
jae 0x1400096f0
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
jmp 0x1400096f2
xor ebx, ebx
test rbx, rbx
jne 0x14000973c
add rdi, 1
cmp rdi, rbp
jge 0x140009787
jmp 0x1400095fd
call fcn.140008358
int3
call fcn.140008358
int3
call fcn.140008310
int3
mov ecx, 0x80004005
call entry0
int3
mov ecx, 0x80070057
call entry0
int3
mov ecx, 0x8007000e
call entry0
nop
mov rax, qword [0x14004c1e8]
test rax, rax
je 0x140009782
mov rcx, qword [rsp + 0x38]
cmp rcx, 0xffffffffffffffff
je 0x140009782
mov r8, qword [0x14004c1f8]
test r8, r8
je 0x140009780
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140009780
and qword [rsp + 0x40], 0
xor ecx, ecx
call r8
mov rax, qword [0x14004c1e8]
mov rcx, qword [rsp + 0x38]
call rax
mov rax, rbx
jmp 0x1400097d3
mov rax, qword [rsp + 0x38]
mov r8, qword [0x14004c1e8]
test r8, r8
je 0x1400097d1
cmp rax, 0xffffffffffffffff
je 0x1400097d1
mov r9, qword [0x14004c1f8]
test r9, r9
je 0x1400097cb
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x1400097cb
and qword [rsp + 0x40], 0
xor ecx, ecx
call r9
mov r8, qword [0x14004c1e8]
mov rax, qword [rsp + 0x38]
mov rcx, rax
call r8
xor eax, eax
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.14001b2b0
mov rbx, qword [rsp + 0x340]
add rsp, 0x300
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret