Function at 0x140118620
Capabilities:
Receive http response

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xf8]
sub rsp, 0x1f0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401b4048]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rbx, rcx
lea rcx, [rbp - 0x70]
call fcn.14004c7f0
nop
mov rax, qword [rbx + 0x28]
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8d, dword [rbp - 0x60]
mov rcx, qword [rax]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x1401188a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x60], xmm1
mov word [rsp + 0x50], di
lea r8d, [rdi + 0x12]
lea rdx, [0x14016a880]
lea rcx, [rsp + 0x50]
call fcn.140012d60
nop
mov r9b, 1
mov r8d, ebx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140058300
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14011872c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140118727
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140118c08
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], di
lea rdx, str.CINetRequestItem::SendRequestWinHTTP:___1_
lea rcx, [rbp - 0x30]
call fcn.140008a10
nop
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x50], rcx
lea rcx, [fcn.140005090]
mov qword [rsp + 0x58], rcx
lea rcx, [0x1400050b0]
mov qword [rsp + 0x60], rcx
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140005380
mov rcx, rax
lea rdx, [rbp - 0x50]
call fcn.140018cb0
nop
mov rcx, rax
call fcn.14011d9d0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1401187d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401187d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140118c0e
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], di
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x40], rax
cmp byte [rbp + 0xc0], 0
je 0x14011882a
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x140118823
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140118823
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
mov byte [rbp + 0xc0], 0
lea rcx, [rbp + 0x40]
call fcn.14000ab20
nop
lea rcx, [rbp + 0x18]
call fcn.1400122c0
nop
lea rax, [rbp - 0x18]
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x18]
call fcn.14000b3d0
nop
lea rcx, [rbp - 0x30]
call fcn.14000b440
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140118b73
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140118b6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140118c02
jmp 0x140118b6e
mov rax, qword [rbx + 0x28]
xor edx, edx
mov rcx, qword [rax]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140118956
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x60], xmm1
mov word [rsp + 0x50], di
mov r8d, 0x38
lea rdx, str.CINetRequestItem::SendRequestWinHTTP:__response_received
lea rcx, [rsp + 0x50]
call fcn.140012d60
nop
lea rcx, [rsp + 0x50]
call fcn.14011d9d0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14011893c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140118937
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140118c14
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], di
mov ebx, edi
jmp 0x140118b8a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xorps xmm0, xmm0
movdqa xmm1, xmmword [0x14013b000]
mov word [rsp + 0x50], di
lea rcx, [rsp + 0x50]
movdqu xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x60], xmm1
cmp eax, 0x2f00
jne 0x140118a03
mov r8d, 0x3e
lea rdx, str.CINetRequestItem::SendRequestWinHTTP:__resend_request_received
call fcn.140012d60
nop
lea rcx, [rsp + 0x50]
call fcn.14011d9d0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1401189e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401189e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140118c1a
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], di
mov ebx, 1
jmp 0x140118b8a
mov r8d, 0x16
lea rdx, [0x14016aa10]
call fcn.140012d60
nop
mov r9b, 1
mov r8d, ebx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140058300
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140118a6e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140118a69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140118c20
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], di
lea rdx, str.CINetRequestItem::SendRequestWinHTTP:___1_
lea rcx, [rbp - 0x30]
call fcn.140008a10
nop
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x50], rcx
lea rcx, [fcn.140005090]
mov qword [rsp + 0x58], rcx
lea rcx, [0x1400050b0]
mov qword [rsp + 0x60], rcx
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140005380
mov rcx, rax
lea rdx, [rbp - 0x50]
call fcn.140018cb0
nop
mov rcx, rax
call fcn.14011d9d0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140118b17
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140118b12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140118c26
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], di
lea rcx, [rbp - 0x30]
call fcn.14000ac40
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140118b73
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140118b6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140118c2c
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
mov ebx, 4
mov word [rsp + 0x70], di
movdqu xmmword [rbp - 0x80], xmm0
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140118bc6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140118bc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140118bfc
call fcn.1400bece8
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], di
mov eax, ebx
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400bf400
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
int3
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
int3