Function at 0x180010a70
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1800b80b8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r12, rdx
xor r13d, r13d
mov dword [rsp + 0x24], r13d
mov qword [rbp - 0x71], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x79], r13
mov byte [rsp + 0x30], r13b
xor r8d, r8d
lea rdx, [0x1800a65c2]
lea rcx, [rsp + 0x30]
call fcn.180003920
nop
movdqa xmm0, xmmword [0x1800a8640]
movdqu xmmword [rbp - 9], xmm0
movdqa xmm1, xmmword [0x1800a8690]
movdqu xmmword [rbp + 7], xmm1
mov dword [rbp + 0x17], 0x9725f72b
mov dword [rbp + 0x1b], 0xcdaef331
mov dword [rbp + 0x1f], 0x5694b436
mov word [rbp + 0x23], 0xf3e4
mov byte [rbp + 0x25], r13b
lea r8d, [r13 + 0x2e]
lea rdx, [rbp - 9]
call fcn.1800050a0
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x39], r13
mov byte [rbp - 0x49], r13b
cmp byte [rbp - 9], r13b
jne 0x180010b3c
mov r8d, r13d
jmp 0x180010b4e
lea rax, [rbp - 9]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180010b44
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
call fcn.180003920
nop
cmp byte [0x18011a150], 0
jne 0x180010b76
mov ecx, 3
call fcn.180024f80
mov byte [0x18011a150], 1
call fcn.180024ef0
mov rdi, rax
lea r8, [rbp - 0x49]
cmp qword [rbp - 0x31], 0x10
cmovae r8, qword [rbp - 0x49]
mov edx, 0x2712
mov rcx, rax
call fcn.180024f50
mov edx, 0x9c
mov r8d, 0x7d0
mov rcx, rdi
call fcn.180024f50
lea r8, [rsp + 0x30]
mov edx, 0x2711
mov rcx, rdi
call fcn.180024f50
lea r8, [0x180010250]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.180024f50
mov edx, Ordinal_46
lea r8d, [rdx - 0x2a]
mov rcx, rdi
call fcn.180024f50
mov rcx, rdi
call fcn.180024f40
mov ebx, eax
mov dword [rsp + 0x20], r13d
lea r8, [rsp + 0x20]
mov edx, 0x200002
mov rcx, rdi
call fcn.180024ec0
mov rcx, rdi
call fcn.180024eb0
test ebx, ebx
jne 0x180010f41
cmp dword [rsp + 0x20], 0xc8
jne 0x180010f41
lea rdx, [rsp + 0x30]
cmp qword [rbp - 0x71], 0x10
cmovae rdx, qword [rsp + 0x30]
lea rcx, [rbp - 0x29]
call fcn.18000fed0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180002050
mov rax, qword [rbp - 0x11]
cmp rax, 0x10
jb 0x180010c9e
inc rax
mov rcx, qword [rbp - 0x29]
cmp rax, 0x1000
jb 0x180010c99
test cl, 0x1f
je 0x180010c6c
call fcn.180063584
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180010c7b
call fcn.180063584
int3
sub rcx, rax
cmp rcx, 8
jae 0x180010c8a
call fcn.180063584
int3
cmp rcx, 0x27
jbe 0x180010c96
call fcn.180063584
int3
mov rcx, rax
call fcn.18005c288
mov qword [rbp - 0x51], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x59], r13
mov byte [rbp - 0x69], 0
mov r8d, ntohs
lea rdx, str.cityname_:_
lea rcx, [rbp - 0x69]
call fcn.180003920
nop
mov r15, qword [rbp - 0x59]
lea r14, [rbp - 0x69]
mov rcx, qword [rbp - 0x69]
mov rax, qword [rbp - 0x51]
cmp rax, 0x10
cmovae r14, rcx
test r15, r15
jne 0x180010cea
mov rdi, r13
jmp 0x180010d7b
mov rbx, qword [rbp - 0x79]
test rbx, rbx
je 0x180010ef2
cmp r15, rbx
ja 0x180010ef2
sub rbx, r15
inc rbx
lea rsi, [rsp + 0x30]
cmp qword [rbp - 0x71], 0x10
cmovae rsi, qword [rsp + 0x30]
test rbx, rbx
je 0x180010eea
movsx edx, byte [r14]
mov r8, rbx
mov rcx, rsi
call fcn.180061d5c
mov rdi, rax
test rax, rax
je 0x180010eea
mov r8, r15
mov rdx, r14
mov rcx, rax
call fcn.180061d90
test eax, eax
je 0x180010d5b
sub rsi, rdi
dec rsi
add rbx, rsi
lea rsi, [rdi + 1]
jmp 0x180010d16
lea rax, [rsp + 0x30]
cmp qword [rbp - 0x71], 0x10
cmovae rax, qword [rsp + 0x30]
sub rdi, rax
cmp edi, 0xffffffff
je 0x180010eea
mov r15, qword [rbp - 0x59]
movsxd rbx, edi
lea r8, [r15 + rbx]
mov r9d, 1
lea rdx, [0x1800a65b8]
lea rcx, [rsp + 0x30]
call fcn.180002110
cmp eax, 0xffffffff
cmove eax, dword [rbp - 0x79]
sub eax, edi
movsxd r9, eax
mov rax, qword [rbp - 0x59]
sub r9, rax
lea r8, [rax + rbx]
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.180001e70
nop
mov rax, qword [rbp - 0x51]
cmp rax, 0x10
jb 0x180010e14
inc rax
mov rcx, qword [rbp - 0x69]
cmp rax, 0x1000
jb 0x180010e0f
test cl, 0x1f
je 0x180010de2
call fcn.180063584
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180010df1
call fcn.180063584
int3
sub rcx, rax
cmp rcx, 8
jae 0x180010e00
call fcn.180063584
int3
cmp rcx, 0x27
jbe 0x180010e0c
call fcn.180063584
int3
mov rcx, rax
call fcn.18005c288
mov qword [rbp - 0x51], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x59], r13
mov byte [rbp - 0x69], 0
mov rax, qword [rbp - 0x31]
cmp rax, 0x10
jb 0x180010e7a
inc rax
mov rcx, qword [rbp - 0x49]
cmp rax, 0x1000
jb 0x180010e75
test cl, 0x1f
je 0x180010e48
call fcn.180063584
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180010e57
call fcn.180063584
int3
sub rcx, rax
cmp rcx, 8
jae 0x180010e66
call fcn.180063584
int3
cmp rcx, 0x27
jbe 0x180010e72
call fcn.180063584
int3
mov rcx, rax
call fcn.18005c288
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x39], r13
mov byte [rbp - 0x49], 0
mov rax, qword [rbp - 0x71]
cmp rax, 0x10
jb 0x180010fd3
inc rax
mov rcx, qword [rsp + 0x30]
cmp rax, 0x1000
jb 0x180010ee0
test cl, 0x1f
je 0x180010eb3
call fcn.180063584
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180010ec2
call fcn.180063584
int3
sub rcx, rax
cmp rcx, 8
jae 0x180010ed1
call fcn.180063584
int3
cmp rcx, 0x27
jbe 0x180010edd
call fcn.180063584
int3
mov rcx, rax
call fcn.18005c288
jmp 0x180010fd3
mov rax, qword [rbp - 0x51]
mov rcx, qword [rbp - 0x69]
cmp rax, 0x10
jb 0x180010f41
inc rax
cmp rax, 0x1000
jb 0x180010f3c
test byte [rbp - 0x69], 0x1f
je 0x180010f0f
call fcn.180063584
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180010f1e
call fcn.180063584
int3
sub rcx, rax
cmp rcx, 8
jae 0x180010f2d
call fcn.180063584
int3
cmp rcx, 0x27
jbe 0x180010f39
call fcn.180063584
int3
mov rcx, rax
call fcn.18005c288
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov qword [r12 + 0x10], r13
cmp qword [r12 + 0x18], 0x10
jb 0x180010f5d
mov rax, qword [r12]
jmp 0x180010f60
mov rax, r12
mov byte [rax], 0
mov rax, qword [rbp - 0x31]
cmp rax, 0x10
jb 0x180010fb9
inc rax
mov rcx, qword [rbp - 0x49]
cmp rax, 0x1000
jb 0x180010fb4
test cl, 0x1f
je 0x180010f87
call fcn.180063584
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180010f96
call fcn.180063584
int3
sub rcx, rax
cmp rcx, 8
jae 0x180010fa5
call fcn.180063584
int3
cmp rcx, 0x27
jbe 0x180010fb1
call fcn.180063584
int3
mov rcx, rax
call fcn.18005c288
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x39], r13
mov byte [rbp - 0x49], 0
lea rcx, [rsp + 0x30]
call fcn.180003310
mov rax, r12
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.18005c430
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret