Function at 0x140101d90
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor eax, eax
xor r14d, r14d
mov rbp, r9
cmp qword [0x1402c2b48], rax
mov r13, r8
mov rbx, rdx
mov r12, rcx
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x34], 1
mov byte [rsp + 0x80], al
jne 0x140101df3
call fcn.140100ca0
mov qword [0x1402c2b48], rax
test rax, rax
je 0x140101edf
mov ecx, 0x800
mov byte [rsp + 0x80], 1
call fcn.14010a204
xor edx, edx
mov r8d, 0x800
mov rcx, rax
mov rsi, rax
call fcn.140116eb8
mov rax, rsi
mov rdx, r13
sub rax, r13
movzx ecx, byte [rdx]
inc rdx
mov byte [rax + rdx - 1], cl
test cl, cl
jne 0x140101e21
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
mov rax, qword [str.wf_startqs.htmoswtrue]
or rcx, 0xffffffffffffffff
mov qword [rdi - 1], rax
mov rax, qword [0x140237200]
mov qword [rdi + 7], rax
mov rax, qword [0x140237208]
mov qword [rdi + 0xf], rax
xor eax, eax
mov rdi, rsi
repne scasb al, byte [rdi]
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rcx + rbp]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x140101e70
mov rcx, rsi
call fcn.140101390
mov rcx, rsi
call fcn.14010d304
mov edx, 0x7c
mov rcx, r12
call fcn.140115ac0
mov r11, rax
test rax, rax
je 0x140101edf
nop word [rax + rax]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r11
repne scasb al, byte [rdi]
inc r14d
not rcx
dec rcx
je 0x140101eda
lea rcx, [r11 + 1]
lea edx, [rax + 0x7c]
call fcn.140115ac0
mov r11, rax
test rax, rax
jne 0x140101eb0
mov dword [rsp + 0x30], r14d
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
call fcn.14010a204
mov rdx, rax
mov r15, rax
sub rdx, rbx
nop dword [rax + rax]
movzx ecx, byte [rbx]
inc rbx
mov byte [rdx + rbx - 1], cl
test cl, cl
jne 0x140101f00
lea rdx, [0x14021cfa4]
mov rcx, rax
call fcn.14010dda8
test rax, rax
je 0x140101f4f
lea rcx, [rax + 2]
lea rdx, [0x1401f0ff8]
call fcn.14010dda8
test rax, rax
je 0x140101f4f
mov byte [rax], 0
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r15
repne scasb al, byte [rdi]
not rcx
mov byte [rcx + r15 - 2], al
jmp 0x140101f53
mov byte [r15], 0
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r12
repne scasb al, byte [rdi]
not rcx
call fcn.14010a204
mov rdx, r12
mov rbx, rax
sub rax, r12
nop
movzx ecx, byte [rdx]
inc rdx
mov byte [rax + rdx - 1], cl
test cl, cl
jne 0x140101f70
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasb al, byte [rdi]
mov qword [rsp + 0x38], rbx
not rcx
mov byte [rcx + rbx - 1], al
mov rax, rbx
test rbx, rbx
je 0x1401022bb
lea rdx, [0x140233964]
mov rcx, rbx
call fcn.14010dda8
mov rbp, rax
test rax, rax
je 0x1401022aa
mov rdi, rax
sub rdi, rbx
lea rcx, [rdi + 1]
call fcn.14010a204
mov r8, rdi
mov rdx, rbx
mov rcx, rax
mov r12, rax
call fcn.140112d28
mov rdx, r12
mov ecx, 0x104
sub rdx, rbx
mov byte [rdx + rbp], 0
call fcn.14010a204
mov ecx, 0x104
mov rsi, rax
call fcn.14010a204
mov r9, rsi
xor r8d, r8d
xor edx, edx
mov rcx, r12
mov rbx, rax
mov qword [rsp + 0x20], rax
call fcn.14010e178
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x140102030
mov rcx, rbx
call fcn.14010d304
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasb al, byte [rdi]
mov rdi, r13
not rcx
lea rdx, [rcx - 1]
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
not rcx
add rcx, rdx
call fcn.14010a204
mov rdx, r13
mov r14, rax
sub rax, r13
nop word [rax + rax]
movzx ecx, byte [rdx]
inc rdx
mov byte [rax + rdx - 1], cl
test cl, cl
jne 0x140102080
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r14
repne scasb al, byte [rdi]
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rsi + rcx]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x1401020a0
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasb al, byte [rdi]
mov rdi, r13
not rcx
lea rdx, [rcx - 1]
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rax, [r14 + rdx]
not rcx
mov byte [rcx + rax - 1], 0
mov rcx, rsi
call fcn.14010d304
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r12
repne scasb al, byte [rdi]
mov rdi, r15
not rcx
lea rdx, [rcx - 1]
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
not rcx
add rcx, rdx
call fcn.14010a204
mov rdx, r15
mov r13, rax
sub rax, r15
nop dword [rax]
movzx ecx, byte [rdx]
inc rdx
mov byte [rax + rdx - 1], cl
test cl, cl
jne 0x140102110
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r13
repne scasb al, byte [rdi]
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [r12 + rcx]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x140102130
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r12
repne scasb al, byte [rdi]
mov rdi, r15
xor r9d, r9d
not rcx
mov r8, r14
lea rdx, [rcx - 1]
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rax, [r13 + rdx]
xor edi, edi
not rcx
mov rdx, r13
mov qword [rsp + 0x20], rdi
mov byte [rcx + rax - 1], 0
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
je 0x14010218c
mov dword [rsp + 0x34], edi
jmp 0x140102287
cmp byte [rsp + 0x80], dil
je 0x140102287
inc dword [rsp + 0x88]
mov ecx, 0x800
call fcn.14010a204
mov ecx, 0x800
mov rsi, rax
call fcn.14010a204
xor edx, edx
mov r8d, 0x800
mov rcx, rsi
mov rbx, rax
call fcn.140116eb8
mov rcx, qword [rsp + 0x90]
mov rax, rsi
mov rdx, rcx
sub rax, rcx
nop dword [rax]
movzx ecx, byte [rdx]
inc rdx
mov byte [rax + rdx - 1], cl
test cl, cl
jne 0x1401021e0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
mov rax, qword [str.wf_updatestatus.htm]
lea r8, str.uid_i__cfi_i__sup_i
mov qword [rdi - 1], rax
mov rax, qword [0x1402371e8]
mov r9d, 5
mov qword [rdi + 7], rax
mov eax, dword [0x1402371f0]
mov edx, 0x800
mov dword [rdi + 0xf], eax
movzx eax, byte [0x1402371f4]
mov rcx, rbx
mov byte [rdi + 0x13], al
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x20], eax
call fcn.14010d814
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rbx + rcx]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x140102260
mov rcx, rsi
call fcn.140101390
mov rcx, rsi
call fcn.14010d304
mov rcx, rbx
call fcn.14010d304
mov rcx, r13
call fcn.14010d304
mov rcx, r14
call fcn.14010d304
mov rcx, r12
call fcn.14010d304
mov r13, qword [rsp + 0x90]
inc rbp
mov rbx, rbp
test rbp, rbp
jne 0x140101fa1
mov rax, qword [rsp + 0x38]
mov rcx, rax
call fcn.14010d304
mov rcx, r15
call fcn.14010d304
mov eax, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret