Function at 0x4019d0
Capabilities:
Accept command line arguments
Check if process is running under wine
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x24
mov dword [ebp - 0x14], eax
mov eax, edx
mov dword [ebp - 0x1c], edx
call dbg.strdup_unixcp
mov dword [ebp - 0x18], eax
test eax, eax
je 0x401b79
cmp word [ebx], 0
je 0x401c0f
lea esi, [esi]
lea eax, [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.shell32.dll_CommandLineToArgvW]
mov esi, eax
mov eax, dword [ebp - 0x10]
sub esp, 8
lea eax, [eax*4 + 8]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
test eax, eax
je 0x401c0f
mov eax, dword [ebp - 0x10]
test eax, eax
jle 0x401a55
xor edi, edi
nop
mov eax, dword [esi + edi*4]
call dbg.strdup_unixcp
mov dword [ebx + edi*4], eax
mov eax, dword [ebp - 0x10]
add edi, 1
cmp eax, edi
jg 0x401a40
mov ecx, dword [ebp - 0x18]
mov dword [ebx + eax*4 + 4], 0
mov dword [ebx + eax*4], ecx
movzx eax, byte [section..data]
test al, 8
jne 0x401bc0
mov esi, dword [ebp - 0x10]
test esi, esi
js 0x401adb
xor esi, esi
jmp 0x401a88
add esi, 1
cmp dword [ebp - 0x10], esi
jl 0x401ad3
mov edx, eax
and edx, 8
je 0x401a80
mov eax, dword [ebx + esi*4]
add esi, 1
call sym._wine_dbgstr_an.constprop.4
mov dword [esp + 0xc], 0x406120
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x40642c
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.5
movzx eax, byte [section..data]
mov edx, eax
and edx, 8
cmp dword [ebp - 0x10], esi
jge 0x401a88
test dl, dl
jne 0x401b90
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.ntdll.dll___wine_unix_spawnvp]
sub esp, 8
test eax, eax
je 0x401c57
mov eax, dword [ebp - 0x10]
xor esi, esi
mov edi, dword [sym.imp.ucrtbase.dll_free]
test eax, eax
jle 0x401b24
lea esi, [esi]
lea esi, [esi]
mov eax, dword [ebx + esi*4]
add esi, 1
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
cmp dword [ebp - 0x10], esi
jg 0x401b10
mov dword [esp], ebx
call edi
mov ecx, dword [ebp - 0x14]
cmp word [ecx], 0
mov eax, ecx
je 0x401c05
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x401b40
sub eax, dword [ebp - 0x14]
sar eax, 1
lea eax, [eax + eax + 2]
add dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp word [ecx], 0
jne 0x401a00
mov esi, edi
test byte [section..data], 2
jne 0x401c22
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call esi
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0x406124
mov dword [esp + 8], 0x40642c
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.5
jmp 0x401adb
mov dword [esp + 0xc], str.Trying
mov dword [esp + 8], 0x40642c
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.5
movzx eax, byte [section..data]
mov ecx, dword [ebp - 0x10]
mov edx, eax
and edx, 8
test ecx, ecx
jns 0x401a79
test dl, dl
je 0x401adb
jmp 0x401b90
mov eax, 2
jmp 0x401b52
mov esi, dword [sym.imp.ucrtbase.dll_free]
test byte [section..data], 2
je 0x401b71
mov eax, dword [ebp - 0x1c]
call sym._wine_dbgstr_wn.constprop.3
mov dword [esp + 0xc], str.could_not_find_a_suitable_app_to_open__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x40642c
mov dword [esp + 4], 0x404000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.5
jmp 0x401b71
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_ExitProcess]