Function at 0x140021180
Capabilities:
Delete file
Reference http user-agent string

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2b0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140119740]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor r15d, r15d
lea rcx, str.checkLoader
call qword [sym.imp.VMProtectSDK64.dll_VMProtectBegin]
lea r8, str.LoaderEXEPath
lea rdx, [rbp + 0xe0]
call fcn.14001f040
mov rdx, rax
lea rcx, [rbp + 0x100]
call fcn.14001f5e0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
lea r14, [rbp + 0x100]
mov r13, qword [rbp + 0x100]
mov rax, qword [rbp + 0x118]
mov qword [rsp + 0x78], rax
cmp rax, 7
cmova r14, r13
movabs rsi, 0x7ffffffffffffffe
mov rdi, qword [rbp + 0x110]
cmp rdi, rsi
ja 0x140021d6d
lea eax, [r15 + 0xa]
mov qword [rsp + 0x60], 7
cmp rdi, 7
ja 0x14002126c
mov qword [rsp + 0x58], rdi
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x48], xmm0
jmp 0x1400212c1
mov rbx, rdi
or rbx, 7
cmp rbx, rsi
jbe 0x14002127d
mov rbx, rsi
jmp 0x140021284
cmp rbx, rax
cmovb rbx, rax
inc rbx
mov qword [rsp + 0x68], rbx
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.140005410
lea rcx, [rbx - 1]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rcx
lea r8, [rdi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.1400dbde0
lea r9, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.140007500
mov rbx, qword [rbp - 0x80]
mov rdi, qword [rbp - 0x78]
cmp rbx, rdi
je 0x140021349
nop dword [rax]
mov rdx, rbx
lea rcx, [rbp + 0x60]
call fcn.1400084e0
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rcx, qword [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x140021340
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002133b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021d79
call fcn.1400ab160
add rbx, 0x20
cmp rbx, rdi
jne 0x1400212e0
lea rcx, [rbp + 0x140]
call fcn.14001fa20
mov rbx, rax
lea r8, str.LoaderEXEPath
lea rdx, [rbp]
call fcn.14001f040
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.14001f5e0
nop
mov r8d, 1
lea rdx, [0x1400fdb40]
mov rcx, rax
call fcn.1400059e0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x130], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov r9, rbx
lea r8, [rbp + 0x120]
lea rcx, [rbp + 0x80]
call fcn.140028410
nop
mov r8d, 4
lea rdx, str..exe
lea rcx, [rbp + 0x80]
call fcn.1400059e0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [reloc.WS2_32.dll_getsockopt]
cmp rdx, 7
jbe 0x14002143f
mov rcx, qword [0x14011a3e8]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14002143a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140021d7f
mov rcx, r8
call fcn.1400ab160
movups xmmword [0x14011a3e8], xmm6
movups xmmword [0x14011a3f8], xmm7
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x140021493
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002148e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021d73
call fcn.1400ab160
movdqa xmm0, xmmword [0x1400ff570]
movdqu xmmword [rbp + 0x90], xmm0
mov word [rbp + 0x80], r15w
mov rdx, qword [rbp + 0x138]
cmp rdx, 7
jbe 0x1400214f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400214ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021d85
call fcn.1400ab160
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 7
jbe 0x140021538
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021533
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021d8b
call fcn.1400ab160
movdqa xmm0, xmmword [0x1400ff570]
movdqu xmmword [rbp + 0xd0], xmm0
mov word [rbp + 0xc0], r15w
mov rdx, qword [rbp + 0x158]
cmp rdx, 7
jbe 0x140021596
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021591
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021d91
call fcn.1400ab160
lea r12, [0x14011a3e8]
mov rcx, r12
cmp qword [reloc.WS2_32.dll_getsockopt], 7
cmova rcx, qword [0x14011a3e8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov rdi, qword [0x14011a3f8]
mov r14, r12
cmp qword [reloc.WS2_32.dll_getsockopt], 7
cmova r14, qword [0x14011a3e8]
cmp rdi, rsi
ja 0x140021d97
mov qword [rsp + 0x60], 7
cmp rdi, 7
ja 0x14002160a
mov qword [rsp + 0x58], rdi
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x48], xmm0
jmp 0x140021664
mov rax, rdi
or rax, 7
cmp rax, rsi
ja 0x140021626
mov rsi, rax
cmp rax, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rbx, [rsi + 1]
mov qword [rsp + 0x68], rbx
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.140005410
lea rcx, [rbx - 1]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rcx
lea r8, [rdi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.1400dbde0
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x160]
call fcn.14001f5e0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
lea rcx, [rbp + 0x60]
call fcn.1400073f0
movzx ebx, al
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x1400216f0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400216eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021d9d
call fcn.1400ab160
movdqa xmm0, xmmword [0x1400ff570]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r15w
mov rdx, qword [rbp + 0x178]
cmp rdx, 7
jbe 0x140021748
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021743
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021da3
call fcn.1400ab160
test bl, bl
jne 0x140021877
mov rdx, r12
lea rcx, [rbp + 0x20]
call fcn.1400084e0
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.14001f5e0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov dword [rsp + 0x68], r15d
lea rax, [0x14011a3b0]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0xa0]
call fcn.14001ddf0
cmp dword [rsp + 0x68], 0
jne 0x140021da9
mov rdx, qword [rbp + 0xb8]
cmp rdx, 7
jbe 0x140021819
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021814
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021dc2
call fcn.1400ab160
movdqa xmm0, xmmword [0x1400ff570]
movdqu xmmword [rbp + 0xb0], xmm0
mov word [rbp + 0xa0], r15w
mov rdx, qword [rbp + 0xf8]
cmp rdx, 7
jbe 0x140021877
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021872
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021dc8
call fcn.1400ab160
call fcn.140028fe0
mov rbx, rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], r15
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
lea r8, str.LoaderEXEURL
lea rdx, [rbp + 0xe0]
call fcn.14001f040
nop
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.1400058c0
mov rdi, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1400218d0
mov rdi, qword [rax]
test rbx, rbx
jne 0x1400218e1
call fcn.140028fe0
mov rbx, rax
mov qword [rbp - 0x50], rax
mov r8, rdi
mov edx, 0x2712
mov rcx, rbx
call fcn.14002c1f0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x140021932
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002192d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021dce
call fcn.1400ab160
movdqa xmm0, xmmword [0x1400ff580]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 7
jbe 0x14002198f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002198a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021dd4
call fcn.1400ab160
test rbx, rbx
jne 0x1400219a0
call fcn.140028fe0
mov rbx, rax
mov qword [rbp - 0x50], rax
lea r8, [0x1400feffc]
mov edx, 0x2734
mov rcx, rbx
call fcn.14002c1f0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r15
movups xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x90], xmm1
mov r8d, 0xa4
lea rdx, str.user_agent:Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_70.0.3538.25_Safari_537.36_Core_1.70.3756.400_QQBrowser_10.5.4039.400_r_n
lea rcx, [rbp + 0x80]
call fcn.140004820
nop
lea r8, [rbp + 0x80]
xor edx, edx
lea rcx, [rbp - 0x68]
call fcn.140028a20
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x140021a40
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021a3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021dda
call fcn.1400ab160
mov rsi, r15
mov r15, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x68]
sub r15, rdi
sar r15, 5
xor r14d, r14d
test r15, r15
jle 0x140021a8d
nop word [rax + rax]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140021a6d
mov rdx, qword [rdi]
mov rcx, rsi
call fcn.140029480
test rax, rax
je 0x140021d4f
mov rsi, rax
inc r14
add rdi, 0x20
cmp r14, r15
jl 0x140021a60
xor r14d, r14d
test rbx, rbx
jne 0x140021a9d
call fcn.140028fe0
mov rbx, rax
mov r8, rsi
mov edx, 0x2727
mov rcx, rbx
call fcn.14002c1f0
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x40], 0
test rbx, rbx
jne 0x140021ad1
call fcn.140028fe0
mov rbx, rax
lea r8, [rbp + 0x40]
mov edx, 0x2711
mov rcx, rbx
call fcn.14002c1f0
test eax, eax
jne 0x140021b07
test rbx, rbx
jne 0x140021af3
call fcn.140028fe0
mov rbx, rax
lea r8, [0x14001e1b0]
mov edx, 0x4e2b
mov rcx, rbx
call fcn.14002c1f0
test rbx, rbx
jne 0x140021b14
call fcn.140028fe0
mov rbx, rax
mov edx, 0x34
lea r8d, [rdx - 0x33]
mov rcx, rbx
call fcn.14002c1f0
test rbx, rbx
jne 0x140021b32
call fcn.140028fe0
mov rbx, rax
mov edx, 0x44
lea r8d, [rdx - 0x45]
mov rcx, rbx
call fcn.14002c1f0
mov dword [rsp + 0x40], r14d
mov edi, r14d
nop dword [rax + rax]
lea rax, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rax, qword [rbp + 0x40]
mov qword [rbp + 0x50], r14
mov byte [rax], 0
test rbx, rbx
jne 0x140021b72
call fcn.140028fe0
mov rbx, rax
mov rcx, rbx
call fcn.1400291d0
test rbx, rbx
jne 0x140021b87
call fcn.140028fe0
mov rbx, rax
lea r8, [rsp + 0x40]
mov edx, 0x200002
mov rcx, rbx
call fcn.140028fb0
cmp dword [rsp + 0x40], 0xc8
je 0x140021bb5
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 4
jl 0x140021b50
cmp qword [reloc.WS2_32.dll_getsockopt], 7
cmova r12, qword [0x14011a3e8]
lea rdx, [0x1400ff158]
mov rcx, r12
call fcn.1400b7274
mov rdi, rax
test rax, rax
je 0x140021c03
lea rcx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rcx, qword [rbp + 0x40]
mov r9, rax
mov r8, qword [rbp + 0x50]
mov edx, 1
call fcn.1400bb318
mov rcx, rdi
call fcn.1400bac60
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140021c3e
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021c39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021dda
call fcn.1400ab160
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x40], 0
lea rcx, [rbp - 0x68]
call fcn.14000c790
nop
test rbx, rbx
je 0x140021c72
mov edx, 5
mov rcx, rbx
call fcn.140029050
mov rcx, rbx
call fcn.140028f80
test rsi, rsi
je 0x140021c80
mov rcx, rsi
call fcn.140029520
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140021cd7
mov rdx, qword [rbp - 0x78]
call fcn.140008c30
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x80]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021cc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021de0
call fcn.1400ab160
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140021d13
lea rdx, [rdx*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x140021d0b
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021d67
mov rcx, r13
call fcn.1400ab160
mov al, 1
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400ab140
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
test rsi, rsi
je 0x140021d5c
mov rcx, rsi
call fcn.140029520
xor r14d, r14d
mov esi, r14d
jmp 0x140021a90
call fcn.1400b57a8
nop
call fcn.140001450
nop
call fcn.1400b57a8
nop
call fcn.1400b57a8
nop
call fcn.1400b57a8
nop
call fcn.1400b57a8
nop
call fcn.1400b57a8
nop
call fcn.1400b57a8
int3
call fcn.140001450
nop
call fcn.1400b57a8
nop
call fcn.1400b57a8
nop
lea r8, [rbp + 0xa0]
lea rdx, [rsp + 0x68]
lea rcx, str.create_directories
call fcn.140006c70
nop
call fcn.1400b57a8
nop
call fcn.1400b57a8
nop
call fcn.1400b57a8
nop
call fcn.1400b57a8
nop
call fcn.1400b57a8
nop
call fcn.1400b57a8
int3