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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x130
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x14004a100]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rdi, rcx
mov qword [rsp + 0x58], rcx
xor ebp, ebp
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
xor r8d, r8d
lea rdx, [0x140042410]
lea rcx, [rsp + 0x60]
call fcn.14000cc50
nop
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [0x140042468]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
test rax, rax
jne 0x14000310a
lea rdx, str.Chyba_pri_inicializaci_WinINet.
lea rcx, [0x14004b8e0]
call fcn.14000bfb0
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14000be00
movzx edx, al
mov rcx, rbx
call fcn.14000db10
mov rcx, rbx
call fcn.14000d670
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], rbp
xor r8d, r8d
lea rdx, [0x140042410]
mov rcx, rdi
call fcn.14000cc50
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400032c5
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003100
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003301
call fcn.140011680
jmp 0x1400032c5
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, str.http:__api.ipify.org
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
jne 0x1400031e2
lea rdx, str.Chyba_pri_pripojeni_k_serveru.
lea rcx, [0x14004b8e0]
call fcn.14000bfb0
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14000be00
movzx edx, al
mov rcx, rbx
call fcn.14000db10
mov rcx, rbx
call fcn.14000d670
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], rbp
xor r8d, r8d
lea rdx, [0x140042410]
mov rcx, rdi
call fcn.14000cc50
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400032c5
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003100
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003301
jmp 0x140003100
lea r9, [rsp + 0x58]
mov r8d, 0x7f
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400032a1
mov eax, dword [rsp + 0x58]
cmp rax, 0x80
jae 0x1400032fb
mov byte [rsp + rax + 0x80], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140003240
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x38]
call fcn.14000cc50
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140003295
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003290
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003307
call fcn.140011680
movups xmm6, xmmword [rsp + 0x38]
movups xmm7, xmmword [rsp + 0x48]
jmp 0x1400032ac
movdqu xmm7, xmmword [rsp + 0x70]
movups xmm6, xmmword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmmword [rdi], xmm6
movups xmmword [rdi + 0x10], xmm7
mov rax, rdi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140011660
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140011790
nop
call fcn.14001ba50
nop
call fcn.14001ba50
int3