Function at 0x1400e3858
Capabilities:
Read http header
Receive http response

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14014d030]
xor rax, rsp
mov qword [rbp - 0x10], rax
and dword [rbp - 0x40], 0
mov r14d, edx
and dword [rbp - 0x28], 0
mov rdi, rcx
call fcn.1400e1bd4
mov rcx, qword [rdi + 0x10]
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov rcx, rdi
mov ebx, eax
call fcn.1400e1c24
test ebx, ebx
jne 0x1400e3903
call sub.KERNEL32.dll_GetLastError
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov rcx, qword [0x14014dd40]
lea rsi, [0x14014dd40]
cmp rcx, rsi
je 0x1400e3ab7
test byte [rcx + 0x1c], 1
je 0x1400e3ab7
mov edx, 0x48
mov r9d, ebx
mov rcx, qword [rcx + 0x10]
lea r8, [0x140129d70]
call fcn.1400036d4
jmp 0x1400e3ab7
mov rcx, rdi
call fcn.1400e1f40
mov ebx, eax
test eax, eax
jns 0x1400e393c
mov rcx, qword [0x14014dd40]
lea rsi, [0x14014dd40]
cmp rcx, rsi
je 0x1400e3ab7
test byte [rcx + 0x1c], 1
je 0x1400e3ab7
mov edx, 0x49
mov r9d, eax
jmp 0x1400e38ee
mov rcx, rdi
mov dword [rbp - 0x40], 4
call fcn.1400e1bd4
and qword [rsp + 0x28], 0
lea rax, [rbp - 0x40]
mov rcx, qword [rdi + 0x10]
lea r9, [rdi + 0x360]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x20000013
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
lea rsi, [0x14014dd40]
mov ebx, eax
test eax, eax
je 0x1400e3a59
test r14d, r14d
je 0x1400e3a59
and qword [rsp + 0x28], 0
lea rax, [rbp - 0x38]
mov rcx, qword [rdi + 0x10]
lea r9, [rbp - 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x4000000b
mov dword [rbp - 0x38], reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov ebx, eax
test eax, eax
jne 0x1400e39fa
mov rax, qword [0x14014dd40]
cmp rax, rsi
je 0x1400e39f3
test byte [rax + 0x1c], 1
je 0x1400e39f3
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [0x14014dd40]
lea edx, [rbx + 0x4a]
mov r9d, eax
lea r8, [0x140129d70]
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
mov ebx, 1
jmp 0x1400e3a59
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
jne 0x1400e3a42
mov rax, qword [0x14014dd40]
cmp rax, rsi
je 0x1400e3a42
test byte [rax + 0x1c], 1
je 0x1400e3a42
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [0x14014dd40]
lea r8, [0x140129d70]
mov r9d, eax
mov edx, 0x4b
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
mov eax, dword [rbp - 0x2c]
mov dword [rbp - 0x34], eax
mov eax, dword [rbp - 0x30]
mov dword [rbp - 0x38], eax
mov rax, qword [rbp - 0x38]
mov qword [rdi + 0x380], rax
mov rcx, rdi
call fcn.1400e1c24
test ebx, ebx
jne 0x1400e3ab5
call sub.KERNEL32.dll_GetLastError
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov rcx, qword [0x14014dd40]
cmp rcx, rsi
je 0x1400e3ab7
test byte [rcx + 0x1c], 1
je 0x1400e3ab7
mov eax, dword [rbp - 0x40]
lea r8, [0x140129d70]
mov rcx, qword [rcx + 0x10]
mov edx, 0x51
mov r9d, ebx
mov dword [rsp + 0x20], eax
call fcn.14000574c
jmp 0x1400e3ab7
xor ebx, ebx
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140106ed0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret