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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r15, r8
mov r12, rdx
xor r13d, r13d
mov r14d, r13d
mov dword [rbp - 0x3c], r13d
mov ebx, r13d
mov qword [rbp - 0x28], rbx
mov edi, r13d
mov dword [rbp - 0x40], r13d
mov qword [rsp + 0x28], r13
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 0x13]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x14000c7c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x14000c7c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x14000c811
movzx edi, ax
or edi, 0x80070000
jmp 0x14000c811
mov ecx, dword [rbp - 0x40]
call fcn.140059d40
mov rsi, rax
mov qword [rsp + 0x28], r13
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9, rsi
xor r8d, r8d
lea edx, [r8 + 0x13]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x14000c832
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x14000c809
movzx edi, ax
or edi, 0x80070000
mov rcx, rsi
call fcn.140059d2c
mov r13d, 0xffffffff
lea r9, [0x14007ab00]
test edi, edi
js 0x14000ca04
xor edi, edi
test rbx, rbx
je 0x14000c881
mov rdx, qword [rbx]
jmp 0x14000c884
mov ecx, 0x18
call fcn.14004bd50
mov rbx, rax
mov qword [rbp - 0x20], rax
test rax, rax
je 0x14000c86f
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x14000c872
test rsi, rsi
jne 0x14000cb86
jmp 0x14000c872
mov rbx, r13
mov qword [rbp - 0x28], rbx
test rbx, rbx
je 0x14000cb91
jmp 0x14000c809
mov rdx, rdi
mov rcx, rdi
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r9 + rcx*2 - 2]
jne 0x14000ca06
cmp rcx, 4
jne 0x14000c890
nop dword [rax]
mov dword [rbp + 0x48], edi
lea rdx, [rbp + 0x48]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x14000c9f2
mov ecx, dword [rbp + 0x48]
inc ecx
call fcn.14004bfc4
mov rsi, rax
test rax, rax
je 0x14000c9e6
mov r8d, dword [rbp + 0x48]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.14004e310
lea r9, [rbp - 0x3c]
mov r8d, dword [rbp + 0x48]
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x14000c915
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
jmp 0x14000c9d3
mov ecx, 0x18
call fcn.14004bd50
mov rbx, rax
mov qword [rbp - 0x18], rax
test rax, rax
je 0x14000c943
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
mov rcx, rsi
call fcn.14004dff0
mov qword [rbx], rax
jmp 0x14000c946
mov rbx, rdi
mov qword [rbp - 0x20], rbx
test rbx, rbx
je 0x14000cb7b
mov ecx, 0x18
call fcn.14004bd50
mov qword [rbp - 0x10], rax
test rax, rax
je 0x14000c978
lea r8, [rbp - 0x20]
mov rdx, r15
mov rcx, rax
call fcn.140006f00
mov rdi, rax
test rdi, rdi
je 0x14000cb9c
mov rcx, r15
call fcn.1400053c0
mov qword [r15], rdi
mov eax, r13d
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14000c9d1
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000c9ae
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
xor edi, edi
mov qword [rbx], rdi
jmp 0x14000c9b0
xor edi, edi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000c9c2
call fcn.14004bd8c
mov qword [rbx + 8], rdi
mov edx, 0x18
mov rcx, rbx
call fcn.14004bd8c
jmp 0x14000c9d3
xor edi, edi
mov rcx, rsi
call fcn.14004bd8c
cmp dword [rbp + 0x48], 0
jbe 0x14000c9fb
jmp 0x14000c8b0
mov dword [rbp + 0x48], edi
mov rbx, qword [rbp - 0x28]
jmp 0x14000cb15
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rbx, qword [rbp - 0x28]
jmp 0x14000cb15
xor edi, edi
test rbx, rbx
je 0x14000ca10
mov rdx, qword [rbx]
jmp 0x14000ca13
mov rdx, rdi
mov rcx, rdi
lea r8, [0x14007ab10]
nop dword [rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x14000ca40
cmp rcx, 4
jne 0x14000ca20
mov r14d, 0xe8
jmp 0x14000cb15
mov qword [rbp - 0x30], rbx
test rbx, rbx
je 0x14000ca56
lock inc dword [rbx + 0x10]
mov rbx, qword [rbp - 0x28]
mov rdx, qword [rbx]
jmp 0x14000ca59
mov rdx, rdi
mov rcx, rdi
nop dword [rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r9 + rcx*2 - 2]
jne 0x14000ca86
cmp rcx, 4
jne 0x14000ca60
lea rcx, [rbp - 0x30]
call fcn.1400053c0
mov r14d, edi
jmp 0x14000cb15
test rbx, rbx
je 0x14000ca90
mov rdx, qword [rbx]
jmp 0x14000ca93
mov rdx, rdi
mov rcx, rdi
lea r9, [0x14007ab08]
nop dword [rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r9 + rcx*2 - 2]
jne 0x14000cac6
cmp rcx, 4
jne 0x14000caa0
lea rcx, [rbp - 0x30]
call fcn.1400053c0
mov r14d, 5
jmp 0x14000cb15
test rbx, rbx
je 0x14000cad0
mov rdx, qword [rbx]
jmp 0x14000cad3
mov rdx, rdi
mov rcx, rdi
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x14000cb06
cmp rcx, 4
jne 0x14000cae0
lea rcx, [rbp - 0x30]
call fcn.1400053c0
mov r14d, 0x5b4
jmp 0x14000cb15
lea rcx, [rbp - 0x30]
call fcn.1400053c0
mov r14d, 0x1f
test rbx, rbx
je 0x14000cb5a
lock xadd dword [rbx + 0x10], r13d
cmp r13d, 1
jne 0x14000cb5a
mov rbx, qword [rbp - 0x28]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000cb3b
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000cb4d
call fcn.14004bd8c
mov qword [rbx + 8], rdi
mov edx, 0x18
mov rcx, rbx
call fcn.14004bd8c
mov eax, r14d
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x8007000e
call fcn.14004dd40
nop
mov ecx, 0x8007000e
call fcn.14004dd40
nop
mov ecx, 0x8007000e
call fcn.14004dd40
nop
mov ecx, 0x8007000e
call fcn.14004dd40
int3