Function at 0x18001a480
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1801878e0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, rdx
xor r13d, r13d
mov dword [rbp - 0x49], r13d
mov qword [rbp + 0x1f], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x17], r13
mov byte [rbp + 7], r13b
xor r8d, r8d
lea rdx, [0x1800c86e5]
lea rcx, [rbp + 7]
call fcn.1800023a0
nop
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
mov qword [rbp - 9], r13
mov byte [rbp - 0x19], r13b
lea r8d, [r13 + 0x2e]
lea rdx, str.http:__kyposition.dftoutiao.com_position_get02
lea rcx, [rbp - 0x19]
call fcn.1800023a0
nop
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x19]
call fcn.180014680
movzx ebx, al
mov rax, qword [rbp - 1]
cmp rax, 0x10
jb 0x18001a572
inc rax
mov rcx, qword [rbp - 0x19]
cmp rax, 0x1000
jb 0x18001a56d
test cl, 0x1f
je 0x18001a540
call fcn.18008185c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18001a54f
call fcn.18008185c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18001a55e
call fcn.18008185c
int3
cmp rcx, 0x27
jbe 0x18001a56a
call fcn.18008185c
int3
mov rcx, rax
call fcn.18005e5ac
test bl, bl
je 0x18001a82b
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rdx, qword [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.18000fdb0
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.180005bd0
mov rax, qword [rbp - 0x21]
cmp rax, 0x10
jb 0x18001a5f3
inc rax
mov rcx, qword [rbp - 0x39]
cmp rax, 0x1000
jb 0x18001a5ee
test cl, 0x1f
je 0x18001a5c1
call fcn.18008185c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18001a5d0
call fcn.18008185c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18001a5df
call fcn.18008185c
int3
cmp rcx, 0x27
jbe 0x18001a5eb
call fcn.18008185c
int3
mov rcx, rax
call fcn.18005e5ac
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
mov qword [rbp - 9], r13
mov byte [rbp - 0x19], 0
mov r8d, Ordinal_14
lea rdx, [0x1800ac8b0]
lea rcx, [rbp - 0x19]
call fcn.1800023a0
nop
mov r12, qword [rbp - 9]
lea r14, [rbp - 0x19]
mov rcx, qword [rbp - 0x19]
mov rax, qword [rbp - 1]
cmp rax, 0x10
cmovae r14, rcx
test r12, r12
jne 0x18001a63f
mov rdi, r13
jmp 0x18001a6d3
mov rbx, qword [rbp + 0x17]
test rbx, rbx
je 0x18001a7dc
cmp r12, rbx
ja 0x18001a7dc
sub rbx, r12
inc rbx
lea rsi, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rsi, qword [rbp + 7]
nop dword [rax]
test rbx, rbx
je 0x18001a7d4
movsx edx, byte [r14]
mov r8, rbx
mov rcx, rsi
call fcn.18007fe10
mov rdi, rax
test rax, rax
je 0x18001a7d4
mov r8, r12
mov rdx, r14
mov rcx, rax
call fcn.18007fe40
test eax, eax
je 0x18001a6b5
sub rsi, rdi
dec rsi
add rbx, rsi
lea rsi, [rdi + 1]
jmp 0x18001a670
lea rax, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rax, qword [rbp + 7]
sub rdi, rax
cmp edi, 0xffffffff
je 0x18001a7d4
mov r12, qword [rbp - 9]
movsxd rbx, edi
lea r8, [rbx + r12]
mov r9d, 1
lea rdx, [0x1800ca7e8]
lea rcx, [rbp + 7]
call fcn.18000f540
cmp eax, 0xffffffff
cmove eax, dword [rbp + 0x17]
sub eax, edi
movsxd r9, eax
mov rax, qword [rbp - 9]
sub r9, rax
lea r8, [rbx + rax]
mov rdx, r15
lea rcx, [rbp + 7]
call fcn.180005b50
nop
mov rax, qword [rbp - 1]
cmp rax, 0x10
jb 0x18001a76a
inc rax
mov rcx, qword [rbp - 0x19]
cmp rax, 0x1000
jb 0x18001a765
test cl, 0x1f
je 0x18001a738
call fcn.18008185c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18001a747
call fcn.18008185c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18001a756
call fcn.18008185c
int3
cmp rcx, 0x27
jbe 0x18001a762
call fcn.18008185c
int3
mov rcx, rax
call fcn.18005e5ac
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
mov qword [rbp - 9], r13
mov byte [rbp - 0x19], 0
mov rax, qword [rbp + 0x1f]
cmp rax, 0x10
jb 0x18001a89f
inc rax
mov rcx, qword [rbp + 7]
cmp rax, 0x1000
jb 0x18001a89a
test cl, 0x1f
je 0x18001a7a6
call fcn.18008185c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18001a7b5
call fcn.18008185c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18001a7c4
call fcn.18008185c
int3
cmp rcx, 0x27
jbe 0x18001a897
call fcn.18008185c
nop
mov rax, qword [rbp - 1]
mov rcx, qword [rbp - 0x19]
cmp rax, 0x10
jb 0x18001a82b
inc rax
cmp rax, 0x1000
jb 0x18001a826
test byte [rbp - 0x19], 0x1f
je 0x18001a7f9
call fcn.18008185c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18001a808
call fcn.18008185c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18001a817
call fcn.18008185c
int3
cmp rcx, 0x27
jbe 0x18001a823
call fcn.18008185c
int3
mov rcx, rax
call fcn.18005e5ac
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov qword [r15 + 0x10], r13
cmp qword [r15 + 0x18], 0x10
jb 0x18001a843
mov rax, qword [r15]
jmp 0x18001a846
mov rax, r15
mov byte [rax], 0
mov rax, qword [rbp + 0x1f]
cmp rax, 0x10
jb 0x18001a89f
inc rax
mov rcx, qword [rbp + 7]
cmp rax, 0x1000
jb 0x18001a89a
test cl, 0x1f
je 0x18001a86d
call fcn.18008185c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18001a87c
call fcn.18008185c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18001a88b
call fcn.18008185c
int3
cmp rcx, 0x27
jbe 0x18001a897
call fcn.18008185c
int3
mov rcx, rax
call fcn.18005e5ac
mov rax, r15
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.18005ef00
lea r11, [rsp + 0xa0]
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