Function at 0x140024c70
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x140342fc0]
xor rax, rsp
mov qword [rbp + 0xd8], rax
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor r12d, r12d
mov dword [rsp + 0x78], r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa8], xmm1
lea r8d, [r12 + 0x42]
lea rdx, str.104_116_116_112_115_58_47_47_105_112_105_110_102_111_46_105_111_47
lea rcx, [rbp + 0x98]
call fcn.140011f20
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x88], xmm1
lea r8d, [r12 + 0x12]
lea rdx, str.47_106_115_111_110
lea rcx, [rbp + 0x78]
call fcn.140011f20
nop
lea rcx, [rbp + 0x58]
call fcn.1400246e0
nop
lea rdx, [rbp + 0x98]
lea rcx, [rbp - 0x28]
call fcn.140024320
nop
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x38]
call fcn.140024320
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x18]
sub rax, rcx
mov rdx, qword [rbp + 0x68]
cmp rax, rdx
jb 0x140025468
lea r9, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova r9, qword [rbp - 0x28]
lea rax, [rbp + 0x58]
cmp qword [rbp + 0x70], 0xf
cmova rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x28]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14006a0e0
lea r14d, [r12 + 2]
lea r8d, [r12 + 5]
lea rdx, str._json
lea rcx, [rsp + 0x48]
call fcn.1400470b0
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r12b
or r14d, 4
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140024e16
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024e11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002546e
call fcn.14025e770
movdqa xmm0, xmmword [0x1402f99d0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
call fcn.140102640
mov rsi, rax
test rax, rax
je 0x140025254
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
movdqa xmm1, xmmword [0x1402f99d0]
movdqu xmmword [rbp + 0x28], xmm1
mov byte [rbp + 0x18], 0
lea r8, [rbp - 8]
cmp qword [rbp + 0x10], 0xf
cmova r8, qword [rbp - 8]
mov edx, 0x2712
mov rcx, rax
call fcn.140107830
lea r8, [0x1400242f0]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.140107830
lea r8, [rbp + 0x18]
mov edx, 0x2711
mov rcx, rsi
call fcn.140107830
mov rcx, rsi
call fcn.1401026b0
mov r15d, eax
test eax, eax
jne 0x1400251dd
mov qword [rbp - 0x40], r12
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x38]
call fcn.14005ae70
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
lea r8d, [r15 + 7]
lea rdx, str.country
lea rcx, [rsp + 0x48]
call fcn.140011f20
lea rax, [rsp + 0x48]
mov qword [rbp - 0x80], rax
movzx ecx, byte [rbp - 0x38]
test cl, cl
jne 0x140024f06
mov byte [rbp - 0x38], 1
call fcn.140064ac0
mov qword [rbp - 0x30], rax
movzx ecx, byte [rbp - 0x38]
jmp 0x140024f0a
mov rax, qword [rbp - 0x30]
cmp cl, 1
jne 0x1400254d9
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.1400832f0
mov rbx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140024f67
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024f62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025474
call fcn.14025e770
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0xb8], xmm0
movdqa xmm1, xmmword [0x1402f99d0]
movdqu xmmword [rbp + 0xc8], xmm1
mov byte [rbp + 0xb8], 0
or r14d, 0x20
mov dword [rsp + 0x78], r14d
cmp byte [rbx + 0x40], 3
jne 0x14002547a
mov rdx, qword [rbx + 0x48]
lea rcx, [rbp + 0xb8]
call fcn.1400471e0
nop
mov rcx, rsi
call fcn.140102610
movups xmm0, xmmword [rbp + 0xb8]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0xc8]
movups xmmword [rdi + 0x10], xmm1
movzx edx, byte [rbp - 0x38]
lea rcx, [rbp - 0x30]
call fcn.14004ed80
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x140025025
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025020
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400254b5
call fcn.14025e770
movdqa xmm0, xmmword [0x1402f99d0]
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x140025071
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002506c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400254bb
call fcn.14025e770
movdqa xmm0, xmmword [0x1402f99d0]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x1400250bd
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400250b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400254c1
call fcn.14025e770
movdqa xmm0, xmmword [0x1402f99d0]
movdqu xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140025109
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025104
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400254c7
call fcn.14025e770
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x140025155
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002514f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400254cd
call fcn.14025e770
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x140025194
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002518e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400254d3
call fcn.14025e770
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0xf
jbe 0x14002542e
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025429
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025462
jmp 0x140025429
lea rdx, str.curl_easy_perform___failed:
lea rcx, [0x14035b8a0]
call fcn.140053ef0
mov rbx, rax
mov ecx, r15d
call fcn.1401040f0
mov rdx, rax
mov rcx, rbx
call fcn.140053ef0
mov rcx, rax
call fcn.14005ab50
mov rcx, rsi
call fcn.140102610
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x14002526f
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002524d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002551b
call fcn.14025e770
jmp 0x14002526f
lea rdx, str.curl_easy_init___failed.
lea rcx, [0x14035b8a0]
call fcn.140053ef0
mov rcx, rax
call fcn.14005ab50
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
mov r8d, 5
lea rdx, str.Error
mov rcx, rdi
call fcn.140011f20
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x1400252ce
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400252c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025521
call fcn.14025e770
movdqa xmm0, xmmword [0x1402f99d0]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x14002531a
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025315
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025527
call fcn.14025e770
movdqa xmm0, xmmword [0x1402f99d0]
movdqu xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140025366
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025361
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002552d
call fcn.14025e770
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x1400253b2
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400253ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025533
call fcn.14025e770
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x1400253f1
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400253eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025539
call fcn.14025e770
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0xf
jbe 0x14002542e
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025429
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002545c
call fcn.14025e770
mov rax, rdi
mov rcx, qword [rbp + 0xd8]
xor rcx, rsp
call fcn.14025e750
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14027aed0
int3
call fcn.14027aed0
nop
call fcn.1400034c0
nop
call fcn.14027aed0
nop
call fcn.14027aed0
nop
lea rcx, [rbx + 0x40]
call fcn.14006b830
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.14008bd30
nop
mov r8, rax
lea rcx, [rbp - 0x78]
call fcn.14008bdf0
lea rdx, [0x14033b2e0]
lea rcx, [rbp - 0x78]
call fcn.140260b78
nop
call fcn.14027aed0
nop
call fcn.14027aed0
nop
call fcn.14027aed0
nop
call fcn.14027aed0
nop
call fcn.14027aed0
nop
call fcn.14027aed0
nop
lea rcx, [rbp - 0x38]
call fcn.14006b830
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x68]
lea rcx, [rbp + 0xb8]
call fcn.14007c450
nop
mov r8, rax
mov edx, 0x131
lea rcx, [rbp - 0x78]
call fcn.14007c510
lea rdx, [0x14033b2e0]
lea rcx, [rbp - 0x78]
call fcn.140260b78
nop
call fcn.14027aed0
nop
call fcn.14027aed0
nop
call fcn.14027aed0
nop
call fcn.14027aed0
nop
call fcn.14027aed0
nop
call fcn.14027aed0
int3