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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x29c
mov dword [esp + 4], 0
mov dword [esp], 2
call sym._CreateToolhelp32Snapshot_8
mov dword [ebp - 0x284], eax
sub esp, 8
cmp eax, 0xffffffff
je 0x7104d820
lea esi, [ebp - 0x244]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [ebp - 0x244], 0x22c
call sym._Process32FirstW_8
sub esp, 8
test eax, eax
jne 0x7104d5e0
mov edi, 0xffffffff
mov eax, dword [ebp - 0x284]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, 0x30
mov edx, 8
call sym._resize_table
test eax, eax
je 0x7104d5b5
cmp dword [ebp + 0xc], 1
mov ebx, dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0
sbb eax, eax
inc eax
mov dword [ebp - 0x288], eax
jmp 0x7104d740
mov dword [edi + 4], eax
lea eax, [ebp - 0x220]
mov dword [esp], eax
call ebx
lea edx, [ebp - 0x25a]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x23c]
mov dword [esp], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x7106216c
mov dword [esp + 4], 0xb
call sym._swprintf
lea edx, [ebp - 0x25a]
mov dword [esp], edx
call ebx
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x220]
mov dword [esp], eax
call ebx
mov dword [edi + 0x20], 0
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x23c]
mov dword [edi + 0x24], 0
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x22c]
mov dword [edi + 0x28], sym._process_create
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x230]
mov dword [edi + 0x2c], sym._process_get_owner
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x7104d70a
lea eax, [ebp - 0x26c]
mov edi, 0xffffffff
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x268]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x27c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._eval_cond
test eax, eax
jne 0x7104d7b0
mov eax, dword [ebp - 0x264]
or eax, dword [ebp - 0x268]
je 0x7104d7a8
add dword [ebp - 0x280], 0x30
mov edi, dword [ebp - 0x288]
mov dword [ebp - 0x27c], esi
lea eax, [ebp - 0x244]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x284]
mov dword [esp], eax
call sym._Process32NextW_8
sub esp, 8
test eax, eax
je 0x7104d7d0
mov eax, dword [ebp - 0x27c]
mov ecx, 0x30
lea esi, [eax + 1]
mov eax, dword [ebp + 8]
mov edx, esi
call sym._resize_table
test eax, eax
je 0x7104d5b5
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x280]
add edi, dword [eax + 0x14]
lea eax, [ebp - 0x220]
mov dword [esp], eax
call ebx
mov dword [edi], eax
xor eax, eax
mov ecx, dword [ebp - 0x23c]
mov edx, dword fs:[0x18]
cmp dword [edx + 0x20], ecx
jne 0x7104d628
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov dword [esp], eax
call ebx
jmp 0x7104d628
mov edi, 1
lea esi, [esi]
mov eax, dword [ebp - 0x27c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._free_row_values
jmp 0x7104d71d
test byte [0x71060048], 8
jne 0x7104d7f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x27c]
mov dword [eax + 0xc], ecx
jmp 0x7104d5ba
mov eax, dword [ebp - 0x27c]
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], 0x71060048
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x7104d7d9
mov edi, 0xffffffff
jmp 0x7104d5cc