Function at 0x14008fa20
Capabilities:
Prepare http request
Receive http response
Set http header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc88]
sub rsp, 0xd88
mov rax, qword [0x14014d130]
xor rax, rsp
mov qword [rbp + 0xc70], rax
mov r14, r9
mov r13, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov qword [rbp - 0x20], rdx
mov r15, qword [rbp + 0xcf0]
xor r12b, r12b
cmp qword [rcx], 0
jne 0x14008fa81
mov rcx, rdx
call fcn.140083c70
xor al, al
jmp 0x14008ffe6
xor esi, esi
mov qword [rbp + 8], rsi
movdqa xmm0, xmmword [0x1400fd950]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], si
mov qword [rbp - 0x18], rsi
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], si
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x18]
lea rdx, [rbp + 8]
mov rcx, rdi
call fcn.14008f540
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x30]
call fcn.1400c4250
xor edx, edx
mov r8d, 0xa28
lea rcx, [rbp + 0x240]
call fcn.1400c4250
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov dword [rsp + 0x70], 0x68
lea rax, [rbp + 0x30]
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x70], 0x104
lea rax, [rbp + 0x240]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], 0x514
mov eax, 1
mov dword [rbp - 0x80], eax
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14008fb3f
mov rcx, qword [rdi]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, dword [rdi + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x14008fef6
lea rax, [rbp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14008fb63
lea rdx, [rbp + 0x30]
mov rcx, rdi
call fcn.1400873a0
xor r9d, r9d
movzx r8d, word [rbp - 0x6c]
lea rdx, [rbp + 0x30]
mov rcx, qword [rbx]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rsi, rax
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14008fc91
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x14008fbe0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008fbdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009001b
call fcn.1400c1520
movdqa xmm0, xmmword [0x1400fd950]
movdqu xmmword [rbp - 8], xmm0
xor ebx, ebx
mov word [rbp - 0x18], bx
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x14008fc33
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008fc2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009000f
call fcn.1400c1520
movdqa xmm0, xmmword [0x1400fd950]
mov word [rbp + 8], bx
movdqu xmmword [rbp + 0x18], xmm0
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14008fc83
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x14008fc7e
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140090021
mov rcx, r8
call fcn.1400c1520
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
xor al, al
jmp 0x14008ffde
lea rax, [0x1400fd8a8]
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x60], rax
mov ecx, 0x800000
cmp dword [rbp - 0x7c], 2
cmove eax, ecx
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x20], rax
lea r9, str.HTTP_1.1
mov r8, qword [rbp - 0x48]
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r14, rax
test rax, rax
jne 0x14008fd85
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x14008fd2a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008fd25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009001b
call fcn.1400c1520
movdqa xmm0, xmmword [0x1400fd950]
movdqu xmmword [rbp - 8], xmm0
xor ebx, ebx
mov word [rbp - 0x18], bx
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x14008fc33
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008fc2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009000f
jmp 0x14008fc2e
cmp dword [rbp - 0x7c], 2
jne 0x14008fdab
mov dword [rsp + 0x44], 0x3100
mov r9d, 4
lea r8, [rsp + 0x44]
lea edx, [r9 + 0x1b]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov r9d, 1
mov r8d, 0xffffffff
lea rdx, str.Content_Type:_application_x_www_form_urlencoded
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
je 0x14008fee2
mov qword [rsp + 0x30], 0
mov eax, dword [rbp + 0xcf8]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r9, r15
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x14008fee2
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x14008fee2
xor eax, eax
mov r15d, eax
movzx ebx, byte [rsp + 0x40]
nop dword [rax]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x14008fec4
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14008fec4
lea ecx, [rax + 1]
call fcn.1400cbf48
mov rsi, rax
mov r8d, dword [rsp + 0x40]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.1400c4250
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x14008feb7
mov r9d, dword [rsp + 0x40]
add r9, rsi
mov rdx, qword [r13 + 8]
mov byte [rsp + 0x20], bl
mov r8, rsi
mov rcx, r13
call fcn.14008ee00
add r15d, dword [rsp + 0x44]
mov rcx, rsi
call fcn.1400c8178
cmp dword [rsp + 0x40], 0
mov eax, 0
ja 0x14008fe20
jmp 0x14008fec4
test rsi, rsi
je 0x14008fec4
mov rcx, rsi
call fcn.1400c8178
mov rax, qword [rsp + 0x48]
mov dword [rax + 0x18], r15d
movzx r12d, r12b
test r15d, r15d
mov eax, 1
cmovne r12d, eax
mov rsi, qword [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor esi, esi
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x14008ff36
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ff31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140090027
call fcn.1400c1520
movdqa xmm0, xmmword [0x1400fd950]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], si
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x14008ff87
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ff82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140090009
call fcn.1400c1520
movdqa xmm0, xmmword [0x1400fd950]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], si
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14008ffd3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14008ffce
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140090015
mov rcx, r8
call fcn.1400c1520
mov qword [rdi + 0x10], rsi
mov word [rdi], si
movzx eax, r12b
mov qword [rdi + 0x18], 7
mov rcx, qword [rbp + 0xc70]
xor rcx, rsp
call fcn.1400c1500
add rsp, 0xd88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400c8598
nop
call fcn.1400c8598
nop
call fcn.1400c8598
nop
call fcn.1400c8598
nop
call fcn.1400c8598
nop
call fcn.1400c8598
int3