Function at 0x14000c75c
Capabilities:
Create http request
Get geographical location
Read data from internet
Receive data

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x408]
sub rsp, 0x4e0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14007a0a0]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov rsi, rcx
mov qword [rsp + 0x40], rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea rcx, [rbp - 0x50]
call fcn.14000d134
nop
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
lea rdx, [0x14006cb08]
mov rcx, rsi
call fcn.140007f4c
nop
cmp qword [rbp - 0x40], r12
je 0x14000ca3c
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
lea rcx, str.GetCountryCode
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r14, rax
test rax, rax
je 0x14000ca3c
movdqa xmm0, xmmword [0x14006dbe0]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r12w
mov dword [rsp + 0x30], 3
mov rdx, qword [rbp - 0x40]
add rdx, 0x17
lea rcx, [rbp - 0x70]
call fcn.14000b394
lea r8d, [r12 + 0x17]
lea rdx, str.http:__ip_api.com_json_
lea rcx, [rbp - 0x70]
call fcn.140008b10
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
lea rcx, [rbp - 0x70]
call fcn.140008b10
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r15, rax
test rax, rax
je 0x14000ca28
mov dword [rsp + 0x48], r12d
lea r9, [rsp + 0x48]
mov ebx, 0x400
mov r8d, ebx
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000ca1f
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x14000ca1f
cmp rax, rbx
jae 0x14000ca79
mov byte [rbp + rax - 0x30], r12b
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.140005d68
nop
xor r8d, r8d
lea rdx, str._countryCode_:_
lea rcx, [rsp + 0x50]
call fcn.14000ca80
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000c9e6
add rbx, 0xf
mov r8, rbx
lea rdx, [0x14006cf18]
lea rcx, [rsp + 0x50]
call fcn.14000ca80
cmp rax, 0xffffffffffffffff
je 0x14000c9e6
lea rdi, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdi, qword [rsp + 0x50]
add rdi, rax
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rax, qword [rsp + 0x50]
add rbx, rax
movdqa xmm0, xmmword [0x14006dbe0]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r12w
mov rdx, rdi
sub rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14000b394
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14000cb44
nop
lea rax, [rsp + 0x70]
cmp rsi, rax
je 0x14000c9db
lea r9, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae r9, qword [rsp + 0x70]
mov rdx, qword [rbp - 0x80]
cmp rdx, qword [rsi + 0x18]
ja 0x14000c9d2
mov rdi, rsi
cmp qword [rsi + 0x18], 8
jb 0x14000c9b5
mov rdi, qword [rsi]
mov qword [rsi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.140030b20
mov word [rdi + rbx], r12w
jmp 0x14000c9db
mov rcx, rsi
call fcn.1400098a4
nop
lea rcx, [rsp + 0x70]
call fcn.140007dc0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14000ca1f
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ca1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ca73
call fcn.14002f184
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rcx, [rbp - 0x70]
call fcn.140007dc0
nop
lea rcx, [rbp - 0x50]
call fcn.140007dc0
mov rax, rsi
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.14002f160
lea r11, [rsp + 0x4e0]
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.1400376b8
int3
call fcn.14002f684
int3