Function at 0x1400a9b10
Capabilities:
Get geographical location

Disassembly:
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
mov rbp, rcx
lea rdx, str.provincelist
add rcx, 0x58
call fcn.1400ef860
mov rbx, rax
xor esi, esi
lea r14, [rsi - 1]
test rax, rax
je 0x1400a9bcb
mov rdx, qword [rax + 0x608]
lea rcx, [rax + 0x608]
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
cmp eax, r14d
je 0x1400a9bcb
mov rdi, qword [rbx + 0x5c0]
mov rax, qword [rbx + 0x608]
lea rcx, [rbx + 0x608]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, eax
lea rcx, [rbx + 0x5c0]
call qword [rdi]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x200]
mov rcx, rax
call fcn.14009af50
test rax, rax
jne 0x1400a9ba7
mov ecx, esi
jmp 0x1400a9bb9
mov rcx, r14
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], si
jne 0x1400a9bb0
mov r8d, ecx
mov rdx, rax
lea rcx, [rbp + 0x428]
call fcn.140010860
lea rdx, str.citylist
lea rcx, [rbp + 0x58]
call fcn.1400ef860
mov rbx, rax
test rax, rax
je 0x1400a9c5b
mov rdx, qword [rax + 0x608]
lea rcx, [rax + 0x608]
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
cmp eax, r14d
je 0x1400a9c5b
mov rdi, qword [rbx + 0x5c0]
mov rax, qword [rbx + 0x608]
lea rcx, [rbx + 0x608]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, eax
lea rcx, [rbx + 0x5c0]
call qword [rdi]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x200]
mov rcx, rax
call fcn.14009af50
test rax, rax
jne 0x1400a9c39
mov ecx, esi
jmp 0x1400a9c49
mov rcx, r14
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], si
jne 0x1400a9c40
mov r8d, ecx
mov rdx, rax
lea rcx, [rbp + 0x430]
call fcn.140010860
lea rdx, str.townlist
lea rcx, [rbp + 0x58]
call fcn.1400ef860
mov rbx, rax
test rax, rax
je 0x1400a9ce5
mov rdx, qword [rax + 0x608]
lea rcx, [rax + 0x608]
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
cmp eax, r14d
je 0x1400a9ce5
mov rdi, qword [rbx + 0x5c0]
mov rax, qword [rbx + 0x608]
lea rcx, [rbx + 0x608]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, eax
lea rcx, [rbx + 0x5c0]
call qword [rdi]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x200]
mov rcx, rax
call fcn.14009af50
lea rcx, [rbp + 0x438]
test rax, rax
je 0x1400a9cda
mov rsi, r14
nop
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400a9cd0
mov r8d, esi
mov rdx, rax
call fcn.140010860
call fcn.1400666d0
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.140079580
nop
mov r8, qword [rbp + 0x438]
test r8, r8
je 0x1400a9de2
mov rax, qword [rsp + 0x60]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400a9d24
add rax, 2
test ecx, ecx
jne 0x1400a9d10
test edx, edx
je 0x1400a9dad
mov rbx, qword [rbp + 0x428]
cmp dword [rbx - 0x10], 0
je 0x1400a9d49
call fcn.1400666d0
mov rcx, rax
mov rdx, rbx
call fcn.14007b410
mov rbx, qword [rbp + 0x430]
cmp dword [rbx - 0x10], 0
je 0x1400a9d66
call fcn.1400666d0
mov rcx, rax
mov rdx, rbx
call fcn.14007a790
mov rbx, qword [rbp + 0x438]
cmp dword [rbx - 0x10], 0
je 0x1400a9d83
call fcn.1400666d0
mov rcx, rax
mov rdx, rbx
call fcn.14007be50
mov rcx, qword [rbp + 0x418]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400a9dad
xor r9d, r9d
xor r8d, r8d
mov edx, 0x405
mov rcx, qword [rbp + 0x418]
call qword [sym.imp.USER32.dll_PostMessageW]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x1400a9dcb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.14000adf0
int3