Function at 0x41abb0
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Get file system object information
Query environment variable
Terminate process

Disassembly:
push ebp
mov eax, 0x89cc
mov ebp, esp
push edi
push esi
push ebx
call fcn.00401050
sub esp, eax
test byte [0x423030], 8
jne 0x41af28
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._WCMD_parameter
mov ebx, eax
test eax, eax
je 0x41ac10
cmp word [eax], 0
jne 0x41ac20
mov dword [0x4231f0], 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x43770c
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcspbrk]
test eax, eax
je 0x41b30d
lea edi, [ebp - 0x8018]
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0x2000
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetFullPathNameW]
sub esp, 0x10
test eax, eax
je 0x41ac10
cmp eax, 0x2000
ja 0x41b06f
mov dword [esp + 4], 0x5c
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcsrchr]
mov dword [ebp - 0x8998], 0
mov ebx, eax
test eax, eax
je 0x41acae
mov dword [esp + 4], 0x2e
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
setne al
movzx eax, al
mov dword [ebp - 0x8998], eax
lea ecx, [ebp - 0x86dc]
xor eax, eax
mov dword [ebp - 0x8994], ecx
lea esi, [esi]
movzx edx, word [ebx + eax + 2]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x41acc0
xor eax, eax
mov esi, dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x899c], 1
mov word [ebx + 2], ax
lea eax, [ebp - 0x4018]
mov dword [esp + 8], 0x2000
mov dword [esp + 4], eax
mov dword [esp], 0x437728
call esi
dec eax
sub esp, 0xc
cmp eax, 0x1ffe
jbe 0x41ad37
xor eax, eax
mov edx, 0x2e
jmp 0x41ad27
movzx edx, word [eax + str..bat_.com_.cmd_.exe]
mov word [ebp + eax - 0x4018], dx
add eax, 2
test dx, dx
jne 0x41ad20
test byte [0x423030], 8
jne 0x41b443
mov dword [ebp - 0x8990], edi
lea esi, [esi]
mov esi, dword [ebp - 0x899c]
mov ecx, 0x82
lea edi, [ebp - 0x84d4]
xor eax, eax
rep stosd dword es:[edi], eax
test esi, esi
je 0x41af68
mov ecx, dword [ebp - 0x8990]
lea esi, [esi]
nop
movzx edx, word [ecx + eax]
mov word [ebp + eax - 0x84d4], dx
add eax, 2
test dx, dx
jne 0x41ad78
mov dword [ebp - 0x8990], 0
cmp word [ebp - 0x84d4], 0
lea edx, [ebp - 0x84d4]
je 0x41adb9
lea esi, [esi]
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x41adb0
xor eax, eax
mov ecx, 0x5c
jmp 0x41adcf
movzx ecx, word [eax + 0x43777c]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x41adc8
cmp word [ebp - 0x84d4], 0
lea edx, [ebp - 0x84d4]
je 0x41adf9
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x41adf0
mov ebx, dword [ebp - 0x8994]
xor eax, eax
lea esi, [esi]
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x41ae08
cmp word [ebp - 0x84d4], 0
lea ebx, [ebp - 0x84d4]
je 0x41b2b0
lea esi, [esi]
add ebx, 2
cmp word [ebx], 0
jne 0x41ae30
mov ecx, dword [ebp - 0x8998]
test ecx, ecx
je 0x41ae72
lea eax, [ebp - 0x84d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
sub esp, 4
cmp eax, 0xffffffff
je 0x41ae62
test al, 0x10
je 0x41b2c8
movzx eax, word [ebp - 0x84d4]
test ax, ax
je 0x41b438
lea edx, [ebp - 0x84d4]
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x41ae80
xor eax, eax
mov ecx, 0x2e
jmp 0x41ae9f
movzx ecx, word [eax + 0x4377a6]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x41ae98
lea eax, [ebp - 0x82cc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x84d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
sub esp, 8
mov esi, eax
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
cmp esi, 0xffffffff
jne 0x41b0b0
mov eax, dword [ebp - 0x8990]
test eax, eax
jne 0x41ad50
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x41b679
mov dword [esp], 0x410
call sym._WCMD_LoadMessage
mov edi, dword [ebp + 8]
mov dword [esp], eax
mov dword [esp + 4], edi
call sym._WCMD_output_stderr
mov dword [0x4231f0], 0x2331
jmp 0x41ac10
mov eax, dword [ebp + 8]
call sym._wine_dbgstr_wn.constprop.0_2
mov edi, dword [ebp + 0xc]
mov dword [esp + 0xc], str.Running__s___d__n
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov dword [esp + 8], str.WCMD_run_program
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x41abcf
mov ebx, dword [ebp - 0x8990]
xor eax, eax
jmp 0x41af87
mov ecx, eax
xor ecx, 1
cmp dx, 0x22
cmove eax, ecx
add ebx, 2
movzx edx, word [ebx]
test eax, eax
jne 0x41af98
cmp dx, 0x3b
je 0x41b230
test dx, dx
jne 0x41af78
mov ecx, dword [ebp - 0x8990]
xor eax, eax
lea esi, [esi]
movzx edx, word [ecx + eax]
mov word [ebp + eax - 0x84d4], dx
add eax, 2
test dx, dx
jne 0x41afa8
movzx edx, word [ebp - 0x84d4]
mov dword [ebp - 0x8990], 0
test dx, dx
je 0x41b275
lea eax, [ebp - 0x84d4]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x41afe0
lea edi, [ebp - 0x84d4]
sub eax, edi
sar eax, 1
cmp word [ebp + eax*2 - 0x84d6], 0x22
lea ecx, [eax - 1]
je 0x41b298
xor eax, eax
cmp dx, 0x22
jne 0x41b020
jmp 0x41b090
movzx edx, word [ebp + eax - 0x84d4]
mov word [ebp + eax - 0x88e4], dx
add eax, 2
test dx, dx
jne 0x41b018
lea eax, [ebp - 0x84d4]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x88e4]
mov dword [esp + 4], 0x104
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetFullPathNameW]
sub esp, 0x10
test eax, eax
je 0x41ac10
cmp eax, 0x104
jbe 0x41ad96
mov dword [esp], 0x416
call sym._WCMD_LoadMessage
mov edx, eax
mov eax, 0xfffffff4
call sym._WCMD_output_asis_handle
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
movzx edx, word [ebp + eax - 0x84d2]
mov word [ebp + eax - 0x88e4], dx
add eax, 2
test dx, dx
jne 0x41b090
jmp 0x41b030
lea esi, [ebp - 0x4018]
lea esi, [esi]
lea esi, [esi]
mov dword [esp + 4], 0x3b
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcschr]
mov edi, eax
test eax, eax
je 0x41b120
mov edx, eax
mov dword [esp + 4], esi
sub edx, esi
mov dword [esp], ebx
lea esi, [edi + 2]
mov dword [esp + 8], edx
mov dword [ebp - 0x898c], edx
call sym._memcpy
mov edx, dword [ebp - 0x898c]
xor eax, eax
mov word [ebx + edx], ax
lea eax, [ebp - 0x84d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
sub esp, 4
cmp eax, 0xffffffff
je 0x41b0c0
jmp 0x41b153
xor eax, eax
lea esi, [esi]
movzx edx, word [esi + eax]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x41b128
lea eax, [ebp - 0x84d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
sub esp, 4
cmp eax, 0xffffffff
je 0x41aede
test byte [0x423030], 8
jne 0x41b400
lea eax, [ebp - 0x84d4]
mov dword [esp + 4], 0x2e
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcsrchr]
mov ebx, eax
test byte [0x423030], 8
jne 0x41b780
test ebx, ebx
je 0x41b7b8
mov dword [esp + 4], str..bat
mov esi, dword [sym.imp.ucrtbase.dll__wcsicmp]
mov dword [esp], ebx
call esi
test eax, eax
jne 0x41b488
mov ebx, dword [0x4232e8]
test byte [0x423030], 8
jne 0x41b940
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [0x4232e8], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x84d4]
mov dword [esp], eax
call sym._WCMD_batch
mov dword [0x4232e8], ebx
test byte [0x423030], 8
je 0x41ac10
mov dword [esp + 0xc], str.Back_from_call_to_batch_program_n
mov dword [esp + 8], str.WCMD_run_program
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x41ac10
mov eax, dword [ebp - 0x8990]
mov esi, ebx
sub esi, eax
mov dword [esp + 4], eax
lea eax, [ebp - 0x84d4]
mov dword [esp + 8], esi
sar esi, 1
mov dword [esp], eax
call sym._memcpy
xor edx, edx
lea eax, [ebx + 2]
mov word [ebp + esi*2 - 0x84d4], dx
movzx edx, word [ebp - 0x84d4]
mov dword [ebp - 0x8990], eax
test dx, dx
jne 0x41afd6
cmp word [ebp - 0x84d6], 0x22
je 0x41b28d
xor eax, eax
mov word [ebp - 0x88e4], ax
jmp 0x41b030
mov ecx, 0xffffffff
lea esi, [esi]
xor ebx, ebx
mov word [ebp + ecx*2 - 0x84d4], bx
movzx edx, word [ebp - 0x84d4]
jmp 0x41b005
mov edx, dword [ebp - 0x8998]
test edx, edx
jne 0x41ae43
mov edx, ebx
jmp 0x41ae89
test byte [0x423030], 8
je 0x41b160
lea eax, [ebp - 0x84d4]
call sym._wine_dbgstr_wn.constprop.0_2
mov dword [esp + 0xc], str.Found_as_file_with_extension_as__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.WCMD_run_program
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x41b160
mov edx, 0x2e
lea edi, [ebp - 0x8018]
jmp 0x41b327
movzx edx, word [eax + 0x437714]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x41b320
lea eax, [ebp - 0x8014]
mov dword [esp + 8], 0x1ffe
mov esi, dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov dword [esp + 4], eax
mov dword [esp], 0x43771a
call esi
dec eax
sub esp, 0xc
cmp eax, 0x1ffc
jbe 0x41b383
xor eax, eax
mov edx, 0x2e
jmp 0x41b377
movzx edx, word [eax + 0x437724]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x41b370
mov dword [esp + 4], 0x2e
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcschr]
movzx edx, word [ebx]
test eax, eax
setne al
movzx eax, al
mov dword [ebp - 0x8998], eax
test dx, dx
je 0x41b3c6
mov eax, ebx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x41b3b0
sub eax, ebx
cmp eax, 0x206
jg 0x41b763
lea ecx, [ebp - 0x86dc]
xor eax, eax
mov dword [ebp - 0x8994], ecx
jmp 0x41b3e4
movzx edx, word [ebx + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x41b3e0
mov dword [ebp - 0x899c], 0
jmp 0x41ace7
lea eax, [ebp - 0x84d4]
call sym._wine_dbgstr_wn.constprop.0_2
mov dword [esp + 0xc], str.Found_via_search_and_pathext_as__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.WCMD_run_program
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x41b160
lea edx, [ebp - 0x84d4]
jmp 0x41ae89
mov eax, dword [ebp - 0x8994]
call sym._wine_dbgstr_wn.constprop.0_2
mov ebx, eax
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0_2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Searching_in__s_for__s_n
mov dword [esp + 8], str.WCMD_run_program
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x41ad44
mov dword [esp + 4], str..cmd
mov dword [esp], ebx
call esi
test eax, eax
je 0x41b1a9
lea eax, [ebp - 0x84d4]
lea edi, [ebp - 0x88e4]
mov dword [esp + 4], 0
mov dword [esp + 8], edi
mov dword [esp], eax
call dword [sym.imp.shell32.dll_FindExecutableW]
mov dword [ebp - 0x898c], 0
sub esp, 0xc
cmp eax, 0x1f
jg 0x41bb84
mov dword [esp + 4], str..exe
mov dword [esp], ebx
call esi
lea edx, [ebp - 0x8928]
test eax, eax
jne 0x41b97e
lea ebx, [ebp - 0x8968]
xor eax, eax
mov ecx, 0x10
mov dword [ebp - 0x8928], 0x44
mov edi, ebx
rep stosd dword es:[edi], eax
mov dword [esp], edx
mov dword [ebp - 0x896c], 0x44
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
movzx esi, word [ebp - 0x88f6]
mov edi, dword [ebp - 0x88f4]
sub esp, 4
mov word [ebp - 0x893a], si
mov dword [ebp - 0x8938], edi
test si, si
je 0x41b547
test edi, edi
jne 0x41b851
test byte [0x423030], 8
jne 0x41b828
lea eax, [ebp - 0x897c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x896c]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x84d4]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
mov ebx, eax
mov eax, dword [ebp - 0x8938]
sub esp, 0x28
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [0x4243a8]
or eax, dword [0x4243ac]
jne 0x41b6fa
test ebx, ebx
je 0x41b718
mov esi, dword [0x4232e8]
test esi, esi
je 0x41b5f4
mov eax, dword [ebp - 0x898c]
test eax, eax
je 0x41b61b
shr eax, 0x10
jne 0x41b61b
test byte [0x423030], 8
jne 0x41bc0f
mov eax, dword [ebp - 0x897c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
sub esp, 8
mov eax, dword [ebp - 0x897c]
mov dword [esp + 4], 0x4231f0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
mov eax, dword [0x4231f0]
sub esp, 8
cmp eax, 0x103
je 0x41bb6c
test byte [0x423030], 8
jne 0x41bb3f
mov eax, dword [ebp - 0x897c]
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x8978]
sub esp, 4
mov dword [esp], eax
call ebx
sub esp, 4
jmp 0x41ac10
lea eax, [ebp - 0x82cc]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x82cc], 0
mov dword [esp], eax
call sym._WCMD_ReadAndParseLine
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x82cc]
mov dword [esp], eax
call sym._WCMD_process_commands
mov ebx, dword [ebp - 0x82cc]
mov edi, dword [sym.imp.ucrtbase.dll_free]
test ebx, ebx
je 0x41ac10
lea esi, [esi]
mov esi, ebx
mov ebx, dword [ebx + 8]
mov eax, dword [esi]
mov dword [esp], eax
call edi
mov eax, dword [esi + 4]
mov dword [esp], eax
call edi
mov dword [esp], esi
call edi
test ebx, ebx
jne 0x41b6d8
jmp 0x41ac10
mov eax, ebx
or eax, dword [0x4243b0]
jne 0x41b5d3
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 2
je 0x41bb09
test byte [0x423030], 8
je 0x41aeec
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.Failed_to_launch_via_CreateProcess__rc__d___ld__n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.WCMD_run_program
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x41aeec
mov dword [esp], 0x40b
call sym._WCMD_LoadMessage
mov edx, eax
mov eax, 0xfffffff4
call sym._WCMD_output_asis_handle
jmp 0x41ac10
lea eax, [ebp - 0x84d4]
call sym._wine_dbgstr_wn.constprop.0_2
mov dword [esp + 0xc], str.Found_as__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.WCMD_run_program
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x41b186
lea eax, [ebp - 0x84d4]
lea ebx, [ebp - 0x88e4]
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
mov dword [esp], eax
call dword [sym.imp.shell32.dll_FindExecutableW]
sub esp, 0xc
cmp eax, 0x1f
jle 0x41b969
lea eax, [ebp - 0x82cc]
mov dword [esp + 0x10], 0x2000
mov dword [esp + 0xc], 0x2b4
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.shell32.dll_SHGetFileInfoW]
lea edx, [ebp - 0x8928]
mov dword [ebp - 0x898c], eax
sub esp, 0x14
jmp 0x41b4ef
mov dword [esp + 0xc], str.Launching_via_CreateProcess_n
mov dword [esp + 8], str.WCMD_run_program
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x41b554
mov eax, dword [edi]
cmp si, 0x13
mov dword [ebp - 0x8990], eax
mov eax, 0x13
cmovae eax, esi
mov word [ebp - 0x8998], ax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
test eax, eax
je 0x41bc6e
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x8990]
mov dword [esp + 8], esi
mov dword [esp], ebx
lea ecx, [ebx + eax + 4]
mov dword [ebp - 0x8994], ecx
call sym._memcpy
movzx edi, word [ebp - 0x8998]
mov dword [ebp - 0x8938], ebx
mov word [ebp - 0x893a], di
mov edi, dword [ebp - 0x8990]
test edi, edi
je 0x41b8c3
test byte [ebx + 4], 1
je 0x41b8df
mov dword [esp], 0xfffffff6
call dword [sym.imp.kernel32.dll_GetStdHandle]
mov edi, dword [ebp - 0x8994]
sub esp, 4
mov dword [edi], eax
or byte [ebx + 4], 1
cmp dword [ebp - 0x8990], 1
jbe 0x41b8ee
test byte [ebx + 5], 1
je 0x41b90b
mov dword [esp], 0xfffffff5
call dword [sym.imp.kernel32.dll_GetStdHandle]
mov edi, dword [ebp - 0x8994]
sub esp, 4
mov dword [edi + 4], eax
or byte [ebx + 5], 1
cmp dword [ebp - 0x8990], 2
jbe 0x41b91e
test byte [ebx + 6], 1
je 0x41b547
mov dword [esp], 0xfffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
mov edi, dword [ebp - 0x8994]
sub esp, 4
mov dword [edi + 8], eax
or byte [ebx + 6], 1
jmp 0x41b547
mov dword [esp + 0xc], str.Calling_batch_program_n
mov dword [esp + 8], str.WCMD_run_program
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x41b1bc
mov dword [ebp - 0x898c], 0
lea edx, [ebp - 0x8928]
jmp 0x41b4ef
mov dword [ebp - 0x8990], edx
mov dword [esp + 4], str..com
mov dword [esp], ebx
call esi
mov edx, dword [ebp - 0x8990]
test eax, eax
je 0x41b4ef
lea eax, [ebp - 0x896c]
mov dword [esp + 0x10], 1
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._WCMD_parameter
test byte [0x423030], 8
jne 0x41bbbd
lea ebx, [ebp - 0x8920]
xor eax, eax
mov ecx, 0xd
mov edi, ebx
lea edx, [ebp - 0x8928]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x84d4]
mov dword [esp], edx
mov dword [ebp - 0x8918], eax
mov eax, dword [ebp - 0x896c]
mov dword [ebp - 0x8990], edx
mov dword [ebp - 0x8928], 0x3c
mov dword [ebp - 0x8924], 0x8040
mov dword [ebp - 0x8914], eax
mov dword [ebp - 0x890c], 1
call dword [sym.imp.shell32.dll_ShellExecuteExW]
mov edx, dword [ebp - 0x8990]
sub esp, 4
test eax, eax
je 0x41b4ef
cmp dword [ebp - 0x8908], 0x1f
jle 0x41b4ef
test byte [0x423030], 8
jne 0x41bc38
cmp dword [0x4232e8], 0
je 0x41baa5
mov eax, dword [ebp - 0x898c]
test eax, eax
je 0x41babe
shr eax, 0x10
jne 0x41babe
test byte [0x423030], 8
je 0x41baa5
mov dword [esp + 0xc], str.Waiting_for_process_to_end_n
mov dword [esp + 8], str.WCMD_run_program
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
mov eax, dword [ebp - 0x88f0]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push eax
push eax
mov eax, dword [ebp - 0x88f0]
mov dword [esp + 4], 0x4231f0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
push eax
push eax
mov eax, dword [0x4231f0]
cmp eax, 0x103
je 0x41bcb1
test byte [0x423030], 8
jne 0x41bc84
mov eax, dword [ebp - 0x897c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
push eax
jmp 0x41ac10
mov eax, dword [ebp + 8]
cmp word [eax], 0x22
jne 0x41b718
mov dword [esp], eax
call sym._WCMD_strip_quotes
mov eax, dword [ebp + 0xc]
mov dword [0x4243b0], 1
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._WCMD_run_program
jmp 0x41ac10
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Process_ended__errorlevel__ld_n
mov dword [esp + 8], str.WCMD_run_program
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x41b652
test byte [0x423030], 8
jne 0x41bbe6
mov dword [0x4231f0], 0
jmp 0x41b652
lea eax, [ebp - 0x82cc]
mov dword [esp + 0x10], 0x2000
mov dword [esp + 0xc], 0x2b4
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.shell32.dll_SHGetFileInfoW]
mov dword [ebp - 0x898c], eax
sub esp, 0x14
jmp 0x41b4d4
mov dword [esp + 0xc], str.Launching_via_ShellExecuteEx_n
mov dword [esp + 8], str.WCMD_run_program
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x41b9d9
mov dword [esp + 0xc], str.Process_still_running__but_returning_anyway_n
mov dword [esp + 8], str.WCMD_run_program
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x41bb75
mov dword [esp + 0xc], str.Waiting_for_process_to_end_n
mov dword [esp + 8], str.WCMD_run_program
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x41b601
mov dword [esp + 0xc], str.Successfully_launched_n
mov dword [esp + 8], str.WCMD_run_program
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
cmp dword [0x4232e8], 0
je 0x41ba78
jmp 0x41ba69
test byte [0x423030], 2
jne 0x41bcc9
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Process_ended__errorlevel__ld_n
mov dword [esp + 8], str.WCMD_run_program
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x41baf4
test byte [0x423030], 8
jne 0x41bcef
mov dword [0x4231f0], 0
jmp 0x41baf4
mov dword [esp + 0xc], str.Out_of_memory_n
mov dword [esp + 8], str.xalloc
mov dword [esp + 4], 0x423030
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
jmp 0x41bc77
mov dword [esp + 0xc], str.Process_still_running__but_returning_anyway_n
mov dword [esp + 8], str.WCMD_run_program
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x41bcba