Function at 0x100032830
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1000aa140]
xor rax, rsp
mov qword [rsp + 0x150], rax
cmp byte [0x1000b6dd8], 0
mov rax, qword [rcx + 0xe8]
mov bpl, dl
mov ebx, dword [rax + 0x14]
mov rdi, rcx
jne 0x1000328dd
xor edx, edx
lea rcx, [rsp + 0x34]
mov byte [0x1000b6dd8], 1
lea r8d, [rdx + 0x1c]
mov dword [rsp + 0x30], 0x31
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x30]
mov r9d, 0x10
mov edx, 0x1010
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1000328c1
lea rdx, [0x100019100]
mov ecx, 0x20001
call fcn.1000622b0
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0xa]
call qword [sym.imp.msvcrt.dll_wcstol]
mov r11d, eax
mov dword [0x1000b2fc8], eax
jmp 0x1000328e4
mov r11d, dword [0x1000b2fc8]
test ebx, ebx
js 0x1000328f1
lea r9, [0x100019194]
jmp 0x100032947
neg ebx
test r11d, r11d
je 0x100032940
or r8, 0xffffffffffffffff
sub r11d, 2
mov edx, 0x80
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x20], ebx
je 0x100032937
sub r11d, 1
je 0x10003292e
cmp r11d, 1
je 0x100032925
lea r9, [0x1000191b0]
jmp 0x100032959
lea r9, [0x1000191d0]
jmp 0x100032959
lea r9, [0x1000191c8]
jmp 0x100032959
lea r9, [0x1000191b8]
jmp 0x100032959
lea r9, [0x1000191a0]
mov dword [rsp + 0x20], ebx
or r8, 0xffffffffffffffff
mov edx, 0x80
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll__snwprintf_s
lea rdx, [rsp + 0x50]
lea rcx, [0x100017178]
call fcn.100068844
mov rcx, qword [rdi + 0xe8]
lea r9, [0x1000190f0]
mov r8d, dword [rcx + 0x10]
lea rcx, [rsp + 0x50]
mov edx, 0x80
mov dword [rsp + 0x20], r8d
or r8, 0xffffffffffffffff
mov rbx, rax
call sub.msvcrt.dll__snwprintf_s
lea rdx, [rsp + 0x50]
lea rcx, [0x1000171b0]
call fcn.100068844
mov rsi, rax
test bpl, bpl
je 0x1000329db
mov rcx, qword [rdi + 0xe8]
mov edx, dword [rcx + 0x14]
cmp dword [rdi + 0x120], edx
je 0x1000329db
mov rcx, qword [0x1000b6008]
test rcx, rcx
je 0x100032a18
mov r8d, 1
jmp 0x100032a3d
mov rax, qword [rdi + 0xe8]
mov edx, dword [rdi + 0x120]
mov ecx, dword [rax + 0x14]
mov eax, ecx
sub eax, edx
cmp eax, 0x63
jle 0x100032a08
mov rcx, qword [0x1000b6008]
test rcx, rcx
je 0x100032a18
mov r8d, 0x301
jmp 0x100032a3d
cmp edx, ecx
je 0x100032a4b
mov rcx, qword [0x1000b6008]
test rcx, rcx
jne 0x100032a37
lea r9, [0x10001ce30]
lea r8, [0x10001cc58]
mov edx, 0x8b7
mov ecx, 0x800
call fcn.100061ef8
jmp 0x100032a4b
mov r8d, 0x101
mov r9, rbx
mov edx, 0x464
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1000b6008]
test rcx, rcx
jne 0x100032a76
lea r9, [0x10001ce30]
lea r8, [0x10001cc58]
mov edx, 0x8b7
mov ecx, 0x800
call fcn.100061ef8
jmp 0x100032a8a
mov r9, rsi
mov edx, 0x464
mov r8d, 2
call qword [sym.imp.USER32.dll_SendMessageW]
test rsi, rsi
je 0x100032a98
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbx, rbx
je 0x100032aa6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rdi + 0xe8]
mov ecx, dword [rax + 0x14]
mov dword [rdi + 0x120], ecx
mov rcx, qword [0x1000b5f98]
call qword [sym.imp.USER32.dll_GetMenu]
mov esi, 3
cmp dword [rdi + 8], esi
jne 0x100032aee
cmp dword [rdi + 0xf8], 1
jbe 0x100032aee
mov ebx, 0x9c4b
xor r8d, r8d
mov rcx, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_EnableMenuItem]
xor r8d, r8d
jmp 0x100032b04
mov ebx, 0x9c4b
mov r8d, esi
mov rcx, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, esi
mov rcx, qword [0x1000b6018]
mov edx, ebx
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.10009dad0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret