Function at 0x140126f50
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [rbp + 0x60]
xor r12d, r12d
movaps xmmword [rsp + 0x50], xmm6
movsd xmm6, qword [0x1401e9bc8]
mov r14, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov r15d, r12d
mov dword [rax], r12d
mov r13d, r12d
mov dword [rbp + 0x40], r12d
nop dword [rax]
mov eax, dword [rsi + 0x388]
mov ecx, 0x4000
test eax, eax
cmovne ecx, eax
mov rax, qword [rbx]
movsxd r9, ecx
cmp rax, 0xffffffffffffffff
je 0x140126fcd
cmp dword [rbx + 0x48], 0
jne 0x140126fcd
sub rax, qword [rbx + 0x20]
cmp rax, r9
cmovl r9, rax
test r9, r9
je 0x14012700b
mov r8, qword [rbx + 0xc0]
mov rdx, qword [rdi + 0x2c0]
lea rax, [rbp - 0x20]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.140126120
mov r15d, eax
cmp eax, 0x51
je 0x140127693
test eax, eax
jg 0x1401276c0
mov rcx, qword [rbp - 0x20]
jmp 0x140127012
mov rcx, r12
mov qword [rbp - 0x20], rcx
cmp qword [rbx + 0x20], 0
jne 0x1401270c0
cmp qword [rbx + 0x28], 0
jne 0x1401270c0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
mov ecx, edx
imul ecx, ecx, 0x3e8
sub r8d, ecx
mov rcx, qword [rsi + 0x6b8]
sub edx, ecx
mov rax, rcx
imul r8d, r8d, 0x3e8
shr rax, 0x20
sub r8d, eax
movd xmm0, edx
movd xmm1, r8d
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
divsd xmm1, xmm6
addsd xmm1, xmm0
movsd qword [rsi + 0x6a0], xmm1
cmp dword [rbx + 0xa4], 0
jle 0x1401270bc
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov dword [rbp - 0x18], edx
imul edx, edx, 0x3e8
sub ecx, edx
imul ecx, ecx, 0x3e8
mov dword [rbp - 0x14], ecx
mov rax, qword [rbp - 0x18]
mov qword [rbx + 0x9c], rax
mov rcx, qword [rbp - 0x20]
or dword [r14], 1
test rcx, rcx
jne 0x1401270da
cmp dword [rbx + 0xb8], ecx
jne 0x1401270d7
lea r12d, [rcx + 1]
jmp 0x1401270e0
test rcx, rcx
jle 0x14012768c
mov rax, qword [rbx + 0xc0]
mov byte [rcx + rax], 0
mov rax, qword [rbx + 0xc0]
mov qword [rbx + 0x68], rax
mov rax, qword [rdi + reloc.SHELL32.dll_IsUserAnAdmin]
mov r10, qword [rax + 0x60]
test r10, r10
je 0x14012712b
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x20]
mov rdx, rdi
mov rcx, rsi
call r10
mov r15d, eax
test eax, eax
jne 0x1401276c0
cmp dword [rbp + 0x40], eax
jne 0x140127693
cmp dword [rbx + 0x48], 0
je 0x140127202
lea r9, [rbp + 0x50]
lea r8, [rbp - 0x20]
mov rdx, rdi
mov rcx, rsi
mov dword [rbp + 0x50], 0
call fcn.14012e220
mov r15d, eax
test eax, eax
jne 0x1401276c0
mov rax, qword [rdi + reloc.SHELL32.dll_IsUserAnAdmin]
mov r10, qword [rax + 0x60]
test r10, r10
je 0x14012719f
cmp qword [rbx + 0x10], 0
jg 0x14012719f
mov rcx, qword [rbp - 0x20]
test rcx, rcx
jle 0x1401271a3
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x20]
mov rdx, rdi
mov rcx, rsi
call r10
mov r15d, eax
test eax, eax
jne 0x1401276c0
cmp dword [rbp + 0x40], eax
jne 0x140127693
mov rcx, qword [rbp - 0x20]
cmp dword [rbp + 0x50], 0
je 0x140127206
test rcx, rcx
jle 0x140127693
mov rax, qword [rdi]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x1401275bb
cmp dword [rdx + 0xb0], 0
je 0x1401275bb
mov r9, qword [rsi + 0x88e0]
mov r8, rcx
lea rdx, str.Rewinding_stream_by_:__zd_bytes_on_url__s__zero_length_body__n
mov rcx, rsi
call fcn.140125a80
mov rax, qword [rbp - 0x20]
mov dword [rdi + 0x288], 1
sub qword [rdi + 0x358], rax
jmp 0x140127693
mov rcx, qword [rbp - 0x20]
cmp qword [rbx + 0x68], 0
je 0x140127576
cmp dword [rbx + 0x48], 0
jne 0x140127576
test rcx, rcx
jg 0x140127229
test r12d, r12d
je 0x140127576
cmp dword [rbx + 0xb8], 0
jne 0x1401272de
test r12d, r12d
jne 0x1401272de
mov rax, qword [rdi + reloc.SHELL32.dll_IsUserAnAdmin]
test dword [rax + 0x6c], 0x40001
je 0x1401272de
cmp qword [rsi + 0x118], 0
je 0x140127287
cmp dword [rdi + 0x230], r12d
jne 0x1401275d9
lea rdx, str.Ignoring_the_response_body_n
mov rcx, rsi
mov dword [rbx + 0xe0], 1
call fcn.140125a80
mov rcx, qword [rbp - 0x20]
cmp qword [rsi + 0x8900], 0
je 0x1401272b0
cmp dword [rbx + 0x88], 0
jne 0x1401272b0
cmp dword [rsi + 0x310], 1
jne 0x1401272b0
cmp dword [rbx + 0xe0], 0
je 0x1401275ef
cmp dword [rsi + 0x300], 0
je 0x1401272de
cmp qword [rsi + 0x88f8], 0
jne 0x1401272de
mov rdx, qword [rbx + 0xb0]
mov rcx, rsi
call fcn.140126ef0
test eax, eax
je 0x140127608
mov rcx, qword [rbp - 0x20]
inc dword [rbx + 0xb8]
cmp dword [rsi + 0x41c], 0
je 0x140127339
cmp dword [rbx + 0x4c], 0
mov qword [rsp + 0x20], rdi
mov edx, 3
je 0x140127326
mov r9, qword [rbx + 0x60]
mov r8, qword [rsi + 0x748]
mov rcx, rsi
call fcn.140126310
cmp dword [rbx + 0x4c], 1
jne 0x140127335
mov r9, qword [rbp - 0x20]
mov qword [rsp + 0x20], rdi
mov edx, 3
jmp 0x140127329
mov r9, rcx
mov r8, qword [rbx + 0x68]
mov rcx, rsi
call fcn.140126310
mov rcx, qword [rbp - 0x20]
cmp dword [rbx + 0x108], 0
je 0x1401273bd
mov rdx, qword [rbx + 0x68]
mov r8, rcx
lea r9, [rbp - 0x20]
mov rcx, rdi
call fcn.14013f6b0
test eax, eax
jg 0x140127621
cmp eax, 0xffffffff
jne 0x1401273b9
and dword [rbx + 0xd8], 0xfffffffe
mov r14, qword [rdi + 0x30]
test r14, r14
je 0x1401273b9
mov rcx, qword [rdi]
lea rdx, str.Leftovers_after_chunking:__zu_bytes
mov r8, r14
call fcn.140125a80
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1401273b9
cmp dword [rax + 0xb0], 0
je 0x1401273b9
lea rdx, str.Rewinding__zu_bytes_n
mov r8, r14
call fcn.140125a80
sub qword [rdi + 0x358], r14
mov dword [rdi + 0x288], 1
mov rcx, qword [rbp - 0x20]
cmp dword [rbx + 0x4c], 0
je 0x1401273d4
cmp dword [rbx + 0xe0], 0
jne 0x1401273d4
mov rax, qword [rbx + 0x60]
add qword [rbx + 0x20], rax
mov rdx, qword [rbx + 0x10]
cmp rdx, 0xffffffffffffffff
je 0x1401274a2
mov r8, qword [rbx + 0x20]
lea rax, [r8 + rcx]
cmp rax, rdx
jl 0x1401274a2
mov r13, r8
sub r13, rdx
add r13, rcx
je 0x140127483
cmp dword [rbx + 0xe0], 0
jne 0x140127483
mov rax, qword [rdi]
mov r9, qword [rax + 0x10]
test r9, r9
je 0x140127464
cmp dword [r9 + 0xb0], 0
je 0x140127464
mov rax, qword [rbx]
mov r9, qword [rsi + 0x88e0]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rdx
lea rdx, str.Rewinding_stream_by_:__zu_bytes_on_url__s__size___lld__maxdownload___lld__bytecount___lld__nread___zd__n
mov r8, r13
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.140125a80
sub qword [rdi + 0x358], r13
mov dword [rdi + 0x288], 1
jmp 0x140127483
mov r9, qword [rbx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rdx
lea rdx, str.Excess_found_in_a_non_pipelined_read:_excess___zu__size___lld__maxdownload___lld__bytecount___lld_n
mov r8, r13
mov rcx, rsi
call fcn.140125a80
mov rcx, qword [rbx + 0x10]
mov r14d, 0
sub rcx, qword [rbx + 0x20]
cmovs rcx, r14
and dword [rbx + 0xd8], 0xfffffffe
mov qword [rbp - 0x20], rcx
jmp 0x1401274a5
xor r14d, r14d
add qword [rbx + 0x20], rcx
mov rax, qword [rbx + 0x20]
mov qword [rsi + 0x640], rax
cmp dword [rbx + 0x108], 0
jne 0x140127572
test rcx, rcx
jne 0x1401274d4
cmp dword [rbx + 0x4c], ecx
jne 0x1401274da
test r12d, r12d
je 0x140127572
cmp dword [rbx + 0x4c], 0
je 0x14012751a
cmp dword [rbx + 0xe0], 0
jne 0x14012751a
mov r9, qword [rbx + 0x10]
cmp r9, 0xffffffffffffffff
je 0x1401274f3
cmp qword [rbx + 0x60], r9
jg 0x1401274f7
mov r9, qword [rbx + 0x60]
mov r8, qword [rsi + 0x748]
mov edx, 1
mov rcx, rdi
call fcn.140125f80
mov r15d, eax
test eax, eax
jne 0x140127655
mov rcx, qword [rbp - 0x20]
cmp dword [rbx + 0x4c], 2
jge 0x140127565
cmp dword [rbx + 0xe0], 0
jne 0x140127565
mov rax, qword [rdi + reloc.SHELL32.dll_IsUserAnAdmin]
test dword [rax + 0x6c], 0x4000
je 0x14012754a
mov rdx, qword [rbx + 0x68]
mov r8, rcx
mov rcx, rdi
call fcn.140135970
jmp 0x14012755e
mov r8, qword [rbx + 0x68]
mov r9, rcx
mov edx, 1
mov rcx, rdi
call fcn.140125f80
mov rcx, qword [rbp - 0x20]
mov r15d, eax
mov dword [rbx + 0x4c], r14d
test r15d, r15d
jne 0x140127655
mov r14, qword [rbp + 0x58]
mov rax, qword [rdi + reloc.SHELL32.dll_IsUserAnAdmin]
cmp qword [rax + 0x60], 0
je 0x140127596
test r13, r13
je 0x140127596
cmp dword [rdi + 0x288], 0
je 0x14012765a
test r12d, r12d
je 0x1401275a2
and dword [rbx + 0xd8], 0xfffffffe
mov rax, qword [rdi + reloc.SHELL32.dll_IsUserAnAdmin]
test byte [rax + 0x6c], 0x30
je 0x140127693
xor r12d, r12d
jmp 0x140126fa0
mov r9, qword [rsi + 0x88e0]
mov r8, rcx
lea rdx, str.Excess_found_in_a_non_pipelined_read:_excess___zd_url___s__zero_length_body__n
mov rcx, rsi
call fcn.140125a80
jmp 0x140127693
mov rax, qword [rbp + 0x60]
and dword [rbx + 0xd8], 0xfffffffe
mov dword [rax], 1
jmp 0x1401276be
lea rdx, str.HTTP_server_doesnt_seem_to_support_byte_ranges._Cannot_resume.
mov rcx, rsi
call fcn.140125b60
mov eax, 0x21
jmp 0x1401276c0
mov rax, qword [rbp + 0x60]
mov dword [rdi + 0x230], 1
mov dword [rax], 1
jmp 0x1401276be
mov rcx, rsi
cmp eax, 4
jne 0x14012763f
lea rdx, str.Failed_writing_data
call fcn.140125b60
mov eax, reloc.WS2_32.dll_socket
jmp 0x1401276c0
lea rdx, str.Problem___d__in_the_Chunked_Encoded_data
mov r8d, eax
call fcn.140125b60
mov eax, gethostname
jmp 0x1401276c0
mov eax, r15d
jmp 0x1401276c0
add qword [rbx + 0x68], rcx
mov rax, qword [rdi + reloc.SHELL32.dll_IsUserAnAdmin]
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x20]
mov rdx, rdi
mov rcx, rsi
mov qword [rbp - 0x20], r13
call qword [rax + 0x60]
test eax, eax
jne 0x1401276c0
cmp dword [rbp + 0x40], eax
je 0x140127693
or dword [rbx + 0xd8], 1
jmp 0x140127693
and dword [rbx + 0xd8], 0xfffffffe
mov eax, dword [rbx + 0xd8]
and al, 3
cmp al, 2
jne 0x1401276be
cmp dword [rdi + 0x230], 0
je 0x1401276be
lea rdx, str.we_are_done_reading_and_this_is_set_to_close__stop_send_n
mov rcx, rsi
call fcn.140125a80
and dword [rbx + 0xd8], 0xfffffffd
xor eax, eax
mov rbx, qword [rsp + 0xa8]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret