Function at 0x41f330
Capabilities:
Get common file path
Query environment variable
Set current directory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3b0
mov eax, dword [ebp + 0xc]
mov esi, dword [sym.imp.kernel32.dll_GetStdHandle]
mov ebx, dword [ebp + 8]
mov dword [esp], 0xfffffff6
mov dword [ebp - 0x388], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x370], esi
mov dword [ebp - 0x37c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x394], eax
call esi
sub esp, 4
mov dword [ebp - 0x358], eax
mov dword [esp], 0xfffffff5
call esi
sub esp, 4
mov dword [ebp - 0x354], eax
mov dword [esp], 0xfffffff4
call esi
mov dword [ebp - 0x34c], 0xfffffff6
sub esp, 4
mov dword [ebp - 0x350], eax
mov dword [ebp - 0x348], 0xfffffff5
mov dword [ebp - 0x344], 0xfffffff4
test byte [0x425038], 8
jne 0x41fcd3
mov dword [esp], 0x4000
call dbg.xalloc
mov ecx, eax
mov dword [ebp - 0x374], eax
xor eax, eax
lea esi, [esi]
movzx edx, word [ebx + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x41f3e0
mov dword [esp], 0x4000
call dbg.xalloc
mov dword [ebp - 0x378], eax
mov eax, dword [ebp - 0x374]
movzx eax, word [eax]
cmp ax, 0x20
je 0x41f41b
cmp ax, 9
jne 0x4200d2
mov eax, dword [ebp - 0x374]
add eax, 2
movzx edx, word [eax]
cmp dx, 0x20
je 0x41f421
cmp dx, 9
je 0x41f421
mov dword [ebp - 0x368], eax
test byte [0x425038], 8
jne 0x41fdb0
mov eax, dword [ebp - 0x368]
movzx eax, word [eax]
cmp ax, 0x40
jne 0x41f468
mov ecx, dword [ebp - 0x368]
movzx eax, word [ecx + 2]
add ecx, 2
mov dword [ebp - 0x368], ecx
xor ebx, ebx
mov esi, dword [sym.imp.user32.dll_IsCharAlphaNumericW]
mov edi, dword [ebp - 0x368]
jmp 0x41f487
add ebx, 1
movzx eax, word [edi + ebx*2]
mov dword [esp], eax
call esi
sub esp, 4
test eax, eax
jne 0x41f480
mov edi, 0x428e00
mov dword [ebp - 0x36c], ebx
mov esi, dword [sym.imp.kernel32.dll_CompareStringW]
mov ebx, edi
mov dword [ebp - 0x38c], eax
mov edi, eax
jmp 0x41f4bf
add edi, 1
add ebx, 0x14
cmp edi, 0x2f
je 0x41fd90
mov eax, dword [ebp - 0x36c]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], 0x1001
mov dword [esp + 8], eax
mov dword [esp], 0x400
call esi
sub esp, 0x18
cmp eax, 2
jne 0x41f4b0
cmp edi, 0xb
mov dword [ebp - 0x380], edi
mov ebx, dword [ebp - 0x36c]
setne dl
cmp edi, 0xe
setne al
mov esi, edx
and esi, eax
lea eax, [ebx + ebx]
mov ecx, eax
mov dword [ebp - 0x390], eax
mov eax, dword [ebp - 0x368]
add eax, ecx
mov dword [ebp - 0x384], eax
movzx eax, word [eax]
mov edi, dword [ebp - 0x384]
cmp ax, 9
je 0x41f542
cmp ax, 0x20
jne 0x41f554
add edi, 2
movzx eax, word [edi]
cmp ax, 0x20
je 0x41f542
cmp ax, 9
je 0x41f542
mov ecx, dword [ebp - 0x37c]
test ecx, ecx
je 0x41f6f0
mov eax, esi
test al, al
je 0x41f6f0
mov eax, dword [ecx]
mov edx, dword [eax + 8]
xor eax, eax
test edx, edx
je 0x41f581
cmp dword [edx + 0xc], 3
je 0x420244
mov ebx, dword [ebp - 0x388]
mov ecx, dword [ebp - 0x378]
movzx edx, word [ebx + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x41f700
mov ecx, dword [0x42f344]
mov ebx, dword [ebp - 0x374]
xor edx, edx
test ecx, ecx
mov ecx, dword [0x42f340]
mov eax, ebx
setne dl
call dbg.handleExpansion
mov eax, dword [0x42f344]
xor edx, edx
mov ecx, dword [0x42f340]
test eax, eax
mov eax, dword [ebp - 0x378]
setne dl
call dbg.handleExpansion
cmp word [ebx + 2], 0x3a
je 0x41ffc0
mov dword [ebp - 0x340], 0xc
mov eax, esi
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x338], 1
test al, al
jne 0x41f715
test byte [0x425038], 8
jne 0x420770
mov eax, edi
call sym._WCMD_parse.constprop.6
test byte [0x425038], 8
jne 0x41fe80
cmp dword [ebp - 0x380], 0x2f
jne 0x41fcb3
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], 0
mov ebx, dword [0x425030]
mov dword [esp], eax
call dbg.WCMD_run_program
mov dword [0x425030], ebx
mov eax, dword [ebp - 0x374]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x378]
mov dword [esp], eax
call ebx
mov edi, dword [sym.imp.kernel32.dll_CloseHandle]
mov esi, dword [ebp - 0x38c]
mov eax, dword [ebp + esi*4 - 0x358]
mov ebx, dword [ebp + esi*4 - 0x34c]
mov edx, dword [ebp - 0x370]
mov dword [ebp - 0x368], eax
mov dword [esp], ebx
call edx
sub esp, 4
cmp dword [ebp - 0x368], eax
je 0x41f6df
mov edx, dword [ebp - 0x370]
mov dword [esp], ebx
call edx
sub esp, 4
mov dword [esp], eax
call edi
mov ecx, dword [ebp - 0x368]
sub esp, 4
mov dword [esp + 4], ecx
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_SetStdHandle]
sub esp, 8
add esi, 1
cmp esi, 3
jne 0x41f689
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp - 0x378]
mov ebx, dword [ebp - 0x388]
xor eax, eax
nop
movzx edx, word [ebx + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x41f700
jmp 0x41f5a1
mov eax, dword [ebp - 0x37c]
test eax, eax
je 0x41fa00
mov ebx, dword [eax]
cmp word [ebx + 0x14], 0
je 0x41fa00
lea esi, [ebx + 0x14]
test byte [0x425038], 8
jne 0x4208e4
lea eax, [ebp - 0x340]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x4000080
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], eax
mov dword [esp + 8], 3
mov dword [esp + 4], 0x80000000
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
mov dword [ebp - 0x364], eax
cmp eax, 0xffffffff
je 0x4200a0
mov dword [esp + 4], eax
mov dword [esp], 0xfffffff6
call dword [sym.imp.kernel32.dll_SetStdHandle]
mov eax, dword [ebp - 0x37c]
xor edx, edx
sub esp, 8
mov eax, dword [eax]
mov word [eax + 0x14], dx
mov eax, dword [ebp - 0x378]
mov dword [ebp - 0x36c], eax
test eax, eax
je 0x41f61e
mov dword [ebp - 0x398], edi
jmp 0x41f8b8
add eax, 2
mov edi, 2
mov dword [ebp - 0x36c], eax
cmp dx, 0x26
je 0x41f91d
mov eax, dword [ebp - 0x36c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._WCMD_parameter
mov dword [esp + 0x18], 0
mov ebx, eax
lea eax, [ebp - 0x340]
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 5
mov dword [esp + 4], 0x40000000
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
mov dword [ebp - 0x364], eax
cmp eax, 0xffffffff
je 0x4200a0
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetFilePointer]
sub esp, 0x10
cmp eax, 0xffffffff
je 0x41fc00
mov edi, dword [ebp - 0x364]
test byte [0x425038], 8
jne 0x41fab0
mov eax, dword [ebp + esi*4 - 0x34c]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetStdHandle]
sub esp, 8
mov eax, dword [ebp - 0x36c]
mov dword [esp + 4], 0x3e
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
je 0x4207a0
mov esi, 1
cmp eax, dword [ebp - 0x36c]
jbe 0x41f8f3
xor ecx, ecx
cmp word [eax - 2], 0x32
sete cl
mov esi, ecx
add esi, 1
movzx edx, word [eax + 2]
cmp dx, 0x3e
jne 0x41f7d0
movzx edx, word [eax + 4]
lea ecx, [eax + 4]
mov edi, 4
mov dword [ebp - 0x36c], ecx
cmp dx, 0x26
jne 0x41f7e8
mov eax, dword [ebp - 0x36c]
movzx ebx, word [eax + 2]
lea eax, [ebx - 0x30]
mov ebx, dword [ebp + eax*4 - 0x34c]
mov dword [ebp - 0x388], eax
mov eax, dword [ebp - 0x370]
mov dword [esp], ebx
call eax
lea ecx, [ebp - 0x364]
sub esp, 4
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], 0xffffffff
call dword [sym.imp.kernel32.dll_DuplicateHandle]
sub esp, 0x1c
test eax, eax
movzx eax, byte [0x425038]
jne 0x41f996
test al, 1
jne 0x41ff70
mov edi, dword [ebp - 0x364]
test al, 8
je 0x41f8a1
mov dword [esp], ebx
mov eax, dword [ebp - 0x370]
call eax
mov ecx, dword [ebp - 0x388]
sub esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.Redirect__d___p__to__d___p__n
mov dword [esp + 8], global___func__.5
mov dword [esp + 4], 0x425038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.11
mov edi, dword [ebp - 0x364]
jmp 0x41f8a1
mov eax, dword [ebp - 0x378]
mov dword [esp + 4], 0x3c
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
je 0x41f7af
add eax, 2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._WCMD_parameter
lea edx, [ebp - 0x340]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
mov dword [ebp - 0x364], eax
cmp eax, 0xffffffff
je 0x4200a0
mov dword [esp + 4], eax
mov dword [esp], 0xfffffff6
call dword [sym.imp.kernel32.dll_SetStdHandle]
sub esp, 8
jmp 0x41f7af
test ebx, ebx
je 0x4207b0
mov eax, ebx
shr eax, 0x10
je 0x41ff52
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x41fb9e
cmp word [ebx], 0
je 0x41fafa
lea esi, [esi]
add ecx, 1
cmp word [ebx + ecx*2], 0
jne 0x41faf0
mov eax, 0x224c
mov dword [ebp - 0x388], esi
lea esi, [ecx - 1]
lea edx, [ebp - 0x212]
mov word [ebp - 0x214], ax
test ecx, ecx
jle 0x41fb6a
lea esi, [esi]
lea eax, [ebp - 0xf2]
cmp edx, eax
ja 0x41fb6a
add ebx, 2
movzx eax, word [ebx - 2]
cmp ax, 0xd
je 0x41fc10
ja 0x41fbe0
cmp ax, 9
je 0x41fca0
cmp ax, 0xa
jne 0x41fc40
mov eax, 0x6e5c
add edx, 2
mov ecx, esi
mov word [edx - 2], ax
lea esi, [ecx - 1]
test ecx, ecx
jg 0x41fb20
mov eax, esi
mov byte [edx], 0x22
mov esi, dword [ebp - 0x388]
test eax, eax
jle 0x4200ca
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x214]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.Redirect__d_to__s___p__n
mov dword [esp + 8], global___func__.5
mov dword [esp + 4], 0x425038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.11
mov edi, dword [ebp - 0x364]
jmp 0x41f8a1
cmp ax, 0x22
je 0x41fc23
cmp ax, 0x5c
jne 0x41fc40
mov eax, 0x5c5c
add edx, 2
mov ecx, esi
mov word [edx - 2], ax
jmp 0x41fb63
call dbg.WCMD_print_error
jmp 0x41f88e
mov eax, 0x725c
add edx, 2
mov ecx, esi
mov word [edx - 2], ax
jmp 0x41fb63
mov eax, 0x225c
add edx, 2
mov ecx, esi
mov word [edx - 2], ax
jmp 0x41fb63
lea ecx, [eax - 0x20]
cmp cx, 0x5e
jbe 0x41ffb0
mov ecx, eax
mov byte [edx], 0x5c
add edx, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_output]
mov byte [edx - 4], cl
mov ecx, eax
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_output]
mov byte [edx - 3], cl
mov ecx, eax
and eax, 0xf
shr cx, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_output]
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_output]
mov byte [edx - 1], al
mov byte [edx - 2], cl
mov ecx, esi
jmp 0x41fb63
mov eax, 0x745c
add edx, 2
mov ecx, esi
mov word [edx - 2], ax
jmp 0x41fb63
cmp word [edi], 0x2f
je 0x4207c0
mov eax, dword [ebp - 0x380]
cmp eax, 0x2e
ja case.0x41fccc.0
jmp dword [eax*4 + 0x42a2f4]
test ebx, ebx
je 0x42099e
mov eax, ebx
shr eax, 0x10
je 0x420121
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edi, eax
sub esp, 8
mov eax, str._invalid_
test edi, edi
jne 0x420134
cmp word [ebx], 0
je 0x41fd1a
nop
add edi, 1
cmp word [ebx + edi*2], 0
jne 0x41fd10
mov eax, 0x224c
mov dword [ebp - 0x368], ebx
mov ecx, ebx
lea edx, [ebp - 0x212]
mov word [ebp - 0x214], ax
lea esi, [edi - 1]
test edi, edi
jle 0x4207fa
lea eax, [ebp - 0xf2]
cmp edx, eax
ja 0x4207fa
add ecx, 2
movzx eax, word [ecx - 2]
cmp ax, 0xd
je 0x4205c0
ja 0x4203b0
cmp ax, 9
je 0x420530
cmp ax, 0xa
jne 0x4204d0
mov eax, 0x6e5c
add edx, 2
mov edi, esi
mov word [edx - 2], ax
jmp 0x41fd34
mov ebx, dword [ebp - 0x36c]
mov dword [ebp - 0x380], edi
mov esi, 1
jmp 0x41f514
mov eax, dword [ebp - 0x374]
shr eax, 0x10
je 0x4200dd
mov edi, dword [ebp - 0x374]
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov esi, eax
sub esp, 8
mov eax, str._invalid_
test esi, esi
jne 0x4200f4
cmp word [edi], 0
je 0x41fdfa
mov eax, edi
add esi, 1
cmp word [eax + esi*2], 0
jne 0x41fdf0
mov ecx, dword [ebp - 0x374]
mov eax, 0x224c
lea edx, [ebp - 0x212]
lea edi, [ebp - 0xf2]
mov word [ebp - 0x214], ax
mov dword [ebp - 0x36c], ecx
nop
lea ebx, [esi - 1]
cmp edx, edi
ja 0x420830
test esi, esi
jle 0x420830
add dword [ebp - 0x36c], 2
mov eax, dword [ebp - 0x36c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x4205d3
ja 0x4203e0
cmp ax, 9
je 0x4205a3
cmp ax, 0xa
jne 0x420543
mov eax, 0x6e5c
add edx, 2
mov esi, ebx
mov word [edx - 2], ax
jmp 0x41fe20
mov eax, 0x430460
mov ecx, eax
shr ecx, 0x10
je 0x42016b
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x430460
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x36c], str._invalid_
sub esp, 8
test eax, eax
jne 0x420184
cmp word [0x430460], 0
je 0x41fed2
add eax, 1
cmp word [eax + eax + 0x430460], 0
jne 0x41fec4
lea ebx, [ebp - 0xf2]
mov dword [ebp - 0x388], edi
mov edx, 0x224c
mov ecx, 0x430460
mov dword [ebp - 0x36c], ebx
mov word [ebp - 0x214], dx
lea edx, [ebp - 0x212]
lea esi, [esi]
nop
lea esi, [eax - 1]
cmp edx, dword [ebp - 0x36c]
ja 0x420860
test eax, eax
jle 0x420860
add ecx, 2
movzx eax, word [ecx - 2]
cmp ax, 0xd
je 0x420723
ja 0x420440
cmp ax, 9
je 0x420693
cmp ax, 0xa
jne 0x420633
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov eax, esi
jmp 0x41ff00
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.8
jmp 0x41fb9e
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.Duplicating_handle_failed_with_gle__ld_n
mov dword [esp + 8], global___func__.5
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x425038
mov dword [esp], 0
call sym._wine_dbg_log.constprop.11
movzx eax, byte [0x425038]
jmp 0x41f996
mov byte [edx], al
mov ecx, esi
add edx, 1
jmp 0x41fb63
mov ebx, dword [ebp - 0x374]
movzx eax, word [ebx]
mov dword [esp], eax
call dword [sym.imp.user32.dll_IsCharAlphaW]
sub esp, 4
test eax, eax
je 0x41f5e9
movzx eax, word [ebx + 4]
test ax, 0xffdf
je 0x41fff1
cmp ax, 9
jne 0x41f5e9
mov eax, dword [ebp - 0x374]
xor edx, edx
lea esi, [ebp - 0x364]
mov word [eax + 4], dx
xor eax, eax
mov edx, 0x3d
jmp 0x420017
movzx edx, word [eax + 0x429b58]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x420010
cmp word [ebp - 0x364], 0
mov edx, esi
je 0x420039
nop
add edx, 2
cmp word [edx], 0
jne 0x420030
mov ebx, dword [ebp - 0x374]
xor eax, eax
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x420041
lea eax, [ebp - 0x214]
mov dword [esp + 8], 0x104
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
sub esp, 0xc
test eax, eax
je 0x420f77
test byte [0x425038], 8
jne 0x421085
mov eax, dword [ebp - 0x374]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
sub esp, 4
test eax, eax
jne 0x4200a5
lea esi, [esi]
call dbg.WCMD_print_error
mov eax, dword [ebp - 0x374]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x378]
mov dword [ebp + 8], eax
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp eax
lea eax, [edx + 1]
jmp 0x41fb8d
mov eax, dword [ebp - 0x374]
jmp 0x41f433
movzx eax, word [ebp - 0x374]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.8
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Command:__s_n
mov dword [esp + 8], global___func__.5
mov dword [esp + 4], 0x425038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.11
jmp 0x41f446
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.8
mov ecx, dword [ebp - 0x37c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.command_on_entry:_s___p__n
mov dword [esp + 0x14], ecx
mov dword [esp + 8], global___func__.5
mov dword [esp + 4], 0x425038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.11
jmp 0x41f3c7
movzx eax, ax
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.8
mov dword [ebp - 0x36c], eax
mov eax, 0x434460
mov ecx, eax
shr ecx, 0x10
je 0x42089c
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x434460
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ebx, eax
sub esp, 8
mov eax, str._invalid_
test ebx, ebx
jne 0x420492
cmp word [0x434460], 0
je 0x4201d3
add ebx, 1
cmp word [ebx + ebx + 0x434460], 0
jne 0x4201c5
mov eax, 0x224c
lea edx, [ebp - 0x212]
mov ecx, 0x434460
mov word [ebp - 0x214], ax
lea esi, [esi]
lea esi, [ebx - 1]
test ebx, ebx
jle 0x420467
lea eax, [ebp - 0xf2]
cmp edx, eax
ja 0x420467
add ecx, 2
movzx eax, word [ecx - 2]
cmp ax, 0xd
je 0x420620
ja 0x420410
cmp ax, 9
je 0x420710
cmp ax, 0xa
jne 0x4206b0
mov eax, 0x6e5c
add edx, 2
mov ebx, esi
mov word [edx - 2], ax
jmp 0x4201f0
test byte [0x425038], 8
jne 0x420dc6
lea eax, [ebp - 0x214]
mov dword [esp], 0x104
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_GetTempPathW]
mov eax, dword [ebp - 0x37c]
sub esp, 8
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x42a19c
add eax, 0x14
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x214]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
sub esp, 0x10
test byte [0x425038], 8
jne 0x420def
mov eax, dword [ebp - 0x37c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 4], str._s____s
add eax, 0x14
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x388]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x378]
mov dword [esp], eax
call dword [sym.imp.user32.dll_wsprintfW]
test byte [0x425038], 8
je 0x41f5a1
mov eax, dword [ebp - 0x378]
test eax, eax
je 0x421572
shr eax, 0x10
je 0x421471
mov ebx, dword [ebp - 0x378]
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x420d99
cmp word [ebx], 0
je 0x42033e
mov eax, ebx
add ecx, 1
cmp word [eax + ecx*2], 0
jne 0x420334
mov eax, 0x224c
mov dword [ebp - 0x36c], edi
mov ebx, dword [ebp - 0x378]
lea edx, [ebp - 0x212]
mov word [ebp - 0x214], ax
lea edi, [ecx - 1]
test ecx, ecx
jle 0x420d65
lea eax, [ebp - 0xf2]
cmp edx, eax
ja 0x420d65
add ebx, 2
movzx eax, word [ebx - 2]
cmp ax, 0xd
je 0x4212a6
ja 0x420ca5
cmp ax, 9
je 0x4213b2
cmp ax, 0xa
jne 0x421352
mov eax, 0x6e5c
add edx, 2
mov ecx, edi
mov word [edx - 2], ax
jmp 0x42035c
cmp ax, 0x22
je 0x4205f0
cmp ax, 0x5c
jne 0x4204d0
mov ebx, 0x5c5c
add edx, 2
mov edi, esi
mov word [edx - 2], bx
jmp 0x41fd34
cmp ax, 0x22
je 0x420603
cmp ax, 0x5c
jne 0x420543
mov esi, 0x5c5c
add edx, 2
mov word [edx - 2], si
mov esi, ebx
jmp 0x41fe20
cmp ax, 0x22
je 0x420740
cmp ax, 0x5c
jne 0x4206b0
mov ebx, 0x5c5c
add edx, 2
mov word [edx - 2], bx
mov ebx, esi
jmp 0x4201f0
cmp ax, 0x22
je 0x420753
cmp ax, 0x5c
jne 0x420633
mov ebx, 0x5c5c
add edx, 2
mov eax, esi
mov word [edx - 2], bx
jmp 0x41ff00
mov byte [edx], 0x22
lea eax, [edx + 1]
test esi, esi
jle 0x420481
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x214]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
mov ecx, dword [ebp - 0x36c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.param1:__s__param2:__s_n
mov dword [esp + 0x14], ecx
mov dword [esp + 8], global___func__.5
mov dword [esp + 4], 0x425038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.11
jmp 0x41f632
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x4208c0
mov edi, eax
mov byte [edx], 0x5c
add edx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefWCMD_output]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [edx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefWCMD_output]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_output]
and edi, 0xf
mov byte [edx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefWCMD_output]
mov byte [edx - 1], al
mov edi, esi
mov byte [edx - 2], bl
jmp 0x41fd34
mov eax, 0x745c
add edx, 2
mov edi, esi
mov word [edx - 2], ax
jmp 0x41fd34
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x4208b4
mov esi, eax
mov byte [edx], 0x5c
add edx, 5
shr si, 0xc
movzx esi, si
movzx ecx, byte [esi + str.0123456789abcdefWCMD_output]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [edx - 4], cl
movzx ecx, byte [esi + str.0123456789abcdefWCMD_output]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_output]
and esi, 0xf
mov byte [edx - 3], cl
movzx ecx, byte [esi + str.0123456789abcdefWCMD_output]
mov byte [edx - 1], al
mov esi, ebx
mov byte [edx - 2], cl
jmp 0x41fe20
mov eax, 0x745c
add edx, 2
mov esi, ebx
mov word [edx - 2], ax
jmp 0x41fe20
mov eax, 0x725c
add edx, 2
mov edi, esi
mov word [edx - 2], ax
jmp 0x41fd34
mov eax, 0x725c
add edx, 2
mov esi, ebx
mov word [edx - 2], ax
jmp 0x41fe20
mov edi, 0x225c
add edx, 2
mov word [edx - 2], di
mov edi, esi
jmp 0x41fd34
mov eax, 0x225c
add edx, 2
mov esi, ebx
mov word [edx - 2], ax
jmp 0x41fe20
mov eax, 0x725c
add edx, 2
mov ebx, esi
mov word [edx - 2], ax
jmp 0x4201f0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x4208cc
mov edi, eax
mov byte [edx], 0x5c
add edx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefWCMD_output]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [edx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefWCMD_output]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_output]
and edi, 0xf
mov byte [edx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefWCMD_output]
mov byte [edx - 1], al
mov eax, esi
mov byte [edx - 2], bl
jmp 0x41ff00
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
mov eax, esi
jmp 0x41ff00
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x4208d8
mov ebx, eax
mov byte [edx], 0x5c
add edx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + str.0123456789abcdefWCMD_output]
mov byte [edx - 4], bl
mov ebx, eax
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefWCMD_output]
mov byte [edx - 3], bl
mov ebx, eax
and eax, 0xf
shr bx, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_output]
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefWCMD_output]
mov byte [edx - 1], al
mov byte [edx - 2], bl
mov ebx, esi
jmp 0x4201f0
mov eax, 0x745c
add edx, 2
mov ebx, esi
mov word [edx - 2], ax
jmp 0x4201f0
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
mov eax, esi
jmp 0x41ff00
mov eax, 0x225c
add edx, 2
mov ebx, esi
mov word [edx - 2], ax
jmp 0x4201f0
mov edi, 0x225c
add edx, 2
mov eax, esi
mov word [edx - 2], di
jmp 0x41ff00
mov dword [esp + 0xc], str.Not_touching_redirects_for_a_FOR_or_IF_command_n
mov dword [esp + 8], global___func__.5
mov dword [esp + 4], 0x425038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.11
jmp 0x41f61e
mov edi, dword [ebp - 0x398]
jmp 0x41f61e
mov eax, str._null_
jmp 0x41fb9e
cmp word [edi + 2], 0x3f
jne 0x41fcbd
mov esi, dword [ebp - 0x390]
mov eax, dword [ebp - 0x368]
mov dword [esp], edi
mov dword [esp + 8], esi
mov dword [esp + 4], eax
call sym._memcpy
xor edx, edx
mov word [edi + esi], dx
mov dword [esp], edi
call dbg.WCMD_give_help
jmp case.0x41fccc.22
mov ebx, dword [ebp - 0x368]
mov byte [edx], 0x22
lea eax, [edx + 1]
test esi, esi
jle 0x42081a
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x214]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
jmp 0x420134
mov byte [edx], 0x22
lea eax, [edx + 1]
test ebx, ebx
jle 0x42084a
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x214]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
jmp 0x4200f4
mov edi, dword [ebp - 0x388]
mov byte [edx], 0x22
lea eax, [edx + 1]
test esi, esi
jle 0x420880
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x214]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
mov dword [ebp - 0x36c], eax
jmp 0x420184
movzx eax, ax
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.8
jmp 0x420492
mov byte [edx], al
mov esi, ebx
add edx, 1
jmp 0x41fe20
mov byte [edx], al
mov edi, esi
add edx, 1
jmp 0x41fd34
mov byte [edx], al
add edx, 1
mov eax, esi
jmp 0x41ff00
mov byte [edx], al
mov ebx, esi
add edx, 1
jmp 0x4201f0
mov eax, esi
shr eax, 0x10
je 0x4209a8
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x4209bb
cmp word [ebx + 0x14], 0
je 0x42092b
lea esi, [esi]
add edx, 1
cmp word [ebx + edx*2 + 0x14], 0
jne 0x420920
mov eax, 0x224c
mov dword [ebp - 0x36c], edi
lea ecx, [ebp - 0x212]
mov word [ebp - 0x214], ax
lea eax, [ebp - 0xf2]
mov edi, eax
lea esi, [esi]
nop
lea ebx, [edx - 1]
cmp ecx, edi
ja 0x420f41
test edx, edx
jle 0x420f41
add esi, 2
movzx eax, word [esi - 2]
cmp ax, 0xd
je 0x420ccc
ja 0x420c82
cmp ax, 9
je 0x420d3f
cmp ax, 0xa
jne 0x420cdf
mov eax, 0x6e5c
add ecx, 2
mov edx, ebx
mov word [ecx - 2], ax
jmp 0x420950
mov eax, str._null_
jmp 0x420134
movzx esi, si
mov dword [esp], str._04x
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf.constprop.8
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Input_coming_from__s_n
mov dword [esp + 8], global___func__.5
mov dword [esp + 4], 0x425038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.11
mov eax, dword [ebp - 0x37c]
mov eax, dword [eax]
mov dword [ebp - 0x36c], eax
lea esi, [eax + 0x14]
jmp 0x41f740
mov eax, dword [ebp - 0x37c]
mov dword [esp], eax
call dbg.WCMD_goto
jmp case.0x41fccc.22
mov eax, dword [ebp - 0x384]
mov dword [esp], eax
call dbg.WCMD_echo
jmp case.0x41fccc.22
mov eax, dword [ebp - 0x394]
test eax, eax
jne 0x41f63f
cmp dword [ebp - 0x380], 0xb
je 0x4216d9
cmp dword [ebp - 0x380], 0xe
jne case.0x41fccc.22
mov eax, dword [ebp - 0x37c]
mov dword [esp], edi
mov dword [esp + 4], eax
call dbg.WCMD_if
jmp case.0x41fccc.22
mov dword [esp], edi
call dbg.WCMD_setshow_env
jmp case.0x41fccc.22
mov dword [esp + 4], edi
mov dword [esp], 1
call dbg.WCMD_volume
jmp case.0x41fccc.22
mov dword [esp], edi
call dbg.WCMD_create_dir
jmp case.0x41fccc.22
call dbg.WCMD_move
jmp case.0x41fccc.22
mov dword [esp], edi
call dbg.WCMD_setshow_path
jmp case.0x41fccc.22
mov dword [esp], edi
call dbg.WCMD_start
jmp case.0x41fccc.22
call dbg.WCMD_setshow_time
jmp case.0x41fccc.22
mov dword [esp], edi
call dbg.WCMD_shift
jmp case.0x41fccc.22
mov ecx, dword [ebp - 0x384]
cmp word [ecx], 0
mov eax, ecx
je case.0x41fccc.22
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x420ae0
sub eax, dword [ebp - 0x384]
test eax, eax
jle case.0x41fccc.22
mov eax, dword [ebp - 0x368]
mov ecx, dword [ebp - 0x390]
lea eax, [eax + ecx + 2]
mov dword [esp], eax
call dbg.WCMD_title
jmp case.0x41fccc.22
mov dword [esp], edi
call dbg.WCMD_type
jmp case.0x41fccc.22
mov dword [esp + 4], 0
mov dword [esp], edi
call dbg.WCMD_assoc
jmp case.0x41fccc.22
mov dword [esp], edi
call dbg.WCMD_more
jmp case.0x41fccc.22
mov dword [esp], edi
call dbg.WCMD_choice
jmp case.0x41fccc.22
mov dword [esp], edi
call dbg.WCMD_mklink
jmp case.0x41fccc.22
mov eax, dword [ebp - 0x37c]
mov dword [esp], eax
call dbg.WCMD_exit
jmp case.0x41fccc.22
mov dword [esp], edi
call dbg.WCMD_setshow_default
jmp case.0x41fccc.22
call dbg.WCMD_clear_screen
jmp case.0x41fccc.22
mov dword [esp], edi
call dbg.WCMD_copy
jmp case.0x41fccc.22
call dbg.WCMD_change_tty
jmp case.0x41fccc.22
call dbg.WCMD_setshow_date
jmp case.0x41fccc.22
mov dword [esp], edi
call dbg.WCMD_delete
jmp case.0x41fccc.22
mov dword [esp], edi
call dbg.WCMD_directory
jmp case.0x41fccc.22
call dbg.WCMD_pause
jmp case.0x41fccc.22
call dbg.WCMD_setshow_prompt
jmp case.0x41fccc.22
call dbg.WCMD_rename
jmp case.0x41fccc.22
mov dword [esp], edi
call dbg.WCMD_remove_dir
jmp case.0x41fccc.22
mov edx, 0x4299a2
mov eax, 0xfffffff5
call dbg.WCMD_output_asis_handle
call dbg.WCMD_version
jmp case.0x41fccc.22
mov dword [esp + 4], edi
mov dword [esp], 0
call dbg.WCMD_volume
jmp case.0x41fccc.22
call dbg.WCMD_endlocal
jmp case.0x41fccc.22
mov dword [esp], edi
call dbg.WCMD_setlocal
jmp case.0x41fccc.22
mov dword [esp], edi
call dbg.WCMD_pushd
jmp case.0x41fccc.22
call dbg.WCMD_popd
jmp case.0x41fccc.22
mov dword [esp + 4], 1
mov dword [esp], edi
call dbg.WCMD_assoc
jmp case.0x41fccc.22
call dbg.WCMD_color
jmp case.0x41fccc.22
mov dword [esp], edi
call dbg.WCMD_verify
jmp case.0x41fccc.22
mov dword [esp], edi
call dbg.WCMD_call
jmp case.0x41fccc.22
cmp ax, 0x22
je 0x420d52
cmp ax, 0x5c
jne 0x420cdf
mov eax, 0x5c5c
add ecx, 2
mov edx, ebx
mov word [ecx - 2], ax
jmp 0x420950
cmp ax, 0x22
je 0x4213c5
cmp ax, 0x5c
jne 0x421352
mov eax, 0x5c5c
add edx, 2
mov ecx, edi
mov word [edx - 2], ax
jmp 0x42035c
mov eax, 0x725c
add ecx, 2
mov edx, ebx
mov word [ecx - 2], ax
jmp 0x420950
lea edx, [eax - 0x20]
cmp dx, 0x5e
jbe 0x421079
mov edx, eax
mov byte [ecx], 0x5c
add ecx, 5
shr dx, 0xc
movzx edx, dx
movzx edx, byte [edx + str.0123456789abcdefWCMD_output]
mov byte [ecx - 4], dl
mov edx, eax
shr dx, 8
and edx, 0xf
movzx edx, byte [edx + str.0123456789abcdefWCMD_output]
mov byte [ecx - 3], dl
mov edx, eax
and eax, 0xf
shr dx, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_output]
and edx, 0xf
movzx edx, byte [edx + str.0123456789abcdefWCMD_output]
mov byte [ecx - 1], al
mov byte [ecx - 2], dl
mov edx, ebx
jmp 0x420950
mov eax, 0x745c
add ecx, 2
mov edx, ebx
mov word [ecx - 2], ax
jmp 0x420950
mov eax, 0x225c
add ecx, 2
mov edx, ebx
mov word [ecx - 2], ax
jmp 0x420950
mov eax, edi
mov byte [edx], 0x22
mov edi, dword [ebp - 0x36c]
test eax, eax
jle 0x4215f6
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x214]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Redirects_now__s_n
mov dword [esp + 8], global___func__.5
mov dword [esp + 4], 0x425038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.11
jmp 0x41f5a1
mov dword [esp + 0xc], str.Output_needs_to_be_piped_n
mov dword [esp + 8], global___func__.5
mov dword [esp + 4], 0x425038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.11
jmp 0x420251
mov eax, dword [ebp - 0x37c]
mov eax, dword [eax]
mov ebx, dword [eax + 8]
mov eax, ebx
add eax, 0x14
mov dword [ebp - 0x398], eax
je 0x42157c
shr eax, 0x10
je 0x42148d
mov eax, dword [ebp - 0x398]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x420f14
cmp word [ebx + 0x14], 0
je 0x420e4f
add ecx, 1
cmp word [ebx + ecx*2 + 0x14], 0
jne 0x420e44
mov eax, 0x224c
mov dword [ebp - 0x39c], edi
mov edi, dword [ebp - 0x398]
lea edx, [ebp - 0x33e]
mov word [ebp - 0x340], ax
lea eax, [ebp - 0x21e]
mov dword [ebp - 0x36c], eax
lea ebx, [ecx - 1]
cmp edx, dword [ebp - 0x36c]
ja 0x420ee3
test ecx, ecx
jle 0x420ee3
add edi, 2
movzx eax, word [edi - 2]
cmp ax, 0xd
je 0x42133f
ja 0x420ebf
cmp ax, 9
je 0x42132c
cmp ax, 0xa
jne 0x4212cc
mov eax, 0x6e5c
add edx, 2
mov ecx, ebx
mov word [edx - 2], ax
jmp 0x420e79
cmp ax, 0x22
je 0x4212b9
cmp ax, 0x5c
jne 0x4212cc
mov eax, 0x5c5c
add edx, 2
mov ecx, ebx
mov word [edx - 2], ax
jmp 0x420e79
mov edi, dword [ebp - 0x39c]
mov byte [edx], 0x22
lea eax, [edx + 1]
test ebx, ebx
jle 0x420f03
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x340]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Using_temporary_file_of__s_n
mov dword [esp + 8], global___func__.5
mov dword [esp + 4], 0x425038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.11
jmp 0x4202ac
mov edi, dword [ebp - 0x36c]
mov byte [ecx], 0x22
lea eax, [ecx + 1]
test ebx, ebx
jle 0x420f61
mov ebx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], bx
mov byte [eax], 0
lea eax, [ebp - 0x214]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
jmp 0x4209bb
mov eax, dword [ebp - 0x374]
mov dword [esp + 4], 0x42a1e2
mov dword [esp + 8], eax
mov dword [esp], eax
call dword [sym.imp.user32.dll_wsprintfW]
test byte [0x425038], 8
je 0x420084
mov eax, dword [ebp - 0x374]
shr eax, 0x10
je 0x4216bd
mov edi, dword [ebp - 0x374]
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x4215bd
cmp word [edi], 0
je 0x420fed
mov eax, dword [ebp - 0x374]
add ecx, 1
cmp word [eax + ecx*2], 0
jne 0x420fdd
mov eax, 0x224c
mov ebx, dword [ebp - 0x374]
lea edx, [ebp - 0x33e]
mov word [ebp - 0x340], ax
lea edi, [ecx - 1]
test ecx, ecx
jle 0x421592
lea eax, [ebp - 0x21e]
cmp edx, eax
ja 0x421592
add ebx, 2
movzx eax, word [ebx - 2]
cmp ax, 0xd
je 0x42169e
ja 0x421055
cmp ax, 9
je 0x42168b
cmp ax, 0xa
jne 0x42162f
mov eax, 0x6e5c
add edx, 2
mov ecx, edi
mov word [edx - 2], ax
jmp 0x421005
cmp ax, 0x22
je 0x42161c
cmp ax, 0x5c
jne 0x42162f
mov eax, 0x5c5c
add edx, 2
mov ecx, edi
mov word [edx - 2], ax
jmp 0x421005
mov byte [ecx], al
mov edx, ebx
add ecx, 1
jmp 0x420950
mov eax, dword [ebp - 0x374]
shr eax, 0x10
je 0x4215fe
mov ebx, dword [ebp - 0x374]
mov dword [esp + 4], 0xffffffff
mov edi, str._invalid_
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x42117e
cmp word [ebx], 0
je 0x4210cd
mov edx, ebx
add eax, 1
cmp word [edx + eax*2], 0
jne 0x4210c3
mov edx, 0x224c
mov ebx, dword [ebp - 0x374]
mov word [ebp - 0x340], dx
lea edx, [ebp - 0x33e]
lea edi, [eax - 1]
test eax, eax
jle 0x421151
lea eax, [ebp - 0x21e]
cmp edx, eax
ja 0x421151
add ebx, 2
movzx eax, word [ebx - 2]
cmp ax, 0xd
je 0x42151c
ja 0x42112d
cmp ax, 9
je 0x421509
cmp ax, 0xa
jne 0x4214a9
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov eax, edi
jmp 0x4210e5
cmp ax, 0x22
je 0x42152f
cmp ax, 0x5c
jne 0x4214a9
mov eax, 0x5c5c
add edx, 2
mov word [edx - 2], ax
mov eax, edi
jmp 0x4210e5
mov byte [edx], 0x22
lea eax, [edx + 1]
test edi, edi
jle 0x42116b
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x340]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
mov edi, eax
mov eax, esi
shr eax, 0x10
je 0x42155a
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ebx, eax
sub esp, 8
mov eax, str._invalid_
test ebx, ebx
jne 0x421275
cmp word [ebp - 0x364], 0
je 0x4211c0
add ebx, 1
cmp word [esi + ebx*2], 0
jne 0x4211b6
mov eax, 0x224c
lea ecx, [ebp - 0x33e]
mov edx, esi
mov word [ebp - 0x340], ax
lea eax, [ebp - 0x21e]
mov dword [ebp - 0x36c], eax
lea esi, [ebx - 1]
cmp ecx, dword [ebp - 0x36c]
ja 0x42124a
test ebx, ebx
jle 0x42124a
add edx, 2
movzx eax, word [edx - 2]
cmp ax, 0xd
je 0x42144b
ja 0x421226
cmp ax, 9
je 0x421438
cmp ax, 0xa
jne 0x4213d8
mov eax, 0x6e5c
add ecx, 2
mov ebx, esi
mov word [ecx - 2], ax
jmp 0x4211e0
cmp ax, 0x22
je 0x42145e
cmp ax, 0x5c
jne 0x4213d8
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
mov ebx, esi
jmp 0x4211e0
mov byte [ecx], 0x22
lea eax, [ecx + 1]
test esi, esi
jle 0x421264
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x340]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Got_directory__s_as__s_n
mov dword [esp + 8], global___func__.5
mov dword [esp + 4], 0x425038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.11
jmp 0x420084
mov eax, 0x725c
add edx, 2
mov ecx, edi
mov word [edx - 2], ax
jmp 0x42035c
mov eax, 0x225c
add edx, 2
mov ecx, ebx
mov word [edx - 2], ax
jmp 0x420e79
lea ecx, [eax - 0x20]
cmp cx, 0x5e
jbe 0x42154e
mov ecx, eax
mov byte [edx], 0x5c
add edx, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_output]
mov byte [edx - 4], cl
mov ecx, eax
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_output]
mov byte [edx - 3], cl
mov ecx, eax
and eax, 0xf
shr cx, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_output]
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_output]
mov byte [edx - 1], al
mov byte [edx - 2], cl
mov ecx, ebx
jmp 0x420e79
mov eax, 0x745c
add edx, 2
mov ecx, ebx
mov word [edx - 2], ax
jmp 0x420e79
mov eax, 0x725c
add edx, 2
mov ecx, ebx
mov word [edx - 2], ax
jmp 0x420e79
lea ecx, [eax - 0x20]
cmp cx, 0x5e
jbe 0x421542
mov ecx, eax
mov byte [edx], 0x5c
add edx, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_output]
mov byte [edx - 4], cl
mov ecx, eax
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_output]
mov byte [edx - 3], cl
mov ecx, eax
and eax, 0xf
shr cx, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_output]
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_output]
mov byte [edx - 1], al
mov byte [edx - 2], cl
mov ecx, edi
jmp 0x42035c
mov eax, 0x745c
add edx, 2
mov ecx, edi
mov word [edx - 2], ax
jmp 0x42035c
mov eax, 0x225c
add edx, 2
mov ecx, edi
mov word [edx - 2], ax
jmp 0x42035c
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x421586
mov ebx, eax
mov byte [ecx], 0x5c
add ecx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + str.0123456789abcdefWCMD_output]
mov byte [ecx - 4], bl
mov ebx, eax
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefWCMD_output]
mov byte [ecx - 3], bl
mov ebx, eax
and eax, 0xf
shr bx, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_output]
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefWCMD_output]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
mov ebx, esi
jmp 0x4211e0
mov eax, 0x745c
add ecx, 2
mov ebx, esi
mov word [ecx - 2], ax
jmp 0x4211e0
mov eax, 0x725c
add ecx, 2
mov ebx, esi
mov word [ecx - 2], ax
jmp 0x4211e0
mov eax, 0x225c
add ecx, 2
mov ebx, esi
mov word [ecx - 2], ax
jmp 0x4211e0
movzx eax, word [ebp - 0x378]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.8
jmp 0x420d99
movzx eax, word [ebp - 0x398]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.8
jmp 0x420f14
lea ecx, [eax - 0x20]
cmp cx, 0x5e
jbe 0x4215ea
mov ecx, eax
mov byte [edx], 0x5c
add edx, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_output]
mov byte [edx - 4], cl
mov ecx, eax
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_output]
mov byte [edx - 3], cl
mov ecx, eax
and eax, 0xf
shr cx, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_output]
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_output]
mov byte [edx - 1], al
mov eax, edi
mov byte [edx - 2], cl
jmp 0x4210e5
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
mov eax, edi
jmp 0x4210e5
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
mov eax, edi
jmp 0x4210e5
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
mov eax, edi
jmp 0x4210e5
mov byte [edx], al
mov ecx, edi
add edx, 1
jmp 0x42035c
mov byte [edx], al
mov ecx, ebx
add edx, 1
jmp 0x420e79
movzx edx, si
mov dword [esp], str._04x
mov dword [esp + 4], edx
call sym._wine_dbg_sprintf.constprop.8
jmp 0x421275
mov eax, str._null_
jmp 0x420d99
mov eax, str._null_
jmp 0x420f14
mov byte [ecx], al
mov ebx, esi
add ecx, 1
jmp 0x4211e0
mov byte [edx], 0x22
lea eax, [edx + 1]
test edi, edi
jle 0x4215ac
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x340]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.No_special_directory_settings__using_dir_of__s_n
mov dword [esp + 8], global___func__.5
mov dword [esp + 4], 0x425038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.11
jmp 0x420077
mov byte [edx], al
add edx, 1
mov eax, edi
jmp 0x4210e5
lea eax, [edx + 1]
jmp 0x420d88
movzx eax, word [ebp - 0x374]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.8
mov edi, eax
jmp 0x42117e
mov eax, 0x225c
add edx, 2
mov ecx, edi
mov word [edx - 2], ax
jmp 0x421005
lea ecx, [eax - 0x20]
cmp cx, 0x5e
jbe 0x4216b1
mov ecx, eax
mov byte [edx], 0x5c
add edx, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_output]
mov byte [edx - 4], cl
mov ecx, eax
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_output]
mov byte [edx - 3], cl
mov ecx, eax
and eax, 0xf
shr cx, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_output]
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_output]
mov byte [edx - 1], al
mov byte [edx - 2], cl
mov ecx, edi
jmp 0x421005
mov eax, 0x745c
add edx, 2
mov ecx, edi
mov word [edx - 2], ax
jmp 0x421005
mov eax, 0x725c
add edx, 2
mov ecx, edi
mov word [edx - 2], ax
jmp 0x421005
mov byte [edx], al
mov ecx, edi
add edx, 1
jmp 0x421005
movzx eax, word [ebp - 0x374]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.8
jmp 0x4215bd
mov eax, dword [ebp - 0x37c]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._WCMD_for
jmp case.0x41fccc.22