Function at 0x480de0
Capabilities:
Enumerate process modules

Disassembly:
cmp byte [0x505dfc], 0
jne 0x48173a
push ebp
push ebx
push edi
push esi
sub esp, 0x430
mov byte [0x505dfc], 1
mov dword [0x505e00], 0
mov dword [0x505e04], 0
mov esi, dword [0x5052b0]
mov dword [0x505e08], esi
mov dword [0x505e0c], 0x104
push 0x104
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov byte [eax], 0
mov dword [0x505e14], eax
mov dword [0x505e10], 0
mov dword [0x505e18], 0x4fb060
mov dword [0x505e1c], 0
mov dword [0x505e20], 0
mov dword [0x505e24], esi
mov dword [0x505e28], 0
mov dword [0x505e2c], 0
mov dword [0x505e30], esi
mov dword [0x505e34], 0
mov dword [0x505e38], 0
mov dword [0x505e3c], esi
mov dword [0x505e40], 0
mov dword [0x505e44], 0
mov dword [0x505e48], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push 0x18
push ecx
push 0
push esi
call sub.ntdll.dll_NtQueryInformationProcess
mov ebx, eax
test eax, eax
js 0x480efd
mov edi, dword [esp + 0x1c]
jmp 0x480efd
lea eax, [esi + 1]
cmp eax, 2
jae 0x480f0e
test ebx, ebx
jns 0x480f1d
jmp 0x481730
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
js 0x481730
mov dword [esp + 8], 0
test edi, edi
je 0x48125c
lea ebp, [esp + 8]
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
jmp 0x480f68
mov eax, dword [0x505e14]
mov byte [eax], 0
mov dword [0x505e10], 0
mov dword [0x505e18], 0
mov edi, dword [esp + 8]
test edi, edi
je 0x48125c
mov ecx, edi
mov edx, ebp
push 0
push 0x505e1c
push 0x505e18
push 0x505e0c
push 0x505e00
call fcn.00481740
add esp, 0x14
test al, al
je 0x48125c
push 0x505e00
push 0x505e28
call fcn.00472940
add esp, 8
mov eax, dword [0x505e2c]
cmp eax, 4
jb 0x481070
mov ecx, dword [0x505e30]
add eax, ecx
add eax, 0xfffffffc
push str..exe
push eax
call ebx
add esp, 8
test eax, eax
jne 0x481070
mov esi, dword [0x505e2c]
cmp esi, 4
jb 0x481070
cmp dword [0x505e28], 0
je 0x480ffb
add esi, 0xfffffffc
mov dword [0x505e2c], esi
add esi, dword [0x505e30]
mov eax, esi
jmp 0x481069
mov ecx, dword [0x505e30]
mov dword [0x505e28], 0
mov dword [0x505e2c], 0
mov eax, dword [0x5052b0]
mov dword [0x505e30], eax
test ecx, ecx
je 0x481070
mov dword [esp], ecx
lea eax, [esi + 1]
mov ecx, 0x20
nop
mov ebp, ecx
add ecx, ecx
cmp eax, ebp
ja 0x481030
push ebp
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov byte [eax], 0
mov dword [0x505e30], eax
mov dword [0x505e28], ebp
push esi
push dword [esp + 4]
push eax
mov ebp, eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov eax, ebp
add esp, 0xc
mov dword [0x505e2c], esi
add eax, esi
mov byte [eax], 0
lea ebp, [esp + 8]
push str.sudo
push dword [0x505e30]
call ebx
add esp, 8
test eax, eax
je 0x4811b0
push 0x4fb06b
push dword [0x505e30]
call ebx
add esp, 8
test eax, eax
je 0x4811b0
push str.doas
push dword [0x505e30]
call ebx
add esp, 8
test eax, eax
je 0x4811b0
push str.strace
push dword [0x505e30]
call ebx
add esp, 8
test eax, eax
je 0x4811b0
push str.sshd
push dword [0x505e30]
call ebx
add esp, 8
test eax, eax
je 0x4811b0
push 0x4fb07f
push dword [0x505e30]
call ebx
add esp, 8
test eax, eax
je 0x4811b0
push str.lldb
push dword [0x505e30]
call ebx
add esp, 8
test eax, eax
je 0x4811b0
push str.guake_wrapped
push dword [0x505e30]
call ebx
add esp, 8
test eax, eax
je 0x4811b0
push str.python
push dword [0x505e30]
call ebx
add esp, 8
test eax, eax
je 0x4811b0
push 0x4fb09d
push dword [0x505e30]
call ebx
add esp, 8
test eax, eax
je 0x4811b0
push str.flashfetch
push dword [0x505e30]
call ebx
add esp, 8
test eax, eax
je 0x4811b0
push str.debug
push dword [0x505e30]
call sub.SHELL32.dll_StrStrIA
test eax, eax
jne 0x4811b0
cmp dword [0x505e2c], 6
jb 0x481230
push 6
push str.ConEmu
push dword [0x505e30]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x481230
nop dword [eax + eax]
cmp dword [0x505e00], 0
je 0x4811d0
mov eax, dword [0x505e08]
mov byte [eax], 0
jmp 0x4811da
mov eax, dword [0x5052b0]
mov dword [0x505e08], eax
mov dword [0x505e04], 0
cmp dword [0x505e28], 0
je 0x481200
mov eax, dword [0x505e30]
mov byte [eax], 0
jmp 0x48120a
mov eax, dword [0x5052b0]
mov dword [0x505e30], eax
mov dword [0x505e2c], 0
cmp dword [0x505e0c], 0
jne 0x480f40
mov eax, dword [0x5052b0]
mov dword [0x505e14], eax
jmp 0x480f48
mov dword [0x505e40], edi
mov eax, dword [esp + 8]
mov dword [0x505e44], eax
push str.explorer
push dword [0x505e30]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
jne 0x48125c
call fcn.004827b0
cmp dword [0x505e04], 0
lea ebx, [esp + 8]
je 0x481730
push str.pwsh
push dword [0x505e30]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x48131f
push str.powershell
push dword [0x505e30]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x481365
push str.powershell_ise
push dword [0x505e30]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x4813ab
push 0x4fb12d
push dword [0x505e30]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x481481
push 0x4fb168
push dword [0x505e30]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x481539
push str.explorer
push dword [0x505e30]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
jne 0x4816fc
call fcn.004827b0
jmp 0x4816fc
cmp dword [0x505e28], 0
je 0x4813f1
mov eax, dword [0x505e30]
mov byte [eax], 0
mov ecx, dword [0x505e28]
mov dword [0x505e2c], 0
test ecx, ecx
je 0x481405
cmp ecx, 0xb
jae 0x48152d
xor eax, eax
cmp ecx, 1
ja 0x481410
jmp 0x481407
cmp dword [0x505e28], 0
je 0x48149b
mov eax, dword [0x505e30]
mov byte [eax], 0
mov ecx, dword [0x505e28]
mov dword [0x505e2c], 0
test ecx, ecx
je 0x4814af
cmp ecx, 0x13
jae 0x4815e4
xor eax, eax
cmp ecx, 1
ja 0x4814c0
jmp 0x4814b1
cmp dword [0x505e28], 0
je 0x481553
mov eax, dword [0x505e30]
mov byte [eax], 0
mov ecx, dword [0x505e28]
mov dword [0x505e2c], 0
test ecx, ecx
je 0x481567
cmp ecx, 0x17
jae 0x48166b
xor eax, eax
cmp ecx, 1
ja 0x481570
jmp 0x481569
mov eax, dword [0x5052b0]
mov dword [0x505e30], eax
mov dword [0x505e2c], 0
mov al, 1
mov ecx, 0x20
nop dword [eax]
mov esi, ecx
add ecx, ecx
cmp esi, 0xb
jb 0x481410
test al, al
je 0x48142d
push esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov byte [eax], 0
xor ecx, ecx
jmp 0x481442
push esi
push dword [0x505e30]
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
mov ecx, dword [0x505e2c]
mov dword [0x505e30], eax
mov dword [0x505e28], esi
mov word [eax + ecx + 8], 0x6c6c
mov dword [eax + ecx + 4], 0x65685372
mov dword [eax + ecx], 0x65776f50
mov eax, dword [0x505e2c]
lea ecx, [eax + 0xa]
mov dword [0x505e2c], ecx
mov ecx, dword [0x505e30]
mov byte [ecx + eax + 0xa], 0
jmp 0x4816fc
cmp dword [0x505e28], 0
je 0x4815f0
mov eax, dword [0x505e30]
mov byte [eax], 0
jmp 0x4815fa
mov eax, dword [0x5052b0]
mov dword [0x505e30], eax
mov dword [0x505e2c], 0
mov al, 1
mov ecx, 0x20
nop word cs:[eax + eax]
mov esi, ecx
add ecx, ecx
cmp esi, 0x13
jb 0x4814c0
test al, al
je 0x4814dd
push esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov byte [eax], 0
xor ecx, ecx
jmp 0x4814f2
push esi
push dword [0x505e30]
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
mov ecx, dword [0x505e2c]
mov dword [0x505e30], eax
mov dword [0x505e28], esi
movups xmm0, xmmword [str.Windows_PowerShell]
movups xmmword [eax + ecx], xmm0
mov word [eax + ecx + 0x10], 0x6c6c
mov eax, dword [0x505e2c]
lea ecx, [eax + 0x12]
mov dword [0x505e2c], ecx
mov ecx, dword [0x505e30]
mov byte [ecx + eax + 0x12], 0
jmp 0x4816fc
xor ecx, ecx
mov eax, dword [0x505e30]
jmp 0x48144d
cmp dword [0x505e28], 0
je 0x481677
mov eax, dword [0x505e30]
mov byte [eax], 0
jmp 0x481681
mov eax, dword [0x5052b0]
mov dword [0x505e30], eax
mov dword [0x505e2c], 0
mov al, 1
mov ecx, 0x20
nop
mov esi, ecx
add ecx, ecx
cmp esi, 0x17
jb 0x481570
test al, al
je 0x48158d
push esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov byte [eax], 0
xor ecx, ecx
jmp 0x4815a2
push esi
push dword [0x505e30]
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
mov ecx, dword [0x505e2c]
mov dword [0x505e30], eax
mov dword [0x505e28], esi
movsd xmm0, qword [0x4fb124]
movsd qword [eax + ecx + 0xe], xmm0
movups xmm0, xmmword [str.Windows_PowerShell_ISE]
movups xmmword [eax + ecx], xmm0
mov eax, dword [0x505e2c]
lea ecx, [eax + 0x16]
mov dword [0x505e2c], ecx
mov ecx, dword [0x505e30]
mov byte [ecx + eax + 0x16], 0
jmp 0x4816fc
xor ecx, ecx
mov eax, dword [0x505e30]
jmp 0x4814fd
mov eax, dword [0x5052b0]
mov dword [0x505e30], eax
mov dword [0x505e2c], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
nop word [eax + eax]
push dword [0x505e40]
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test eax, eax
jne 0x48162f
call edi
cmp eax, 0x18
je 0x481610
jmp 0x4816d0
mov dword [esp + 8], 0x428
push ebx
push esi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x4816d0
lea edi, [esp + 0x28]
push 0xa
push str.clink_dll_
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcsncmp
add esp, 0xc
test eax, eax
je 0x4816a1
push ebx
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x48164a
jmp 0x4816d0
xor ecx, ecx
mov eax, dword [0x505e30]
jmp 0x4815ad
mov eax, dword [0x5052b0]
mov dword [0x505e30], eax
mov dword [0x505e2c], 0
push str.nushell
push 7
push 0x505e28
call fcn.00472620
add esp, 0xc
jmp 0x4816fc
push str.CMD__with_Clink
push 0x10
push 0x505e28
call fcn.00472620
add esp, 0xc
lea ecx, [esp + 0x228]
call fcn.00482870
push 0x29
push 0x505e28
call fcn.004724b0
add esp, 8
cmp dword [0x505e2c], 0
jne 0x4816ed
push str.Command_Prompt
push 0xe
push 0x505e28
call fcn.00472620
add esp, 0xc
mov eax, esi
inc eax
cmp eax, 2
jb 0x4816fc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [0x505e18]
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
add esp, 8
push 0x2e
push ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_strrchr
add esp, 8
test eax, eax
je 0x48171d
mov byte [eax], 0
push 0x505e34
push ebx
push 0x505e0c
call fcn.0041ec30
add esp, 0xc
add esp, 0x430
pop esi
pop edi
pop ebx
pop ebp
mov eax, 0x505e00
ret