Function at 0x1400cba70
Capabilities:
Receive http response

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x110
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, rdx
mov rbx, rcx
xor r15d, r15d
cmp byte [rcx + 0x84], r15b
je 0x1400cbac8
mov eax, dword [rcx + 0xc8]
mov dword [rdx], eax
mov rax, qword [rcx + 0xd0]
mov qword [rdx + 8], rax
mov eax, dword [rcx + 0xd8]
mov dword [rdx + 0x10], eax
jmp 0x1400cbe11
cmp byte [rcx + 0x21], r15b
jne 0x1400cbae1
mov r8d, 0x2887699
mov rcx, rdi
call fcn.1400c0324
jmp 0x1400cbe11
mov rax, qword [rcx + 0x68]
mov qword [rcx + 0x70], rax
mov dword [rcx + 0x80], r15d
mov rdx, 0xffffffff80004005
mov r8d, 0x288769a
lea rcx, [rsp + 0x20]
call fcn.1400c0540
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r15
mov r14d, r15d
lea r12, [rbx + 0xf0]
mov dword [rbp + 0x60], r15d
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x40], r15d
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov eax, 1
lock xadd dword [rsp + 0x40], eax
mov rcx, qword [rbx + 0x58]
test rcx, rcx
jne 0x1400cbb6d
mov r8d, 0x288769b
lea rcx, [rbp - 0x28]
call fcn.1400c0324
mov ecx, dword [rax]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rax + 8]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x30], eax
jmp 0x1400cbbc6
lea rdx, [rbp + 0x60]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1400cbb8e
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x48], r15d
mov eax, r15d
mov rcx, r15
mov edx, r15d
jmp 0x1400cbbbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
mov r8d, 0x288769c
lea rcx, [rsp + 0x70]
call fcn.1400c69b4
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov edx, dword [rbp - 0x80]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], rcx
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x1400cbbec
or eax, 0xffffffff
lock xadd dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x1400cbbcb
mov esi, dword [rsp + 0x20]
test esi, esi
jne 0x1400cbd9d
mov eax, dword [rbp + 0x60]
lea rcx, [rsp + 0x58]
test eax, eax
je 0x1400cbd69
lea edx, [r14 + rax]
call fcn.14000cb58
mov dword [rbp + 0x68], r15d
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x50], r15d
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
lea eax, [rsi + 1]
lock xadd dword [rsp + 0x50], eax
mov rcx, qword [rbx + 0x58]
test rcx, rcx
jne 0x1400cbc60
mov r8d, 0x288769d
lea rcx, [rbp - 0x10]
call fcn.1400c0324
mov ecx, dword [rax]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rax + 8]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x30], eax
jmp 0x1400cbd32
mov edx, r14d
add rdx, qword [rsp + 0x58]
lea r9, [rbp + 0x68]
mov r8d, dword [rbp + 0x60]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
setne r15b
mov rsi, qword [rbx + 0x90]
test rsi, rsi
je 0x1400cbc93
lock inc dword [rsi + 8]
mov rsi, qword [rbx + 0x90]
mov rcx, qword [rbx + 0x88]
mov eax, dword [rbp + 0x68]
add dword [rcx + 0x14], eax
test rsi, rsi
je 0x1400cbcdf
or eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1400cbcdf
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x1400ee2b6.0]
or eax, 0xffffffff
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x1400cbcdf
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.0]
nop
test r15b, r15b
je 0x1400cbcfa
xor r15d, r15d
mov qword [rbp - 0x38], r15
mov dword [rbp - 0x30], r15d
mov eax, r15d
mov ecx, r15d
mov edx, r15d
jmp 0x1400cbd2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
or edx, 0x80070000
xor r15d, r15d
test eax, eax
cmovle edx, eax
mov r8d, 0x288769e
lea rcx, [rbp - 0x78]
call fcn.1400c69b4
mov eax, dword [rbp - 0x78]
mov rcx, qword [rbp - 0x70]
mov edx, dword [rbp - 0x68]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], rcx
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1400cbd58
or eax, 0xffffffff
lock xadd dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x1400cbd37
mov esi, dword [rsp + 0x20]
test esi, esi
jne 0x1400cbd9d
add r14d, dword [rbp + 0x68]
jmp 0x1400cbb1f
mov edx, r14d
call fcn.14000cb58
lea rdx, [rsp + 0x58]
lea rcx, [rbx + 0x68]
call fcn.1400ce440
mov dword [rbx + 0x80], r14d
lea rcx, [rbx + 0x120]
mov byte [rbp + 0x50], 0xa
mov r8b, 1
lea rdx, [rbp + 0x50]
call fcn.1400c502c
mov byte [rbx + 0x84], 1
mov dword [rbx + 0xc8], esi
mov rax, qword [rsp + 0x28]
mov qword [rbx + 0xd0], rax
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0xd8], eax
mov dword [rdi], esi
mov rax, qword [rbx + 0xd0]
mov qword [rdi + 8], rax
mov eax, dword [rbx + 0xd8]
mov dword [rdi + 0x10], eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400cbe11
mov rdx, rcx
mov rax, qword [rsp + 0x68]
sub rax, rcx
cmp rax, 0x1000
jb 0x1400cbe0b
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400cbe0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, rdi
mov rbx, qword [rsp + 0x158]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret