Function at 0x140003890
Capabilities:
Capture public ip
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140043080]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x14
lea rdx, str.http:__api.ipify.org
lea rcx, [rsp + 0x40]
call fcn.1400075d0
nop
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.PublicIPFetcher
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
jne 0x1400039d1
lea rdx, str.InternetOpen_failed:
lea rcx, [0x140087950]
call fcn.140006e70
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140004520
mov rcx, rax
call fcn.140007400
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
xor r8d, r8d
lea rdx, [0x14003c34d]
mov rcx, rdi
call fcn.1400075d0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400039a7
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b35
call fcn.14000d5c0
mov rax, rdi
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14000d5a0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
jne 0x140003a42
lea rdx, str.InternetOpenUrl_failed:
lea rcx, [0x140087950]
call fcn.140006e70
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140004520
mov rcx, rax
call fcn.140007400
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140003949
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x14003c940]
movdqu xmmword [rsp + 0x70], xmm1
mov byte [rsp + 0x60], 0
lea r9, [rsp + 0x38]
mov r8d, 0xff
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140003ab8
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x140003ab8
cmp rax, 0x100
jae 0x140003b2f
mov byte [rbp + rax - 0x80], 0
lea rax, [rbp - 0x80]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140003aa0
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140006920
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x14003c940]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400039a7
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b35
jmp 0x1400039a2
call fcn.14000d6d0
nop
call fcn.140015934
int3