Function at 0x40a410
Capabilities:
Get common file path
Get process heap flags
Parse credit card information

Disassembly:
push ebp
mov eax, 0x10c4c
mov ebp, esp
push edi
push esi
push ebx
call fcn.004240d8
mov edx, 0x6e
sub esp, eax
mov eax, 0x427044
jmp 0x40a432
movzx edx, word [eax + 2]
add eax, 2
test dx, dx
jne 0x40a42e
mov dword [ebp - 0x10bec], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
mov word [ebp - 0x10c0a], dx
mov dword [ebp - 0x10bd0], 0
mov dword [ebp - 0x10bb8], 0
mov dword [ebp - 0x10bb4], 0
mov dword [ebp - 0x10bb0], 0
mov dword [ebp - 0x10bc8], 0
call sym._WCMD_parameter
mov edi, eax
xor eax, eax
mov word [ebp - 0x10880], ax
test edi, edi
je sym._WCMD_for.cold.11
movzx eax, word [edi]
cmp ax, 0x2f
jne 0x40d04d
mov dword [ebp - 0x10c1c], 0
mov ebx, 1
mov dword [ebp - 0x10bfc], 0
mov dword [ebp - 0x10be8], 0
mov dword [ebp - 0x10bf4], 0
jmp 0x40a53d
mov dword [ebp - 0x10be8], 1
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._WCMD_parameter
mov edi, eax
test eax, eax
je sym._WCMD_for.cold.11
movzx eax, word [eax]
mov ebx, esi
cmp ax, 0x2f
jne 0x40a88c
test byte [0x425010], 8
jne 0x40a62e
movzx edx, word [edi + 2]
lea esi, [ebx + 1]
mov dword [esp], edx
mov dword [ebp - 0x10bdc], edx
call dword [sym.imp.ucrtbase.dll_towupper]
cmp ax, 0x46
je 0x40a586
mov edx, dword [ebp - 0x10bdc]
jbe 0x40a615
cmp ax, 0x4c
je 0x40a4f3
cmp ax, 0x52
jne 0x40a769
xor ecx, ecx
cmp ax, 0x52
sete cl
mov dword [ebp - 0x10c1c], ecx
je 0x40a860
cmp ax, 0x46
mov dword [esp + 0x10], 0
sete al
mov dword [esp + 8], 0
movzx eax, al
mov dword [esp + 4], ebx
mov dword [ebp - 0x10bfc], eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._WCMD_parameter
mov edi, eax
test eax, eax
je 0x40a4fd
movzx ecx, word [eax]
cmp cx, 0x25
je 0x40a4fd
cmp cx, 0x2f
je 0x40a4fd
xor edx, edx
lea eax, [ebp - 0x10880]
jmp 0x40a5fd
movzx ecx, word [edi + edx]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x40a5f9
lea eax, [ebx + 2]
mov ebx, esi
mov esi, eax
jmp 0x40a4fd
cmp ax, 0x44
jne 0x40a769
mov dword [ebp - 0x10bf4], 1
jmp 0x40a4fd
mov eax, edi
shr eax, 0x10
je 0x40a83c
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov esi, eax
sub esp, 8
mov eax, 0x42613d
test esi, esi
jne 0x40a719
cmp word [edi], 0
je 0x40a66c
add esi, 1
cmp word [edi + esi*2], 0
jne 0x40a662
mov eax, 0x224c
mov dword [ebp - 0x10be0], ebx
lea ebx, [esi - 1]
lea edx, [ebp - 0x4016]
mov word [ebp - 0x4018], ax
mov dword [ebp - 0x10bdc], edi
test esi, esi
jle 0x40a6e5
lea eax, [ebp - 0x3ef6]
cmp edx, eax
ja 0x40a6e5
add dword [ebp - 0x10bdc], 2
mov eax, dword [ebp - 0x10bdc]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x40a816
ja 0x40a746
cmp ax, 9
je 0x40a803
cmp ax, 0xa
jne 0x40a7a3
mov eax, 0x6e5c
add edx, 2
mov esi, ebx
mov word [edx - 2], ax
lea ebx, [esi - 1]
test esi, esi
jg 0x40a691
mov eax, ebx
mov byte [edx], 0x22
mov ebx, dword [ebp - 0x10be0]
test eax, eax
jle 0x40aaa7
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x4018]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Processing_qualifier_at__s_n
mov dword [esp + 8], str.WCMD_for
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40a54a
cmp ax, 0x22
je 0x40a829
cmp ax, 0x5c
jne 0x40a7a3
mov esi, 0x5c5c
add edx, 2
mov word [edx - 2], si
mov esi, ebx
jmp 0x40a6de
test byte [0x425010], 1
je 0x40a4fd
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.for_qualifier__c_unhandled_n
mov dword [esp + 8], str.WCMD_for
mov dword [esp + 4], 0x425010
mov dword [esp], 0
call sym._wine_dbg_log.constprop.9
jmp 0x40a4fd
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x40a854
mov esi, eax
mov byte [edx], 0x5c
add edx, 5
shr si, 0xc
movzx esi, si
movzx ecx, byte [esi + str.0123456789abcdefWCMD_choice]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [edx - 4], cl
movzx ecx, byte [esi + str.0123456789abcdefWCMD_choice]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_choice]
and esi, 0xf
mov byte [edx - 3], cl
movzx ecx, byte [esi + str.0123456789abcdefWCMD_choice]
mov byte [edx - 1], al
mov esi, ebx
mov byte [edx - 2], cl
jmp 0x40a6de
mov eax, 0x745c
add edx, 2
mov esi, ebx
mov word [edx - 2], ax
jmp 0x40a6de
mov eax, 0x725c
add edx, 2
mov esi, ebx
mov word [edx - 2], ax
jmp 0x40a6de
mov eax, 0x225c
add edx, 2
mov esi, ebx
mov word [edx - 2], ax
jmp 0x40a6de
movzx eax, di
mov dword [esp], 0x426130
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.7
jmp 0x40a719
mov byte [edx], al
mov esi, ebx
add edx, 1
jmp 0x40a6de
lea eax, [ebp - 0x10880]
mov dword [esp], 0x104
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
movzx eax, word [edi + 2]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_towupper]
jmp 0x40a59b
cmp ax, 0x25
jne 0x40aa8b
mov eax, dword [ebp - 0x10bfc]
test eax, eax
jne 0x40ab04
mov eax, dword [ebp - 0x10c1c]
test eax, eax
jne 0x40cd96
movzx edx, byte [0x425010]
mov ecx, 0x25
mov dword [ebp - 0x10bfc], 0
mov dword [ebp - 0x10c1c], 0
mov dword [ebp - 0x10c14], 0
and edx, 8
mov dword [ebp - 0x10c00], 0
xor eax, eax
jmp 0x40a8f1
movzx ecx, word [edi + eax]
mov word [ebp + eax - 0x10bc0], cx
add eax, 2
test cx, cx
jne 0x40a8ed
test dl, dl
jne 0x40aacc
movzx eax, word [ebp - 0x10bbe]
lea edx, [eax - 0x61]
cmp dx, 0x19
ja 0x40aaaf
sub eax, 0x61
mov dword [ebp - 0x10c08], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._WCMD_parameter
test eax, eax
je 0x40aa8b
mov edx, dword [ebp - 0x10bec]
mov dword [esp + 0x10], 0x427044
mov dword [esp + 8], eax
sub edx, 0x427044
mov dword [esp + 4], 0x1001
sar edx, 1
mov dword [esp], 0x400
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], edx
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
jne 0x40aa8b
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0xc]
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10c20], esi
mov dword [ebp - 0x10c28], eax
mov dword [ebx], eax
test byte [0x425010], 8
jne 0x40ad42
mov esi, dword [ebp - 0x10c28]
mov edx, esi
test esi, esi
je 0x40aa8b
mov ebx, dword [edx]
test ebx, ebx
je 0x40ae7c
mov esi, dword [ebp - 0x10c20]
mov ebx, dword [ebp + 0xc]
cmp esi, dword [edx + 0x10]
jl 0x40aa18
jmp 0x40ae7c
mov eax, dword [eax + 8]
mov edx, eax
mov dword [ebx], eax
test eax, eax
je 0x40ad79
mov ecx, dword [eax]
test ecx, ecx
je 0x40ae7c
mov esi, dword [ebp - 0x10c20]
cmp dword [eax + 0x10], esi
jle 0x40ae7c
test byte [0x425010], 8
je 0x40a9f0
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Skipping__p_which_is_part_of_the_set_n
mov dword [esp + 8], str.WCMD_for
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
mov eax, dword [ebx]
jmp 0x40a9f0
mov dword [ebp - 0x10c00], edi
test byte [0x425010], 4
je 0x40aa8b
mov eax, edi
call sym._wine_dbgstr_wn.constprop.5
mov dword [esp + 0xc], str.Unexpected_data_in_optionsroot:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.WCMD_parse_forf_options
mov dword [esp + 4], 0x425010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.9
mov dword [esp], 0x3f3
call sym._WCMD_LoadMessage
mov dword [esp], eax
call dbg.WCMD_output_stderr
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [edx + 1]
jmp 0x40a708
lea edx, [eax - 0x41]
sub eax, 0x27
cmp dx, 0x1a
mov edx, 0xffffffff
cmovb edx, eax
mov dword [ebp - 0x10c08], edx
jmp 0x40a926
lea eax, [ebp - 0x10bc0]
call sym._wine_dbgstr_wn.constprop.5
mov dword [esp + 0xc], str.Variable_identified_as__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.WCMD_for
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40a909
movzx eax, word [ebp - 0x10880]
test ax, ax
je 0x40d075
lea ebx, [ebp - 0x10880]
mov edx, ebx
add edx, 2
cmp word [edx], 0
jne 0x40ab1c
sub edx, ebx
sar edx, 1
mov dword [ebp - 0x10bdc], edx
mov ecx, 0x6f
mov edx, str.eol
jmp 0x40ab3f
movzx ecx, word [edx + 2]
add edx, 2
test cx, cx
jne 0x40ab3b
sub edx, str.eol
mov ecx, 0x6b
mov dword [ebp - 0x10bf0], edx
sar edx, 1
mov dword [ebp - 0x10be0], edx
mov edx, str.skip
jmp 0x40ab6b
movzx ecx, word [edx + 2]
add edx, 2
test cx, cx
jne 0x40ab67
sub edx, str.skip
mov ecx, 0x6f
mov dword [ebp - 0x10bf8], edx
sar edx, 1
mov dword [ebp - 0x10c20], edx
mov edx, str.tokens
jmp 0x40ab97
movzx ecx, word [edx + 2]
add edx, 2
test cx, cx
jne 0x40ab93
sub edx, str.tokens
mov ecx, 0x65
mov dword [ebp - 0x10c04], edx
sar edx, 1
mov dword [ebp - 0x10c24], edx
mov edx, str.delims
jmp 0x40abc3
movzx ecx, word [edx + 2]
add edx, 2
test cx, cx
jne 0x40abbf
sub edx, str.delims
mov ecx, 0x73
mov dword [ebp - 0x10c08], edx
sar edx, 1
mov dword [ebp - 0x10c28], edx
mov edx, str.usebackq
jmp 0x40abef
movzx ecx, word [edx + 2]
add edx, 2
test cx, cx
jne 0x40abeb
sub edx, str.usebackq
mov ecx, 0x20
mov dword [ebp - 0x10c10], edx
sar edx, 1
mov dword [ebp - 0x10c2c], edx
xor edx, edx
jmp 0x40ac1b
movzx ecx, word [edx + 0x4270cc]
mov word [ebp + edx - 0x10a80], cx
add edx, 2
test cx, cx
jne 0x40ac14
xor edx, edx
mov ecx, 0x31
jmp 0x40ac3b
movzx ecx, word [edx + 0x4270d2]
mov word [ebp + edx - 0x10018], cx
add edx, 2
test cx, cx
jne 0x40ac34
mov word [ebp - 0x10c0a], cx
mov dword [ebp - 0x10bc8], 0
mov dword [ebp - 0x10c00], ebx
cmp ax, 0x22
je 0x40ce30
mov ebx, dword [ebp - 0x10be0]
mov dword [ebp - 0x10bdc], edi
mov dword [ebp - 0x10c14], 0
mov edi, dword [ebp - 0x10c00]
lea ebx, [ebx + ebx + 2]
mov dword [ebp - 0x10be4], esi
mov dword [ebp - 0x10c18], ebx
mov ebx, dword [sym.imp.kernel32.dll_CompareStringW]
jmp 0x40ad08
cmp ax, 9
je 0x40ad17
mov eax, dword [ebp - 0x10be0]
mov dword [esp + 0x10], str.eol
mov dword [esp + 8], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x1001
mov dword [esp], 0x400
call ebx
sub esp, 0x18
cmp eax, 2
jne 0x40adba
mov eax, dword [ebp - 0x10bf0]
movzx eax, word [edi + eax]
add edi, dword [ebp - 0x10c18]
mov word [ebp - 0x10c0a], ax
test byte [0x425010], 8
jne 0x40cd65
test edi, edi
je 0x40ad1e
movzx eax, word [edi]
test ax, ax
je 0x40cd3d
cmp ax, 0x20
jne 0x40aca0
add edi, 2
test edi, edi
jne 0x40ad05
mov dword [ebp - 0x10c00], edi
movzx edx, byte [0x425010]
mov edi, dword [ebp - 0x10bdc]
mov esi, dword [ebp - 0x10be4]
and edx, 8
movzx ecx, word [edi]
jmp 0x40a8e9
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Searching__p_as_the_set_n
mov dword [esp + 8], str.WCMD_for
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, eax
test eax, eax
jne 0x40a9d1
xor eax, eax
test byte [0x425010], 8
je 0x40aa8b
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Looking_for_do__in__p_n
mov dword [esp + 8], str.WCMD_for
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
jmp 0x40ae91
mov eax, dword [ebp - 0x10c20]
mov dword [esp + 0x10], str.skip
mov dword [esp + 8], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x1001
mov dword [esp], 0x400
call ebx
sub esp, 0x18
cmp eax, 2
je 0x40cfde
mov eax, dword [ebp - 0x10c2c]
mov dword [esp + 0x10], str.usebackq
mov dword [esp + 8], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x1001
mov dword [esp], 0x400
call ebx
sub esp, 0x18
cmp eax, 2
jne 0x40ce61
mov eax, dword [ebp - 0x10bfc]
add edi, dword [ebp - 0x10c10]
mov dword [ebp - 0x10c14], eax
test byte [0x425010], 8
je 0x40ad01
mov dword [esp + 0xc], str.Found_usebackq_n
mov dword [esp + 8], str.WCMD_parse_forf_options
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
mov eax, dword [ebp - 0x10bfc]
mov dword [ebp - 0x10c14], eax
jmp 0x40ad01
mov eax, dword [edx + 8]
mov esi, dword [ebp + 0xc]
mov dword [esi], eax
test byte [0x425010], 8
jne 0x40ad88
test eax, eax
je 0x40aa8b
mov eax, dword [eax]
mov dword [esp], 0x4265dc
mov dword [esp + 4], eax
call dbg.WCMD_keyword_ws_found
test eax, eax
je 0x40aa8b
mov eax, dword [ebp + 0xc]
lea ebx, [ebp - 0x8018]
mov eax, dword [eax]
mov dword [ebp - 0x10bf0], eax
mov dword [ebp - 0x10bd4], eax
mov eax, ebx
shr eax, 0x10
cmp dword [ebp - 0x10c14], 1
mov dword [ebp - 0x10c10], eax
sbb eax, eax
and eax, 0xfffffffb
add eax, 0x27
mov dword [ebp - 0x10c38], eax
lea eax, [ebp - 0x10678]
shr eax, 0x10
mov dword [ebp - 0x10c34], eax
lea eax, [ebp - 0x4018]
shr eax, 0x10
mov dword [ebp - 0x10c30], eax
lea eax, [ebp - 0x1023c]
shr eax, 0x10
mov dword [ebp - 0x10c2c], eax
mov eax, dword [ebp - 0x10bf0]
mov eax, dword [eax]
mov dword [ebp - 0x10bdc], eax
add eax, 6
mov dword [ebp - 0x10c04], eax
mov eax, dword [ebp - 0x10c00]
test eax, eax
je 0x40b11f
mov ecx, dword [eax + 4]
lea esi, [ebp - 0x10470]
xor eax, eax
movzx edx, word [ecx + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x40af47
cmp word [ebp - 0x10470], 0
mov edx, esi
je 0x40af6c
add edx, 2
cmp word [edx], 0
jne 0x40af63
xor eax, eax
mov ecx, 0x5c
jmp 0x40af7c
movzx ecx, word [eax + 0x426a36]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40af75
lea eax, [ebp - 0xc018]
mov dword [esp], esi
mov dword [ebp - 0x10bdc], eax
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
sub esp, 8
mov dword [ebp - 0x10be0], eax
cmp eax, 0xffffffff
je 0x40b11f
mov eax, dword [sym.imp.kernel32.dll_FindNextFileW]
mov edi, dword [ebp - 0x10c00]
mov dword [ebp - 0x10be4], eax
jmp 0x40aff5
test byte [ebp - 0xc018], 0x10
jne 0x40b02b
mov eax, dword [ebp - 0x10bdc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10be0]
mov dword [esp], eax
mov eax, dword [ebp - 0x10be4]
call eax
sub esp, 8
test eax, eax
je 0x40b100
test byte [0x425010], 8
je 0x40afc6
mov dword [esp + 0xc], str.Looking_for_subdirectories_n
mov dword [esp + 8], str.WCMD_add_dirstowalk
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
test byte [ebp - 0xc018], 0x10
je 0x40afcf
lea eax, [ebp - 0xbfec]
mov dword [esp + 4], 0x426a68
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x40afcf
lea eax, [ebp - 0xbfec]
mov dword [esp + 4], 0x426a6e
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x40afcf
mov eax, dword [ebp - 0x10c00]
mov esi, dword [sym.imp.ucrtbase.dll_wcslen]
mov eax, dword [eax + 4]
mov dword [esp], eax
call esi
mov dword [ebp - 0x10bec], eax
lea eax, [ebp - 0xbfec]
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x10bec]
lea eax, [edx + eax + 1]
cmp eax, 0x103
jbe 0x40d156
test byte [0x425010], 8
je 0x40afcf
lea eax, [ebp - 0xbfec]
call sym._wine_dbgstr_wn.constprop.5
mov esi, eax
mov eax, dword [ebp - 0x10c00]
mov eax, dword [eax + 4]
call sym._wine_dbgstr_wn.constprop.5
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Skipping_too_long_path__s_s_n
mov dword [esp + 8], str.WCMD_add_dirstowalk
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40afcf
test byte [0x425010], 8
jne 0x40cca7
mov eax, dword [ebp - 0x10be0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
mov eax, dword [ebp - 0x10c28]
test eax, eax
je 0x40bbae
mov esi, dword [eax]
test esi, esi
je 0x40bbae
mov dword [ebp - 0x10bf8], eax
mov esi, dword [ebp - 0x10c20]
mov dword [ebp - 0x10be4], 0
cmp esi, dword [eax + 0x10]
jg 0x40bbae
test byte [0x425010], 8
jne 0x40c3f5
mov dword [ebp - 0x10be0], 0
lea esi, [esi]
lea eax, [ebp - 0x10bc4]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10be0]
mov dword [esp + 0xc], 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10bf8]
mov eax, dword [eax]
mov dword [esp], eax
call sym._WCMD_parameter
movzx ecx, word [eax]
test cx, cx
je 0x40bb80
xor edx, edx
jmp 0x40b1b8
movzx ecx, word [eax + edx]
mov word [ebx + edx], cx
add edx, 2
test cx, cx
jne 0x40b1b4
mov eax, dword [ebp - 0x10bf0]
add dword [ebp - 0x10be4], 1
mov dword [ebp - 0x10bcc], eax
test byte [0x425010], 8
jne 0x40b450
mov eax, dword [ebp - 0x10be8]
or eax, dword [ebp - 0x10bfc]
mov dword [ebp - 0x10bdc], eax
jne 0x40b2e0
mov eax, dword [ebp - 0x10c00]
test eax, eax
je 0x40b980
mov ecx, dword [eax + 4]
lea edi, [ebp - 0x10470]
xor eax, eax
movzx edx, word [ecx + eax]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x40b215
cmp word [ebp - 0x10470], 0
mov edx, edi
je 0x40b23a
add edx, 2
cmp word [edx], 0
jne 0x40b231
xor eax, eax
mov ecx, 0x5c
jmp 0x40b24a
movzx ecx, word [eax + 0x426a96]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40b243
cmp word [ebp - 0x10470], 0
mov edx, edi
je 0x40b26b
add edx, 2
cmp word [edx], 0
jne 0x40b262
xor eax, eax
lea esi, [esi]
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40b270
mov dword [esp + 4], 0x426eba
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcspbrk]
test eax, eax
je 0x40b630
lea eax, [ebp - 0x10268]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
sub esp, 8
mov esi, eax
cmp eax, 0xffffffff
jne 0x40b733
lea esi, [esi]
test byte [0x425010], 8
jne 0x40b5c0
add dword [ebp - 0x10be0], 1
jmp 0x40b170
mov esi, dword [ebp - 0x10be8]
test esi, esi
jne 0x40b5f3
mov edx, dword [ebp - 0x10bc4]
mov ecx, dword [ebp - 0x10c14]
movzx eax, word [edx]
test ecx, ecx
je 0x40b9c5
cmp ax, 0x27
jne 0x40bcc5
mov eax, dword [ebp - 0x10c38]
mov dword [esp], edx
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_wcsrchr]
mov edx, dword [ebp - 0x10bc4]
test eax, eax
je 0x40b340
xor edx, edx
mov word [eax], dx
mov eax, dword [ebp - 0x10bc4]
lea edx, [eax + 2]
mov dword [ebp - 0x10bc4], edx
lea esi, [ebp - 0xc018]
xor eax, eax
mov dword [ebp - 0x10bdc], esi
movzx ecx, word [edx + eax]
mov word [esi + eax], cx
add eax, 2
test cx, cx
jne 0x40b34e
lea eax, [ebp - 0x10018]
mov edx, dword [ebp - 0x10c04]
lea ecx, [ebp - 0x10bd4]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x10a80]
mov dword [esp + 0x14], eax
movzx eax, word [ebp - 0x10c0a]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x10bc8]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x10bd0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10bdc]
mov dword [esp + 4], eax
movzx eax, word [ebp - 0x10bbe]
mov dword [esp], eax
mov eax, dword [ebp - 0x10bf0]
call dbg.WCMD_parse_line
mov eax, dword [ebp - 0x10c00]
test eax, eax
je 0x40bb45
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x10bdc], edx
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x10c00]
mov edx, dword [ebp - 0x10bdc]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
test esi, esi
je 0x40cd07
test byte [0x425010], 8
jne 0x40d121
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10c00], esi
mov eax, dword [eax]
mov dword [ebp - 0x10bf0], eax
jmp 0x40af17
mov eax, dword [ebp - 0x10c10]
test eax, eax
je 0x40b931
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edi, eax
sub esp, 8
mov eax, 0x42613d
test edi, edi
jne 0x40b556
cmp word [ebp - 0x8018], 0
je 0x40b49a
lea esi, [esi]
nop
add edi, 1
cmp word [ebx + edi*2], 0
jne 0x40b490
mov eax, 0x224c
lea edx, [ebp - 0x1046e]
mov dword [ebp - 0x10bdc], ebx
lea esi, [edi - 1]
mov word [ebp - 0x10470], ax
lea eax, [ebp - 0x1034e]
mov dword [ebp - 0x10bec], eax
cmp edx, dword [ebp - 0x10bec]
ja 0x40b52b
lea esi, [esi]
test edi, edi
jle 0x40b52b
add dword [ebp - 0x10bdc], 2
mov eax, dword [ebp - 0x10bdc]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x40b691
ja 0x40b590
cmp ax, 9
je 0x40b720
cmp ax, 0xa
jne 0x40b6c0
mov eax, 0x6e5c
add edx, 2
mov edi, esi
mov word [edx - 2], ax
lea esi, [esi]
nop
lea esi, [edi - 1]
cmp edx, dword [ebp - 0x10bec]
jbe 0x40b4d0
mov byte [edx], 0x22
lea eax, [edx + 1]
test esi, esi
jle 0x40b545
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
lea edi, [ebp - 0x10470]
mov byte [eax], 0
mov dword [esp], edi
call dbg.__wine_dbg_strdup
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x10be4]
mov dword [esp + 0xc], str.Processing_for_item__d__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.WCMD_for
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40b1e4
cmp ax, 0x22
je 0x40b6a4
cmp ax, 0x5c
jne 0x40b6c0
mov edi, 0x5c5c
add edx, 2
mov word [edx - 2], di
mov edi, esi
jmp 0x40b520
mov eax, dword [ebp - 0x10bd4]
mov dword [esp + 0xc], str.Post_command__cmdEnd___p_n
mov dword [esp + 8], str.WCMD_for
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40b2cd
cmp dword [ebp - 0x10be4], 3
jg 0x40b2c0
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcstol]
mov esi, dword [ebp - 0x10be4]
mov dword [ebp + esi*4 - 0x10bbc], eax
jmp 0x40b2c0
mov dword [ebp - 0x10bd0], 1
mov eax, dword [ebp - 0x10c08]
cmp eax, 0xffffffff
je 0x40b960
mov dword [esp], 1
mov esi, dword [eax*4 + 0x4373a0]
xor ecx, ecx
mov dword [eax*4 + 0x4373a0], edi
mov edx, dword [ebp - 0x10c04]
lea edi, [ebp - 0x10bcc]
mov eax, edi
call dbg.WCMD_part_execute
mov eax, dword [ebp - 0x10c08]
mov dword [eax*4 + 0x4373a0], esi
mov eax, dword [ebp - 0x10bcc]
mov dword [ebp - 0x10bd4], eax
jmp 0x40b2c0
mov eax, 0x725c
add edx, 2
mov edi, esi
mov word [edx - 2], ax
jmp 0x40b520
mov eax, 0x225c
add edx, 2
mov edi, esi
mov word [edx - 2], ax
jmp 0x40b520
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x40b950
mov edi, eax
mov byte [edx], 0x5c
add edx, 5
shr di, 0xc
movzx edi, di
movzx ecx, byte [edi + str.0123456789abcdefWCMD_choice]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [edx - 4], cl
movzx ecx, byte [edi + str.0123456789abcdefWCMD_choice]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_choice]
and edi, 0xf
mov byte [edx - 3], cl
movzx ecx, byte [edi + str.0123456789abcdefWCMD_choice]
mov byte [edx - 1], al
mov edi, esi
mov byte [edx - 2], cl
jmp 0x40b520
mov eax, 0x745c
add edx, 2
mov edi, esi
mov word [edx - 2], ax
jmp 0x40b520
mov eax, dword [sym.imp.kernel32.dll_FindNextFileW]
mov dword [ebp - 0x10c18], edi
mov edi, eax
jmp 0x40b75c
lea eax, [ebp - 0x10268]
mov dword [esp], esi
mov dword [esp + 4], eax
call edi
sub esp, 8
test eax, eax
je 0x40b920
mov eax, dword [ebp - 0x10268]
shr eax, 4
and eax, 1
cmp eax, dword [ebp - 0x10bf4]
jne 0x40b742
mov edx, dword [sym.imp.kernel32.dll_lstrcmpW]
lea eax, [ebp - 0x1023c]
mov dword [esp + 4], 0x426a68
mov dword [esp], eax
mov dword [ebp - 0x10bec], edx
call edx
mov edx, dword [ebp - 0x10bec]
sub esp, 8
test eax, eax
je 0x40b742
lea eax, [ebp - 0x1023c]
mov dword [esp + 4], 0x426a6e
mov dword [esp], eax
call edx
sub esp, 8
test eax, eax
je 0x40b742
mov eax, dword [ebp - 0x10bf0]
mov dword [ebp - 0x10bcc], eax
test byte [0x425010], 8
jne 0x40c1e3
mov eax, dword [ebp - 0x10c1c]
test eax, eax
je 0x40bfcf
mov eax, dword [ebp - 0x10c00]
mov edx, dword [sym.imp.ucrtbase.dll_wcslen]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10c24], edx
mov dword [esp], eax
call edx
mov edx, dword [ebp - 0x10c24]
mov dword [ebp - 0x10bec], eax
lea eax, [ebp - 0x1023c]
mov dword [esp], eax
call edx
mov ecx, dword [ebp - 0x10bec]
lea eax, [ecx + eax + 1]
cmp eax, 0x103
jbe 0x40c428
test byte [0x425010], 8
je 0x40b742
mov ecx, dword [ebp - 0x10c2c]
test ecx, ecx
je 0x40cc1c
lea eax, [ebp - 0x1023c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x42613d
sub esp, 8
test eax, eax
jne 0x40c969
cmp word [ebp - 0x1023c], 0
je 0x40b87d
add eax, 1
cmp word [ebp + eax*2 - 0x1023c], 0
jne 0x40b86f
mov edx, 0x224c
lea ecx, [ebp - 0x1023c]
mov dword [ebp - 0x10c24], esi
mov word [ebp - 0x10bac], dx
mov esi, ecx
lea edx, [ebp - 0x10baa]
jmp 0x40b8c5
cmp ax, 9
je 0x40ca68
cmp ax, 0xa
jne 0x40ca0a
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov eax, dword [ebp - 0x10bec]
lea ecx, [eax - 1]
mov dword [ebp - 0x10bec], ecx
test eax, eax
jle 0x40c92f
lea eax, [ebp - 0x10a8a]
cmp edx, eax
ja 0x40c92f
add esi, 2
movzx eax, word [esi - 2]
cmp ax, 0xd
je 0x40c9cb
jbe 0x40b89f
cmp ax, 0x22
je 0x40c9f9
cmp ax, 0x5c
jne 0x40ca0a
mov eax, 0x5c5c
add edx, 2
mov word [edx - 2], ax
jmp 0x40b8bf
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
jmp 0x40b2c0
movzx eax, bx
mov dword [esp], 0x426130
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.7
jmp 0x40b556
mov byte [edx], al
mov edi, esi
add edx, 1
jmp 0x40b520
mov dword [esp], 1
mov edx, dword [ebp - 0x10c04]
xor ecx, ecx
lea eax, [ebp - 0x10bcc]
call dbg.WCMD_part_execute
jmp 0x40b680
mov dword [esp + 4], 0x5c
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
je 0x40b9a2
sub eax, ebx
sar eax, 1
add eax, 1
mov dword [ebp - 0x10bdc], eax
xor eax, eax
lea edi, [ebp - 0x10470]
lea esi, [esi]
movzx edx, word [ebx + eax]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x40b9b0
jmp 0x40b280
cmp ax, 0x22
je 0x40b30f
test byte [0x425010], 8
jne 0x40c099
cmp ax, 0x27
je 0x40beae
movzx eax, word [ebp - 0x8018]
cmp edx, ebx
je 0x40bea4
cmp ax, 0x22
jne 0x40ba08
test byte [ebp - 0x10c14], 1
jne 0x40c9b4
test byte [0x425010], 8
jne 0x40c562
mov dword [ebp - 0x10c18], 0
mov esi, ebx
mov dword [ebp - 0x10bdc], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
mov edi, eax
mov esi, dword [ebp - 0x10c18]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], esi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
cmp edi, 0xffffffff
je 0x40ccd8
lea esi, [ebp - 0xc018]
jmp 0x40bb01
lea eax, [ebp - 0x10018]
mov dword [esp + 4], esi
mov edx, dword [ebp - 0x10c04]
lea ecx, [ebp - 0x10bd4]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x10a80]
mov dword [esp + 0x14], eax
movzx eax, word [ebp - 0x10c0a]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x10bc8]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x10bd0]
mov dword [esp + 8], eax
movzx eax, word [ebp - 0x10bbe]
mov dword [esp], eax
mov eax, dword [ebp - 0x10bf0]
call dbg.WCMD_parse_line
xor ecx, ecx
mov word [ebp - 0xc018], cx
mov dword [esp + 8], edi
mov dword [esp + 4], 0x2000
mov dword [esp], esi
call dbg.WCMD_fgets
test eax, eax
jne 0x40baa0
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0x10bdc]
sub esp, 4
cmp dword [ebp - 0x10bc4], eax
jne 0x40b2c0
mov eax, dword [ebp - 0x10c00]
test eax, eax
jne 0x40b3ca
mov ebx, dword [ebp - 0x10bd0]
test ebx, ebx
je 0x40d1b9
mov eax, dword [ebp - 0x10bd4]
mov esi, dword [ebp + 0xc]
mov dword [esi], eax
test eax, eax
je 0x40aa9f
mov ecx, dword [eax]
test ecx, ecx
jne 0x40aa9f
mov eax, dword [eax + 8]
mov dword [esi], eax
jmp 0x40aa9f
mov eax, dword [ebp - 0x10bf8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10bf8], eax
test eax, eax
je 0x40bbae
mov eax, dword [ebp - 0x10bf8]
mov ecx, dword [eax]
test ecx, ecx
je 0x40bbae
mov esi, dword [ebp - 0x10c20]
cmp dword [eax + 0x10], esi
jge 0x40b156
mov edi, dword [ebp - 0x10be8]
test edi, edi
je 0x40b3bc
mov eax, dword [ebp - 0x10bb4]
mov edi, dword [ebp - 0x10bb8]
mov dword [ebp - 0x10bdc], eax
mov eax, dword [ebp - 0x10bb0]
mov dword [ebp - 0x10be0], eax
test byte [0x425010], 8
jne 0x40d0e0
lea esi, [ebp - 0xc018]
jmp 0x40bc36
mov ecx, dword [eax*4 + 0x4373a0]
mov dword [esp], 1
mov edx, dword [ebp - 0x10c04]
mov dword [eax*4 + 0x4373a0], esi
lea eax, [ebp - 0x10bcc]
mov dword [ebp - 0x10be4], ecx
xor ecx, ecx
call dbg.WCMD_part_execute
mov eax, dword [ebp - 0x10c08]
mov ecx, dword [ebp - 0x10be4]
mov dword [eax*4 + 0x4373a0], ecx
add edi, dword [ebp - 0x10bdc]
mov ecx, dword [ebp - 0x10be0]
mov edx, dword [ebp - 0x10bdc]
cmp edi, ecx
setle al
test edx, edx
jns 0x40bc50
cmp edi, ecx
setge al
test al, al
je 0x40cc96
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x42612a
mov dword [esp + 4], 0x14
mov dword [esp], esi
call sym._swprintf.constprop.6
test byte [0x425010], 8
jne 0x40cc50
mov dword [ebp - 0x10bd0], 1
mov eax, dword [ebp - 0x10bf0]
mov dword [ebp - 0x10bcc], eax
mov eax, dword [ebp - 0x10c08]
cmp eax, 0xffffffff
jne 0x40bbef
mov dword [esp], 1
mov edx, dword [ebp - 0x10c04]
xor ecx, ecx
lea eax, [ebp - 0x10bcc]
call dbg.WCMD_part_execute
jmp 0x40bc30
test byte [0x425010], 8
jne 0x40c099
cmp ax, 0x60
jne 0x40b9e6
mov eax, dword [ebp - 0x10c14]
mov dword [ebp - 0x10bdc], edx
test eax, eax
je 0x40bec7
mov edi, dword [ebp - 0x10bdc]
mov dword [ebp - 0x10bec], edx
mov eax, edi
call dbg.WCMD_strtrim
mov edx, dword [ebp - 0x10bec]
test eax, eax
mov esi, eax
mov dword [ebp - 0x10c18], eax
cmove esi, edi
cmp word [esi], 0
je 0x40cc12
mov eax, esi
add eax, 2
cmp word [eax], 0
jne 0x40bd22
sub eax, esi
sar eax, 1
lea eax, [eax + eax - 2]
xor edi, edi
add esi, 2
mov word [esi + eax - 2], di
cmp edx, dword [ebp - 0x10bdc]
je 0x40d0d8
test byte [0x425010], 8
je 0x40ba27
mov eax, 0x426136
test esi, esi
je 0x40be50
mov eax, esi
shr eax, 0x10
test eax, eax
je 0x40c582
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, 0x42613d
test ecx, ecx
jne 0x40be50
cmp word [esi], 0
je 0x40bda3
add ecx, 1
cmp word [esi + ecx*2], 0
jne 0x40bd99
mov eax, 0x224c
mov edi, esi
mov dword [ebp - 0x10c24], esi
lea esi, [ecx - 1]
mov word [ebp - 0x10470], ax
lea eax, [ebp - 0x1034e]
lea edx, [ebp - 0x1046e]
mov dword [ebp - 0x10bec], eax
cmp edx, dword [ebp - 0x10bec]
ja 0x40be1c
test ecx, ecx
jle 0x40be1c
add edi, 2
movzx eax, word [edi - 2]
cmp ax, 0xd
je 0x40c89c
ja 0x40be7d
cmp ax, 9
je 0x40c876
cmp ax, 0xa
jne 0x40c816
mov eax, 0x6e5c
add edx, 2
mov ecx, esi
mov word [edx - 2], ax
lea esi, [ecx - 1]
cmp edx, dword [ebp - 0x10bec]
jbe 0x40bdd4
mov eax, esi
mov byte [edx], 0x22
mov esi, dword [ebp - 0x10c24]
test eax, eax
jle 0x40cc8e
mov edi, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], di
lea edi, [ebp - 0x10470]
mov byte [eax], 0
mov dword [esp], edi
call dbg.__wine_dbg_strdup
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Reading_input_to_parse_from__s_n
mov dword [esp + 8], str.WCMD_forf_getinputhandle
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40ba27
cmp ax, 0x22
je 0x40c889
cmp ax, 0x5c
jne 0x40c816
mov eax, 0x5c5c
add edx, 2
mov ecx, esi
mov word [edx - 2], ax
jmp 0x40be11
cmp ax, 0x60
je 0x40bcdc
test byte [ebp - 0x10c14], 1
mov dword [ebp - 0x10bdc], edx
jne 0x40bec7
cmp ax, 0x27
je 0x40bcf0
mov dword [ebp - 0x10c18], 0
lea eax, [ebp - 0x10678]
mov dword [ebp - 0x10bec], edx
lea edi, [ebp - 0x10470]
mov dword [esp + 4], eax
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
lea eax, [ebp - 0x10678]
sub esp, 8
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x427300
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
lea eax, [ebp - 0x10678]
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], 0x427308
mov dword [esp], eax
call sym._wsprintfW
mov edx, dword [ebp - 0x10bec]
lea eax, [ebp - 0x4018]
mov dword [esp + 4], str.CMD.EXE__C__s
mov dword [esp], eax
mov dword [esp + 8], edx
call sym._wsprintfW
test byte [0x425010], 8
jne 0x40c5be
lea eax, [ebp - 0x10678]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x4018]
mov dword [esp + 8], 0
mov dword [esp], eax
call dbg.WCMD_execute
mov dword [esp], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x4000000
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
mov edi, eax
jmp 0x40ba65
mov eax, dword [ebp - 0x10bdc]
test eax, eax
jne 0x40c8af
mov eax, dword [ebp - 0x10bdc]
xor edx, edx
mov word [ebp + eax*2 - 0x10470], dx
cmp word [ebp - 0x10470], 0
mov edx, dword [ebp - 0x10c18]
je 0x40c009
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x40c000
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [ebp + eax - 0x1023c]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40c010
cmp dword [ebp - 0x10c08], 0xffffffff
mov dword [ebp - 0x10bd0], 1
je 0x40c33d
mov eax, dword [ebp - 0x10c08]
mov edx, dword [ebp - 0x10c18]
mov dword [esp], 1
mov ecx, dword [eax*4 + 0x4373a0]
mov dword [eax*4 + 0x4373a0], edx
lea eax, [ebp - 0x10bcc]
mov edx, dword [ebp - 0x10c04]
mov dword [ebp - 0x10bec], ecx
xor ecx, ecx
call dbg.WCMD_part_execute
mov eax, dword [ebp - 0x10c08]
mov ecx, dword [ebp - 0x10bec]
mov dword [eax*4 + 0x4373a0], ecx
mov eax, dword [ebp - 0x10bcc]
mov dword [ebp - 0x10bd4], eax
jmp 0x40b742
mov edx, dword [ebp - 0x10c10]
test edx, edx
je 0x40c59a
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, 0x42613d
test ecx, ecx
jne 0x40c16e
cmp word [ebp - 0x8018], 0
je 0x40c0de
add ecx, 1
cmp word [ebx + ecx*2], 0
jne 0x40c0d4
mov eax, 0x224c
lea edx, [ebp - 0x1046e]
lea edi, [ecx - 1]
mov esi, ebx
mov word [ebp - 0x10470], ax
test ecx, ecx
jle 0x40c143
lea eax, [ebp - 0x1034e]
cmp edx, eax
ja 0x40c143
add esi, 2
movzx eax, word [esi - 2]
cmp ax, 0xd
je 0x40c35c
ja 0x40c1bc
cmp ax, 9
je 0x40c3e2
cmp ax, 0xa
jne 0x40c382
mov eax, 0x6e5c
add edx, 2
mov ecx, edi
mov word [edx - 2], ax
lea edi, [ecx - 1]
test ecx, ecx
jg 0x40c0f9
mov byte [edx], 0x22
lea eax, [edx + 1]
test edi, edi
jle 0x40c15d
mov esi, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], si
lea edi, [ebp - 0x10470]
mov byte [eax], 0
mov dword [esp], edi
call dbg.__wine_dbg_strdup
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x10be4]
mov dword [esp + 0xc], str.Processing_for_filespec_from_item__d__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.WCMD_for
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
mov edx, dword [ebp - 0x10bc4]
mov ecx, dword [ebp - 0x10c14]
movzx eax, word [edx]
test ecx, ecx
jne 0x40bcd2
jmp 0x40b9dc
cmp ax, 0x22
je 0x40c36f
cmp ax, 0x5c
jne 0x40c382
mov eax, 0x5c5c
add edx, 2
mov ecx, edi
mov word [edx - 2], ax
jmp 0x40c13c
mov edx, dword [ebp - 0x10c2c]
test edx, edx
je 0x40c907
lea eax, [ebp - 0x1023c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, 0x42613d
test ecx, ecx
jne 0x40c2e9
cmp word [ebp - 0x1023c], 0
je 0x40c232
add ecx, 1
cmp word [ebp + ecx*2 - 0x1023c], 0
jne 0x40c224
mov eax, 0x224c
mov dword [ebp - 0x10bec], esi
lea edx, [ebp - 0x10baa]
mov word [ebp - 0x10bac], ax
lea eax, [ebp - 0x1023c]
mov esi, eax
lea eax, [ebp - 0x10a8a]
mov dword [ebp - 0x10c24], edi
lea edi, [ecx - 1]
cmp edx, eax
ja 0x40c2af
test ecx, ecx
jle 0x40c2af
add esi, 2
movzx eax, word [esi - 2]
cmp ax, 0xd
je 0x40c54f
ja 0x40c316
cmp ax, 9
je 0x40c53c
cmp ax, 0xa
jne 0x40c4dc
mov eax, 0x6e5c
add edx, 2
mov ecx, edi
mov word [edx - 2], ax
lea eax, [ebp - 0x10a8a]
lea edi, [ecx - 1]
cmp edx, eax
jbe 0x40c265
mov eax, edi
mov esi, dword [ebp - 0x10bec]
mov edi, dword [ebp - 0x10c24]
mov byte [edx], 0x22
test eax, eax
jle 0x40cc00
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x10bac]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Processing_FOR_filename__s_n
mov dword [esp + 8], str.WCMD_for
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40b7cf
cmp ax, 0x22
je 0x40c4c9
cmp ax, 0x5c
jne 0x40c4dc
mov eax, 0x5c5c
add edx, 2
mov ecx, edi
mov word [edx - 2], ax
jmp 0x40c2a2
mov dword [esp], 1
mov edx, dword [ebp - 0x10c04]
xor ecx, ecx
lea eax, [ebp - 0x10bcc]
call dbg.WCMD_part_execute
jmp 0x40c088
mov eax, 0x725c
add edx, 2
mov ecx, edi
mov word [edx - 2], ax
jmp 0x40c13c
mov eax, 0x225c
add edx, 2
mov ecx, edi
mov word [edx - 2], ax
jmp 0x40c13c
lea ecx, [eax - 0x20]
cmp cx, 0x5e
jbe 0x40c5b2
mov ecx, eax
mov byte [edx], 0x5c
add edx, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_choice]
mov byte [edx - 4], cl
mov ecx, eax
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_choice]
mov byte [edx - 3], cl
mov ecx, eax
and eax, 0xf
shr cx, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_choice]
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_choice]
mov byte [edx - 1], al
mov byte [edx - 2], cl
mov ecx, edi
jmp 0x40c13c
mov eax, 0x745c
add edx, 2
mov ecx, edi
mov word [edx - 2], ax
jmp 0x40c13c
mov eax, dword [ebp - 0x10bf8]
mov dword [esp + 0xc], str.Processing_for_set__p_n
mov dword [esp + 8], str.WCMD_for
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40b163
mov eax, dword [ebp - 0x10c00]
mov dword [ebp - 0x10bec], esi
mov esi, dword [ebp - 0x10c18]
mov ecx, dword [eax + 4]
xor eax, eax
nop
movzx edx, word [ecx + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x40c440
cmp word [ebp - 0x10470], 0
mov esi, dword [ebp - 0x10bec]
mov edx, dword [ebp - 0x10c18]
je 0x40c479
lea esi, [esi]
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x40c470
xor eax, eax
mov ecx, 0x5c
jmp 0x40c489
movzx ecx, word [eax + 0x426a96]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40c482
cmp word [ebp - 0x10470], 0
mov edx, dword [ebp - 0x10c18]
je 0x40c4ae
add edx, 2
cmp word [edx], 0
jne 0x40c4a5
xor eax, eax
movzx ecx, word [ebp + eax - 0x1023c]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40c4b0
jmp 0x40c024
mov eax, 0x225c
add edx, 2
mov ecx, edi
mov word [edx - 2], ax
jmp 0x40c2a2
lea ecx, [eax - 0x20]
cmp cx, 0x5e
jbe 0x40c9bf
mov ecx, eax
mov byte [edx], 0x5c
add edx, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_choice]
mov byte [edx - 4], cl
mov ecx, eax
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_choice]
mov byte [edx - 3], cl
mov ecx, eax
and eax, 0xf
shr cx, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_choice]
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_choice]
mov byte [edx - 1], al
mov byte [edx - 2], cl
mov ecx, edi
jmp 0x40c2a2
mov eax, 0x745c
add edx, 2
mov ecx, edi
mov word [edx - 2], ax
jmp 0x40c2a2
mov eax, 0x725c
add edx, 2
mov ecx, edi
mov word [edx - 2], ax
jmp 0x40c2a2
mov eax, dword [ebp - 0x10c10]
mov esi, ebx
mov dword [ebp - 0x10bdc], ebx
mov dword [ebp - 0x10c18], 0
test eax, eax
jne 0x40bd70
movzx eax, si
mov dword [esp], 0x426130
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.7
jmp 0x40be50
movzx eax, bx
mov dword [esp], 0x426130
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.7
jmp 0x40c16e
mov byte [edx], al
mov ecx, edi
add edx, 1
jmp 0x40c13c
mov ecx, dword [ebp - 0x10c34]
test ecx, ecx
je 0x40cb8a
lea eax, [ebp - 0x10678]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x10c24], 0x42613d
sub esp, 8
test eax, eax
jne 0x40c6d3
cmp word [ebp - 0x10678], 0
je 0x40c610
add eax, 1
cmp word [ebp + eax*2 - 0x10678], 0
jne 0x40c602
mov edx, 0x224c
lea esi, [ebp - 0x10678]
mov word [ebp - 0x10bac], dx
lea edx, [ebp - 0x10baa]
jmp 0x40c650
cmp ax, 9
je 0x40cad7
cmp ax, 0xa
jne 0x40ca79
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov eax, dword [ebp - 0x10bec]
lea ecx, [eax - 1]
mov dword [ebp - 0x10bec], ecx
test eax, eax
jle 0x40c69c
lea eax, [ebp - 0x10a8a]
cmp edx, eax
ja 0x40c69c
add esi, 2
movzx eax, word [esi - 2]
cmp ax, 0xd
je 0x40cae8
jbe 0x40c62a
cmp ax, 0x22
je 0x40caf9
cmp ax, 0x5c
jne 0x40ca79
mov eax, 0x5c5c
add edx, 2
mov word [edx - 2], ax
jmp 0x40c64a
mov esi, dword [ebp - 0x10bec]
mov byte [edx], 0x22
lea eax, [edx + 1]
test esi, esi
jle 0x40c6bc
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x10bac]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
mov dword [ebp - 0x10c24], eax
mov edx, dword [ebp - 0x10c30]
test edx, edx
je 0x40cbc1
lea eax, [ebp - 0x4018]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, 0x42613d
test ecx, ecx
jne 0x40c7df
cmp word [ebp - 0x4018], 0
je 0x40c722
add ecx, 1
cmp word [ebp + ecx*2 - 0x4018], 0
jne 0x40c714
mov eax, 0x224c
lea edx, [ebp - 0x10baa]
lea esi, [ebp - 0x4018]
mov word [ebp - 0x10bac], ax
jmp 0x40c762
cmp ax, 9
je 0x40cb68
cmp ax, 0xa
jne 0x40cb0a
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov ecx, dword [ebp - 0x10bec]
lea eax, [ecx - 1]
mov dword [ebp - 0x10bec], eax
lea eax, [ebp - 0x10a8a]
cmp edx, eax
ja 0x40c7ae
test ecx, ecx
jle 0x40c7ae
add esi, 2
movzx eax, word [esi - 2]
cmp ax, 0xd
je 0x40c9dc
jbe 0x40c73c
cmp ax, 0x22
je 0x40cb79
cmp ax, 0x5c
jne 0x40cb0a
mov eax, 0x5c5c
add edx, 2
mov word [edx - 2], ax
jmp 0x40c75c
mov esi, dword [ebp - 0x10bec]
mov byte [edx], 0x22
lea eax, [edx + 1]
test esi, esi
jle 0x40c7ce
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x10bac]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
mov esi, dword [ebp - 0x10c24]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Issuing__s_with_redirs__s_n
mov dword [esp + 0x14], esi
mov dword [esp + 8], str.WCMD_forf_getinputhandle
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40bf64
lea ecx, [eax - 0x20]
cmp cx, 0x5e
jbe 0x40c9ed
mov ecx, eax
mov byte [edx], 0x5c
add edx, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_choice]
mov byte [edx - 4], cl
mov ecx, eax
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_choice]
mov byte [edx - 3], cl
mov ecx, eax
and eax, 0xf
shr cx, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_choice]
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_choice]
mov byte [edx - 1], al
mov byte [edx - 2], cl
mov ecx, esi
jmp 0x40be11
mov eax, 0x745c
add edx, 2
mov ecx, esi
mov word [edx - 2], ax
jmp 0x40be11
mov eax, 0x225c
add edx, 2
mov ecx, esi
mov word [edx - 2], ax
jmp 0x40be11
mov eax, 0x725c
add edx, 2
mov ecx, esi
mov word [edx - 2], ax
jmp 0x40be11
mov eax, dword [ebp - 0x10bdc]
lea edx, [eax + 1]
cmp edx, 1
jbe 0x40cbe9
movzx ecx, word [ebp - 0x8018]
mov eax, dword [ebp - 0x10c18]
test cx, cx
je 0x40c8fd
mov dword [ebp - 0x10bec], esi
mov esi, ebx
jmp 0x40c8e5
movzx ecx, word [esi]
test cx, cx
je 0x40c8f7
add eax, 2
sub edx, 1
add esi, 2
mov word [eax - 2], cx
cmp edx, 1
jne 0x40c8dd
mov esi, dword [ebp - 0x10bec]
xor ecx, ecx
mov word [eax], cx
jmp 0x40bfdd
lea eax, [ebp - 0x1023c]
mov dword [esp], 0x426130
mov dword [ebp - 0x10bec], eax
movzx eax, word [ebp - 0x10bec]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.7
jmp 0x40c2e9
mov eax, dword [ebp - 0x10bec]
mov esi, dword [ebp - 0x10c24]
mov byte [edx], 0x22
test eax, eax
jle 0x40ccd0
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x10bac]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp - 0x10c00]
mov dword [ebp - 0x10bec], edx
mov eax, dword [eax + 4]
call sym._wine_dbgstr_wn.constprop.5
mov edx, dword [ebp - 0x10bec]
mov dword [esp + 0xc], str.Skipping_too_long_path__s_s_n
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.WCMD_for
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40b742
mov dword [ebp - 0x10bdc], ebx
jmp 0x40bcf0
mov byte [edx], al
mov ecx, edi
add edx, 1
jmp 0x40c2a2
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
jmp 0x40b8bf
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
jmp 0x40c75c
mov byte [edx], al
mov ecx, esi
add edx, 1
jmp 0x40be11
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
jmp 0x40b8bf
lea ecx, [eax - 0x20]
cmp cx, 0x5e
jbe 0x40cc84
mov ecx, eax
mov byte [edx], 0x5c
add edx, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_choice]
mov byte [edx - 4], cl
mov ecx, eax
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_choice]
mov byte [edx - 3], cl
mov ecx, eax
and eax, 0xf
shr cx, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_choice]
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_choice]
mov byte [edx - 1], al
mov byte [edx - 2], cl
jmp 0x40b8bf
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
jmp 0x40b8bf
lea ecx, [eax - 0x20]
cmp cx, 0x5e
jbe 0x40cc46
mov ecx, eax
mov byte [edx], 0x5c
add edx, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_choice]
mov byte [edx - 4], cl
mov ecx, eax
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_choice]
mov byte [edx - 3], cl
mov ecx, eax
and eax, 0xf
shr cx, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_choice]
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_choice]
mov byte [edx - 1], al
mov byte [edx - 2], cl
jmp 0x40c64a
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
jmp 0x40c64a
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
jmp 0x40c64a
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
jmp 0x40c64a
lea ecx, [eax - 0x20]
cmp cx, 0x5e
jbe 0x40cc08
mov ecx, eax
mov byte [edx], 0x5c
add edx, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_choice]
mov byte [edx - 4], cl
mov ecx, eax
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_choice]
mov byte [edx - 3], cl
mov ecx, eax
and eax, 0xf
shr cx, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_choice]
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_choice]
mov byte [edx - 1], al
mov byte [edx - 2], cl
jmp 0x40c75c
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
jmp 0x40c75c
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
jmp 0x40c75c
lea eax, [ebp - 0x10678]
mov dword [esp], 0x426130
mov dword [ebp - 0x10bec], eax
movzx eax, word [ebp - 0x10bec]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.7
mov edx, dword [ebp - 0x10c30]
mov dword [ebp - 0x10c24], eax
test edx, edx
jne 0x40c6e1
lea eax, [ebp - 0x4018]
mov dword [esp], 0x426130
mov dword [ebp - 0x10bec], eax
movzx eax, word [ebp - 0x10bec]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.7
jmp 0x40c7df
test edx, edx
je 0x40bfdd
mov eax, dword [ebp - 0x10c18]
jmp 0x40c8fd
lea eax, [edx + 1]
jmp 0x40c2d8
mov byte [edx], al
add edx, 1
jmp 0x40c75c
mov eax, 0xfffffffe
jmp 0x40bd33
lea eax, [ebp - 0x1023c]
mov dword [esp], 0x426130
mov dword [ebp - 0x10bec], eax
movzx eax, word [ebp - 0x10bec]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.7
mov edx, eax
jmp 0x40c969
mov byte [edx], al
add edx, 1
jmp 0x40c64a
mov eax, esi
call sym._wine_dbgstr_wn.constprop.5
mov dword [esp + 0xc], str.Processing_FOR_number__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.WCMD_for
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40bc81
mov byte [edx], al
add edx, 1
jmp 0x40b8bf
lea eax, [edx + 1]
jmp 0x40be3f
mov eax, dword [ebp - 0x10bcc]
mov dword [ebp - 0x10bd4], eax
jmp 0x40b3bc
mov dword [esp + 0xc], str.Finished_adding_all_subdirectories_n
mov dword [esp + 8], str.WCMD_add_dirstowalk
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40b10d
lea eax, [edx + 1]
jmp 0x40c956
call dbg.WCMD_print_error
mov dword [esp], 0x3fc
call sym._WCMD_LoadMessage
mov dword [esp + 4], ebx
mov dword [esp], eax
call dbg.WCMD_output_stderr
mov dword [0x437470], 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x425010], 8
je 0x40bb45
mov dword [esp + 0xc], str.Finished_all_directories._n
mov dword [esp + 8], str.WCMD_for
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40bb45
mov edi, dword [ebp - 0x10bdc]
mov esi, dword [ebp - 0x10be4]
mov dword [ebp - 0x10c00], 0
movzx edx, byte [0x425010]
movzx ecx, word [edi]
and edx, 8
jmp 0x40a8e9
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Found_eol_as__c__x__n
mov dword [esp + 8], str.WCMD_parse_forf_options
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40ad01
mov dword [esp], 0xc
call dbg.heap_xalloc
mov dword [eax], 0
cmp word [ebp - 0x10880], 0
mov dword [ebp - 0x10c00], eax
je 0x40d0c8
lea ebx, [ebp - 0x10880]
mov eax, ebx
add eax, 2
cmp word [eax], 0
jne 0x40cdc4
sub eax, ebx
sar eax, 1
lea edx, [eax + eax + 2]
mov dword [esp], edx
mov dword [ebp - 0x10bdc], edx
call dbg.heap_xalloc
mov edx, dword [ebp - 0x10bdc]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 8], edx
mov dword [ebp - 0x10bdc], eax
call sym._memcpy
mov eax, dword [ebp - 0x10c00]
mov ecx, dword [ebp - 0x10bdc]
movzx edx, byte [0x425010]
mov dword [eax + 4], ecx
and edx, 8
jne 0x40d08a
mov dword [ebp - 0x10c14], 0
movzx ecx, word [edi]
jmp 0x40a8e9
mov ecx, dword [ebp - 0x10bdc]
lea edx, [ebx + ecx*2 - 2]
cmp word [edx], 0x22
jne 0x40ac6c
xor ebx, ebx
mov word [edx], bx
lea ebx, [ebp - 0x1087e]
movzx eax, word [ebp - 0x1087e]
mov dword [ebp - 0x10c00], ebx
jmp 0x40ac6c
mov eax, dword [ebp - 0x10c28]
mov dword [esp + 0x10], str.delims
mov dword [esp + 8], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x1001
mov dword [esp], 0x400
call ebx
sub esp, 0x18
cmp eax, 2
jne 0x40cf28
add edi, dword [ebp - 0x10c08]
movzx ecx, word [edi]
test cx, 0xffdf
je 0x40d1a1
xor eax, eax
add eax, 1
add edi, 2
mov word [ebp + eax*2 - 0x10a82], cx
movzx ecx, word [edi]
test cx, 0xffdf
jne 0x40ceae
lea edx, [ebp + eax*2 - 0x10a80]
movzx esi, byte [0x425010]
and esi, 8
cmp cx, 0x20
je 0x40d1fd
xor eax, eax
mov word [edx], ax
mov eax, esi
test al, al
je 0x40ad05
lea eax, [ebp - 0x10a80]
call sym._wine_dbgstr_wn.constprop.5
mov dword [esp + 0xc], str.Found_delims_as__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.WCMD_parse_forf_options
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40ad05
mov eax, dword [ebp - 0x10c24]
mov dword [esp + 0x10], str.tokens
mov dword [esp + 8], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x1001
mov dword [esp], 0x400
call ebx
sub esp, 0x18
cmp eax, 2
jne 0x40aa4d
add edi, dword [ebp - 0x10c04]
movzx edx, word [edi]
test dx, 0xffdf
je 0x40d1ae
xor eax, eax
add eax, 1
add edi, 2
mov word [ebp + eax*2 - 0x1001a], dx
movzx edx, word [edi]
test dx, 0xffdf
jne 0x40cf75
lea eax, [ebp + eax*2 - 0x10018]
xor edx, edx
mov word [eax], dx
test byte [0x425010], 8
je 0x40ad05
lea eax, [ebp - 0x10018]
call sym._wine_dbgstr_wn.constprop.5
mov dword [esp + 0xc], str.Found_tokens_as__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.WCMD_parse_forf_options
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40ad05
lea eax, [ebp - 0x4018]
add edi, dword [ebp - 0x10bf8]
mov dword [ebp - 0x4018], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcstoul]
mov dword [ebp - 0x10bc8], eax
test byte [0x425010], 8
jne 0x40d023
mov edi, dword [ebp - 0x4018]
jmp 0x40ad01
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Found_skip_as__d_lines_n
mov dword [esp + 8], str.WCMD_parse_forf_options
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40d018
cmp ax, 0x25
jne 0x40aa8b
mov dword [ebp - 0x10be8], 0
mov esi, 1
mov dword [ebp - 0x10bf4], 0
jmp 0x40a8b2
mov dword [ebp - 0x10bdc], 0
lea ebx, [ebp - 0x10880]
jmp 0x40ab2f
mov eax, ecx
call sym._wine_dbgstr_wn.constprop.5
mov dword [esp + 0xc], str.Starting_with_root_directory__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.WCMD_for
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
movzx edx, byte [0x425010]
and edx, 8
jmp 0x40ce1e
mov edx, 2
lea ebx, [ebp - 0x10880]
jmp 0x40cdd5
mov edx, esi
jmp 0x40bed1
mov eax, dword [ebp - 0x10bdc]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.FOR__L_provided_range_from__ld_to__ld_step__ld_n
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x10be0]
mov dword [esp + 8], str.WCMD_for
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40bbe7
mov eax, dword [esi + 4]
call sym._wine_dbgstr_wn.constprop.5
mov dword [esp + 0xc], str.Moving_to_next_directory_to_iterate:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.WCMD_for
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40b437
mov dword [esp], 0xc
call dbg.heap_xalloc
mov esi, eax
test byte [0x425010], 8
jne 0x40d31e
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [ebp - 0x10c00]
mov dword [edi], esi
mov edx, dword [eax + 4]
cmp word [edx], 0
je 0x40d21c
mov eax, edx
add eax, 2
cmp word [eax], 0
jne 0x40d18c
sub eax, edx
sar eax, 1
add eax, 2
jmp 0x40d221
lea edx, [ebp - 0x10a80]
xor eax, eax
jmp 0x40cecd
lea eax, [ebp - 0x10018]
jmp 0x40cf94
mov eax, dword [ebp - 0x10bf0]
mov dword [ebp - 0x10bcc], eax
test byte [0x425010], 8
jne 0x40d351
mov dword [esp], 0
mov edx, dword [ebp - 0x10c04]
lea eax, [ebp - 0x10bcc]
xor ecx, ecx
call dbg.WCMD_part_execute
mov eax, dword [ebp - 0x10bcc]
mov dword [ebp - 0x10bd4], eax
jmp 0x40bb59
cmp word [edi + 2], 0
jne 0x40cee1
mov ecx, 0x20
mov word [edx], cx
lea edx, [ebp + eax*2 - 0x10a7e]
jmp 0x40cee1
mov eax, 2
cmp word [ebp - 0xbfec], 0
je 0x40d246
lea edx, [ebp - 0xbfec]
add edx, 2
cmp word [edx], 0
jne 0x40d231
lea edi, [ebp - 0xbfec]
sub edx, edi
sar edx, 1
add eax, edx
add eax, eax
mov dword [esp], eax
call dbg.heap_xalloc
mov edi, dword [ebp - 0x10c00]
xor edx, edx
mov dword [esi + 4], eax
mov edi, dword [edi + 4]
movzx ecx, word [edi + edx]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x40d25e
mov eax, dword [esi + 4]
cmp word [eax], 0
je 0x40d280
add eax, 2
cmp word [eax], 0
jne 0x40d277
xor edx, edx
mov ecx, 0x5c
jmp 0x40d290
movzx ecx, word [edx + 0x426a96]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x40d289
mov eax, dword [esi + 4]
cmp word [eax], 0
je 0x40d2ae
add eax, 2
cmp word [eax], 0
jne 0x40d2a5
xor edx, edx
movzx ecx, word [ebp + edx - 0xbfec]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x40d2b0
mov edi, esi
test byte [0x425010], 8
je 0x40afcf
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ebp - 0x10bec], edx
call sym._wine_dbgstr_wn.constprop.5
mov edx, dword [ebp - 0x10bec]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], str.Added_to_stack__s___p___p__n
mov dword [esp + 8], str.WCMD_add_dirstowalk
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40afcf
mov eax, dword [edi]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.__p___p__n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.WCMD_add_dirstowalk
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40d171
mov dword [esp + 0xc], str.Skipping_for_loop_commands_due_to_no_valid_iterations_n
mov dword [esp + 8], str.WCMD_for
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.9
jmp 0x40d1d2