Function at 0x140004230
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
xor edi, edi
lea rsi, [0x140041530]
xor edx, edx
mov r8d, 0xaa
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0xaa
lea rcx, [rbp + 0x140]
call sub.VCRUNTIME140.dll_memset
lea r9d, [rdi + 0x55]
lea r8, [rbp + 0x90]
lea edx, [rdi + 6]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x1400044cc
lea r9d, [rdi + 0x55]
lea r8, [rbp + 0x140]
lea edx, [rdi + 0x5a]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x1400044cc
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x55
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov rbx, 0xffffffffffffffff
mov r9d, ebx
lea r8, [rbp + 0x90]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x55
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, [rbp + 0x140]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp - 0x30]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], dil
jne 0x140004350
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x70]
call fcn.1400040c0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rbp + 0x30]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140004380
mov r8, rbx
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400040c0
nop
mov r8d, 3
lea rdx, [0x140033000]
lea rcx, [rsp + 0x50]
call fcn.140027300
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.14002af80
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140004422
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000441c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000441c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002dd70
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140004462
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000445d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000445d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002dd70
movdqa xmm0, xmmword [0x140036060]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400044b4
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400044af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400044af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002dd70
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [0x140041530], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [0x140041540], xmm1
jmp 0x1400044f9
xorps xmm0, xmm0
movups xmmword [0x140041530], xmm0
mov qword [0x140041540], rdi
mov qword [0x140041548], rdi
mov r8d, 7
lea rdx, str.Unknown
mov rcx, rsi
call fcn.1400040c0
mov rax, rsi
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14002dd50
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret