Function at 0x140011660
Capabilities:
Receive http response

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rax, qword [0x140067080]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r12, rdx
mov r15, rcx
mov qword [rbp - 1], rcx
xor r13d, r13d
xor edx, edx
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x140011898
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, [rbp + 0x1c]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx ecx, dl
shl cl, 2
lea eax, [rcx + rdx]
add al, al
sub r8b, al
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x1400116c0
lea r8, [rbp + 0x1c]
mov rdx, r9
lea rcx, [rsp + 0x50]
call fcn.140002d60
nop
mov r8, qword [rbp - 0x79]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
sub rax, r8
mov r14d, 0x1f
lea rdi, str.WinHttpReceiveResponse_failed:
cmp rax, r14
jb 0x140011797
lea rax, [r8 + 0x1f]
mov qword [rbp - 0x79], rax
lea rbx, [rsp + 0x50]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x50]
lea rax, [0x14005b837]
cmp rax, rbx
jbe 0x14001175a
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x14001175a
cmp rbx, rdi
ja 0x140011752
mov rsi, r13
jmp 0x14001175d
mov rsi, rbx
sub rsi, rdi
jmp 0x14001175d
mov rsi, r14
lea rcx, [rbx + 0x1f]
inc r8
mov rdx, rbx
call fcn.14004a380
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.14004a380
lea rcx, [rbx + rsi]
sub r14, rsi
lea rdx, [rdi + 0x1f]
add rdx, rsi
mov r8, r14
call fcn.14004a380
lea rax, [rsp + 0x50]
jmp 0x1400117ae
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.14000fe00
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x21], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x11], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 2
lea rdx, [rbp - 0x21]
call fcn.140012800
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x140011826
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011821
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011d55
call fcn.140022abc
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], 0xf
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp - 0x71]
cmp rdx, 0xf
jbe 0x140011872
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001186d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011d5b
call fcn.140022abc
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r13
xor r8d, r8d
lea rdx, [0x14005a438]
mov rcx, r15
call fcn.140001920
jmp 0x140011d25
mov dword [rbp - 1], r13d
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov rbx, r13
mov qword [rbp - 0x11], rbx
mov r14d, 0xf
mov qword [rbp - 9], r14
mov byte [rbp - 0x21], bl
nop word [rax + rax]
mov dword [rbp - 0x25], r13d
lea rdx, [rbp - 0x25]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x140011b54
mov ecx, dword [rbp - 0x25]
inc ecx
call fcn.140022af0
mov rsi, rax
mov r8d, dword [rbp - 0x25]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.14004aa20
lea r9, [rbp - 1]
mov r8d, dword [rbp - 0x25]
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x14001197f
mov edi, dword [rbp - 1]
mov rax, r14
sub rax, rbx
cmp rdi, rax
ja 0x140011949
lea rax, [rbx + rdi]
mov qword [rbp - 0x11], rax
lea rax, [rbp - 0x21]
cmp r14, 0xf
cmova rax, qword [rbp - 0x21]
add rbx, rax
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call fcn.14004a380
mov byte [rbx + rdi], 0
jmp 0x140011960
mov qword [rsp + 0x20], rdi
mov r9, rsi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x21]
call fcn.140009290
mov rcx, rsi
call fcn.140022abc
cmp dword [rbp - 0x25], 0
jbe 0x140011d14
mov r14, qword [rbp - 9]
mov rbx, qword [rbp - 0x11]
jmp 0x1400118c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, [rbp + 0x1c]
nop dword [rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx ecx, dl
shl cl, 2
lea eax, [rcx + rdx]
add al, al
sub r8b, al
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140011990
lea r8, [rbp + 0x1c]
mov rdx, r9
lea rcx, [rbp - 0x69]
call fcn.140002d60
nop
mov r8, qword [rbp - 0x59]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
sub rax, r8
mov r12d, 0x18
lea rdi, str.WinHttpReadData_failed:
cmp rax, r12
jb 0x140011a63
lea rax, [r8 + 0x18]
mov qword [rbp - 0x59], rax
lea rbx, [rbp - 0x69]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x69]
lea rax, [0x14005b990]
cmp rax, rbx
jbe 0x140011a27
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x140011a27
cmp rbx, rdi
ja 0x140011a1f
mov r14, r13
jmp 0x140011a2a
mov r14, rbx
sub r14, rdi
jmp 0x140011a2a
mov r14, r12
lea rcx, [rbx + 0x18]
inc r8
mov rdx, rbx
call fcn.14004a380
mov r8, r14
mov rdx, rdi
mov rcx, rbx
call fcn.14004a380
lea rcx, [rbx + r14]
sub r12, r14
lea rdx, [rdi + 0x18]
add rdx, r14
mov r8, r12
call fcn.14004a380
lea rax, [rbp - 0x69]
jmp 0x140011a79
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rdi
mov rdx, r12
lea rcx, [rbp - 0x69]
call fcn.14000fe00
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 2
lea rdx, [rsp + 0x30]
call fcn.140012800
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140011af9
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011af4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011d61
call fcn.140022abc
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x140011b47
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011b42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011d67
call fcn.140022abc
mov rcx, rsi
call fcn.140022abc
jmp 0x140011d14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, [rbp + 0x1c]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx ecx, dl
shl cl, 2
lea eax, [rcx + rdx]
add al, al
sub r8b, al
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140011b61
lea r8, [rbp + 0x1c]
mov rdx, r9
lea rcx, [rbp - 0x49]
call fcn.140002d60
nop
mov r8, qword [rbp - 0x39]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
sub rax, r8
mov r14d, 0x22
lea rdi, str.WinHttpQueryDataAvailable_failed:
cmp rax, r14
jb 0x140011c34
lea rax, [r8 + 0x22]
mov qword [rbp - 0x39], rax
lea rbx, [rbp - 0x49]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x49]
lea rax, [0x14005b972]
cmp rax, rbx
jbe 0x140011bf8
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x140011bf8
cmp rbx, rdi
ja 0x140011bf0
mov rsi, r13
jmp 0x140011bfb
mov rsi, rbx
sub rsi, rdi
jmp 0x140011bfb
mov rsi, r14
lea rcx, [rbx + 0x22]
inc r8
mov rdx, rbx
call fcn.14004a380
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.14004a380
lea rcx, [rbx + rsi]
sub r14, rsi
lea rdx, [rdi + 0x22]
add rdx, rsi
mov r8, r14
call fcn.14004a380
lea rax, [rbp - 0x49]
jmp 0x140011c4a
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov rdx, r14
lea rcx, [rbp - 0x49]
call fcn.14000fe00
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 2
lea rdx, [rsp + 0x30]
call fcn.140012800
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140011cca
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011cc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011d6d
call fcn.140022abc
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x140011d14
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011d0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011d4f
call fcn.140022abc
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp - 0x11]
movups xmmword [r15 + 0x10], xmm1
mov rax, r15
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140022a60
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14002994c
nop
call fcn.14002994c
nop
call fcn.14002994c
nop
call fcn.14002994c
nop
call fcn.14002994c
nop
call fcn.14002994c
int3