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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1b20]
mov eax, 0x1c20
call fcn.141316c10
sub rsp, rax
mov rax, qword [0x14136fbc0]
xor rax, rsp
mov qword [rbp + 0x1b10], rax
mov r14, rdx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x80], 0x68
lea rax, [rbp + 0x110]
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], 0x100
lea rax, [rbp + 0x310]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], 0x400
cmp qword [rcx + 0x18], 7
jbe 0x1411ac81b
mov rcx, qword [rcx]
lea r9, [rbp - 0x80]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x1411acac3
xor r15d, r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400f07a8]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rdi, rax
test rax, rax
je 0x1411acac3
xor r9d, r9d
movzx r8d, word [rbp - 0x5c]
mov rdx, qword [rbp - 0x68]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rsi, rax
test rax, rax
je 0x1411acaba
mov edx, 0x1bb
mov eax, r15d
mov ecx, 0x800000
cmp word [rbp - 0x5c], dx
cmove eax, ecx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, qword [rbp - 0x38]
lea rdx, [0x1400f07d0]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbx, rax
test rax, rax
je 0x1411acab1
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x1411acaa8
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1411acaa8
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x10]
call fcn.1413415a0
cmp qword [r14 + 0x18], 7
jbe 0x1411ac917
mov r14, qword [r14]
mov rdx, r14
lea rcx, [rbp - 0x10]
call fcn.1411ae470
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea r14, [0x1411a0118]
mov qword [rbp + rcx - 0x10], r14
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x14], edx
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx], 6
mov rcx, rbx
je 0x1411ac97a
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor bl, bl
jmp 0x1411aca3b
lea r9, [rbp + 0x100]
mov r8d, 0x1000
lea rdx, [rbp + 0xb10]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1411ac9de
nop dword [rax + rax]
mov eax, dword [rbp + 0x100]
test eax, eax
je 0x1411ac9de
mov r8d, eax
lea rdx, [rbp + 0xb10]
lea rcx, [rbp - 0x10]
call fcn.1411ada90
lea r9, [rbp + 0x100]
mov r8d, 0x1000
lea rdx, [rbp + 0xb10]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x1411ac9a0
lea rcx, [rbp - 8]
call fcn.1411ae370
test rax, rax
jne 0x1411aca1e
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx + 0x38], 0
cmovne eax, edx
or eax, dword [rbp + rcx]
and eax, 0x17
mov dword [rbp + rcx], eax
mov edx, dword [rbp + rcx + 4]
and edx, eax
jne 0x1411acaeb
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov bl, 1
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x10], r14
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp - 8]
call fcn.1411ad7c0
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [0x1411a0158]
mov qword [rbp + rcx - 0x10], rax
mov rcx, qword [rbp - 0x10]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x10]
mov dword [rbp + rdx - 0x14], r8d
lea rax, [0x1411a0088]
mov qword [rbp + 0x98], rax
lea rcx, [rbp + 0x98]
call fcn.141315378
nop
movzx eax, bl
jmp 0x1411acac5
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor al, al
mov rcx, qword [rbp + 0x1b10]
xor rcx, rsp
call fcn.1413164a0
mov rbx, qword [rsp + 0x1c60]
add rsp, 0x1c20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
test dl, 4
je 0x1411acaf9
lea rbx, [0x14119ffa0]
jmp 0x1411acb0e
test dl, 2
lea rbx, [0x14119ffb8]
lea rax, [0x14119ffd0]
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.1411abe40
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1411ac630
lea rdx, [0x14136c168]
lea rcx, [rsp + 0x50]
call fcn.1413187f0
int3