Function at 0x14001e520
Capabilities:
Receive http response

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1c8]
sub rsp, 0x2c8
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov rax, qword [0x140074020]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r14, r9
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
xor r15d, r15d
mov dword [rbp - 0x78], r15d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r15
cmp qword [rcx + 0x30], r15
jne 0x14001e587
mov qword [rdx], r15
mov qword [rdx + 8], r15
mov qword [rdx + 0x10], r15
jmp 0x14001e887
mov eax, 0xffffffff
cmp rbx, rax
cmova ebx, eax
mov dword [rsp + 0x44], ebx
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r15
mov rax, qword [rdi + 0x40]
test rax, rax
je 0x14001e5b4
cmp qword [rdi + 0x38], rax
jae 0x14001e68c
test ebx, ebx
je 0x14001e817
test r14, r14
je 0x14001e5d3
xor edx, edx
mov rcx, r14
call fcn.1400277f4
test al, al
jne 0x14001e6a4
mov dword [rsp + 0x4c], r15d
lea rdx, [rsp + 0x4c]
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x14001e770
mov ecx, dword [rsp + 0x4c]
test ecx, ecx
je 0x14001e68c
lea rax, [rsp + 0x4c]
lea rdx, [rsp + 0x44]
cmp ecx, ebx
cmovae rax, rdx
mov eax, dword [rax]
mov dword [rsp + 0x4c], eax
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.14001bdcc
mov dword [rsp + 0x40], r15d
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x14001e6c9
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.14001bdcc
mov ecx, dword [rsp + 0x40]
add qword [rdi + 0x38], rcx
cmp ebx, ecx
jae 0x14001e662
mov ebx, r15d
jmp 0x14001e664
sub ebx, ecx
mov dword [rsp + 0x44], ebx
xor eax, eax
mov byte [rsp + 0x20], al
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.14001cce8
jmp 0x14001e5a1
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14001e69b
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rdi + 0x30], r15
jmp 0x14001e817
mov edx, 1
lea rcx, [rbp + 0xd0]
call fcn.140027810
lea rdx, [0x140072500]
lea rcx, [rbp + 0xd0]
call fcn.14002c720
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x44], eax
lea rcx, [rbp - 0x60]
call fcn.14000a708
nop
lea rdx, str.WinHttpReadData_failed_with
mov rcx, rax
call fcn.14000da30
mov rcx, rax
lea rdx, [rsp + 0x44]
call fcn.14000dad8
mov rcx, rax
lea rdx, [rbp + 0xa8]
call fcn.14000a6ec
nop
lea rdx, [rdi + 0x48]
lea rcx, [rbp + 0x88]
call fcn.14000a7c0
movzx r8d, bx
or r8d, 0x80070000
test ebx, ebx
cmovle r8d, ebx
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x2b5
lea r9, str.srcgfehttpaccess.cpp
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0xd0]
call fcn.14001ddc0
lea rdx, [0x140072490]
lea rcx, [rbp + 0xd0]
call fcn.14002c720
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x44], eax
lea rcx, [rbp - 0x60]
call fcn.14000a708
nop
lea rdx, str.WinHttpQueryDataAvailable_failed_with
mov rcx, rax
call fcn.14000da30
mov rcx, rax
lea rdx, [rsp + 0x44]
call fcn.14000dad8
mov rcx, rax
lea rdx, [rbp + 0x88]
call fcn.14000a6ec
nop
lea rdx, [rdi + 0x48]
lea rcx, [rbp + 0xa8]
call fcn.14000a7c0
movzx r8d, bx
or r8d, 0x80070000
test ebx, ebx
cmovle r8d, ebx
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x296
lea r9, str.srcgfehttpaccess.cpp
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0xd0]
call fcn.14001ddc0
lea rdx, [0x140072490]
lea rcx, [rbp + 0xd0]
call fcn.14002c720
nop
mov rax, qword [rsp + 0x70]
mov qword [rsi], rax
mov rax, qword [rsp + 0x78]
mov qword [rsi + 8], rax
mov rax, qword [rbp - 0x80]
mov qword [rsi + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov rdx, r15
mov qword [rbp - 0x80], rdx
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001e86f
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov r8d, 1
call fcn.140004950
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r15
mov rdx, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001e887
sub rdx, rcx
mov r8d, 1
call fcn.140004950
mov rax, rsi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140027920
add rsp, 0x2c8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret