Function at 0x413f90
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, 0x8b88
call fcn.00401050
sub esp, eax
mov eax, dword [esp + eax]
mov dword [esp], 0x250
mov dword [ebp - 0x8b34], eax
mov esi, eax
mov dword [ebp - 0x8b60], edx
call sym._xalloc
mov edi, eax
test esi, esi
je 0x41517d
mov dword [ebp - 0x8b1c], 0
mov eax, dword [ebp - 0x8b34]
mov dword [ebp - 0x8b3c], 0
mov dword [ebp - 0x8b14], eax
mov dword [ebp - 0x8b18], 0
mov dword [ebp - 0x8b10], 0
nop
mov eax, dword [ebp - 0x8b14]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8b34]
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
jne 0x414185
inc dword [ebp - 0x8b3c]
mov eax, dword [ebp - 0x8b14]
lea esi, [ebp - 0x8a20]
mov ecx, dword [eax + 4]
xor eax, eax
lea esi, [esi]
movzx edx, word [ecx + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x414048
mov eax, dword [ebp - 0x8b14]
cmp word [ebp - 0x8a20], 0
mov edx, esi
mov ebx, dword [eax + 8]
je 0x414079
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x414070
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x414080
test byte [0x423020], 8
jne 0x4145c0
imul eax, dword [ebp - 0x8b10], 0x250
mov dword [esp], esi
add eax, edi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
sub esp, 8
cmp eax, 0xffffffff
jne 0x4144d0
mov eax, dword [ebp - 0x8b14]
mov ecx, dword [eax + 4]
xor eax, eax
lea esi, [esi]
movzx edx, word [ecx + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x4140d0
mov eax, dword [ebp - 0x8b14]
mov edx, dword [eax + 4]
cmp word [edx], 0
je 0x414604
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4140f8
sub eax, edx
sar eax, 1
dec eax
mov ecx, dword [0x423164]
xor edx, edx
mov word [ebp + eax*2 - 0x8a20], dx
test ecx, ecx
jne 0x41416f
mov eax, dword [ebp - 0x8b10]
test eax, eax
setg bl
test byte [ebp - 0x8b60], 1
je 0x41413e
test bl, bl
je 0x41413e
mov dword [esp], 0x436b6a
call sym._WCMD_output_asis
mov eax, dword [0x434420]
test eax, eax
je 0x414155
mov ecx, dword [ebp - 0x8b1c]
test ecx, ecx
jne 0x41416f
test bl, bl
je 0x41416f
mov dword [esp + 4], esi
mov dword [esp], 0x436b70
call sym._WCMD_output
mov dword [ebp - 0x8b1c], 1
mov eax, dword [ebp - 0x8b14]
mov eax, dword [eax]
mov dword [ebp - 0x8b14], eax
test eax, eax
jne 0x414000
mov edx, dword [ebp - 0x8b10]
test edx, edx
jg 0x41460e
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov ebx, dword [0x434420]
mov dword [ebp - 0x8b68], eax
mov dword [esp], edi
mov eax, dword [ebp - 0x8b68]
call eax
test ebx, ebx
je 0x4144a8
mov eax, dword [ebp - 0x8b34]
lea esi, [ebp - 0x8818]
mov ecx, dword [eax + 4]
xor eax, eax
lea esi, [esi]
nop
movzx edx, word [ecx + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x4141d0
cmp word [ebp - 0x8818], 0
mov edx, esi
je 0x4141f9
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x4141f0
xor eax, eax
mov ecx, 0x2a
jmp 0x41420f
movzx ecx, word [eax + 0x436d6a]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x414208
test byte [0x423020], 8
jne 0x41501c
lea eax, [ebp - 0x4018]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 0x8b0c], eax
sub esp, 8
cmp eax, 0xffffffff
je 0x4144a8
mov dword [ebp - 0x8b1c], 0
xor edi, edi
mov dword [ebp - 0x8b10], edi
jmp 0x41428c
lea eax, [ebp - 0x4018]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8b0c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x414e98
test byte [ebp - 0x4018], 0x10
je 0x414268
lea edi, [ebp - 0x3fec]
mov dword [esp + 4], 0x436c50
mov ebx, dword [sym.imp.kernel32.dll_lstrcmpW]
mov dword [esp], edi
call ebx
sub esp, 8
test eax, eax
je 0x414268
mov dword [esp + 4], 0x436c4c
mov dword [esp], edi
call ebx
sub esp, 8
test eax, eax
je 0x414268
mov eax, dword [ebp - 0x8b3c]
test eax, eax
jle 0x415220
mov dword [ebp - 0x8b18], eax
mov eax, dword [ebp - 0x8b34]
mov ebx, dword [ebp - 0x8b1c]
mov dword [ebp - 0x8b14], eax
dec dword [ebp - 0x8b18]
mov eax, dword [ebp - 0x8b34]
mov ecx, dword [eax + 4]
xor eax, eax
movzx edx, word [ecx + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x414300
cmp word [ebp - 0x8818], 0
mov edx, esi
je 0x414329
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x414320
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [edi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x414330
cmp word [ebp - 0x8818], 0
mov edx, esi
je 0x414359
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x414350
xor eax, eax
mov ecx, 0x5c
jmp 0x41436f
movzx ecx, word [eax + 0x436d8c]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x414368
test byte [0x423020], 8
jne 0x414fe8
mov dword [esp], 0xc
call sym._xalloc
mov ecx, eax
mov eax, dword [ebp - 0x8b10]
test eax, eax
cmove eax, ecx
mov dword [ebp - 0x8b10], eax
test ebx, ebx
je 0x4143ad
mov dword [ebx], ecx
cmp word [ebp - 0x8818], 0
mov dword [ecx], 0
je 0x4150d2
mov ebx, esi
lea esi, [esi]
nop
add ebx, 2
cmp word [ebx], 0
jne 0x4143c8
sub ebx, esi
add ebx, 2
mov dword [esp], ebx
mov dword [ebp - 0x8b20], ecx
call sym._xalloc
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [ebp - 0x8b1c], eax
call sym._memcpy
mov edx, dword [ebp - 0x8b1c]
mov ecx, dword [ebp - 0x8b20]
mov eax, dword [ebp - 0x8b14]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
test edx, edx
je 0x4150cb
cmp word [edx], 0
je 0x4150e7
mov ebx, edx
lea esi, [esi]
lea esi, [esi]
add ebx, 2
cmp word [ebx], 0
jne 0x414430
sub ebx, edx
lea eax, [ebx + 2]
mov dword [ebp - 0x8b1c], eax
mov eax, dword [ebp - 0x8b1c]
mov dword [ebp - 0x8b24], ecx
mov dword [ebp - 0x8b20], edx
mov dword [esp], eax
call sym._xalloc
mov edx, dword [ebp - 0x8b20]
mov ebx, eax
mov eax, dword [ebp - 0x8b1c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], ebx
call sym._memcpy
mov ecx, dword [ebp - 0x8b24]
mov eax, dword [ebp - 0x8b14]
mov edx, dword [ebp - 0x8b18]
mov dword [ecx + 8], ebx
mov eax, dword [eax]
mov dword [ebp - 0x8b14], eax
test edx, edx
je 0x4150dc
mov ebx, ecx
jmp 0x4142ef
mov edi, dword [ebp - 0x8b60]
mov eax, dword [0x4231e4]
add eax, dword [0x4231f8]
or edi, eax
je 0x414f0f
mov eax, dword [ebp - 0x8b14]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x8b0c], eax
mov ebx, dword [ebp - 0x8b10]
jmp 0x414527
add ebx, 2
mov dword [esp], edi
imul ebx, ebx, 0x250
mov dword [esp + 4], ebx
call dword [sym.imp.ucrtbase.dll_realloc]
mov edi, eax
test eax, eax
je 0x4151c6
lea eax, [eax + ebx - 0x250]
mov ebx, dword [ebp - 0x8b10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8b0c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x4145a0
imul eax, ebx, 0x250
mov ecx, dword [0x423160]
add eax, edi
mov edx, dword [eax]
and ecx, edx
cmp ecx, dword [0x434430]
jne 0x41450d
lea ecx, [ebx + 1]
mov dword [ebp - 0x8b10], ecx
mov ecx, dword [0x434520]
or ecx, dword [0x4243b8]
je 0x4144e0
cmp word [eax + 0x2c], 0
lea ecx, [eax + 0x2c]
je 0x4145f8
mov eax, ecx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x414570
sub eax, ecx
sar eax, 1
lea ecx, [eax + 3]
add eax, 5
and edx, 0x10
cmovne ecx, eax
mov eax, dword [ebp - 0x8b18]
cmp eax, ecx
cmovge ecx, eax
mov dword [ebp - 0x8b18], ecx
jmp 0x4144e0
mov dword [ebp - 0x8b10], ebx
mov ebx, dword [ebp - 0x8b0c]
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
jmp 0x4140c2
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], str.Looking_for_matches_to__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.WCMD_list_directory
mov dword [esp + 4], 0x423020
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x41409d
xor eax, eax
mov ecx, 3
jmp 0x414580
mov eax, 0xffffffff
jmp 0x414106
mov eax, dword [ebp - 0x8b10]
mov dword [esp + 0xc], sym._WCMD_dir_sort
mov dword [esp + 8], 0x250
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_qsort]
movzx ecx, byte [0x423020]
and ecx, 8
jne 0x415050
mov eax, dword [0x434520]
or eax, dword [0x4243b8]
je 0x4150f6
mov eax, dword [0x423388]
cdq
idiv dword [ebp - 0x8b18]
mov edx, 1
test eax, eax
cmovg edx, eax
mov eax, dword [ebp - 0x8b10]
mov esi, edx
mov dword [ebp - 0x8b5c], edx
cdq
idiv esi
mov dword [ebp - 0x8b28], eax
test edx, edx
jne 0x414f6a
mov eax, dword [ebp - 0x8b28]
test eax, eax
jle 0x41513c
mov eax, dword [0x4243b8]
mov esi, dword [ebp - 0x8b5c]
mov dword [ebp - 0x8b38], edi
mov dword [ebp - 0x8b58], 0
mov dword [ebp - 0x8b24], esi
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x8b54], 0
mov dword [ebp - 0x8b40], 0
mov dword [ebp - 0x8b4c], 0
mov dword [ebp - 0x8b48], 0
mov dword [ebp - 0x8b68], esi
lea esi, [esi]
mov dword [ebp - 0x8b50], 1
mov edi, dword [ebp - 0x8b40]
mov dword [ebp - 0x8b1c], 0
mov dword [ebp - 0x8b20], edi
mov edi, dword [ebp - 0x8b24]
sub edi, dword [ebp - 0x8b5c]
mov dword [ebp - 0x8b64], edi
test eax, eax
je 0x4148ed
lea esi, [esi]
mov eax, dword [ebp - 0x8b20]
mov esi, dword [ebp - 0x8b10]
mov ebx, eax
cmp eax, esi
jge 0x4148c7
imul ebx, ebx, 0x250
add ebx, dword [ebp - 0x8b38]
lea eax, [ebx + 0x2c]
mov dword [ebp - 0x8b0c], eax
mov eax, dword [0x423380]
test eax, eax
jne 0x414b60
mov eax, dword [0x434438]
test eax, eax
jne 0x414988
mov eax, dword [0x4231e0]
lea esi, [ebp - 0x8ae8]
mov dword [esp + 4], esi
cmp eax, 2
je 0x414c80
cmp eax, 1
je 0x414970
lea eax, [ebx + 4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FileTimeToLocalFileTime]
sub esp, 8
lea eax, [ebp - 0x8ae0]
mov dword [esp], esi
lea esi, [ebp - 0x8aa0]
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x8ae0]
sub esp, 8
mov dword [esp + 0x14], 0x20
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetDateFormatW]
lea ecx, [ebp - 0x8a60]
lea eax, [ebp - 0x8ae0]
sub esp, 0x18
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0x20
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 2
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetTimeFormatW]
mov eax, dword [0x434520]
lea ecx, [ebp - 0x8a60]
sub esp, 0x18
test eax, eax
je 0x414900
test byte [ebx], 0x10
je 0x414c08
mov eax, dword [ebp - 0x8b0c]
mov dword [esp], 0x436bca
mov dword [esp + 4], eax
call sym._WCMD_output
inc dword [ebp - 0x8b48]
cmp word [ebx + 0x2c], 0
mov eax, dword [ebp - 0x8b0c]
je 0x414889
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x414880
mov esi, dword [ebp - 0x8b1c]
sub eax, dword [ebp - 0x8b0c]
sar eax, 1
lea eax, [esi + eax + 2]
mov ebx, dword [ebp - 0x8b18]
add dword [ebp - 0x8b1c], ebx
mov esi, dword [ebp - 0x8b1c]
mov edx, esi
add edx, ebx
cmp edx, dword [0x423388]
jle 0x414ce0
mov dword [ebp - 0x8b1c], 0
mov esi, dword [ebp - 0x8b28]
inc edi
add dword [ebp - 0x8b20], esi
cmp dword [ebp - 0x8b24], edi
je 0x414c98
mov eax, dword [0x4243b8]
test eax, eax
jne 0x414730
mov ebx, edi
cmp edi, dword [ebp - 0x8b10]
jl 0x414746
jmp 0x4148c7
mov eax, dword [0x423164]
mov dword [ebp - 0x8b44], eax
test byte [ebx], 0x10
je 0x414b90
inc dword [ebp - 0x8b48]
test eax, eax
jne 0x414d01
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp], str._1_10s____2_8s____DIR_
call sym._WCMD_output
mov esi, dword [0x43442c]
test esi, esi
jne 0x414d62
mov esi, dword [0x434438]
test esi, esi
jne 0x414d86
mov eax, dword [ebp - 0x8b0c]
mov dword [esp], 0x436bd4
mov dword [esp + 4], eax
call sym._WCMD_output
jmp 0x4148c7
lea eax, [ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FileTimeToLocalFileTime]
sub esp, 8
jmp 0x4147a5
mov eax, dword [ebp - 0x8b34]
lea edx, [ebp - 0x8818]
mov esi, dword [eax + 4]
xor eax, eax
lea esi, [esi]
movzx ecx, word [esi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4149a0
cmp word [ebp - 0x8818], 0
mov ecx, edx
je 0x4149c9
lea esi, [esi]
add ecx, 2
cmp word [ecx], 0
jne 0x4149c0
xor eax, eax
lea esi, [esi]
nop
movzx esi, word [ebx + eax + 0x2c]
mov word [ecx + eax], si
add eax, 2
test si, si
jne 0x4149d0
xor eax, eax
mov dword [esp], edx
mov esi, dword [sym.imp.advapi32.dll_GetFileSecurityW]
mov word [ebp - 0x8ad0], ax
lea eax, [ebp - 0x8b00]
mov dword [ebp - 0x8b44], edx
mov dword [ebp - 0x8b00], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call esi
mov edx, dword [ebp - 0x8b44]
sub esp, 0x14
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x7a
jne 0x414775
mov eax, dword [ebp - 0x8b00]
test eax, eax
je 0x414775
mov dword [esp], eax
mov dword [ebp - 0x8b6c], edx
mov dword [ebp - 0x8afc], 0
mov dword [ebp - 0x8af8], 0
mov dword [ebp - 0x8af4], 0x2000
mov dword [ebp - 0x8af0], 0x2000
call sym._xalloc
mov dword [esp + 4], 1
mov edx, eax
mov dword [ebp - 0x8b44], eax
lea eax, [ebp - 0x8b00]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8b00]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x8b6c]
mov dword [esp + 0xc], eax
mov dword [esp], edx
call esi
sub esp, 0x14
test eax, eax
je 0x414b46
lea eax, [ebp - 0x8af8]
mov dword [esp + 8], eax
lea eax, [ebp - 0x8afc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8b44]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_GetSecurityDescriptorOwner]
sub esp, 0xc
test eax, eax
je 0x414b46
lea eax, [ebp - 0x8aec]
lea edx, [ebp - 0x8018]
mov dword [esp], 0
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x8af0]
lea esi, [ebp - 0x4018]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x8af4]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8afc]
mov dword [esp + 8], edx
mov dword [esp + 0x10], esi
mov dword [esp + 4], eax
call dword [sym.imp.advapi32.dll_LookupAccountSidW]
lea edx, [ebp - 0x8018]
sub esp, 0x1c
test eax, eax
jne 0x414fb5
mov eax, dword [ebp - 0x8b44]
mov dword [esp], eax
mov eax, dword [ebp - 0x8b68]
call eax
jmp 0x414775
mov esi, dword [ebp - 0x8b0c]
jmp 0x414b73
add esi, 2
movzx eax, word [esi]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_tolower]
mov word [esi], ax
test ax, ax
jne 0x414b70
jmp 0x414768
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebp - 0x8b44]
inc dword [ebp - 0x8b4c]
mov dword [ebp - 0x8b30], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x8b2c], eax
mov eax, dword [ebp - 0x8b30]
mov edx, dword [ebp - 0x8b2c]
add dword [ebp - 0x8b58], eax
adc dword [ebp - 0x8b54], edx
test ecx, ecx
je 0x414d32
mov ebx, dword [0x434420]
mov eax, 0x436b3c
test ebx, ebx
je 0x414be6
mov eax, dword [ebp - 0x8b34]
mov eax, dword [eax + 4]
mov esi, dword [ebp - 0x8b0c]
mov dword [esp + 4], eax
mov dword [esp], str._1_2
mov dword [esp + 8], esi
call sym._WCMD_output
jmp 0x4148c7
mov esi, dword [ebp - 0x8b0c]
mov dword [esp], 0x436bd4
mov dword [esp + 4], esi
call sym._WCMD_output
cmp word [ebx + 0x2c], 0
je 0x414dd9
mov eax, esi
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x414c30
mov esi, dword [ebx + 0x20]
sub eax, dword [ebp - 0x8b0c]
sar eax, 1
inc dword [ebp - 0x8b4c]
add eax, dword [ebp - 0x8b1c]
mov dword [ebp - 0x8b30], esi
mov esi, dword [ebx + 0x1c]
mov edx, dword [ebp - 0x8b30]
add dword [ebp - 0x8b58], edx
mov dword [ebp - 0x8b2c], esi
mov ecx, dword [ebp - 0x8b2c]
adc dword [ebp - 0x8b54], ecx
jmp 0x41489b
lea eax, [ebx + 0x14]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FileTimeToLocalFileTime]
sub esp, 8
jmp 0x4147a5
mov ecx, dword [ebp - 0x8b50]
test ecx, ecx
jne 0x414da1
mov edi, dword [ebp - 0x8b64]
mov esi, dword [ebp - 0x8b5c]
inc dword [ebp - 0x8b40]
mov eax, dword [ebp - 0x8b40]
lea edi, [edi + esi*2]
mov dword [ebp - 0x8b24], edi
cmp dword [ebp - 0x8b28], eax
jle 0x414de4
mov eax, dword [0x4243b8]
jmp 0x4146f0
mov edx, esi
mov dword [esp + 8], 0x436b3c
sub edx, eax
mov dword [esp], str._1_s_
mov dword [esp + 4], edx
call sym._WCMD_output
jmp 0x4148c7
mov eax, dword [ebp - 0x8b0c]
mov dword [esp + 4], 0x436c4c
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
jne 0x414db2
mov dword [ebp - 0x8b50], 0
jmp 0x4148c7
call sym._WCMD_filesize64
lea ecx, [ebp - 0x8a60]
mov dword [esp + 4], esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], str._1_10s____2_8s______3_10s_
call sym._WCMD_output
mov eax, dword [0x43442c]
test eax, eax
je 0x414944
add ebx, 0x234
mov dword [esp], str._1__13s_
mov dword [esp + 4], ebx
call sym._WCMD_output
mov esi, dword [0x434438]
test esi, esi
je 0x414952
lea eax, [ebp - 0x8ad0]
mov dword [esp], str._1__23s_
mov dword [esp + 4], eax
call sym._WCMD_output
jmp 0x414952
mov dword [esp], 0x436b6a
call sym._WCMD_output_asis
jmp 0x414ca6
mov eax, dword [ebp - 0x8b0c]
mov dword [esp + 4], 0x436c50
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x414d23
jmp 0x414bce
mov eax, dword [ebp - 0x8b0c]
jmp 0x414c39
mov eax, dword [0x423164]
mov edi, dword [ebp - 0x8b38]
test eax, eax
jne 0x414e30
cmp dword [ebp - 0x8b4c], 1
je 0x415111
mov edx, dword [ebp - 0x8b54]
mov eax, dword [ebp - 0x8b58]
call sym._WCMD_filesize64
mov dword [esp], str._1_8d__files__2_24s__bytes_n
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8b4c]
mov dword [esp + 4], eax
call sym._WCMD_output
mov eax, dword [0x423164]
mov ebx, dword [ebp - 0x8b58]
add dword [0x4231c0], ebx
mov ebx, dword [0x434420]
mov esi, dword [ebp - 0x8b54]
adc dword [0x4231c4], esi
mov esi, dword [ebp - 0x8b4c]
add dword [0x4231f8], esi
mov esi, dword [ebp - 0x8b48]
add dword [0x4231e4], esi
or eax, ebx
jne 0x4141a4
cmp esi, 1
je 0x4151a7
mov eax, dword [ebp - 0x8b48]
mov dword [esp], str._1_8d__directories
mov dword [esp + 4], eax
call sym._WCMD_output
mov ebx, dword [0x434420]
jmp 0x4141a4
mov eax, dword [ebp - 0x8b0c]
mov edi, dword [ebp - 0x8b10]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
test edi, edi
je 0x4144a8
mov ebx, dword [ebp - 0x8b68]
mov edx, 1
mov eax, edi
call sym._WCMD_list_directory
mov dword [ebp - 0x8b0c], eax
cmp edi, eax
je 0x414f07
lea esi, [esi]
mov esi, edi
mov edi, dword [edi]
mov edx, dword [esi + 4]
mov dword [esp], edx
call ebx
mov edx, dword [esi + 8]
mov dword [esp], edx
call ebx
mov dword [esp], esi
call ebx
cmp dword [ebp - 0x8b0c], edi
jne 0x414ed8
mov eax, dword [ebp - 0x8b0c]
test eax, eax
je 0x4144a8
mov edi, dword [ebp - 0x8b0c]
jmp 0x414ebe
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 2
call sym._WCMD_print_error
mov eax, dword [ebp - 0x8b14]
mov dword [0x4231f0], 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x423388]
cdq
idiv dword [ebp - 0x8b18]
mov edx, 1
test eax, eax
cmovg edx, eax
mov eax, dword [ebp - 0x8b10]
mov esi, edx
mov dword [ebp - 0x8b5c], edx
cdq
idiv esi
mov dword [ebp - 0x8b28], eax
test edx, edx
je 0x414f70
inc dword [ebp - 0x8b28]
test cl, cl
je 0x414687
mov eax, dword [ebp - 0x8b28]
mov dword [esp + 0xc], str.cols_d__rows_d_n
mov dword [esp + 8], str.WCMD_list_directory
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x8b5c]
mov dword [esp + 4], 0x423020
mov dword [esp + 0x10], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x414687
lea eax, [ebp - 0x8ad0]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0x5c
mov dword [esp + 0xc], esi
mov dword [esp + 8], str._s_c_s
mov dword [esp + 4], 0x18
mov dword [esp], eax
call sym._swprintf.constprop.0_1
jmp 0x414b46
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], str.Recursive__Adding_to_search_list__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.WCMD_list_directory
mov dword [esp + 4], 0x423020
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x414388
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], str.Recursive__looking_for__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.WCMD_list_directory
mov dword [esp + 4], 0x423020
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x414228
mov eax, dword [ebp - 0x8b18]
mov dword [esp + 0xc], str._d_entries__maxwidth_d__widest_d_n
mov dword [esp + 8], str.WCMD_list_directory
mov dword [esp + 0x18], eax
mov eax, dword [0x423388]
mov dword [esp + 4], 0x423020
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x8b10]
mov dword [esp], 3
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.0_2
movzx ecx, byte [0x423020]
mov eax, dword [0x434520]
and ecx, 8
or eax, dword [0x4243b8]
jne 0x414f39
test cl, cl
je 0x4150f6
mov dword [ebp - 0x8b5c], 1
mov eax, dword [ebp - 0x8b10]
mov dword [ebp - 0x8b28], eax
jmp 0x414f78
xor ebx, ebx
jmp 0x414482
mov ebx, 2
jmp 0x4143d6
mov dword [ebp - 0x8b1c], ecx
jmp 0x414268
mov dword [ebp - 0x8b1c], 2
jmp 0x414444
mov dword [ebp - 0x8b5c], 1
mov esi, dword [ebp - 0x8b10]
mov dword [ebp - 0x8b28], esi
jmp 0x41469a
mov edx, dword [ebp - 0x8b54]
mov eax, dword [ebp - 0x8b58]
call sym._WCMD_filesize64
mov dword [esp], str._______1_file__1_25s__bytes_n
mov dword [esp + 4], eax
call sym._WCMD_output
mov eax, dword [0x423164]
jmp 0x414e30
mov eax, dword [0x423164]
mov dword [ebp - 0x8b48], eax
test eax, eax
jne 0x4151fe
mov dword [ebp - 0x8b4c], 0
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x8b58], 0
mov dword [ebp - 0x8b54], 0
mov dword [ebp - 0x8b68], eax
jmp 0x414e00
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov ebx, dword [0x434420]
mov dword [ebp - 0x8b14], 0
mov dword [ebp - 0x8b3c], 0
mov dword [ebp - 0x8b68], eax
jmp 0x4141a4
mov dword [esp + 4], 1
mov dword [esp], str._1_8d__directory
call sym._WCMD_output
mov ebx, dword [0x434420]
jmp 0x4141a4
mov esi, dword [ebp - 0x8b0c]
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
test byte [0x423020], 2
jne 0x415231
mov eax, dword [ebp - 0x8b14]
mov dword [0x4231f0], 1
mov eax, dword [eax]
mov dword [ebp - 0x8b14], eax
jmp 0x4144c1
mov ebx, dword [0x434420]
or dword [ebp - 0x8b48], ebx
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x8b68], eax
jne 0x4141a4
jmp 0x414e77
mov eax, dword [ebp - 0x8b34]
mov dword [ebp - 0x8b14], eax
jmp 0x414268
mov dword [esp + 0xc], 0x436b5b
mov dword [esp + 8], str.WCMD_list_directory
mov dword [esp + 4], 0x423020
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_2
jmp 0x4151e1