Function at 0x10003e2cc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
sub rsp, 0x60
mov rax, qword [0x1000af140]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp byte [0x1000bbdc9], 0
movsxd rsi, r8d
mov rdi, rdx
mov ebx, ecx
lea r12, [0x1000b7ff8]
jne 0x10003e3e1
xor edx, edx
lea rcx, [rsp + 0x34]
mov byte [0x1000bbdc9], 1
lea r8d, [rdx + 0x1c]
mov dword [rsp + 0x30], 0x31
call sub.msvcrt.dll_memset
mov r9d, 6
mov r8, r12
lea edx, [r9 + 0xe]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x10003e350
lea rdx, [0x10001b6d0]
mov ecx, 0x20001
call fcn.1000660b0
mov r9d, 0x10
lea r8, [rsp + 0x30]
mov ecx, 0x400
lea edx, [r9 + 0xc]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x10003e37f
lea rdx, [0x10001b5f0]
mov ecx, 0x20001
call fcn.1000660b0
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0xa]
call qword [sym.imp.msvcrt.dll_wcstol]
mov r9d, 0x10
lea r8, [rsp + 0x30]
lea edx, [r9 + 0xb]
mov ecx, 0x400
mov dword [0x1000b7ff0], eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x10003e3c5
lea rdx, [0x10001b760]
mov ecx, 0x20001
call fcn.1000660b0
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0xa]
call qword [sym.imp.msvcrt.dll_wcstol]
mov r11d, eax
mov dword [0x1000bbdcc], eax
jmp 0x10003e3e8
mov r11d, dword [0x1000bbdcc]
test ebx, ebx
js 0x10003e44a
or r8, 0xffffffffffffffff
sub r11d, 1
mov rdx, rsi
mov rcx, rdi
je 0x10003e435
sub r11d, 1
je 0x10003e429
cmp r11d, 1
je 0x10003e414
lea r9, [0x10001b7f8]
jmp 0x10003e569
mov qword [rsp + 0x28], r12
lea r9, [0x10001b828]
mov dword [rsp + 0x20], ebx
jmp 0x10003e572
lea r9, [0x10001b818]
jmp 0x10003e569
mov qword [rsp + 0x28], r12
lea r9, [0x10001b808]
mov dword [rsp + 0x20], ebx
jmp 0x10003e572
mov ecx, dword [0x1000b7ff0]
cmp ecx, 8
jg 0x10003e4eb
je 0x10003e4e2
test ecx, ecx
je 0x10003e4d9
sub ecx, 2
je 0x10003e4cd
sub ecx, 1
je 0x10003e4c1
sub ecx, 1
je 0x10003e4b8
sub ecx, 1
je 0x10003e4af
sub ecx, 1
je 0x10003e4a6
cmp ecx, 1
jne 0x10003e50e
lea r9, [0x10001b8a8]
neg ebx
mov qword [rsp + 0x28], r12
mov rdx, rsi
or r8, 0xffffffffffffffff
mov rcx, rdi
mov dword [rsp + 0x20], ebx
jmp 0x10003e572
lea r9, [0x10001b898]
jmp 0x10003e48c
lea r9, [0x10001b888]
jmp 0x10003e48c
lea r9, [0x10001b878]
jmp 0x10003e48c
lea r9, [0x10001b868]
jmp 0x10003e55d
lea r9, [0x10001b858]
jmp 0x10003e55d
lea r9, [0x10001b838]
jmp 0x10003e55d
lea r9, [0x10001b8b8]
jmp 0x10003e48c
sub ecx, 9
je 0x10003e556
sub ecx, 1
je 0x10003e54a
sub ecx, 1
je 0x10003e541
sub ecx, 1
je 0x10003e538
sub ecx, 1
je 0x10003e52c
sub ecx, 1
je 0x10003e523
cmp ecx, 1
je 0x10003e517
lea r9, [0x10001b848]
jmp 0x10003e55d
lea r9, [0x10001b928]
jmp 0x10003e48c
lea r9, [0x10001b918]
jmp 0x10003e55d
lea r9, [0x10001b908]
jmp 0x10003e48c
lea r9, [0x10001b8f8]
jmp 0x10003e55d
lea r9, [0x10001b8e8]
jmp 0x10003e55d
lea r9, [0x10001b8d8]
jmp 0x10003e48c
lea r9, [0x10001b8c8]
neg ebx
mov rcx, rdi
mov rdx, rsi
or r8, 0xffffffffffffffff
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r12
call sub.msvcrt.dll__snwprintf_s
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1000a2150
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r12
pop rdi
pop rsi
ret