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

Disassembly:
jmp 0x140029600
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2c8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x76
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2e8]
mov rax, qword [0x140053040]
xor rax, rbp
mov qword [rbp + 0x280], rax
mov dword [rbp + 0x264], 0
lea rcx, [0x14005d11c]
call fcn.140015162
nop
lea rdx, [0x140048d65]
lea rcx, [rbp + 0x108]
call fcn.1400147cb
nop
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [0x140048df0]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400296f2
lea rdx, str.Chyba_pri_inicializaci_WinINet.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400141e5
lea rdx, [0x1400140aa]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rdx, [0x140048d65]
mov rcx, qword [rbp + 0x2b0]
call fcn.1400147cb
mov eax, dword [rbp + 0x264]
or eax, 1
mov dword [rbp + 0x264], eax
lea rcx, [rbp + 0x108]
call fcn.1400142fd
nop
mov rax, qword [rbp + 0x2b0]
jmp 0x140029859
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, str.http:__api.ipify.org
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14002978f
lea rdx, str.Chyba_pri_pripojeni_k_serveru.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400141e5
lea rdx, [0x1400140aa]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rdx, [0x140048d65]
mov rcx, qword [rbp + 0x2b0]
call fcn.1400147cb
mov eax, dword [rbp + 0x264]
or eax, 1
mov dword [rbp + 0x264], eax
lea rcx, [rbp + 0x108]
call fcn.1400142fd
nop
mov rax, qword [rbp + 0x2b0]
jmp 0x140029859
lea r9, [rbp + 0x44]
mov r8d, 0x7f
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14002980d
mov eax, dword [rbp + 0x44]
mov qword [rbp + 0x208], rax
cmp qword [rbp + 0x208], 0x80
jae 0x1400297c4
jmp 0x1400297ca
call fcn.140014c80
nop
mov rax, qword [rbp + 0x208]
mov byte [rbp + rax + 0x70], 0
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x228]
call fcn.1400147cb
mov qword [rbp + 0x278], rax
mov rdx, qword [rbp + 0x278]
lea rcx, [rbp + 0x108]
call fcn.1400144ab
lea rcx, [rbp + 0x228]
call fcn.1400142fd
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rdx, [rbp + 0x108]
mov rcx, qword [rbp + 0x2b0]
call fcn.14001502c
mov eax, dword [rbp + 0x264]
or eax, 1
mov dword [rbp + 0x264], eax
lea rcx, [rbp + 0x108]
call fcn.1400142fd
nop
mov rax, qword [rbp + 0x2b0]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140044c80]
call fcn.140014e65
mov rax, rdi
mov rcx, qword [rbp + 0x280]
xor rcx, rbp
call fcn.140014861
lea rsp, [rbp + 0x298]
pop rdi
pop rbp
ret