Function at 0x140015dc0
Capabilities:
Check if file exists
Create process on windows
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7e0]
sub rsp, 0x8e0
mov rax, qword [0x140317e98]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov byte [rsp + 0x50], dl
mov rax, rcx
mov qword [rbp - 0x80], rcx
xor ecx, ecx
mov dword [rsp + 0x54], ecx
lea r8, [0x1402463b0]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14000bd80
nop
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov r12, 0xffffffffffffffff
test eax, eax
jne 0x140015e3b
xor bl, bl
jmp 0x1400166a5
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x140015e57
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x140015e68
call fcn.140004b20
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x14001670d
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x54], 2
mov r14, qword [rsp + 0x60]
movsxd r15, dword [r14 - 0x10]
lea rdx, [0x140246434]
mov rdi, r12
nop dword [rax + rax]
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x140015ea0
lea esi, [rdi + r15]
test esi, esi
js 0x140016702
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or ecx, eax
jge 0x140015edf
mov edx, esi
lea rcx, [rsp + 0x68]
call fcn.140005800
mov rbx, qword [rsp + 0x68]
lea rdx, [0x140246434]
movsxd rax, edi
lea rdi, [rax + rax]
test rdi, rdi
je 0x140015f0d
test rbx, rbx
jne 0x140015f02
call fcn.1400e8b0c
mov dword [rax], 0x16
call fcn.1400de95c
jmp 0x140015f0d
mov r8, rdi
mov rcx, rbx
call fcn.1400d9910
lea rcx, [rdi + rbx]
mov r8, r15
add r8, r8
je 0x140015f44
test rcx, rcx
je 0x140015f34
test r14, r14
je 0x140015f2d
mov rdx, r14
call fcn.1400d9910
jmp 0x140015f44
xor edx, edx
call fcn.1400d9fc0
call fcn.1400e8b0c
mov dword [rax], 0x16
call fcn.1400de95c
lea r13, [rbx - 0x18]
cmp esi, dword [r13 + 0xc]
jg 0x140016702
mov dword [r13 + 8], esi
movsxd rax, esi
xor ecx, ecx
mov word [rbx + rax*2], cx
mov rcx, qword [r13]
test rcx, rcx
je 0x140015f76
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x140015f87
call fcn.140004b20
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x140016718
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x54], 6
mov rsi, r12
lea rax, [0x140246434]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140015fb1
movsxd r15, dword [rbx - 0x10]
lea r14d, [rsi + r15]
test r14d, r14d
js 0x1400166f7
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, r14d
or eax, ecx
jge 0x140015ff0
mov edx, r14d
lea rcx, [rsp + 0x70]
call fcn.140005800
mov rdi, qword [rsp + 0x70]
add r15, r15
je 0x14001601a
test rdi, rdi
jne 0x14001600c
call fcn.1400e8b0c
mov dword [rax], 0x16
call fcn.1400de95c
jmp 0x14001601a
mov r8, r15
mov rdx, rbx
mov rcx, rdi
call fcn.1400d9910
lea rcx, [r15 + rdi]
movsxd r8, esi
add r8, r8
je 0x140016049
test rcx, rcx
jne 0x14001603d
call fcn.1400e8b0c
mov dword [rax], 0x16
call fcn.1400de95c
jmp 0x140016049
lea rdx, [0x140246434]
call fcn.1400d9910
cmp r14d, dword [rdi - 0xc]
jg 0x1400166f7
mov dword [rdi - 0x10], r14d
movsxd rax, r14d
xor ecx, ecx
mov word [rdi + rax*2], cx
mov rcx, qword [rdi - 0x18]
test rcx, rcx
je 0x140016077
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x140016088
call fcn.140004b20
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x140016723
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x54], 0xe
lea rax, str.__check_dingding_packages__package_dir__
mov rsi, r12
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400160b2
movsxd r12, dword [rdi - 0x10]
lea r14d, [rsi + r12]
test r14d, r14d
js 0x140016740
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r14d
or eax, ecx
jge 0x1400160f1
mov edx, r14d
lea rcx, [rsp + 0x78]
call fcn.140005800
mov rbx, qword [rsp + 0x78]
add r12, r12
je 0x14001611b
test rbx, rbx
jne 0x14001610d
call fcn.1400e8b0c
mov dword [rax], 0x16
call fcn.1400de95c
jmp 0x14001611b
mov r8, r12
mov rdx, rdi
mov rcx, rbx
call fcn.1400d9910
lea rcx, [r12 + rbx]
movsxd r8, esi
add r8, r8
je 0x14001614a
test rcx, rcx
jne 0x14001613e
call fcn.1400e8b0c
mov dword [rax], 0x16
call fcn.1400de95c
jmp 0x14001614a
lea rdx, str.__check_dingding_packages__package_dir__
call fcn.1400d9910
cmp r14d, dword [rbx - 0xc]
jg 0x140016740
mov dword [rbx - 0x10], r14d
movsxd rax, r14d
xor esi, esi
mov word [rbx + rax*2], si
mov qword [rbp + 0x140], rsi
mov qword [rbp + 0x150], rsi
mov qword [rbp + 0x158], 7
mov word [rbp + 0x140], si
mov r12, 0xffffffffffffffff
mov r8, r12
nop dword [rax + rax]
inc r8
cmp word [rbx + r8*2], si
jne 0x140016190
mov rdx, rbx
lea rcx, [rbp + 0x140]
call fcn.14000a220
nop
mov eax, r12d
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x1400161c6
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + 8]
nop
mov eax, r12d
lock xadd dword [rdi - 8], eax
sub eax, 1
jg 0x1400161e2
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
lea rdx, [rdi - 0x18]
call qword [rax + 8]
nop
mov eax, r12d
lock xadd dword [r13 + 0x10], eax
sub eax, 1
jg 0x1400161fd
mov rcx, qword [r13]
mov rax, qword [rcx]
mov rdx, r13
call qword [rax + 8]
mov rdx, qword [rbp - 0x80]
mov rdx, qword [rdx]
mov r8, r12
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140016210
lea rcx, [rbp + 0x140]
call fcn.14000a0a0
mov r8d, 1
lea rdx, [0x140246434]
lea rcx, [rbp + 0x140]
call fcn.14000a0a0
cmp byte [rsp + 0x50], 0
je 0x140016260
mov r8d, 0xa
lea rdx, [0x140246438]
lea rcx, [rbp + 0x140]
call fcn.14000a0a0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
movups xmmword [rbp + 0x24], xmm0
mov dword [rbp + 0x34], eax
mov dword [rbp - 0x30], 0x68
mov eax, 0x30
mov word [rbp + 0x3c0], ax
xor edx, edx
mov r8d, 0x40e
lea rcx, [rbp + 0x3c2]
call fcn.1400d9fc0
lea r8, [rbp + 0x140]
cmp qword [rbp + 0x158], 8
cmovae r8, qword [rbp + 0x140]
mov r9, qword [rbp + 0x150]
mov edx, 0x208
lea rcx, [rbp + 0x3c0]
call fcn.1400ead00
mov dword [rsp + 0x58], esi
lea rax, [rbp - 0x48]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x3c0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400164af
mov edx, 0x30d40
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140016346
lea rdx, [rsp + 0x58]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x14001649b
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov r14, rsi
mov qword [rbp - 0x68], rsi
mov dword [rsp + 0x54], 0x10
xor edx, edx
lea ecx, [rdx + 0xf]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
mov dword [rbp + 0x180], 0x238
lea rdx, [rbp + 0x180]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
mov rdi, qword [rbp - 0x70]
test eax, eax
je 0x1400163ec
nop dword [rax + rax]
lea rdx, str.DingTalkCheck.exe
lea rcx, [rbp + 0x1ac]
call fcn.1400ea684
test eax, eax
jne 0x1400163d9
cmp rdi, r14
je 0x1400163be
mov eax, dword [rbp + 0x188]
mov dword [rdi], eax
add rdi, 4
mov qword [rbp - 0x70], rdi
jmp 0x1400163d9
lea r8, [rbp + 0x188]
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.140012c60
mov r14, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x70]
lea rdx, [rbp + 0x180]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140016390
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r12d, eax
mov r15, qword [rbp - 0x78]
sub rdi, r15
sar rdi, 2
test rdi, rdi
je 0x140016451
nop
mov r8d, dword [r15 + rsi*4]
cmp r8d, r12d
je 0x140016449
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, 0x3e8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc rsi
cmp rsi, rdi
jb 0x140016410
test r15, r15
je 0x140016492
sub r14, r15
sar r14, 2
lea rdx, [r14*4]
mov rax, r15
cmp rdx, 0x1000
jb 0x14001648a
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001672e
mov rcx, r15
call fcn.1400d7558
mov r12, 0xffffffffffffffff
xor esi, esi
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 1
lea rcx, [rbp + 0x40]
call fcn.140013ec0
nop
lea rdx, str.CreateProcess_Code:
lea rcx, [rbp + 0x50]
call fcn.140012750
mov edx, dword [rsp + 0x58]
mov rcx, rax
call fcn.140014da0
lea rbx, [rbp + 0x140]
cmp qword [rbp + 0x158], 8
cmovae rbx, qword [rbp + 0x140]
mov qword [rbp + 0x160], rsi
mov qword [rbp + 0x170], rsi
mov r9d, 7
mov qword [rbp + 0x178], r9
mov word [rbp + 0x160], si
mov dword [rsp + 0x54], 0x40
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
mov rcx, qword [rbp + 0xc8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140016570
mov rax, qword [rbp + 0x98]
mov r8, qword [rax]
test r8, r8
je 0x140016570
mov rax, qword [rbp + 0x78]
mov rdx, qword [rax]
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x80], r8
cmp r8, qword [rbp + 0xc0]
cmovb r8, qword [rbp + 0xc0]
sub r8, rdx
sar r8, 1
mov qword [rbp - 0x58], r8
jmp 0x1400165b3
test cl, 4
jne 0x1400165ab
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400165ab
mov rax, qword [rbp + 0x70]
mov rdx, qword [rax]
mov qword [rbp - 0x60], rdx
mov rax, qword [rbp + 0xa8]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
mov qword [rbp - 0x58], r8
jmp 0x1400165b3
mov r8, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
test rdx, rdx
je 0x1400165cb
lea rcx, [rbp + 0x160]
call fcn.14000a220
mov r9, qword [rbp + 0x178]
lea rcx, [rbp + 0x160]
cmp r9, 8
cmovae rcx, qword [rbp + 0x160]
mov r8, rbx
lea rdx, str.CheckFilesIsOk
call fcn.14002c680
nop
mov rdx, qword [rbp + 0x178]
cmp rdx, 8
jb 0x140016634
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001662f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016734
call fcn.1400d7558
cmp dword [rsp + 0x58], 1
sete bl
lea rcx, [rbp + 0x40]
call fcn.1400158c0
nop
mov rdx, qword [rbp + 0x158]
cmp rdx, 8
jb 0x14001668c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016687
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001673a
call fcn.1400d7558
mov qword [rbp + 0x150], rsi
mov qword [rbp + 0x158], 7
mov word [rbp + 0x140], si
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
sub r12d, 1
jg 0x1400166c4
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
movzx eax, bl
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.1400d7670
lea r11, [rsp + 0x8e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80070057
call fcn.1400049a0
nop
mov ecx, 0x80070057
call fcn.1400049a0
nop
mov ecx, 0x80004005
call fcn.1400049a0
nop
mov ecx, 0x80004005
call fcn.1400049a0
nop
mov ecx, 0x80004005
call fcn.1400049a0
nop
call fcn.1400de97c
nop
call fcn.1400de97c
nop
call fcn.1400de97c
nop
mov ecx, 0x80070057
call fcn.1400049a0
int3