Function at 0x14001de50
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 [0x14036e3c8]
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, [0x140289f48]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14000c810
nop
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov r12, 0xffffffffffffffff
test eax, eax
jne 0x14001decb
xor bl, bl
jmp 0x14001e735
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x14001dee7
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x14001def8
call fcn.140004ca0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x14001e79d
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
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, [0x140289fc4]
mov rdi, r12
nop dword [rax + rax]
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x14001df30
lea esi, [rdi + r15]
test esi, esi
js 0x14001e792
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or ecx, eax
jge 0x14001df6f
mov edx, esi
lea rcx, [rsp + 0x68]
call fcn.140005980
mov rbx, qword [rsp + 0x68]
lea rdx, [0x140289fc4]
movsxd rax, edi
lea rdi, [rax + rax]
test rdi, rdi
je 0x14001df9d
test rbx, rbx
jne 0x14001df92
call fcn.1402549dc
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.14024a82c
jmp 0x14001df9d
mov r8, rdi
mov rcx, rbx
call fcn.140245860
lea rcx, [rdi + rbx]
mov r8, r15
add r8, r8
je 0x14001dfd4
test rcx, rcx
je 0x14001dfc4
test r14, r14
je 0x14001dfbd
mov rdx, r14
call fcn.140245860
jmp 0x14001dfd4
xor edx, edx
call fcn.140245f10
call fcn.1402549dc
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.14024a82c
lea r13, [rbx - 0x18]
cmp esi, dword [r13 + 0xc]
jg 0x14001e792
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 0x14001e006
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x14001e017
call fcn.140004ca0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x14001e7a8
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x54], 6
mov rsi, r12
lea rax, [0x140289fc4]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x14001e041
movsxd r15, dword [rbx - 0x10]
lea r14d, [rsi + r15]
test r14d, r14d
js 0x14001e787
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, r14d
or eax, ecx
jge 0x14001e080
mov edx, r14d
lea rcx, [rsp + 0x70]
call fcn.140005980
mov rdi, qword [rsp + 0x70]
add r15, r15
je 0x14001e0aa
test rdi, rdi
jne 0x14001e09c
call fcn.1402549dc
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.14024a82c
jmp 0x14001e0aa
mov r8, r15
mov rdx, rbx
mov rcx, rdi
call fcn.140245860
lea rcx, [r15 + rdi]
movsxd r8, esi
add r8, r8
je 0x14001e0d9
test rcx, rcx
jne 0x14001e0cd
call fcn.1402549dc
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.14024a82c
jmp 0x14001e0d9
lea rdx, [0x140289fc4]
call fcn.140245860
cmp r14d, dword [rdi - 0xc]
jg 0x14001e787
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 0x14001e107
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x14001e118
call fcn.140004ca0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x14001e7b3
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x54], reloc.WLDAP32.dll_Ordinal_14
lea rax, str.__check_dingding_packages__package_dir__
mov rsi, r12
inc rsi
cmp word [rax + rsi*2], 0
jne 0x14001e142
movsxd r12, dword [rdi - 0x10]
lea r14d, [rsi + r12]
test r14d, r14d
js 0x14001e7d0
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r14d
or eax, ecx
jge 0x14001e181
mov edx, r14d
lea rcx, [rsp + 0x78]
call fcn.140005980
mov rbx, qword [rsp + 0x78]
add r12, r12
je 0x14001e1ab
test rbx, rbx
jne 0x14001e19d
call fcn.1402549dc
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.14024a82c
jmp 0x14001e1ab
mov r8, r12
mov rdx, rdi
mov rcx, rbx
call fcn.140245860
lea rcx, [r12 + rbx]
movsxd r8, esi
add r8, r8
je 0x14001e1da
test rcx, rcx
jne 0x14001e1ce
call fcn.1402549dc
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.14024a82c
jmp 0x14001e1da
lea rdx, str.__check_dingding_packages__package_dir__
call fcn.140245860
cmp r14d, dword [rbx - 0xc]
jg 0x14001e7d0
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 0x14001e220
mov rdx, rbx
lea rcx, [rbp + 0x140]
call fcn.14000a430
nop
mov eax, r12d
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x14001e256
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + ioctlsocket]
nop
mov eax, r12d
lock xadd dword [rdi - 8], eax
sub eax, 1
jg 0x14001e272
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
lea rdx, [rdi - 0x18]
call qword [rax + ioctlsocket]
nop
mov eax, r12d
lock xadd dword [r13 + 0x10], eax
sub eax, 1
jg 0x14001e28d
mov rcx, qword [r13]
mov rax, qword [rcx]
mov rdx, r13
call qword [rax + ioctlsocket]
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 0x14001e2a0
lea rcx, [rbp + 0x140]
call fcn.14000a2b0
mov r8d, 1
lea rdx, [0x140289fc4]
lea rcx, [rbp + 0x140]
call fcn.14000a2b0
cmp byte [rsp + 0x50], 0
je 0x14001e2f0
mov r8d, 0xa
lea rdx, [0x140289fc8]
lea rcx, [rbp + 0x140]
call fcn.14000a2b0
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.140245f10
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.140259070
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 0x14001e53f
mov edx, 0x30d40
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14001e3d6
lea rdx, [rsp + 0x58]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x14001e52b
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov r14, rsi
mov qword [rbp - 0x68], rsi
mov dword [rsp + 0x54], reloc.WS2_32.dll_recv
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 0x14001e47c
nop dword [rax + rax]
lea rdx, str.DingTalkCheck.exe
lea rcx, [rbp + 0x1ac]
call fcn.140256824
test eax, eax
jne 0x14001e469
cmp rdi, r14
je 0x14001e44e
mov eax, dword [rbp + 0x188]
mov dword [rdi], eax
add rdi, 4
mov qword [rbp - 0x70], rdi
jmp 0x14001e469
lea r8, [rbp + 0x188]
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.14000b950
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 0x14001e420
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r12d, eax
mov r15, qword [rbp - 0x78]
sub rdi, r15
sar rdi, 2
test rdi, rdi
je 0x14001e4e1
nop
mov r8d, dword [r15 + rsi*4]
cmp r8d, r12d
je 0x14001e4d9
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 0x14001e4a0
test r15, r15
je 0x14001e522
sub r14, r15
sar r14, 2
lea rdx, [r14*4]
mov rax, r15
cmp rdx, 0x1000
jb 0x14001e51a
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e7be
mov rcx, r15
call fcn.1402434a4
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.14001bae0
nop
lea rdx, str.CreateProcess_Code:
lea rcx, [rbp + 0x50]
call fcn.14001aa60
mov edx, dword [rsp + 0x58]
mov rcx, rax
call fcn.14001cde0
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 0x14001e600
mov rax, qword [rbp + 0x98]
mov r8, qword [rax]
test r8, r8
je 0x14001e600
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 0x14001e643
test cl, 4
jne 0x14001e63b
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax]
test rcx, rcx
je 0x14001e63b
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 0x14001e643
mov r8, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
test rdx, rdx
je 0x14001e65b
lea rcx, [rbp + 0x160]
call fcn.14000a430
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.140039ff0
nop
mov rdx, qword [rbp + 0x178]
cmp rdx, 8
jb 0x14001e6c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e6bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e7c4
call fcn.1402434a4
cmp dword [rsp + 0x58], 1
sete bl
lea rcx, [rbp + 0x40]
call fcn.14001d6f0
nop
mov rdx, qword [rbp + 0x158]
cmp rdx, 8
jb 0x14001e71c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e717
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e7ca
call fcn.1402434a4
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 0x14001e754
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rioctlsocket + 8]
movzx eax, bl
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.1402435c0
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.140004b20
nop
mov ecx, 0x80070057
call fcn.140004b20
nop
mov ecx, 0x80004005
call fcn.140004b20
nop
mov ecx, 0x80004005
call fcn.140004b20
nop
mov ecx, 0x80004005
call fcn.140004b20
nop
call fcn.14024a84c
nop
call fcn.14024a84c
nop
call fcn.14024a84c
nop
mov ecx, 0x80070057
call fcn.140004b20
int3