Function at 0x1400552d0
Capabilities:
Create thread
Enumerate process modules

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x178
movaps xmmword [rsp + 0x160], xmm6
mov rbx, r8
mov r12, rdx
mov r14, rcx
call sub.msvcrt.dll_wcslen
lea r15, [rax + rax]
add r15, 2
mov rcx, r15
call sub.msvcrt.dll_malloc
mov rdi, rax
mov rcx, rax
mov rdx, r14
mov r8, r15
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x68]
call fcn.140056370
cmp qword [r12], 0xffffffffffffffff
je 0x140055359
lea rcx, [rsp + 0x68]
call fcn.1400565e0
mov rcx, rdi
call fcn.140257dd0
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x178
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x12000000
mov dword [rsp + 0x20], 3
mov rcx, rdi
mov edx, 0x12019f
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov qword [r12], rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp qword [r12], 0xffffffffffffffff
jne 0x14005532b
and eax, 0xfffffffe
cmp eax, 0x20
jne 0x14005532b
cmp byte [0x1402da3a0], 0
je 0x140055722
mov rsi, r12
mov rcx, rdi
call sub.msvcrt.dll_wcslen
mov r15, rax
lea r12, [rax + rax]
add r12, 2
mov rcx, r12
call sub.msvcrt.dll_malloc
mov qword [rsp + 0xa0], rax
mov rcx, rax
mov qword [rsp + 0x58], rdi
mov rdx, rdi
mov r8, r12
call sub.msvcrt.dll_memcpy
cmp r15, 8
jae 0x1400553fd
mov rcx, qword [rsp + 0xa0]
call fcn.140257dd0
jmp 0x1400560d6
mov rax, qword [rsp + 0xa0]
lea rcx, [rax + 8]
lea rdx, [0x14026179a]
mov r8d, 3
call sub.msvcrt.dll_wcsncmp
test eax, eax
je 0x14005542d
mov rcx, qword [rsp + 0xa0]
add rcx, 0xe
jmp 0x140055459
mov rcx, qword [rsp + 0xa0]
add rcx, 0x10
mov dx, 0x5c
call sub.msvcrt.dll_wcschr
add rax, 2
mov rcx, rax
mov dx, 0x5c
call sub.msvcrt.dll_wcschr
mov rcx, rax
add rcx, 2
call qword [sym.imp.msvcrt.dll__wcslwr]
mov r14, qword [0x1402d7228]
cmp r14, qword [0x1402d7230]
je 0x140055703
mov rdi, rax
mov rcx, rax
call sub.msvcrt.dll_wcslen
movsxd r12, eax
mov r15, r12
neg r15
lea rax, [r12 + r12]
mov qword [rsp + 0xa8], rax
xorps xmm6, xmm6
jmp 0x1400554b1
add r14, 0x10
cmp r14, qword [0x1402d7230]
je 0x140055703
mov r13, qword [r14]
mov rcx, r13
call sub.msvcrt.dll_wcslen
cmp rax, r12
jb 0x1400554a0
lea rcx, [r15*2]
add rcx, r13
lea rcx, [rcx + rax*2]
mov rdx, rdi
mov r8, qword [rsp + 0xa8]
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400554a0
test byte [r14 + 0xc], 1
jne 0x14005562a
mov r8d, dword [r14 + 8]
mov ecx, 0x1040
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_OpenProcess]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x1400554a0
mov rdx, qword [0x1402da3d0]
movzx eax, word [r14 + 0xe]
movups xmmword [rsp + 0x28], xmm6
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x68]
mov r8d, 0x7d0
mov r9, rbp
call fcn.140054ec0
cmp qword [rsi], 0xffffffffffffffff
jne 0x1400553eb
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x12000000
mov dword [rsp + 0x20], 3
mov rcx, qword [rsp + 0x58]
mov edx, 0x12019f
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov qword [rsi], rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp qword [rsi], 0xffffffffffffffff
jne 0x1400553eb
and eax, 0xfffffffe
cmp eax, 0x20
jne 0x1400553eb
mov rdx, qword [0x1402da3d0]
movzx eax, word [r14 + 0xe]
movups xmmword [rsp + 0x28], xmm6
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x68]
mov r8d, 0x7d0
mov r9, rbp
call fcn.140054ec0
cmp qword [rsi], 0xffffffffffffffff
jne 0x1400553eb
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x12000000
mov dword [rsp + 0x20], 3
mov rcx, qword [rsp + 0x58]
mov edx, 0x12019f
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov qword [rsi], rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x1400556e8
mov ecx, 0x322
call fcn.140073230
mov rbp, rax
mov r8d, dword [r14 + 8]
mov ecx, 0x411
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_OpenProcess]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x1400554a0
mov rcx, r13
xor edx, edx
mov r8, rbp
mov r9d, 0x190
call sub.PSAPI.DLL_GetModuleFileNameExW
mov r8d, 0xb
lea rcx, str.c:windows_
mov rdx, rbp
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x14005568a
mov rcx, rbp
call fcn.140053f70
mov rcx, r13
xor edx, edx
call qword [0x1402da400]
mov rcx, r13
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, rbp
call fcn.140073250
cmp qword [rsi], 0xffffffffffffffff
jne 0x1400553eb
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x12000000
mov dword [rsp + 0x20], 3
mov rcx, qword [rsp + 0x58]
mov edx, 0x12019f
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov qword [rsi], rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
and eax, 0xfffffffe
cmp eax, 0x20
jne 0x1400553eb
cmp qword [rsi], 0xffffffffffffffff
je 0x1400554a0
jmp 0x1400553eb
mov rcx, qword [rsp + 0xa0]
call fcn.140257dd0
mov r12, rsi
cmp qword [rsi], 0xffffffffffffffff
mov rdi, qword [rsp + 0x58]
jne 0x14005532b
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x12000000
mov dword [rsp + 0x20], 3
mov rcx, rdi
mov edx, 0x12019f
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov qword [r12], rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp qword [r12], 0xffffffffffffffff
jne 0x14005532b
and eax, 0xfffffffe
cmp eax, 0x20
jne 0x14005532b
mov eax, dword [0x1402da720]
cmp eax, 0x38
mov qword [rsp + 0x58], rdi
jl 0x1400557a2
mov rsi, qword [sym.imp.KERNEL32.DLL_Sleep]
nop word [rax + rax]
mov ecx, 0x50
call rsi
mov eax, dword [0x1402da720]
cmp eax, 0x37
jg 0x140055790
lock inc dword [0x1402da720]
mov dword [rsp + 0x64], 0x7b
mov dword [rsp + 0x54], 1
xorps xmm0, xmm0
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x130], xmm0
movaps xmmword [rsp + 0x120], xmm0
movaps xmmword [rsp + 0x110], xmm0
mov word [rsp + 0x150], 0
lea rdx, [rsp + 0x110]
mov rcx, rbx
mov r8d, 0x40
call fcn.14005c780
mov qword [rsp + 0xa8], r12
mov word [rsp + 0x150], 0
xor ebp, ebp
lea rdi, [rsp + 0x64]
lea rsi, [0x140261ad0]
lea r13, [rsp + 0xd0]
lea rbx, [0x140053f00]
lea r15, [rsp + 0x68]
mov r12, qword [sym.imp.KERNEL32.DLL_CreateThread]
nop word [rax + rax]
mov qword [rsp + 0xc8], rdi
lea rax, [rsp + 0x110]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0xb8], rax
mov byte [rsp + 0x90], 0
mov ecx, 0x30
call fcn.1400731c0
mov qword [rax], rsi
lea rcx, [rsp + 0x100]
mov qword [rax + 8], rcx
lea rcx, [rsp + 0xc8]
mov qword [rax + 0x10], rcx
lea rcx, [rsp + 0xc0]
mov qword [rax + 0x18], rcx
lea rcx, [rsp + 0xb8]
mov qword [rax + 0x20], rcx
lea rcx, [rsp + 0x90]
mov qword [rax + 0x28], rcx
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x68], r13
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.DLL_SetEvent]
mov rcx, qword [rsp + 0x70]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
jne 0x140055990
mov rcx, qword [rsp + 0x78]
mov edx, 0x14d
mov rax, qword [0x1402620f0]
call qword [rax]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rsp + 0x78], 0
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
nop word cs:[rax + rax]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov edx, 0x40000
xor ecx, ecx
mov r8, rbx
mov r9, r15
call r12
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140055930
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
mov qword [rsp + 0x68], 0
xor r14d, r14d
jmp 0x14005599c
cmp byte [rsp + 0x90], 0
setne r14b
mov rcx, qword [rsp + 0xf0]
cmp rcx, r13
je 0x1400559c0
test rcx, rcx
je 0x1400559d1
mov rax, qword [rcx]
add rax, 0x28
jmp 0x1400559cf
mov rax, qword [rsp + 0xd0]
add rax, 0x20
mov rcx, r13
call qword [rax]
xor r14b, 1
cmp dword [rsp + 0x54], 0
setne al
or al, r14b
cmp al, 1
jne 0x1400559f0
cmp ebp, 2
ja 0x1400559f0
inc ebp
jmp 0x140055840
cmp ebp, 3
jne 0x140055a2d
mov r9d, dword [rsp + 0x64]
lea rdx, [0x140257cc0]
lea rcx, [rsp + 0x68]
mov r8d, 0x2710
call fcn.140056450
mov r13, qword [rsp + 0xa8]
mov dword [rsp + 0x60], 1
xor ebx, ebx
mov rdi, qword [rsp + 0x58]
jmp 0x1400560bb
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x54], 1
xor esi, esi
lea rdi, [0x140261da8]
lea r15, [rsp + 0xd0]
lea rbx, [0x140053f00]
lea r14, [rsp + 0x68]
nop word [rax + rax]
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0xc0], rax
mov byte [rsp + 0x90], 0
mov ecx, 0x30
call fcn.1400731c0
mov qword [rax], rdi
lea rcx, [rsp + 0x100]
mov qword [rax + 8], rcx
lea rcx, [rsp + 0xb8]
mov qword [rax + 0x10], rcx
lea rcx, [rsp + 0xc8]
mov qword [rax + 0x18], rcx
lea rcx, [rsp + 0xc0]
mov qword [rax + 0x20], rcx
lea rcx, [rsp + 0x90]
mov qword [rax + 0x28], rcx
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x68], r15
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.DLL_SetEvent]
mov rcx, qword [rsp + 0x70]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
jne 0x140055bb0
mov rcx, qword [rsp + 0x78]
mov edx, 0x14d
mov rax, qword [0x1402620f0]
call qword [rax]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rsp + 0x78], 0
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
nop word cs:[rax + rax]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov edx, 0x40000
xor ecx, ecx
mov r8, rbx
mov r9, r14
call r12
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140055b50
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
mov qword [rsp + 0x68], 0
xor ebp, ebp
jmp 0x140055bbc
cmp byte [rsp + 0x90], 0
setne bpl
mov rcx, qword [rsp + 0xf0]
cmp rcx, r15
je 0x140055be0
test rcx, rcx
je 0x140055bf1
mov rax, qword [rcx]
add rax, 0x28
jmp 0x140055bef
mov rax, qword [rsp + 0xd0]
add rax, 0x20
mov rcx, r15
call qword [rax]
xor bpl, 1
cmp dword [rsp + 0x54], 0
setne al
or al, bpl
cmp al, 1
jne 0x140055c10
cmp esi, 2
ja 0x140055c10
inc esi
jmp 0x140055a60
cmp esi, 3
jne 0x140055c45
mov r9d, dword [rsp + 0x64]
lea rdx, [0x140257cc0]
lea rcx, [rsp + 0x68]
mov r8d, 0x2710
mov rdi, qword [rsp + 0x58]
call fcn.140056450
mov r13, qword [rsp + 0xa8]
xor ebx, ebx
jmp 0x1400560bb
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0x108], 0
mov ecx, 0x29c
call sub.msvcrt.dll_malloc
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x54], 1
xor ebp, ebp
lea r13, [rsp + 0x60]
lea r15, [rsp + 0xb0]
lea rdi, [rsp + 0xd0]
lea rbx, [0x140053f00]
lea r14, [rsp + 0x68]
jmp 0x140055ca2
inc ebp
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x10c], eax
lea rax, [rsp + 0x9c]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xc0], r13
mov qword [rsp + 0xb8], r15
lea rax, [rsp + 0x108]
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x53], 0
mov ecx, 0x48
call fcn.1400731c0
lea rcx, [0x140261f38]
mov qword [rax], rcx
lea rcx, [rsp + 0x98]
mov qword [rax + 8], rcx
lea rcx, [rsp + 0x10c]
mov qword [rax + 0x10], rcx
lea rcx, [rsp + 0xc8]
mov qword [rax + 0x18], rcx
lea rcx, [rsp + 0xc0]
mov qword [rax + 0x20], rcx
lea rcx, [rsp + 0xb8]
mov qword [rax + 0x28], rcx
lea rcx, [rsp + 0x100]
mov qword [rax + 0x30], rcx
lea rcx, [rsp + 0x90]
mov qword [rax + 0x38], rcx
lea rcx, [rsp + 0x53]
mov qword [rax + 0x40], rcx
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x68], rdi
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.DLL_SetEvent]
mov rcx, qword [rsp + 0x70]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
jne 0x140055e21
mov rcx, qword [rsp + 0x78]
mov edx, 0x14d
mov rax, qword [0x1402620f0]
call qword [rax]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rsp + 0x78], 0
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
nop dword [rax + rax]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov edx, 0x40000
xor ecx, ecx
mov r8, rbx
mov r9, r14
call r12
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140055dd0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
mov qword [rsp + 0x68], 0
xor esi, esi
jmp 0x140055e2a
cmp byte [rsp + 0x53], 0
setne sil
mov rcx, qword [rsp + 0xf0]
cmp rcx, rdi
je 0x140055e45
test rcx, rcx
je 0x140055e59
mov rax, qword [rcx]
add rax, 0x28
jmp 0x140055e57
mov rdx, rdi
mov rax, qword [rsp + 0xd0]
add rax, 0x20
mov rcx, rdi
call qword [rax]
xor sil, 1
mov eax, dword [rsp + 0x54]
test eax, eax
setne cl
or cl, sil
cmp cl, 1
jne 0x140055edd
cmp ebp, 2
ja 0x140055edd
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x60], eax
mov rcx, qword [rsp + 0xb0]
imul rdx, rax, 0x29c
call sub.msvcrt.dll_realloc
mov qword [rsp + 0xb0], rax
test rax, rax
jne 0x140055ca0
mov rsi, r15
mov eax, dword [rsp + 0x9c]
imul r15, rax, 0x29c
nop word cs:[rax + rax]
mov rcx, r15
call sub.msvcrt.dll_malloc
test rax, rax
je 0x140055ec0
mov qword [rsp + 0xb0], rax
mov r15, rsi
jmp 0x140055ca0
mov ecx, dword [rsp + 0x60]
xor ebx, ebx
test rcx, rcx
je 0x140055fd9
test eax, eax
mov rdi, qword [rsp + 0x58]
mov r13, qword [rsp + 0xa8]
jne 0x140056092
shl rcx, 2
call fcn.140073230
mov rbx, rax
mov r8d, dword [rsp + 0x60]
test r8, r8
je 0x14005607d
mov rax, qword [rsp + 0xb0]
cmp r8d, 0x14
jb 0x140055f50
imul rcx, r8, 0x29c
add rcx, rax
add rcx, 0xfffffffffffffd68
cmp rbx, rcx
jae 0x140055feb
lea rcx, [rbx + r8*4]
cmp rax, rcx
jae 0x140055feb
xor ecx, ecx
mov rdx, rcx
not rdx
add rdx, r8
mov r10, r8
and r10, 3
je 0x140055f8e
imul r9, rcx, 0x29c
add r9, rax
imul r10, r10, 0xa7
xor r11d, r11d
mov esi, dword [r9 + r11*4]
mov dword [rbx + rcx*4], esi
inc rcx
add r11, 0xa7
cmp r10, r11
jne 0x140055f78
cmp rdx, 3
jb 0x14005607d
imul rdx, rcx, 0x29c
add rax, rdx
mov edx, dword [rax]
mov dword [rbx + rcx*4], edx
mov edx, dword [rax + 0x29c]
mov dword [rbx + rcx*4 + 4], edx
mov edx, dword [rax + 0x538]
mov dword [rbx + rcx*4 + 8], edx
mov edx, dword [rax + 0x7d4]
mov dword [rbx + rcx*4 + 0xc], edx
add rcx, 4
add rax, 0xa70
cmp r8, rcx
jne 0x140055fa2
jmp 0x14005607d
mov rdi, qword [rsp + 0x58]
mov r13, qword [rsp + 0xa8]
jmp 0x140056092
mov ecx, r8d
and ecx, 0xfffffff8
lea rdx, [r8*4]
and rdx, 0xffffffffffffffe0
xor r9d, r9d
mov r10, rax
movss xmm0, dword [r10 + 0x7d4]
movss xmm1, dword [r10 + 0x538]
unpcklps xmm1, xmm0
movss xmm0, dword [r10 + 0x29c]
movss xmm2, dword [r10]
unpcklps xmm2, xmm0
movlhps xmm2, xmm1
movss xmm0, dword [r10 + 0x1244]
movss xmm1, dword [r10 + 0xfa8]
unpcklps xmm1, xmm0
movss xmm0, dword [r10 + 0xd0c]
movss xmm3, dword [r10 + 0xa70]
unpcklps xmm3, xmm0
movlhps xmm3, xmm1
movups xmmword [rbx + r9], xmm2
movups xmmword [rbx + r9 + 0x10], xmm3
add r10, 0x14e0
add r9, 0x20
cmp rdx, r9
jne 0x140056003
cmp rcx, r8
jne 0x140055f52
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x68]
mov rdx, rbx
mov r9, rdi
call fcn.140054130
mov rcx, qword [rsp + 0xb0]
call fcn.140257dd0
mov r9d, dword [rsp + 0x64]
lea rdx, [0x140257cc0]
lea rcx, [rsp + 0x68]
mov r8d, 0x2710
call fcn.140056450
cmp qword [r13], 0xffffffffffffffff
je 0x1400560e0
test rbx, rbx
je 0x1400560cf
mov rcx, rbx
call fcn.140073250
lock dec dword [0x1402da720]
mov rdi, qword [rsp + 0x58]
jmp 0x14005532b
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x12000000
mov dword [rsp + 0x20], 3
mov rcx, rdi
mov edx, 0x12019f
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov qword [r13], rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp qword [r13], 0xffffffffffffffff
jne 0x1400560c2
and eax, 0xfffffffe
cmp eax, 0x20
jne 0x1400560c2
mov dword [rsp + 0xd0], 0
mov ecx, 0x320
call sub.msvcrt.dll_malloc
mov r14, rax
mov r12d, 0x320
lea r15, [rsp + 0xd0]
nop dword [rax]
mov rcx, r14
mov edx, r12d
mov r8, r15
call sub.PSAPI.DLL_EnumProcesses
mov r8d, dword [rsp + 0xd0]
cmp r8d, r12d
jb 0x14005617f
lea r12d, [r8 + r8*2]
mov rcx, r14
mov rdx, r12
call sub.msvcrt.dll_realloc
mov r14, rax
jmp 0x140056150
shr r8d, 2
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x68]
mov rdx, r14
mov rsi, qword [rsp + 0x58]
mov r9, rsi
call fcn.140054130
mov rcx, r14
call fcn.140257dd0
cmp qword [r13], 0xffffffffffffffff
jne 0x1400560c2
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x12000000
mov dword [rsp + 0x20], 3
mov rcx, rsi
mov edx, 0x12019f
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov qword [r13], rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp qword [r13], 0xffffffffffffffff
jne 0x1400560c2
test rbx, rbx
je 0x1400560c2
and eax, 0xfffffffe
cmp eax, 0x20
jne 0x1400560c2
cmp dword [rsp + 0x60], 0
je 0x1400560c7
xor esi, esi
mov r12, qword [sym.imp.KERNEL32.DLL_OpenProcess]
lea rdi, str.c:windows_
mov r13, qword [sym.imp.msvcrt.dll__wcsnicmp]
jmp 0x140056243
mov rcx, r14
call fcn.140073250
inc rsi
mov eax, dword [rsp + 0x60]
cmp rsi, rax
jae 0x1400560c7
mov eax, dword [rbx + rsi*4]
cmp eax, dword [0x1402d7220]
je 0x140056233
mov ecx, 0x322
call fcn.140073230
mov r14, rax
mov r8d, dword [rbx + rsi*4]
mov ecx, 0x411
xor edx, edx
call r12
mov r15, rax
inc rax
cmp rax, 2
jb 0x14005622b
mov rcx, r15
xor edx, edx
mov r8, r14
mov r9d, 0x190
call sub.PSAPI.DLL_GetModuleFileNameExW
mov r8d, 0xb
mov rcx, rdi
mov rdx, r14
call r13
test eax, eax
je 0x1400562a3
mov rcx, r14
call fcn.140053f70
mov rcx, r15
xor edx, edx
call qword [0x1402da400]
mov rcx, r15
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x14005622b