Function at 0x14000c710
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4a0]
sub rsp, 0x5a0
mov rax, qword [0x1400db800]
xor rax, rsp
mov qword [rbp + 0x490], rax
mov rsi, r8
xor r12d, r12d
mov rdi, rdx
mov qword [rsp + 0x50], r12
mov r15, rcx
mov dword [rsp + 0x40], r12d
mov r9d, 0x104
mov qword [rsp + 0x20], r12
mov rcx, qword [rsi + 0x20]
lea r8, [rbp + 0x170]
xor edx, edx
call fcn.140042680
lea r9d, [r12 + 8]
mov edx, 0x14c
lea r8, [rbp + 0x170]
mov rcx, rdi
call fcn.140001c70
mov r8d, 0x104
lea rdx, [rbp + 0x380]
mov rcx, rsi
call fcn.140029cd0
lea rax, [rsp + 0x70]
mov dword [rsp + 0x28], r12d
mov r13, 0xffffffffffffffff
mov qword [rsp + 0x60], rax
mov r9d, r13d
mov qword [rsp + 0x68], r12
lea r8, [rbp + 0x380]
mov word [rsp + 0x70], r12w
xor edx, edx
mov qword [rsp + 0x20], r12
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cdqe
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14000c842
lea rcx, [rax + 1]
cmp rcx, 0x80
jbe 0x14000c81a
mov eax, 2
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.140094b74
mov rcx, rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x68]
jmp 0x14000c81f
mov rcx, qword [rsp + 0x60]
inc rax
lea r8, [rbp + 0x380]
mov dword [rsp + 0x28], eax
mov r9d, r13d
mov qword [rsp + 0x20], rcx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r8, qword [rsp + 0x60]
mov r9d, 8
mov rcx, rdi
lea edx, [r9 + 0x61]
call fcn.140001c70
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000c872
lea rax, [rsp + 0x70]
cmp rcx, rax
je 0x14000c872
call fcn.140062970
mov rcx, qword [rsi + 0x20]
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, [rbp + 0x380]
call fcn.14003fb80
cmp dword [rsi + 0x28], 0xffffffff
lea r8, [rsi + 0x28]
je 0x14000c8a7
mov edx, 0xe7
mov r9d, 3
mov rcx, rdi
call fcn.140001c70
xor edx, edx
mov dword [rsp + 0x48], r12d
mov r8d, 0x100
lea rcx, [rbp + 0x70]
call fcn.1400b1140
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14000c92c
mov r9d, 4
mov qword [rsp + 0x20], r12
lea r8, [rsp + 0x48]
mov rcx, rbx
lea edx, [r9 + 0x28]
call fcn.140042680
test al, al
je 0x14000c8f4
mov r9d, 3
lea r8, [rsp + 0x48]
jmp 0x14000c91a
mov rcx, qword [0x1400e1228]
lea r8, [rbp + 0x70]
mov r9d, 0x80
mov edx, 0x1a5
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 8
lea r8, [rbp + 0x70]
mov edx, 0xe8
mov rcx, rdi
call fcn.140001c70
mov rbx, qword [rsp + 0x50]
xor edx, edx
mov dword [rsp + 0x48], r12d
mov r8d, 0x100
lea rcx, [rbp + 0x70]
call fcn.1400b1140
test rbx, rbx
je 0x14000c9a7
mov r9d, 4
mov qword [rsp + 0x20], r12
lea r8, [rsp + 0x48]
mov rcx, rbx
lea edx, [r9 + 0x29]
call fcn.140042680
test al, al
je 0x14000c974
mov r9d, 3
lea r8, [rsp + 0x48]
jmp 0x14000c99a
mov rcx, qword [0x1400e1228]
lea r8, [rbp + 0x70]
mov r9d, 0x80
mov edx, 0x1a5
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 8
lea r8, [rbp + 0x70]
mov edx, 0xe9
mov rcx, rdi
call fcn.140001c70
lea r8, [rsi + 0x2c]
mov edx, 0x156
mov r9d, 3
mov rcx, rdi
call fcn.140001c70
mov r9d, 3
lea r8, [rsi + 0x34]
mov edx, 0x157
mov rcx, rdi
call fcn.140001c70
mov r9d, 3
lea r8, [rsi + 0x38]
mov edx, 0x158
mov rcx, rdi
call fcn.140001c70
lea r8, [rsi + 0x30]
mov edx, 0x16a
mov r9d, 4
mov rcx, rdi
call fcn.140001c70
mov ecx, dword [rsi + 0x34]
test ecx, ecx
je 0x14000ca14
imul eax, dword [rsi + 0x38], 0x64
xor edx, edx
div ecx
jmp 0x14000ca17
mov eax, r12d
mov r9d, eax
lea r8, str._u___
mov edx, 0x104
lea rcx, [rbp + 0x170]
call fcn.140001040
mov r9d, 8
lea r8, [rbp + 0x170]
mov edx, 0x159
mov rcx, rdi
call fcn.140001c70
mov r9d, dword [rsi + 0x3c]
lea rcx, [rbp + 0x170]
mov r8d, dword [rsi + 0x40]
call fcn.14001aa40
mov r9d, 8
lea r8, [rbp + 0x170]
mov edx, 0x15a
mov rcx, rdi
call fcn.140001c70
mov ebx, dword [rsi + 0x48]
lea rax, [rbp + 0x170]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x48]
lea rax, str.__04X_
movzx r14d, bx
mov dword [rsp + 0x30], r14d
lea rcx, [rbp + 0x170]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov edx, 0x104
mov qword [rsp + 0x20], r12
call fcn.140001db0
test bx, bx
je 0x14000cafd
mov rbx, qword [rsp + 0x48]
lea r9, [rbp + 0x378]
sub r9, rbx
mov r8, rbx
sar r9, 1
mov edx, 2
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x14000cb2b
movzx eax, word [0x1400e33e0]
lea rbx, [0x1400e33e0]
mov edx, 0xec
jmp 0x14000cb10
movzx eax, word [0x1400e3460]
lea rbx, [0x1400e3460]
mov edx, 0x85
test ax, ax
jne 0x14000cb2b
mov rcx, qword [0x1400e1228]
mov r9d, 0x40
mov r8, rbx
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 8
mov r8, rbx
mov edx, 0x15b
mov rcx, rdi
call fcn.140001c70
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000cc3a
mov r9d, dword [rsp + 0x40]
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x28]
call fcn.140042680
mov ecx, dword [rsp + 0x40]
call fcn.140094b74
mov r9d, dword [rsp + 0x40]
mov r12, rax
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov r8, r12
mov qword [rsp + 0x20], rax
mov edx, reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx
call fcn.140042680
mov r9d, 8
lea r8, [0x1400c5060]
mov edx, 0xf0
mov rcx, rdi
mov rbx, r12
mov r14d, 0x1ab
call fcn.140001c70
movzx ecx, word [r12]
test cx, cx
je 0x14000cc32
mov rax, rbx
mov r8, rbx
nop word [rax + rax]
cmp cx, 0x5c
je 0x14000cbe2
cmp cx, 0x2f
je 0x14000cbe2
add rax, 2
jmp 0x14000cbe9
add rax, 2
mov r8, rax
movzx ecx, word [rax]
test cx, cx
jne 0x14000cbd0
mov r9d, 8
mov edx, r14d
mov rcx, rdi
call fcn.140001c70
mov rax, r13
nop word [rax + rax]
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14000cc10
lea rbx, [rbx + rax*2]
mov r14d, 0xf0
add rbx, 2
movzx ecx, word [rbx]
test cx, cx
jne 0x14000cbc4
mov rcx, r12
call fcn.140062970
mov edx, 0x434
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8d, dword [rsi + 0x30]
xor edx, edx
mov rcx, rax
call fcn.14008fe90
mov edi, dword [rsi + 0x30]
mov edx, 0x40b
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rbx, rax
test rax, rax
je 0x14000ccbf
mov r8d, edi
xor r9d, r9d
shr r8, 8
mov edx, 0xf1
and r8d, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp qword [0x1400e3058], 0
jne 0x14000ccaa
mov edx, 0xfffffffc
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov qword [0x1400e3058], rax
lea r8, [0x14000c3c0]
mov edx, 0xfffffffc
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov edi, dword [rsi + 0x30]
mov edx, 0x40c
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rbx, rax
test rax, rax
je 0x14000cd28
mov r8d, edi
xor r9d, r9d
shr r8, 9
mov edx, 0xf1
and r8d, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp qword [0x1400e3058], 0
jne 0x14000cd13
mov edx, 0xfffffffc
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov qword [0x1400e3058], rax
lea r8, [0x14000c3c0]
mov edx, 0xfffffffc
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov edi, dword [rsi + 0x30]
mov edx, 0x40d
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rbx, rax
test rax, rax
je 0x14000cd91
mov r8d, edi
xor r9d, r9d
shr r8, 0x10
mov edx, 0xf1
and r8d, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp qword [0x1400e3058], 0
jne 0x14000cd7c
mov edx, 0xfffffffc
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov qword [0x1400e3058], rax
lea r8, [0x14000c3c0]
mov edx, 0xfffffffc
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov edi, dword [rsi + 0x30]
mov edx, 0x40e
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rbx, rax
test rax, rax
je 0x14000cdfa
mov r8d, edi
xor r9d, r9d
shr r8, 0x11
mov edx, 0xf1
and r8d, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp qword [0x1400e3058], 0
jne 0x14000cde5
mov edx, 0xfffffffc
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov qword [0x1400e3058], rax
lea r8, [0x14000c3c0]
mov edx, 0xfffffffc
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov edi, dword [rsi + 0x30]
mov edx, 0x412
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rbx, rax
test rax, rax
je 0x14000ce63
mov r8d, edi
xor r9d, r9d
shr r8, 0x14
mov edx, 0xf1
and r8d, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp qword [0x1400e3058], 0
jne 0x14000ce4e
mov edx, 0xfffffffc
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov qword [0x1400e3058], rax
lea r8, [0x14000c3c0]
mov edx, 0xfffffffc
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov edi, dword [rsi + 0x30]
mov edx, 0x40f
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rbx, rax
test rax, rax
je 0x14000cecc
mov r8d, edi
xor r9d, r9d
shr r8, 0x18
mov edx, 0xf1
and r8d, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp qword [0x1400e3058], 0
jne 0x14000ceb7
mov edx, 0xfffffffc
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov qword [0x1400e3058], rax
lea r8, [0x14000c3c0]
mov edx, 0xfffffffc
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov edi, dword [rsi + 0x30]
mov edx, 0x410
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rbx, rax
test rax, rax
je 0x14000cf35
mov r8d, edi
xor r9d, r9d
shr r8, 0x19
mov edx, 0xf1
and r8d, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp qword [0x1400e3058], 0
jne 0x14000cf20
mov edx, 0xfffffffc
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov qword [0x1400e3058], rax
lea r8, [0x14000c3c0]
mov edx, 0xfffffffc
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov edi, dword [rsi + 0x30]
mov edx, 0x411
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rbx, rax
test rax, rax
je 0x14000cf9e
mov r8d, edi
xor r9d, r9d
shr r8, 0x1a
mov edx, 0xf1
and r8d, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp qword [0x1400e3058], 0
jne 0x14000cf89
mov edx, 0xfffffffc
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov qword [0x1400e3058], rax
lea r8, [0x14000c3c0]
mov edx, 0xfffffffc
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [rsp + 0x50]
call fcn.14003fa30
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.140094850
mov rbx, qword [rsp + 0x5f8]
add rsp, 0x5a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret