Function at 0x140016308
Capabilities:
Create http request
Parse url

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov rax, qword [0x140176810]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor r12d, r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
lea r14, [rcx + 0x18]
lea r15d, [r12 + 0x68]
mov r8d, r15d
xor edx, edx
mov rcx, r14
call fcn.1400ddc70
mov dword [r14], r15d
or eax, 0xffffffff
mov dword [rdi + 0x28], eax
mov dword [rdi + 0x38], eax
mov dword [rdi + 0x68], eax
mov dword [rdi + 0x78], eax
mov eax, 0xffff
mov word [rdi + 0x3c], ax
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x140016389
mov rbx, qword [rbx]
mov r9, r14
xor r8d, r8d
mov edx, eax
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x1400163a5
xor al, al
jmp 0x140016542
mov rbx, qword [rdi + 0x30]
mov r15d, 7
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x38], r12
mov word [rbp - 0x48], r12w
cmp word [rbx], r12w
jne 0x1400163c7
mov rax, r12
jmp 0x1400163cf
mov rcx, rbx
call fcn.1400ded00
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.140010250
nop
mov r9d, dword [rdi + 0x38]
xor r8d, r8d
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x48]
call fcn.140013198
mov r14, rax
lea rbx, [rdi + 0x80]
cmp rbx, rax
je 0x140016428
cmp qword [rbx + 0x18], 8
jb 0x140016411
mov rcx, qword [rbx]
call fcn.1400400f0
mov qword [rbx + 0x18], r15
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
mov rdx, r14
mov rcx, rbx
call fcn.140010474
cmp qword [rbp - 0x10], 8
jb 0x140016438
mov rcx, qword [rbp - 0x28]
call fcn.1400400f0
mov qword [rbp - 0x10], r15
mov qword [rbp - 0x18], r12
mov word [rbp - 0x28], r12w
cmp qword [rbp - 0x30], 8
jb 0x140016455
mov rcx, qword [rbp - 0x48]
call fcn.1400400f0
mov rbx, qword [rdi + 0x60]
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x38], r12
mov word [rbp - 0x48], r12w
cmp word [rbx], r12w
jne 0x140016471
mov rax, r12
jmp 0x140016479
mov rcx, rbx
call fcn.1400ded00
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.140010250
nop
mov r9d, dword [rdi + 0x68]
xor r8d, r8d
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x48]
call fcn.140013198
mov r14, rax
lea rbx, [rdi + 0xa0]
cmp rbx, rax
je 0x1400164d2
cmp qword [rbx + 0x18], 8
jb 0x1400164bb
mov rcx, qword [rbx]
call fcn.1400400f0
mov qword [rbx + 0x18], r15
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
mov rdx, r14
mov rcx, rbx
call fcn.140010474
cmp qword [rbp - 0x10], 8
jb 0x1400164e2
mov rcx, qword [rbp - 0x28]
call fcn.1400400f0
mov qword [rbp - 0x10], r15
mov qword [rbp - 0x18], r12
mov word [rbp - 0x28], r12w
cmp qword [rbp - 0x30], 8
jb 0x1400164ff
mov rcx, qword [rbp - 0x48]
call fcn.1400400f0
cmp qword [rsi + 0x18], 8
jb 0x140016509
mov rsi, qword [rsi]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rdi], rax
test rax, rax
je 0x14001639e
lea rdx, [fcn.140006740]
test rdx, rdx
je 0x140016540
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov al, 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400dc400
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret