Function at 0x100051b0
Capabilities:
Accept command line arguments
Enumerate processes

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x284
mov eax, dword [ecx]
mov dword [ebp - 0x26c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x27c], eax
mov dword [esp + 4], 0
mov dword [esp], 2
call sym._CreateToolhelp32Snapshot_8
mov dword [ebp - 0x278], eax
sub esp, 8
cmp eax, 0xffffffff
je 0x10005498
mov dword [ebp - 0x23c], 0x22c
lea ebx, [ebp - 0x23c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._Process32FirstW_8
sub esp, 8
test eax, eax
jne 0x10005250
mov esi, 0xffffffff
mov eax, dword [ebp - 0x278]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [ebp - 0x26c]
mov ecx, 0x30
mov edx, 8
call sym._resize_table
test eax, eax
je 0x10005221
mov edx, dword [ebp - 0x27c]
xor eax, eax
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x268], 0
mov ebx, dword [sym.imp.ucrtbase.dll__wcsdup]
test edx, edx
setne al
mov dword [ebp - 0x280], eax
jmp 0x100053b5
mov dword [edi + 4], eax
mov dword [esp], esi
call ebx
lea ecx, [ebp - 0x252]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x234]
mov dword [esp], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x10023134
mov dword [esp + 4], 0xb
call sym._swprintf
lea ecx, [ebp - 0x252]
mov dword [esp], ecx
call ebx
mov dword [edi + 0xc], eax
mov dword [esp], esi
call ebx
mov edx, dword [ebp - 0x27c]
mov dword [edi + 0x20], 0
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x234]
mov dword [edi + 0x24], 0
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x224]
mov dword [edi + 0x28], sym._process_create
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x228]
mov dword [edi + 0x2c], sym._process_get_owner
mov dword [edi + 0x1c], eax
test edx, edx
je 0x10005379
lea eax, [ebp - 0x264]
mov dword [esp + 8], edx
mov esi, 0xffffffff
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x260]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x268]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x26c]
mov dword [esp], eax
call sym._eval_cond
test eax, eax
jne 0x10005428
mov eax, dword [ebp - 0x260]
or eax, dword [ebp - 0x25c]
je 0x10005420
mov eax, dword [ebp - 0x274]
add dword [ebp - 0x270], 0x30
mov esi, dword [ebp - 0x280]
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x23c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x278]
mov dword [esp], eax
call sym._Process32NextW_8
sub esp, 8
test eax, eax
je 0x10005448
mov eax, dword [ebp - 0x268]
mov esi, dword [ebp - 0x26c]
mov ecx, 0x30
add eax, 1
mov dword [ebp - 0x274], eax
mov edx, eax
mov eax, esi
call sym._resize_table
test eax, eax
je 0x10005221
mov edi, dword [ebp - 0x270]
add edi, dword [esi + 0x14]
lea esi, [ebp - 0x218]
mov dword [esp], esi
call ebx
mov dword [edi], eax
xor eax, eax
mov edx, dword [ebp - 0x234]
mov ecx, dword fs:[0x18]
cmp dword [ecx + 0x20], edx
jne 0x100052a0
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov dword [esp], eax
call ebx
jmp 0x100052a0
mov esi, 1
lea esi, [esi]
mov eax, dword [ebp - 0x268]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x26c]
mov dword [esp], eax
call sym._free_row_values
jmp 0x10005392
test byte [0x1002179c], 8
jne 0x10005468
mov eax, dword [ebp - 0x26c]
mov ebx, dword [ebp - 0x268]
mov dword [eax + 0xc], ebx
jmp 0x10005226
mov eax, dword [ebp - 0x268]
mov dword [esp + 0xc], str.created__u_rows_n
mov dword [esp + 8], str.fill_process
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x1002179c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10005451
mov esi, 0xffffffff
jmp 0x10005238