Function at 0x14011ca40
Capabilities:
Receive http response
Send data
Send http request

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x260], rbx
mov rax, qword [0x1401b4048]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r13, rdx
mov rsi, rcx
xor r12d, r12d
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
lea r14, [rcx + 0x1f8]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 8]
test al, al
jne 0x14011cb35
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movdqa xmm1, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x78], xmm1
mov word [rsp + 0x68], r12w
lea r8d, [r12 + 0x3f]
lea rdx, str.CUploadRequestItem::PerformRequest:__m_Source.Initialize_failed
lea rcx, [rsp + 0x68]
call fcn.140012d60
nop
lea rcx, [rsp + 0x68]
call fcn.14011d9d0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14011cbcc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011cbc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011d5d4
jmp 0x14011cbc7
mov rax, qword [r14]
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [rax + 0x10]
test al, al
jne 0x14011cbea
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movdqa xmm1, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x78], xmm1
mov word [rsp + 0x68], r12w
mov r8d, 0x2f
lea rdx, str.SendRequestWinHTTP:__failed_to_read_first_chunk
lea rcx, [rsp + 0x68]
call fcn.140012d60
nop
lea rcx, [rsp + 0x68]
call fcn.14011d9d0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14011cbcc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011cbc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011d5e0
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
mov word [rsp + 0x68], r12w
movdqu xmmword [rsp + 0x78], xmm0
mov ebx, 4
jmp 0x14011d578
mov rdi, qword [rsi + 0x260]
sub rdi, qword [rsi + 0x258]
mov r15, qword [rsi + 0x278]
sub r15, qword [rsi + 0x270]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x20]
add r15, rax
add r15, rdi
mov rdx, r13
lea rcx, [rbp - 0x38]
call fcn.14004c7f0
nop
mov rcx, qword [rsi + 0x258]
mov r8, qword [rsi + 0x260]
mov r9, rcx
cmp rcx, r8
cmove r9, r12
sub r8d, ecx
mov rcx, qword [rsi + 0x28]
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r8d
mov r8d, dword [r13 + 0x10]
mov rcx, qword [rcx]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x14011ce22
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movdqa xmm1, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x78], xmm1
mov word [rsp + 0x68], r12w
mov r8d, 0x12
lea rdx, [0x14016a880]
lea rcx, [rsp + 0x68]
call fcn.140012d60
nop
mov r9b, 1
mov r8d, ebx
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x78]
call fcn.140058300
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14011cd06
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011cd01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011d5e6
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r12w
lea rdx, str.SendRequestWinHTTP:___1_
lea rcx, [rbp - 0x10]
call fcn.140008a10
nop
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x68], rcx
lea rcx, [fcn.140005090]
mov qword [rsp + 0x70], rcx
lea rcx, [0x1400050b0]
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.140005380
mov rcx, rax
lea rdx, [rbp - 0x58]
call fcn.140018cb0
nop
mov rcx, rax
call fcn.14011d9d0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x14011cdaf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011cdaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011d5ec
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r12w
lea rcx, [rbp - 0x10]
call fcn.14000ac40
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x14011ce0b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011ce06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011d5f2
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r12w
jmp 0x14011d547
mov ebx, r12d
mov dword [rsp + 0x40], r12d
nop word [rax + rax]
mov rcx, qword [rsi + 0x28]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
sub r8, rdx
lea r9, [rsp + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
je 0x14011d39d
mov rcx, qword [rsp + 0x50]
sub rcx, qword [rsp + 0x48]
mov edx, dword [rsp + 0x40]
cmp rdx, rcx
jne 0x14011d39d
add ebx, edx
mov rax, qword [rsi]
mov r10, qword [rax + 0x20]
mov eax, ebx
mov qword [rsp + 0x20], rax
mov r9, r15
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call r10
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
test al, al
jne 0x14011d2fe
mov rax, qword [r14]
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [rax + 0x10]
test al, al
jne 0x14011ce30
mov ebx, dword [rsi + 0x278]
sub ebx, dword [rsi + 0x270]
je 0x14011d096
mov rdx, qword [rsi + 0x270]
cmp rdx, qword [rsi + 0x278]
cmove rdx, r12
mov rax, qword [rsi + 0x28]
lea r9, [rsp + 0x40]
mov r8d, ebx
mov rcx, qword [rax]
call qword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
je 0x14011cef6
cmp dword [rsp + 0x40], ebx
je 0x14011d096
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movdqa xmm1, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x78], xmm1
mov word [rsp + 0x68], r12w
mov r8d, 0x10
lea rdx, [0x14016b838]
lea rcx, [rsp + 0x68]
call fcn.140012d60
nop
mov r9b, 1
mov r8d, ebx
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x78]
call fcn.140058300
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14011cf89
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011cf84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011d5f8
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r12w
lea rdx, str.SendRequestWinHTTP:___1_
lea rcx, [rbp - 0x10]
call fcn.140008a10
nop
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x68], rcx
lea rcx, [fcn.140005090]
mov qword [rsp + 0x70], rcx
lea rcx, [0x1400050b0]
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.140005380
mov rcx, rax
lea rdx, [rbp - 0x58]
call fcn.140018cb0
nop
mov rcx, rax
call fcn.14011d9d0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x14011d032
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011d02d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011d5fe
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r12w
lea rcx, [rbp - 0x10]
call fcn.14000ac40
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x14011ce0b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011ce06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011d5da
jmp 0x14011ce06
mov rax, qword [rsi + 0x28]
xor edx, edx
mov rcx, qword [rax]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x14011d14a
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movdqa xmm1, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x78], xmm1
mov word [rsp + 0x68], r12w
mov r8d, 0x26
lea rdx, str.SendRequestWinHTTP:__response_received
lea rcx, [rsp + 0x68]
call fcn.140012d60
nop
lea rcx, [rsp + 0x68]
call fcn.14011d9d0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14011d12e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011d129
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011d604
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r12w
mov ebx, r12d
jmp 0x14011d54c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xorps xmm0, xmm0
movdqa xmm1, xmmword [0x14013b000]
mov word [rsp + 0x68], r12w
lea rcx, [rsp + 0x68]
movdqu xmmword [rsp + 0x78], xmm0
movdqu xmmword [rsp + 0x78], xmm1
cmp eax, 0x2f00
jne 0x14011d1f8
mov r8d, 0x2c
lea rdx, str.SendRequestWinHTTP:__resend_request_received
call fcn.140012d60
nop
lea rcx, [rsp + 0x68]
call fcn.14011d9d0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14011d1da
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011d1d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011d60a
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r12w
mov ebx, 1
jmp 0x14011d54c
mov r8d, 0x16
lea rdx, [0x14016aa10]
call fcn.140012d60
nop
mov r9b, 1
mov r8d, ebx
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x78]
call fcn.140058300
nop
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x14011d23c
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.140013990
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r12w
lea rdx, str.SendRequestWinHTTP:___1_
lea rcx, [rbp - 0x10]
call fcn.140008a10
nop
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x68], rcx
lea rcx, [fcn.140005090]
mov qword [rsp + 0x70], rcx
lea rcx, [0x1400050b0]
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.140005380
mov rcx, rax
lea rdx, [rbp - 0x58]
call fcn.140018cb0
nop
mov rcx, rax
call fcn.14011d9d0
nop
mov r8, qword [rbp - 0x40]
cmp r8, 8
jb 0x14011d2bf
inc r8
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x58]
call fcn.140013990
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r12w
lea rcx, [rbp - 0x10]
call fcn.14000ac40
nop
mov r8, qword [rbp - 0x60]
cmp r8, 8
jb 0x14011ce0b
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.140013990
jmp 0x14011ce0b
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movdqa xmm1, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x78], xmm1
mov word [rsp + 0x68], r12w
mov r8d, 0x26
lea rdx, str.SendRequestWinHTTP:__request_cancelled
lea rcx, [rsp + 0x68]
call fcn.140012d60
nop
lea rcx, [rsp + 0x68]
call fcn.14011d9d0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14011d37f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011d37a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011d610
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r12w
mov ebx, 3
jmp 0x14011d54c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movdqa xmm1, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x78], xmm1
mov word [rsp + 0x68], r12w
mov r8d, 0x10
lea rdx, [0x14016b838]
lea rcx, [rsp + 0x68]
call fcn.140012d60
nop
mov r9b, 1
mov r8d, ebx
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x58]
call fcn.140058300
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14011d430
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011d42b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011d616
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r12w
lea rdx, str.SendRequestWinHTTP:___1_
lea rcx, [rbp - 0x10]
call fcn.140008a10
nop
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x68], rcx
lea rcx, [fcn.140005090]
mov qword [rsp + 0x70], rcx
lea rcx, [0x1400050b0]
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.140005380
mov rcx, rax
lea rdx, [rbp - 0x78]
call fcn.140018cb0
nop
mov rcx, rax
call fcn.14011d9d0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x14011d4d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011d4d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011d61c
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r12w
lea rcx, [rbp - 0x10]
call fcn.14000ac40
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x14011d535
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011d530
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011d5ce
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r12w
mov ebx, 4
mov r8, qword [rbp - 0x20]
cmp r8, 8
jb 0x14011d566
inc r8
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x38]
call fcn.140013990
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], r12w
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14011d5a2
mov r8, qword [rsp + 0x58]
sub r8, rdx
lea rcx, [rsp + 0x48]
call fcn.140013870
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov eax, ebx
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1400bf400
mov rbx, qword [rsp + 0x260]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
int3
call fcn.1400e9e3c
int3
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
int3