Function at 0x140004f60
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 [0x14006a040]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
xor edi, edi
lea rsi, [0x14006b830]
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 0x1400051fc
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 0x1400051fc
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 0x140005080
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x70]
call fcn.140004c00
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 0x1400050b0
mov r8, rbx
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140004c00
nop
mov r8d, 3
lea rdx, [0x140055488]
lea rcx, [rsp + 0x50]
call fcn.140041d80
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.140049960
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140005152
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000514c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000514c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004de50
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140005192
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000518d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000518d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004de50
movdqa xmm0, xmmword [0x14005ce60]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400051e4
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400051df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400051df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004de50
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [0x14006b830], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [0x14006b840], xmm1
jmp 0x140005229
xorps xmm0, xmm0
movups xmmword [0x14006b830], xmm0
mov qword [0x14006b840], rdi
mov qword [0x14006b848], rdi
mov r8d, 7
lea rdx, [0x140055480]
mov rcx, rsi
call fcn.140004c00
mov rax, rsi
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14004de30
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