Function at 0x403740
Capabilities:
Terminate process

Disassembly:
push ebp
mov eax, 0x80bc
mov ebp, esp
push edi
push esi
push ebx
call fcn.00401050
sub esp, eax
mov esi, dword [0x4231f4]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x8038], 0
mov dword [ebp - 0x8034], 0
mov dword [ebp - 0x8028], 0
test esi, esi
je 0x4047f8
xor eax, eax
test ebx, ebx
je 0x404440
lea esi, [esi]
nop
movzx edx, word [ebx + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x403790
cmp word [esi], 0
je 0x404a75
mov eax, esi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4037b0
sub eax, esi
cmp eax, 0x3ffe
je 0x4047b8
mov edx, dword [0x4231c8]
test edx, edx
je 0x403a40
mov eax, dword [0x4231f4]
xor edx, edx
xor ecx, ecx
call sym._handleExpansion
movzx eax, word [esi]
mov edx, dword [0x4231c8]
cmp ax, 0x20
jne 0x403805
lea esi, [esi]
movzx eax, word [esi + 2]
add esi, 2
cmp ax, 0x20
je 0x4037f8
cmp ax, 9
je 0x4037f8
test edx, edx
je 0x403823
test ax, 0xffbf
je 0x403823
mov ecx, dword [0x4231e8]
test ecx, ecx
jne 0x404953
cmp ax, 0x40
jne 0x403839
lea esi, [esi]
add esi, 2
cmp word [esi], 0x40
je 0x403830
mov dword [ebp - 0x8038], 0
lea eax, [ebp - 0x8018]
mov dword [ebp - 0x8030], eax
lea eax, [ebp - 0x8038]
mov dword [ebp - 0x8034], 0
mov dword [ebp - 0x802c], eax
cmp word [esi], 0
je 0x403f50
mov dword [ebp - 0x8048], 0
xor edi, edi
mov dword [ebp - 0x8078], 0
mov dword [ebp - 0x8068], 0
mov dword [ebp - 0x806c], 0
mov dword [ebp - 0x8040], 0
mov dword [ebp - 0x8064], 0
mov dword [ebp - 0x8054], 0
mov dword [ebp - 0x805c], 0
mov dword [ebp - 0x8058], 0
mov dword [ebp - 0x8074], 0
mov dword [ebp - 0x804c], 0
mov dword [ebp - 0x8060], 0
mov dword [ebp - 0x8070], 0
mov dword [ebp - 0x8050], 0
lea esi, [esi]
mov edx, dword [ebp - 0x8038]
mov eax, dword [ebp - 0x8030]
lea ecx, [ebp - 0x8018]
test edx, edx
jne 0x403e78
cmp eax, ecx
je 0x404358
mov edi, dword [ebp - 0x8040]
test edi, edi
jne 0x404240
movzx ecx, word [esi]
lea edx, [esi + 2]
mov ebx, edx
cmp cx, 0x5e
ja 0x403fd8
cmp cx, 8
jbe case.0x403954.1
lea eax, [ecx - 9]
cmp ax, 0x55
ja case.0x403954.1
movzx eax, ax
jmp dword [eax*4 + 0x43755c]
cmp cx, 0x20
setne bl
cmp cx, 9
setne al
and ebx, eax
mov byte [ebp - 0x8044], bl
lea esi, [esi]
lea esi, [esi]
mov eax, dword [ebp - 0x802c]
mov ebx, dword [ebp - 0x8030]
mov dword [ebp - 0x8048], 0
mov eax, dword [eax]
mov dword [ebp - 0x803c], ebx
mov ebx, dword [ebp - 0x802c]
lea edi, [eax + 1]
mov dword [ebx], edi
mov ebx, dword [ebp - 0x803c]
movzx edi, word [esi]
mov word [ebx + eax*2], di
mov ebx, esi
xor edi, edi
mov dword [ebp - 0x803c], 0
movzx eax, word [ebx + 2]
mov esi, edx
test ax, ax
sete dl
cmp byte [ebp - 0x8044], 0
jne 0x404310
test edi, edi
jne 0x4039f5
mov dword [ebp - 0x8058], 0
mov dword [ebp - 0x805c], 0
test dl, dl
jne 0x404258
test ax, ax
je 0x404078
movzx eax, word [esi]
test ax, ax
je 0x403f50
mov eax, dword [ebp - 0x802c]
cmp dword [eax], 0x1fff
jle 0x403900
test byte [0x423030], 2
jne 0x40452e
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, word [esi]
cmp ax, 9
je 0x4037f8
cmp ax, 0x20
je 0x4037f8
jmp 0x403823
mov eax, dword [ebp - 0x8048]
or eax, dword [ebp - 0x8054]
je 0x404488
mov edi, dword [ebp - 0x802c]
cmp cx, 0x20
mov ebx, dword [edi]
setne byte [ebp - 0x803c]
cmp cx, 9
setne al
and al, byte [ebp - 0x803c]
mov byte [ebp - 0x8044], al
test ebx, ebx
jle 0x404830
mov eax, dword [ebp - 0x8030]
mov dword [ebp - 0x803c], eax
lea eax, [ebx + 1]
mov dword [edi], eax
mov eax, dword [ebp - 0x803c]
movzx edi, word [esi]
mov word [eax + ebx*2], di
mov ebx, esi
mov edi, 1
jmp 0x4039ba
mov edi, dword [ebp - 0x8054]
test edi, edi
je 0x4044c0
mov eax, dword [ebp - 0x8030]
mov edi, dword [ebp - 0x802c]
mov dword [ebp - 0x803c], eax
mov eax, dword [ebp - 0x8038]
cmp eax, 2
jle 0x403b06
movzx edx, word [esi - 2]
sub edx, 0x31
cmp dx, 8
jbe 0x404708
mov eax, dword [edi]
lea edx, [eax + 1]
mov dword [edi], edx
mov edi, dword [ebp - 0x803c]
movzx edx, word [esi]
mov word [edi + eax*2], dx
movzx eax, word [esi + 2]
cmp cx, 0x3e
je 0x404865
mov dword [ebp - 0x803c], 0
test ax, ax
mov ebx, esi
sete dl
mov dword [ebp - 0x8050], 0
lea esi, [ebx + 2]
xor edi, edi
jmp 0x4039e1
mov edi, dword [ebp - 0x8054]
test edi, edi
je 0x403bbd
mov eax, edx
mov edx, edi
jmp 0x403b92
test dl, 1
jne 0x403b87
cmp cx, 0x7c
sete bl
sub ecx, 0x20
cmp cx, 0x1e
ja 0x403b83
mov edi, 0x50000041
shr edi, cl
mov ecx, edi
and ecx, 1
or ebx, ecx
test bl, bl
jne 0x403ba8
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x403ba8
cmp cx, 0x22
jne 0x403b60
movzx ecx, word [eax]
add eax, 2
inc edx
test cx, cx
jne 0x403b92
lea esi, [esi]
mov eax, edx
shr eax, 0x1f
add edx, eax
sar edx, 1
cmp edx, dword [ebp - 0x8054]
jle 0x404478
inc dword [ebp - 0x8054]
mov edx, dword [ebp - 0x802c]
mov ecx, dword [ebp - 0x8030]
mov eax, dword [edx]
lea ebx, [eax + 1]
mov dword [edx], ebx
movzx edx, word [esi]
mov word [ecx + eax*2], dx
mov dword [ebp - 0x803c], 0
movzx eax, word [esi + 2]
mov ebx, esi
mov dword [ebp - 0x8048], 0
test ax, ax
sete dl
jmp 0x403b3a
test byte [0x423030], 8
jne 0x4048a3
mov edx, dword [ebp - 0x802c]
mov edi, dword [ebp - 0x8070]
mov eax, dword [edx]
or edi, eax
mov dword [ebp - 0x8048], edi
je 0x404a4a
mov edi, dword [ebp - 0x8054]
test edi, edi
jne 0x404517
mov edi, dword [ebp - 0x8050]
mov ebx, dword [ebp - 0x8078]
mov ecx, edi
xor ebx, 1
and ecx, 1
and ebx, dword [ebp - 0x806c]
mov dword [ebp - 0x8048], ebx
jne 0x404a87
and edi, dword [ebp - 0x8074]
mov ebx, edi
and ebx, 1
jne 0x403c94
mov ebx, dword [ebp - 0x8060]
test ebx, ebx
je 0x404759
mov edi, dword [ebp - 0x805c]
or edi, dword [ebp - 0x8058]
je 0x404759
test cl, cl
je 0x404759
mov edx, dword [ebp - 0x8058]
test edx, edx
je 0x403cab
test byte [ebp - 0x8060], 1
jne 0x404bd0
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x804c]
lea ecx, [ebp - 0x4018]
lea edx, [ebp - 0x8038]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x8028]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x8064]
mov dword [esp + 0x10], edi
inc edi
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x802c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x8030]
mov dword [esp + 4], eax
lea eax, [ebp - 0x8034]
mov dword [esp], eax
lea eax, [ebp - 0x8018]
call sym._WCMD_addCommand
mov dword [ebp - 0x804c], edi
jmp 0x403bdd
mov eax, dword [ebp - 0x8054]
test eax, eax
jne 0x404330
mov edi, dword [ebp - 0x8038]
test edi, edi
jg 0x4045f1
movzx eax, word [esi + 2]
cmp ax, 0x26
je 0x404662
mov dword [ebp - 0x8064], 0
mov ebx, esi
jmp 0x404018
mov eax, dword [ebp - 0x8054]
test eax, eax
jne 0x404330
movzx eax, word [esi + 2]
test ax, ax
jne 0x40432c
test byte [0x423030], 8
jne 0x404d5a
mov dword [ebp - 0x803c], 1
mov ebx, esi
xor edx, edx
jmp 0x403b3a
mov ebx, dword [ebp - 0x8054]
test ebx, ebx
jne 0x404330
mov ecx, dword [ebp - 0x804c]
test ecx, ecx
jle 0x404330
mov edx, dword [ebp - 0x8038]
test edx, edx
jne 0x404675
lea eax, [ebp - 0x4018]
mov dword [ebp - 0x8048], eax
lea eax, [ebp - 0x8034]
mov ebx, eax
lea eax, [ebp - 0x8028]
mov edi, eax
lea eax, [ebp - 0x802c]
mov dword [ebp - 0x8044], eax
lea eax, [ebp - 0x8030]
mov dword [ebp - 0x803c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], edi
lea edx, [ebp - 0x8038]
mov edi, dword [ebp - 0x804c]
mov ecx, dword [ebp - 0x8048]
mov dword [esp], ebx
mov ebx, esi
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x8044]
mov dword [esp + 0x10], edi
dec edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x803c]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
xor eax, eax
call sym._WCMD_addCommand
movzx eax, word [esi + 2]
mov dword [ebp - 0x804c], edi
mov dword [ebp - 0x803c], 0
mov dword [ebp - 0x8048], 0
test ax, ax
mov dword [ebp - 0x8070], 0
sete dl
mov dword [ebp - 0x8054], 0
mov dword [ebp - 0x8064], 0
jmp 0x403b3a
cmp eax, ecx
jne 0x403922
and edi, dword [ebp - 0x8060]
je 0x403922
test byte [0x423030], 8
jne 0x4043d8
mov dword [esp + 4], esi
mov dword [esp], 0x4372dc
call sym._WCMD_keyword_ws_found
mov dword [ebp - 0x8060], edi
test eax, eax
je 0x403922
mov edx, 0x6e
mov eax, 0x4372dc
jmp 0x403ecc
movzx edx, word [eax + 2]
add eax, 2
test dx, dx
jne 0x403ec8
sub eax, 0x4372dc
mov ebx, eax
sar eax, 1
mov dword [ebp - 0x803c], eax
test byte [0x423030], 8
jne 0x404ac3
mov eax, dword [ebp - 0x802c]
add ebx, 2
mov edx, dword [eax]
mov eax, dword [ebp - 0x8030]
mov dword [esp + 4], esi
add esi, ebx
mov dword [esp + 8], ebx
lea eax, [eax + edx*2]
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp - 0x802c]
mov ecx, dword [ebp - 0x803c]
mov dword [ebp - 0x8058], edi
mov dword [ebp - 0x8050], edi
mov edx, dword [eax]
mov dword [ebp - 0x8060], edi
lea edx, [ecx + edx + 1]
mov dword [eax], edx
movzx eax, word [esi]
test ax, ax
jne 0x403a12
lea esi, [esi]
nop
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
test byte [0x423030], 8
je 0x403f6b
jmp 0x40483c
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x404398
test byte [0x423030], 8
je 0x403f68
mov eax, dword [ebx + 4]
call sym._wine_dbgstr_wn.constprop.0_2
mov esi, eax
mov eax, dword [ebx]
call sym._wine_dbgstr_wn.constprop.0_2
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str._p__d__2.2d__p__s_Redir:_s_n
mov dword [esp + 8], str.WCMD_DumpCommands
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x403f68
cmp cx, 0x7c
jne case.0x403954.1
mov eax, dword [ebp - 0x8054]
test eax, eax
jne 0x404330
mov eax, dword [ebp - 0x8038]
test eax, eax
jg 0x404593
movzx eax, word [esi + 2]
cmp ax, 0x7c
je 0x40464f
mov dword [ebp - 0x8064], 3
mov ebx, esi
test ax, ax
mov edi, dword [ebp - 0x806c]
sete dl
or edi, dword [ebp - 0x8074]
mov dword [ebp - 0x8048], edi
je 0x404790
mov esi, dword [ebp - 0x804c]
test esi, esi
jne 0x404a31
mov dword [ebp - 0x8068], edi
mov dword [ebp - 0x803c], 0
mov dword [ebp - 0x8054], 0
mov dword [ebp - 0x804c], edi
mov dword [ebp - 0x8048], 0
jmp 0x403b3a
mov eax, dword [ebp - 0x804c]
test eax, eax
setg al
or al, byte [ebp - 0x803c]
je 0x403a06
cmp dword [ebp + 0x10], 0xffffffff
je 0x403a06
test byte [0x423030], 8
jne 0x404410
mov ebx, dword [0x4231f4]
mov dword [esp + 8], 0x4002
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym._memset
mov esi, dword [ebp - 0x803c]
test byte [0x423030], 8
jne 0x4041ed
mov eax, dword [0x4231c8]
test eax, eax
je 0x40421e
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], 0x2000
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._WCMD_fgets
test eax, eax
je 0x40410d
test esi, esi
jne 0x4041b8
cmp word [ebx], 0
je 0x4040ca
mov esi, dword [0x4231f4]
movzx eax, word [esi]
cmp ax, 9
je 0x404128
cmp ax, 0x20
jne 0x40413b
lea esi, [esi]
movzx eax, word [esi + 2]
add esi, 2
cmp ax, 0x20
je 0x404128
cmp ax, 9
je 0x404128
mov eax, dword [0x4231c8]
test eax, eax
je 0x40417b
mov eax, esi
xor ecx, ecx
xor edx, edx
call sym._handleExpansion
mov ebx, dword [0x4231c8]
movzx eax, word [esi]
test ebx, ebx
je 0x40417e
mov ecx, dword [0x4231e8]
test ecx, ecx
je 0x40417e
test ax, 0xffbf
je 0x40417e
jmp 0x404a9f
add esi, 2
movzx eax, word [esi]
lea edx, [eax - 0x20]
test dx, 0xffdf
je 0x404178
cmp ax, 9
je 0x404178
mov dword [ebp - 0x8040], 0
mov dword [ebp - 0x8064], 0
mov dword [ebp - 0x8054], 0
jmp 0x403a09
mov edx, dword [0x4231f4]
movzx eax, word [edx]
test ax, ax
jne 0x404820
test byte [0x423030], 8
jne 0x4042e0
mov dword [ebx], 0xd
add ebx, 2
test byte [0x423030], 8
je 0x4040d7
mov dword [esp + 0xc], str.Read_more_input_n
mov dword [esp + 8], str.WCMD_ReadAndParseLine
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
mov eax, dword [0x4231c8]
test eax, eax
jne 0x4040e4
mov dword [esp], 0x40a
call sym._WCMD_LoadMessage
mov edx, eax
mov eax, 0xfffffff5
call sym._WCMD_output_asis_handle
jmp 0x4040e4
mov byte [ebp - 0x8044], 1
mov ecx, 0x58
lea edx, [esi + 2]
jmp 0x403980
mov eax, dword [ebp - 0x802c]
mov eax, dword [eax]
test eax, eax
jle 0x404078
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x4018]
lea edx, [ebp - 0x8038]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x8028]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x804c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8064]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x802c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x8030]
mov dword [esp + 4], eax
lea eax, [ebp - 0x8034]
mov dword [esp], eax
lea eax, [ebp - 0x8018]
call sym._WCMD_addCommand
mov eax, dword [ebp - 0x8068]
test eax, eax
jne 0x4043a8
movzx eax, word [ebx + 2]
jmp 0x4039fd
mov dword [esp + 0xc], str.Read_nothing__so_appending_LF_char_and_will_try_again_n
mov dword [esp + 8], str.WCMD_ReadAndParseLine
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x4041d7
cmp cx, 0xa
mov ecx, dword [ebp - 0x8050]
cmovne ecx, dword [ebp - 0x803c]
mov dword [ebp - 0x8050], ecx
jmp 0x4039dd
mov esi, edx
nop
mov edx, dword [ebp - 0x802c]
mov ecx, dword [ebp - 0x8030]
mov eax, dword [edx]
lea ebx, [eax + 1]
mov dword [edx], ebx
movzx edx, word [esi]
mov word [ecx + eax*2], dx
movzx eax, word [esi + 2]
jmp 0x403b28
mov dword [esp + 4], esi
mov dword [esp], 0x43733e
call sym._WCMD_keyword_ws_found
test eax, eax
jne 0x404376
cmp word [esi], 0x3a
jne 0x4044f0
mov byte [ebp - 0x8044], 1
mov ecx, 0x58
lea edx, [esi + 2]
mov dword [ebp - 0x8040], 1
jmp 0x403980
mov eax, dword [0x4231f4]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x423030], 8
jne 0x404922
mov dword [ebp - 0x8068], 0
movzx eax, word [esi]
mov dword [ebp - 0x804c], 0
jmp 0x403a09
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_2
mov dword [esp + 0xc], str.Found_FOR___comparing_next_parm:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.WCMD_ReadAndParseLine
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x403e99
mov dword [esp + 0xc], str.Need_to_read_more_data_as_outstanding_brackets_or_carets_n
mov dword [esp + 8], str.WCMD_ReadAndParseLine
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x4040a6
cmp dword [ebp + 0x10], 0xffffffff
je 0x404557
mov eax, dword [ebp + 0x10]
mov dword [esp], esi
mov dword [esp + 4], 0x2000
mov dword [esp + 8], eax
call sym._WCMD_fgets
mov esi, dword [0x4231f4]
test eax, eax
jne 0x4037a0
jmp 0x403a31
dec dword [ebp - 0x8054]
jmp 0x403bc3
lea eax, [ebp - 0x4018]
cmp dword [ebp - 0x8030], eax
je 0x4046e9
lea eax, [ebp - 0x8018]
mov dword [ebp - 0x8030], eax
lea eax, [ebp - 0x8038]
mov dword [ebp - 0x802c], eax
mov edi, eax
jmp 0x403a78
lea eax, [ebp - 0x4018]
lea edi, [ebp - 0x8034]
mov dword [ebp - 0x8048], 1
mov dword [ebp - 0x8030], eax
mov dword [ebp - 0x802c], edi
mov dword [ebp - 0x803c], eax
jmp 0x403aea
mov dword [esp + 4], esi
mov dword [esp], 0x437346
call sym._WCMD_keyword_ws_found
test eax, eax
je 0x404aec
mov dword [ebp - 0x8060], 1
jmp 0x403922
lea ebx, [eax + 1]
mov ecx, dword [ebp - 0x8030]
mov dword [edx], ebx
movzx edx, word [esi]
mov word [ecx + eax*2], dx
jmp 0x403bdd
mov dword [esp + 0xc], str.Overflow_detected_in_command_n
mov dword [esp + 8], str.WCMD_ReadAndParseLine
mov dword [esp + 4], 0x423030
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
jmp 0x403a31
test byte [0x423030], 1
je 0x4037a0
mov dword [esp + 0xc], str.No_command_nor_handle_supplied_n
mov dword [esp + 8], str.WCMD_ReadAndParseLine
mov dword [esp + 4], 0x423030
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_3
mov esi, dword [0x4231f4]
jmp 0x4037a0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x4018]
lea edx, [ebp - 0x8038]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x8028]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x804c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8064]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x802c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x8030]
mov dword [esp + 4], eax
lea eax, [ebp - 0x8034]
mov dword [esp], eax
lea eax, [ebp - 0x8018]
call sym._WCMD_addCommand
jmp 0x403ffe
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x4018]
lea edx, [ebp - 0x8038]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x8028]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x804c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8064]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x802c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x8030]
mov dword [esp + 4], eax
lea eax, [ebp - 0x8034]
mov dword [esp], eax
lea eax, [ebp - 0x8018]
call sym._WCMD_addCommand
jmp 0x403d2c
mov dword [ebp - 0x8064], 1
movzx eax, word [esi + 4]
jmp 0x404018
mov dword [ebp - 0x8064], 2
movzx eax, word [esi + 4]
jmp 0x404018
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x4018]
lea edx, [ebp - 0x8038]
mov dword [ebp - 0x8048], ecx
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x8028]
mov dword [esp + 0x14], eax
mov edi, eax
mov eax, dword [ebp - 0x804c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8064]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x802c]
mov dword [ebp - 0x8044], eax
mov dword [esp + 8], eax
lea eax, [ebp - 0x8030]
mov dword [ebp - 0x803c], eax
mov dword [esp + 4], eax
lea eax, [ebp - 0x8034]
mov dword [esp], eax
mov ebx, eax
lea eax, [ebp - 0x8018]
call sym._WCMD_addCommand
jmp 0x403de4
mov edi, dword [ebp - 0x802c]
mov eax, dword [edi]
lea ebx, [eax + 1]
mov dword [edi], ebx
mov ebx, 0x20
mov word [ebp + eax*2 - 0x4018], bx
jmp 0x40449a
movzx edx, word [esi - 4]
cmp dx, 0x20
je 0x40471c
cmp dx, 9
jne 0x403b06
dec eax
xor edx, edx
mov dword [ebp - 0x8038], eax
mov word [ebp + eax*2 - 0x8018], dx
mov edx, dword [edi]
lea eax, [edx + 1]
mov dword [edi], eax
mov edi, dword [ebp - 0x803c]
movzx eax, word [esi - 2]
mov word [edi + edx*2], ax
mov eax, dword [ebp - 0x8030]
mov edi, dword [ebp - 0x802c]
mov dword [ebp - 0x803c], eax
jmp 0x403b06
lea ebx, [eax + 1]
mov ecx, dword [ebp - 0x8030]
mov dword [ebp - 0x803c], 0
mov dword [edx], ebx
movzx edx, word [esi]
mov ebx, esi
mov dword [ebp - 0x8054], 0
mov word [ecx + eax*2], dx
movzx eax, word [esi + 2]
test ax, ax
sete dl
jmp 0x403b3a
mov dword [ebp - 0x806c], 0
mov dword [ebp - 0x803c], 0
mov dword [ebp - 0x8054], 0
jmp 0x403b3a
mov dword [esp], 0x3f0
call sym._WCMD_LoadMessage
mov edx, eax
mov eax, 0xfffffff4
call sym._WCMD_output_asis_handle
mov edx, dword [0x4231f4]
mov eax, 0xfffffff4
call sym._WCMD_output_asis_handle
mov edx, 0x437194
mov eax, 0xfffffff4
call sym._WCMD_output_asis_handle
jmp 0x4037c6
mov dword [esp], 0x4002
call dword [sym.imp.ucrtbase.dll_malloc]
mov esi, eax
test eax, eax
je 0x404f5c
mov dword [0x4231f4], eax
jmp 0x403781
mov esi, edx
jmp 0x404116
mov ebx, esi
mov edi, 1
jmp 0x4039ba
mov dword [esp + 0xc], str.Parsed_line:_n
mov dword [esp + 8], str.WCMD_DumpCommands
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x403f6b
cmp ax, 0x26
jne 0x403b28
mov edx, dword [ebp - 0x802c]
mov ecx, dword [ebp - 0x8030]
mov dword [ebp - 0x803c], 0
mov eax, dword [edx]
lea edi, [eax + 1]
mov dword [edx], edi
movzx edx, word [esi + 2]
mov word [ecx + eax*2], dx
movzx eax, word [esi + 4]
test ax, ax
sete dl
jmp 0x403b3a
mov eax, dword [ebp - 0x8074]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebp - 0x806c]
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x805c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0x8058]
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x8060]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x8050]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x8054]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x802c]
mov eax, dword [eax]
mov dword [esp + 0xc], str.Found___conditions:_curLen__d___inQ__d___onlyWS__d___for__d__In:_d__Do:_d___if__d__else:_d__lwe:_d__n
mov dword [esp + 8], str.WCMD_ReadAndParseLine
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x403c0f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.Resetting_curdepth_at_end_of_line_to__d_n
mov dword [esp + 8], str.WCMD_ReadAndParseLine
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x4043b5
mov eax, 0x63
mov edx, str.echo.
jmp 0x404964
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
jne 0x404960
mov eax, edx
sub eax, str.echo.
sar eax, 1
mov ebx, eax
mov eax, esi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x404980
sub eax, esi
sar eax, 1
cmp eax, ebx
cmova eax, ebx
mov edi, eax
mov eax, 1
call sym._WCMD_show_prompt
mov edx, esi
mov eax, 0xfffffff5
call sym._WCMD_output_asis_handle
mov dword [ebp - 0x803c], edi
mov dword [esp + 0xc], edi
mov edi, dword [sym.imp.kernel32.dll_CompareStringW]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], str.echo.
mov dword [esp + 8], esi
mov dword [esp + 4], 1
mov dword [esp], 0x800
call edi
sub esp, 0x18
cmp eax, 2
je 0x404a1a
mov eax, dword [ebp - 0x803c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], str.echo:
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 1
mov dword [esp], 0x800
call edi
sub esp, 0x18
cmp eax, 2
jne 0x404c10
mov eax, 0xfffffff5
mov edx, 0x437194
call sym._WCMD_output_asis_handle
movzx eax, word [esi]
jmp 0x403823
mov dword [ebp - 0x803c], 0
mov dword [ebp - 0x8048], 0
jmp 0x403b3a
movzx eax, word [esi + 2]
inc dword [ebp - 0x804c]
mov ebx, esi
mov dword [ebp - 0x803c], 0
mov dword [ebp - 0x8070], 0
test ax, ax
sete dl
jmp 0x403b3a
mov eax, dword [0x4231c8]
test eax, eax
jne 0x4037d4
jmp 0x403839
mov eax, dword [ebp - 0x8058]
test eax, eax
setne al
test al, cl
jne 0x403c9e
jmp 0x403cab
mov edx, dword [0x4231f4]
mov eax, 0xfffffff5
call sym._WCMD_output_asis_handle
mov edx, 0x437194
mov eax, 0xfffffff5
call sym._WCMD_output_asis_handle
jmp 0x40417b
mov dword [esp + 0xc], str.Found_IN__n
mov dword [esp + 8], str.WCMD_ReadAndParseLine
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x403ef0
mov dword [esp + 4], esi
mov dword [esp], 0x4372c6
call sym._WCMD_keyword_ws_found
test eax, eax
jne 0x404c5b
mov dword [esp + 4], esi
mov dword [esp], 0x4372cc
call sym._WCMD_keyword_ws_found
test eax, eax
jne 0x404e44
mov eax, dword [ebp - 0x8060]
test eax, eax
je 0x403922
mov dword [esp + 4], esi
mov dword [esp], 0x4372d6
call sym._WCMD_keyword_ws_found
test eax, eax
je 0x403922
mov edx, 0x6f
mov eax, 0x4372d6
jmp 0x404b52
movzx edx, word [eax + 2]
add eax, 2
test dx, dx
jne 0x404b4e
sub eax, 0x4372d6
mov ebx, eax
sar eax, 1
mov dword [ebp - 0x803c], eax
test byte [0x423030], 8
jne 0x404f72
mov eax, dword [ebp - 0x802c]
add ebx, 2
mov edx, dword [eax]
mov eax, dword [ebp - 0x8030]
mov dword [esp + 4], esi
add esi, ebx
mov dword [esp + 8], ebx
lea eax, [eax + edx*2]
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp - 0x802c]
mov ecx, dword [ebp - 0x803c]
mov edx, dword [eax]
lea edx, [ecx + edx + 1]
mov ecx, dword [ebp - 0x8060]
mov dword [eax], edx
movzx eax, word [esi]
mov dword [ebp - 0x805c], ecx
mov dword [ebp - 0x8050], ecx
jmp 0x403a09
mov dword [ebp - 0x8070], 1
test byte [0x423030], 8
je 0x403cab
mov dword [esp + 0xc], str.Inside_an_IN_n
mov dword [esp + 8], str.WCMD_ReadAndParseLine
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x403cab
mov eax, dword [ebp - 0x803c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], str.echo_
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 1
mov dword [esp], 0x800
call edi
sub esp, 0x18
cmp eax, 2
je 0x404a1a
mov edx, 0x43731c
mov eax, 0xfffffff5
call sym._WCMD_output_asis_handle
jmp 0x404a1a
mov edx, 0x66
mov eax, 0x4372c6
jmp 0x404c74
movzx edx, word [eax + 2]
add eax, 2
test dx, dx
jne 0x404c70
sub eax, 0x4372c6
lea edi, [esi + eax]
movzx eax, word [edi]
cmp ax, 0x20
jne 0x404c9d
lea esi, [esi]
movzx eax, word [edi + 2]
add edi, 2
cmp ax, 0x20
je 0x404c90
cmp ax, 9
je 0x404c90
mov eax, edi
call sym._WCMD_parse.constprop.0
lea eax, [ebp - 0x8024]
mov dword [esp], edi
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x8020]
mov dword [esp + 8], eax
lea eax, [ebp - 0x801c]
mov dword [esp + 4], eax
call sym._evaluate_if_condition
cmp eax, 0xffffffff
je 0x404d27
mov ebx, dword [ebp - 0x801c]
mov ecx, ebx
sub ecx, esi
mov eax, ecx
sar eax, 1
mov dword [ebp - 0x803c], eax
test byte [0x423030], 8
jne 0x404d95
mov eax, dword [ebp - 0x802c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x8030]
mov dword [esp + 4], esi
mov esi, ebx
mov dword [esp + 8], ecx
lea eax, [eax + edx*2]
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp - 0x802c]
mov edi, dword [ebp - 0x803c]
add dword [eax], edi
mov dword [esp + 4], esi
mov dword [esp], 0x43739e
call sym._WCMD_keyword_ws_found
mov dword [ebp - 0x806c], 1
test eax, eax
mov eax, 1
cmove eax, dword [ebp - 0x8078]
mov dword [ebp - 0x8078], eax
jmp 0x403922
mov dword [esp + 0xc], str.Caret_found_at_end_of_line_n
mov ebx, esi
mov dword [esp + 8], str.WCMD_ReadAndParseLine
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
movzx eax, word [esi + 2]
xor edx, edx
mov dword [ebp - 0x803c], 1
jmp 0x403b3a
mov eax, ebx
mov dword [ebp - 0x8084], ecx
call sym._wine_dbgstr_wn.constprop.0_2
mov dword [ebp - 0x8080], eax
mov eax, 0x42c400
call sym._wine_dbgstr_wn.constprop.0_2
mov dword [ebp - 0x807c], eax
mov eax, 0x428400
call sym._wine_dbgstr_wn.constprop.0_2
mov dword [ebp - 0x806c], eax
mov eax, 0x430420
call sym._wine_dbgstr_wn.constprop.0_2
mov dword [ebp - 0x8044], eax
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0_2
mov edi, dword [ebp - 0x803c]
mov dword [esp + 0xc], str.p:__s__quals:__s__param1:__s__param2:__s__command:__s__if_condition_len:__d_n
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], edi
mov edi, dword [ebp - 0x8080]
mov dword [esp + 8], str.WCMD_ReadAndParseLine
mov dword [esp + 0x20], edi
mov edi, dword [ebp - 0x807c]
mov dword [esp + 4], 0x423030
mov dword [esp + 0x1c], edi
mov edi, dword [ebp - 0x806c]
mov dword [esp], 3
mov dword [esp + 0x18], edi
mov edi, dword [ebp - 0x8044]
mov dword [esp + 0x14], edi
call sym._wine_dbg_log.constprop.0_3
mov ecx, dword [ebp - 0x8084]
jmp 0x404cf6
mov eax, 0x6c
mov edx, 0x4372cc
jmp 0x404e54
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
jne 0x404e50
mov eax, dword [ebp - 0x802c]
mov ebx, edx
mov ecx, edx
sub ecx, 0x4372ca
sub ebx, 0x4372cc
mov edx, dword [eax]
mov eax, dword [ebp - 0x8030]
mov dword [esp + 8], ecx
sar ebx, 1
mov dword [esp + 4], esi
lea eax, [eax + edx*2]
mov dword [ebp - 0x803c], ecx
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp - 0x802c]
mov ecx, dword [ebp - 0x803c]
mov edx, dword [eax]
add esi, ecx
mov ecx, dword [ebp - 0x8068]
lea edx, [edx + ebx + 1]
mov dword [eax], edx
test ecx, ecx
je 0x404ee6
test byte [0x423030], 8
jne 0x404f02
mov dword [ebp - 0x8050], ecx
movzx eax, word [esi]
mov dword [ebp - 0x8074], ecx
mov dword [ebp - 0x8068], 0
mov dword [ebp - 0x804c], 0
jmp 0x403a09
mov dword [ebp - 0x8050], 1
movzx eax, word [esi]
mov dword [ebp - 0x8074], 1
jmp 0x403a09
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.Resetting_curdepth_at_end_of_line_to__d_n
mov dword [esp + 8], str.WCMD_ReadAndParseLine
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
mov ecx, dword [ebp - 0x8068]
movzx eax, word [esi]
mov dword [ebp - 0x8068], 0
mov dword [ebp - 0x804c], 0
mov dword [ebp - 0x8050], ecx
mov dword [ebp - 0x8074], ecx
jmp 0x403a09
test byte [0x423030], 2
jne 0x404f9b
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov dword [esp + 0xc], str.Found_DO__n
mov dword [esp + 8], str.WCMD_ReadAndParseLine
mov dword [esp + 4], 0x423030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x404b76
mov dword [esp + 0xc], str.Out_of_memory_n
mov dword [esp + 8], str.xalloc
mov dword [esp + 4], 0x423030
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
jmp 0x404f65