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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x3c8]
sub rsp, 0x4a0
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 + 0x390], rax
mov rsi, rcx
mov qword [rsp + 0x40], rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], 7
mov word [rcx], r12w
lea rdx, [0x14006cb08]
call fcn.140007f4c
nop
lea edx, [r12 + 1]
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rcx, str.GetIPAddress
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r15, rax
test rax, rax
je 0x14000d394
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, str.http:__api.ipify.org__formatjson
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r14, rax
test rax, rax
je 0x14000d38b
mov dword [rsp + 0x48], r12d
lea r9, [rsp + 0x48]
mov ebx, 0x400
mov r8d, ebx
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000d382
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x14000d382
cmp rax, rbx
jae 0x14000d3c8
mov byte [rbp + rax - 0x70], r12b
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.140005d68
nop
xor r8d, r8d
lea rdx, str._ip_:_
lea rcx, [rsp + 0x50]
call fcn.14000ca80
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000d349
add rbx, 6
mov r8, rbx
lea rdx, [0x14006cf18]
lea rcx, [rsp + 0x50]
call fcn.14000ca80
cmp rax, 0xffffffffffffffff
je 0x14000d349
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 0x14000d33e
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 0x14000d335
mov rdi, rsi
cmp qword [rsi + 0x18], 8
jb 0x14000d318
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 [rbx + rdi], r12w
jmp 0x14000d33e
mov rcx, rsi
call fcn.1400098a4
nop
lea rcx, [rsp + 0x70]
call fcn.140007dc0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14000d382
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d37d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d3c2
call fcn.14002f184
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, rsi
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14002f160
lea r11, [rsp + 0x4a0]
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