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

Disassembly:
mov eax, 0x11a8
call fcn.140052050
sub rsp, rax
mov qword [rsp + 0x1190], 0xfffffffffffffffe
call fcn.140004ea0
mov qword [rsp + 0x1140], rax
mov rcx, qword [rsp + 0x1140]
call fcn.140004df0
mov qword [rsp + 0x1150], rax
mov dword [rsp + 0x100], 0x1000
mov dword [rsp + 0x1148], 0
lea rcx, [rsp + 0xe0]
call fcn.140007a10
nop
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [0x140070710]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x138], rax
cmp qword [rsp + 0x138], 0
jne 0x140005386
lea rdx, str.Failed_to_initialize_WinINet.
lea rcx, [0x140081420]
call fcn.14000df00
lea rdx, [0x140004b60]
mov rcx, rax
call fcn.140006b70
mov byte [rsp + 0x1158], 0
lea rcx, [rsp + 0xe0]
call fcn.140007a50
movzx eax, byte [rsp + 0x1158]
jmp 0x14000569e
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x1150]
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rsp + 0x130], rax
cmp qword [rsp + 0x130], 0
jne 0x140005418
lea rdx, str.Failed_to_open_URL.
lea rcx, [0x140081420]
call fcn.14000df00
lea rdx, [0x140004b60]
mov rcx, rax
call fcn.140006b70
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [rsp + 0x1159], 0
lea rcx, [rsp + 0xe0]
call fcn.140007a50
movzx eax, byte [rsp + 0x1159]
jmp 0x14000569e
lea r9, [rsp + 0x1148]
mov r8d, 0x1000
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000549e
cmp dword [rsp + 0x1148], 0
jbe 0x14000549e
lea rdx, [rsp + 0x1168]
lea rcx, [rsp + 0xe0]
call fcn.140007ab0
mov rax, qword [rax]
mov qword [rsp + 0x1160], rax
mov eax, dword [rsp + 0x1148]
lea rax, [rsp + rax + 0x140]
mov r9, rax
lea r8, [rsp + 0x140]
mov rdx, qword [rsp + 0x1160]
lea rcx, [rsp + 0xe0]
call fcn.14000e290
jmp 0x140005418
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, [rsp + 0xe0]
call fcn.140007ae0
movzx eax, al
test eax, eax
je 0x140005512
lea rdx, str.No_data_received_from_the_URL.
lea rcx, [0x140081420]
call fcn.14000df00
lea rdx, [0x140004b60]
mov rcx, rax
call fcn.140006b70
mov byte [rsp + 0x1170], 0
lea rcx, [rsp + 0xe0]
call fcn.140007a50
movzx eax, byte [rsp + 0x1170]
jmp 0x14000569e
lea rcx, [rsp + 0x60]
call fcn.140007b20
nop
lea rdx, [rsp + 0x1178]
lea rcx, [rsp + 0xe0]
call fcn.140007ab0
mov qword [rsp + 0x1198], rax
lea rdx, [rsp + 0x1180]
lea rcx, [rsp + 0xe0]
call fcn.140007a80
mov rcx, qword [rsp + 0x1198]
mov r8, qword [rcx]
mov rdx, qword [rax]
lea rcx, [rsp + 0x30]
call fcn.14000e2f0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x60]
call fcn.140007c40
nop
xor r8d, r8d
lea rdx, [0x140070704]
lea rcx, [rsp + 0x108]
call fcn.1400079d0
cmp rax, qword [0x140070a78]
je 0x14000560a
lea rdx, str.The_IP_address_is_from_China.
lea rcx, [0x140081360]
call fcn.14000e380
lea rdx, [0x140004b90]
mov rcx, rax
call fcn.140006da0
mov byte [rsp + 0x1188], 1
lea rcx, [rsp + 0x108]
call fcn.140007990
nop
lea rcx, [rsp + 0x30]
call fcn.1400018b0
nop
lea rcx, [rsp + 0x60]
call fcn.140007bf0
nop
lea rcx, [rsp + 0xe0]
call fcn.140007a50
movzx eax, byte [rsp + 0x1188]
jmp 0x14000569e
lea rdx, str.The_IP_address_is_not_from_China.
lea rcx, [0x140081360]
call fcn.14000e380
lea rdx, [0x140004b90]
mov rcx, rax
call fcn.140006da0
mov byte [rsp + 0x1189], 0
lea rcx, [rsp + 0x108]
call fcn.140007990
nop
lea rcx, [rsp + 0x30]
call fcn.1400018b0
nop
lea rcx, [rsp + 0x60]
call fcn.140007bf0
nop
lea rcx, [rsp + 0xe0]
call fcn.140007a50
movzx eax, byte [rsp + 0x1189]
jmp 0x14000569e
add rsp, 0x11a8
ret