Function at 0x414360
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, 0x8b88
call fcn.004240d8
sub esp, eax
mov eax, dword [esp + eax]
mov dword [esp], 0x250
mov esi, eax
mov dword [ebp - 0x8b30], eax
mov dword [ebp - 0x8b50], edx
call dbg.heap_xalloc
mov dword [ebp - 0x8b24], eax
test esi, esi
je 0x415a69
mov dword [ebp - 0x8b20], 0
mov eax, esi
lea esi, [ebp - 0x8a20]
mov edi, esi
mov dword [ebp - 0x8b10], eax
mov dword [ebp - 0x8b3c], 0
shr edi, 0x10
mov dword [ebp - 0x8b28], edi
mov dword [ebp - 0x8b1c], 0
mov dword [ebp - 0x8b0c], 0
mov eax, dword [ebp - 0x8b10]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8b30]
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
jne 0x41455f
add dword [ebp - 0x8b3c], 1
mov eax, dword [ebp - 0x8b10]
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 0x414420
mov eax, dword [ebp - 0x8b10]
cmp word [ebp - 0x8a20], 0
mov edx, esi
mov ebx, dword [eax + 8]
je 0x41444e
add edx, 2
cmp word [edx], 0
jne 0x414445
xor eax, eax
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x414450
test byte [0x425020], 8
jne 0x414980
imul eax, dword [ebp - 0x8b0c], 0x250
mov edi, dword [ebp - 0x8b24]
mov dword [esp], esi
add eax, edi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
sub esp, 8
mov ebx, eax
cmp eax, 0xffffffff
jne 0x414882
mov eax, dword [ebp - 0x8b10]
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 0x4144a5
mov eax, dword [ebp - 0x8b10]
mov edx, dword [eax + 4]
cmp word [edx], 0
je 0x414c49
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4144d0
sub eax, edx
sar eax, 1
sub eax, 1
mov ebx, dword [0x42e078]
xor ecx, ecx
mov word [ebp + eax*2 - 0x8a20], cx
test ebx, ebx
jne 0x414549
mov edx, dword [ebp - 0x8b0c]
test edx, edx
setg bl
test byte [ebp - 0x8b50], 1
je 0x414518
test bl, bl
je 0x414518
mov dword [esp], 0x428306
call sym._WCMD_output_asis
mov eax, dword [0x42e080]
test eax, eax
je 0x41452f
mov eax, dword [ebp - 0x8b20]
test eax, eax
jne 0x414549
test bl, bl
je 0x414549
mov dword [esp + 4], esi
mov dword [esp], 0x42830c
call dbg.WCMD_output
mov dword [ebp - 0x8b20], 1
mov eax, dword [ebp - 0x8b10]
mov eax, dword [eax]
mov dword [ebp - 0x8b10], eax
test eax, eax
jne 0x4143df
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x8b68], eax
mov eax, dword [ebp - 0x8b0c]
test eax, eax
jne 0x414c53
mov esi, dword [ebp - 0x8b24]
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
mov eax, dword [ebp - 0x8b68]
call eax
mov edx, dword [0x42e080]
sub esp, 0xc
test edx, edx
je 0x414bf2
mov eax, dword [ebp - 0x8b30]
lea ebx, [ebp - 0x8818]
mov ecx, dword [eax + 4]
xor eax, eax
movzx edx, word [ecx + eax]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x4145c3
cmp word [ebp - 0x8818], 0
mov edx, ebx
je 0x4145e9
nop
add edx, 2
cmp word [edx], 0
jne 0x4145e0
xor eax, eax
mov ecx, 0x2a
jmp 0x4145f9
movzx ecx, word [eax + 0x428506]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4145f2
lea eax, [ebp - 0x4018]
mov dword [ebp - 0x8b0c], eax
test byte [0x425020], 8
jne 0x414fe5
mov eax, dword [ebp - 0x8b0c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
sub esp, 8
mov dword [ebp - 0x8b14], eax
cmp eax, 0xffffffff
je 0x414bf2
mov dword [ebp - 0x8b20], 0
mov eax, ebx
xor edi, edi
shr eax, 0x10
mov dword [ebp - 0x8b18], edi
mov dword [ebp - 0x8b24], eax
jmp 0x414686
mov eax, dword [ebp - 0x8b0c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8b14]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x414f0c
test byte [ebp - 0x4018], 0x10
je 0x414662
lea eax, [ebp - 0x3fec]
mov dword [esp + 4], 0x4283ec
mov esi, dword [sym.imp.kernel32.dll_lstrcmpW]
mov dword [esp], eax
call esi
sub esp, 8
test eax, eax
je 0x414662
lea eax, [ebp - 0x3fec]
mov dword [esp + 4], 0x4283e8
mov dword [esp], eax
call esi
sub esp, 8
test eax, eax
je 0x414662
mov eax, dword [ebp - 0x8b3c]
test eax, eax
je 0x415bfb
mov dword [ebp - 0x8b1c], eax
mov eax, dword [ebp - 0x8b30]
mov esi, dword [ebp - 0x8b20]
mov dword [ebp - 0x8b10], eax
sub dword [ebp - 0x8b1c], 1
mov eax, dword [ebp - 0x8b30]
mov ecx, dword [eax + 4]
xor eax, eax
movzx edx, word [ecx + eax]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x414701
cmp word [ebp - 0x8818], 0
mov edx, ebx
je 0x414729
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x414720
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [ebp + eax - 0x3fec]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x414730
cmp word [ebp - 0x8818], 0
mov edx, ebx
je 0x414759
add edx, 2
cmp word [edx], 0
jne 0x414750
xor eax, eax
mov ecx, 0x5c
jmp 0x414769
movzx ecx, word [eax + 0x428528]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x414762
test byte [0x425020], 8
jne 0x4157ea
mov dword [esp], 0xc
call dbg.heap_xalloc
mov edi, eax
mov eax, dword [ebp - 0x8b18]
test eax, eax
cmove eax, edi
mov dword [ebp - 0x8b18], eax
test esi, esi
je 0x4147a7
mov dword [esi], edi
mov dword [edi], 0
cmp word [ebp - 0x8818], 0
je 0x415b6c
mov eax, ebx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4147c0
sub eax, ebx
sar eax, 1
lea esi, [eax + eax + 2]
mov dword [esp], esi
call dbg.heap_xalloc
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [ebp - 0x8b20], eax
call sym._memcpy
mov edx, dword [ebp - 0x8b20]
mov eax, dword [ebp - 0x8b10]
mov dword [edi + 4], edx
mov esi, dword [eax + 8]
test esi, esi
je 0x415a8d
cmp word [esi], 0
je 0x415bc4
mov eax, esi
add eax, 2
cmp word [eax], 0
jne 0x414815
sub eax, esi
sar eax, 1
lea ecx, [eax + eax + 2]
mov dword [esp], ecx
mov dword [ebp - 0x8b20], ecx
call dbg.heap_xalloc
mov ecx, dword [ebp - 0x8b20]
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [esp + 8], ecx
mov dword [ebp - 0x8b20], eax
call sym._memcpy
mov edx, dword [ebp - 0x8b20]
mov eax, dword [ebp - 0x8b10]
mov dword [edi + 8], edx
mov esi, edi
mov edx, dword [ebp - 0x8b1c]
mov eax, dword [eax]
mov dword [ebp - 0x8b10], eax
test edx, edx
jne 0x4146ef
mov dword [ebp - 0x8b20], edi
jmp 0x414662
mov eax, dword fs:[0x18]
mov dword [ebp - 0x8b14], ebx
mov ebx, edi
mov dword [ebp - 0x8b18], eax
jmp 0x4148fd
lea eax, [edi + 0x4a0]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8b18]
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
sub esp, 0x10
mov ebx, eax
test eax, eax
je 0x414b73
lea edx, [eax + edi + 0x250]
mov eax, dword [ebp - 0x8b14]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x414ab0
mov ecx, dword [ebp - 0x8b0c]
imul edi, ecx, 0x250
lea edx, [ebx + edi]
mov eax, dword [edx]
and eax, dword [0x42e060]
cmp eax, dword [0x42e064]
jne 0x4148df
add ecx, 1
mov eax, dword [0x42e07c]
or eax, dword [0x42e088]
mov dword [ebp - 0x8b0c], ecx
je 0x4148a0
cmp word [edx + 0x2c], 0
lea ecx, [edx + 0x2c]
je 0x414bb4
mov eax, ecx
lea esi, [esi]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x414950
sub eax, ecx
sar eax, 1
lea ecx, [eax + 3]
add eax, 5
test byte [edx], 0x10
cmovne ecx, eax
mov eax, dword [ebp - 0x8b1c]
cmp eax, ecx
cmovge ecx, eax
mov dword [ebp - 0x8b1c], ecx
jmp 0x4148a0
mov edx, dword [ebp - 0x8b28]
test edx, edx
je 0x414c31
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ebx, eax
sub esp, 8
mov eax, 0x4281b4
test ebx, ebx
jne 0x414a62
cmp word [ebp - 0x8a20], 0
je 0x4149ca
lea esi, [esi]
nop
add ebx, 1
cmp word [esi + ebx*2], 0
jne 0x4149c0
mov eax, 0x224c
lea edx, [ebp - 0x4016]
lea edi, [ebx - 1]
mov ecx, esi
mov word [ebp - 0x4018], ax
test ebx, ebx
jle 0x414a37
lea eax, [ebp - 0x3ef6]
cmp edx, eax
ja 0x414a37
add ecx, 2
movzx eax, word [ecx - 2]
cmp ax, 0xd
je 0x414b60
ja 0x414a90
cmp ax, 9
je 0x414b43
cmp ax, 0xa
jne 0x414ae3
mov eax, 0x6e5c
add edx, 2
mov ebx, edi
mov word [edx - 2], ax
lea esi, [esi]
nop
lea edi, [ebx - 1]
test ebx, ebx
jg 0x4149e5
mov byte [edx], 0x22
lea eax, [edx + 1]
test edi, edi
jle 0x414a51
mov edi, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], di
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.Looking_for_matches_to__s_n
mov dword [esp + 8], str.WCMD_list_directory
mov dword [esp + 4], 0x425020
mov dword [esp], 3
call sym._wine_dbg_log.constprop.4
jmp 0x41446d
cmp ax, 0x22
je 0x414ad0
cmp ax, 0x5c
jne 0x414ae3
mov eax, 0x5c5c
add edx, 2
mov ebx, edi
mov word [edx - 2], ax
jmp 0x414a30
mov dword [ebp - 0x8b24], ebx
mov ebx, dword [ebp - 0x8b14]
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
jmp 0x41449a
mov eax, 0x225c
add edx, 2
mov ebx, edi
mov word [edx - 2], ax
jmp 0x414a30
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x414bc0
mov ebx, eax
mov byte [edx], 0x5c
add edx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + str.0123456789abcdefWCMD_directory]
mov byte [edx - 4], bl
mov ebx, eax
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefWCMD_directory]
mov byte [edx - 3], bl
mov ebx, eax
and eax, 0xf
shr bx, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_directory]
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefWCMD_directory]
mov byte [edx - 1], al
mov byte [edx - 2], bl
mov ebx, edi
jmp 0x414a30
mov eax, 0x745c
add edx, 2
mov ebx, edi
mov word [edx - 2], ax
jmp 0x414a30
mov eax, 0x725c
add edx, 2
mov ebx, edi
mov word [edx - 2], ax
jmp 0x414a30
mov ebx, dword [ebp - 0x8b14]
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
test byte [0x425020], 2
jne 0x414bcc
mov eax, dword [ebp - 0x8b10]
mov dword [0x437470], 1
mov eax, dword [eax]
mov dword [ebp - 0x8b10], eax
mov eax, dword [ebp - 0x8b10]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
mov ecx, 3
jmp 0x414960
mov byte [edx], al
mov ebx, edi
add edx, 1
jmp 0x414a30
mov dword [esp + 0xc], 0x4282f7
mov dword [esp + 8], str.WCMD_list_directory
mov dword [esp + 4], 0x425020
mov dword [esp], 1
call sym._wine_dbg_log.constprop.4
jmp 0x414b8e
mov esi, dword [ebp - 0x8b50]
mov eax, dword [0x42e0ac]
add eax, dword [0x42e0b0]
or esi, eax
jne 0x414ba6
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 2
call dbg.WCMD_print_error
mov eax, dword [ebp - 0x8b10]
mov dword [0x437470], 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, si
mov dword [esp], 0x4281a0
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.6
jmp 0x414a62
mov eax, 0xffffffff
jmp 0x4144e0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8b24]
mov dword [esp + 0xc], dbg.WCMD_dir_sort
mov dword [esp + 8], 0x250
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_qsort]
movzx ebx, byte [0x425020]
and ebx, 8
jne 0x4159b7
mov ecx, dword [0x42e088]
mov eax, ecx
or eax, dword [0x42e07c]
jne 0x41508f
mov dword [ebp - 0x8b60], 1
mov esi, dword [ebp - 0x8b0c]
mov dword [ebp - 0x8b2c], esi
mov dword [ebp - 0x8b58], 0
mov esi, dword [ebp - 0x8b60]
mov dword [ebp - 0x8b54], 0
mov dword [ebp - 0x8b28], esi
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x8b40], 0
mov dword [ebp - 0x8b4c], 0
mov dword [ebp - 0x8b48], 0
mov dword [ebp - 0x8b68], esi
lea esi, [esi]
mov ebx, dword [ebp - 0x8b40]
mov esi, dword [ebp - 0x8b28]
mov dword [ebp - 0x8b5c], 1
mov dword [ebp - 0x8b18], 0
sub esi, dword [ebp - 0x8b60]
mov dword [ebp - 0x8b64], esi
mov dword [ebp - 0x8b20], ebx
test eax, eax
je 0x414efc
lea esi, [esi]
mov eax, dword [ebp - 0x8b20]
mov edi, dword [ebp - 0x8b0c]
mov ebx, eax
cmp eax, edi
jge 0x414ed4
imul ebx, ebx, 0x250
add ebx, dword [ebp - 0x8b24]
lea eax, [ebx + 0x2c]
mov dword [ebp - 0x8b14], eax
mov eax, dword [0x42e074]
test eax, eax
jne 0x4154b0
mov eax, dword [0x42e06c]
test eax, eax
jne 0x4152b4
mov eax, dword [0x42e09c]
lea edi, [ebp - 0x8ae8]
mov dword [esp + 4], edi
cmp eax, 2
je 0x4155c0
cmp eax, 1
je 0x4152a0
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], edi
lea edi, [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], edi
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 [0x42e07c]
lea ecx, [ebp - 0x8a60]
sub esp, 0x18
test eax, eax
je 0x415230
test byte [ebx], 0x10
je 0x4154d1
mov eax, dword [ebp - 0x8b14]
mov dword [esp], 0x428366
mov dword [esp + 4], eax
call dbg.WCMD_output
add dword [ebp - 0x8b48], 1
cmp word [ebx + 0x2c], 0
je 0x415775
mov eax, dword [ebp - 0x8b14]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x414e90
sub eax, dword [ebp - 0x8b14]
sar eax, 1
add eax, dword [ebp - 0x8b18]
add eax, 2
mov edi, dword [ebp - 0x8b1c]
add dword [ebp - 0x8b18], edi
mov edx, dword [ebp - 0x8b18]
add edx, edi
cmp edx, dword [0x42e0a8]
jle 0x415620
mov dword [ebp - 0x8b18], 0
mov edi, dword [ebp - 0x8b2c]
add esi, 1
add dword [ebp - 0x8b20], edi
cmp dword [ebp - 0x8b28], esi
je 0x4155d4
mov eax, dword [0x42e088]
test eax, eax
jne 0x414d40
mov ebx, esi
cmp esi, dword [ebp - 0x8b0c]
jl 0x414d56
jmp 0x414ed4
mov eax, dword [ebp - 0x8b14]
mov edi, dword [ebp - 0x8b18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
test edi, edi
je 0x414bf2
mov esi, dword [ebp - 0x8b68]
mov ebx, dword fs:[0x18]
mov edx, 1
mov eax, edi
call dbg.WCMD_list_directory
mov dword [ebp - 0x8b14], eax
cmp eax, edi
je 0x414fda
mov eax, ebx
mov ebx, edi
mov edi, eax
lea esi, [esi]
mov eax, dword [ebx]
mov dword [ebp - 0x8b0c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 8]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov ebx, dword [ebp - 0x8b0c]
sub esp, 0xc
cmp dword [ebp - 0x8b14], ebx
jne 0x414f60
mov eax, dword [ebp - 0x8b14]
mov ebx, edi
test eax, eax
je 0x414bf2
mov edi, dword [ebp - 0x8b14]
jmp 0x414f39
mov eax, ebx
shr eax, 0x10
je 0x4151e8
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, 0x4281b4
test ecx, ecx
jne 0x4151fb
cmp word [ebp - 0x8818], 0
je 0x415027
add ecx, 1
cmp word [ebx + ecx*2], 0
jne 0x41501d
mov eax, 0x224c
lea edx, [ebp - 0x4016]
mov edi, ebx
mov word [ebp - 0x4018], ax
lea esi, [ecx - 1]
test ecx, ecx
jle 0x415b8e
lea eax, [ebp - 0x3ef6]
cmp edx, eax
ja 0x415b8e
add edi, 2
movzx eax, word [edi - 2]
cmp ax, 0xd
je 0x415a94
ja 0x41574e
cmp ax, 9
je 0x415b1a
cmp ax, 0xa
jne 0x415aba
mov eax, 0x6e5c
add edx, 2
mov ecx, esi
mov word [edx - 2], ax
jmp 0x41503b
mov eax, dword [0x42e0a8]
cdq
idiv dword [ebp - 0x8b1c]
mov edx, 1
test eax, eax
cmovg edx, eax
mov eax, dword [ebp - 0x8b0c]
mov esi, edx
mov dword [ebp - 0x8b60], edx
cdq
idiv esi
mov dword [ebp - 0x8b2c], eax
test edx, edx
je 0x415109
add dword [ebp - 0x8b2c], 1
mov eax, ecx
test bl, bl
je 0x414cb0
mov eax, dword [ebp - 0x8b2c]
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 - 0x8b60]
mov dword [esp + 4], 0x425020
mov dword [esp + 0x10], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.4
mov ecx, dword [ebp - 0x8b2c]
mov eax, dword [0x42e088]
test ecx, ecx
jne 0x414cb0
mov eax, dword [0x42e078]
mov dword [ebp - 0x8b48], eax
test eax, eax
jne 0x415c0c
mov dword [ebp - 0x8b4c], 0
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x8b58], 0
mov dword [ebp - 0x8b54], 0
mov dword [ebp - 0x8b68], eax
mov edx, dword [ebp - 0x8b54]
mov eax, dword [ebp - 0x8b58]
call dbg.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 dbg.WCMD_output
mov eax, dword [0x42e078]
mov esi, dword [ebp - 0x8b58]
mov edi, dword [ebp - 0x8b54]
add dword [0x42e0a0], esi
mov esi, dword [ebp - 0x8b4c]
adc dword [0x42e0a4], edi
add dword [0x42e0b0], esi
mov esi, dword [ebp - 0x8b48]
add dword [0x42e0ac], esi
or eax, dword [0x42e080]
jne 0x414578
cmp esi, 1
je 0x415be2
mov eax, dword [ebp - 0x8b48]
mov dword [esp], str._1_8d__directories
mov dword [esp + 4], eax
call dbg.WCMD_output
jmp 0x414578
movzx eax, bx
mov dword [esp], 0x4281a0
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.6
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Recursive__looking_for__s_n
mov dword [esp + 8], str.WCMD_list_directory
mov dword [esp + 4], 0x425020
mov dword [esp], 3
call sym._wine_dbg_log.constprop.4
jmp 0x41461e
mov eax, dword [0x42e078]
mov dword [ebp - 0x8b44], eax
test byte [ebx], 0x10
je 0x415541
add dword [ebp - 0x8b48], 1
test eax, eax
jne 0x415645
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp], str._1_10s____2_8s____DIR_
call dbg.WCMD_output
mov edi, dword [0x42e070]
test edi, edi
jne 0x4156a6
mov eax, dword [0x42e06c]
test eax, eax
jne 0x4156c9
mov eax, dword [ebp - 0x8b14]
mov dword [esp], 0x428370
mov dword [esp + 4], eax
call dbg.WCMD_output
jmp 0x414ed4
lea eax, [ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FileTimeToLocalFileTime]
sub esp, 8
jmp 0x414db5
mov eax, dword [ebp - 0x8b30]
lea edx, [ebp - 0x8818]
mov edi, dword [eax + 4]
xor eax, eax
movzx ecx, word [edi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4152c5
cmp word [ebp - 0x8818], 0
mov ecx, edx
je 0x4152ea
add ecx, 2
cmp word [ecx], 0
jne 0x4152e1
xor eax, eax
lea esi, [esi]
movzx edi, word [ebx + eax + 0x2c]
mov word [ecx + eax], di
add eax, 2
test di, di
jne 0x4152f0
lea edi, [ebp - 0x8b00]
mov dword [esp], edx
xor eax, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [ebp - 0x8b44], edx
mov dword [ebp - 0x8b00], 0
mov word [ebp - 0x8ad0], ax
call sym._GetFileSecurityW_20
mov edx, dword [ebp - 0x8b44]
sub esp, 0x14
mov ecx, dword fs:[0x18]
cmp dword [ecx + 0x34], 0x7a
jne 0x414d85
mov eax, dword [ebp - 0x8b00]
test eax, eax
je 0x414d85
mov dword [esp], eax
mov dword [ebp - 0x8b70], edx
mov dword [ebp - 0x8b6c], ecx
mov dword [ebp - 0x8afc], 0
mov dword [ebp - 0x8af8], 0
mov dword [ebp - 0x8af4], 0x2000
mov dword [ebp - 0x8af0], 0x2000
call dbg.heap_xalloc
mov edx, dword [ebp - 0x8b70]
mov dword [esp + 0x10], edi
mov ecx, eax
mov dword [ebp - 0x8b44], eax
mov eax, dword [ebp - 0x8b00]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], edx
call sym._GetFileSecurityW_20
mov ecx, dword [ebp - 0x8b6c]
sub esp, 0x14
test eax, eax
je 0x4157d0
lea eax, [ebp - 0x8af8]
mov dword [ebp - 0x8b6c], ecx
mov dword [esp + 8], eax
lea eax, [ebp - 0x8afc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8b44]
mov dword [esp], eax
call sym._GetSecurityDescriptorOwner_12
mov ecx, dword [ebp - 0x8b6c]
sub esp, 0xc
test eax, eax
je 0x4157d0
lea eax, [ebp - 0x8aec]
lea edx, [ebp - 0x8018]
mov dword [esp], 0
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x8af0]
lea edi, [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], edi
mov dword [esp + 4], eax
call sym._LookupAccountSidW_28
lea edx, [ebp - 0x8018]
sub esp, 0x1c
test eax, eax
jne 0x415b39
mov edi, dword [ebp - 0x8b44]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x8b68]
call eax
sub esp, 0xc
jmp 0x414d85
lea edi, [ebx + 0x2c]
jmp 0x4154b8
add edi, 2
movzx eax, word [edi]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_tolower]
mov word [edi], ax
test ax, ax
jne 0x4154b5
jmp 0x414d78
mov edi, dword [ebp - 0x8b14]
mov dword [esp], 0x428370
mov dword [esp + 4], edi
call dbg.WCMD_output
cmp word [ebx + 0x2c], 0
je 0x415780
mov eax, edi
add eax, 2
cmp word [eax], 0
jne 0x4154f4
sub eax, dword [ebp - 0x8b14]
sar eax, 1
add eax, dword [ebp - 0x8b18]
mov edi, dword [ebx + 0x20]
add dword [ebp - 0x8b4c], 1
mov dword [ebp - 0x8b38], edi
mov edi, dword [ebx + 0x1c]
mov ecx, dword [ebp - 0x8b38]
add dword [ebp - 0x8b58], ecx
mov dword [ebp - 0x8b34], edi
mov ebx, dword [ebp - 0x8b34]
adc dword [ebp - 0x8b54], ebx
jmp 0x414eaa
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebp - 0x8b44]
add dword [ebp - 0x8b4c], 1
mov dword [ebp - 0x8b38], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x8b34], eax
mov eax, dword [ebp - 0x8b38]
mov edx, dword [ebp - 0x8b34]
add dword [ebp - 0x8b58], eax
adc dword [ebp - 0x8b54], edx
test ecx, ecx
je 0x415676
mov edi, dword [0x42e080]
mov eax, 0x4282d8
test edi, edi
je 0x415598
mov eax, dword [ebp - 0x8b30]
mov eax, dword [eax + 4]
mov ebx, dword [ebp - 0x8b14]
mov dword [esp + 4], eax
mov dword [esp], str._1_2
mov dword [esp + 8], ebx
call dbg.WCMD_output
jmp 0x414ed4
lea eax, [ebx + 0x14]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FileTimeToLocalFileTime]
sub esp, 8
jmp 0x414db5
mov ebx, dword [ebp - 0x8b5c]
test ebx, ebx
jne 0x4156e4
mov esi, dword [ebp - 0x8b64]
mov ebx, dword [ebp - 0x8b60]
add dword [ebp - 0x8b40], 1
mov eax, dword [ebp - 0x8b40]
lea esi, [esi + ebx*2]
mov dword [ebp - 0x8b28], esi
cmp dword [ebp - 0x8b2c], eax
jle 0x41578b
mov eax, dword [0x42e088]
jmp 0x414d00
mov edi, dword [ebp - 0x8b18]
mov dword [esp + 8], 0x4282d8
mov dword [esp], str._1_s_
sub edi, eax
mov dword [esp + 4], edi
call dbg.WCMD_output
jmp 0x414ed4
mov eax, dword [ebp - 0x8b14]
mov dword [esp + 4], 0x4283e8
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
jne 0x4156f5
mov dword [ebp - 0x8b5c], 0
jmp 0x414ed4
call dbg.WCMD_filesize64
lea ecx, [ebp - 0x8a60]
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], str._1_10s____2_8s______3_10s_
call dbg.WCMD_output
mov eax, dword [0x42e070]
test eax, eax
je 0x415275
add ebx, 0x234
mov dword [esp], str._1__13s_
mov dword [esp + 4], ebx
call dbg.WCMD_output
mov eax, dword [0x42e06c]
test eax, eax
je 0x415282
lea eax, [ebp - 0x8ad0]
mov dword [esp], str._1__23s_
mov dword [esp + 4], eax
call dbg.WCMD_output
jmp 0x415282
mov dword [esp], 0x428306
call sym._WCMD_output_asis
jmp 0x4155e2
mov eax, dword [ebp - 0x8b14]
mov dword [esp + 4], 0x4283ec
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x415667
mov ebx, dword [0x42e080]
mov eax, 0x4282d8
test ebx, ebx
je 0x41572f
mov eax, dword [ebp - 0x8b30]
mov eax, dword [eax + 4]
mov edi, dword [ebp - 0x8b14]
mov dword [esp + 4], eax
mov dword [esp], str._1_2
mov dword [esp + 8], edi
call dbg.WCMD_output
jmp 0x414ed4
cmp ax, 0x22
je 0x415aa7
cmp ax, 0x5c
jne 0x415aba
mov eax, 0x5c5c
add edx, 2
mov ecx, esi
mov word [edx - 2], ax
jmp 0x41503b
mov eax, dword [ebp - 0x8b18]
jmp 0x414ea7
mov eax, dword [ebp - 0x8b18]
jmp 0x41550b
mov eax, dword [0x42e078]
test eax, eax
jne 0x415188
cmp dword [ebp - 0x8b4c], 1
jne 0x415158
mov edx, dword [ebp - 0x8b54]
mov eax, dword [ebp - 0x8b58]
call dbg.WCMD_filesize64
mov dword [esp], str._______1_file__1_25s__bytes_n
mov dword [esp + 4], eax
call dbg.WCMD_output
mov eax, dword [0x42e078]
jmp 0x415188
mov eax, dword [ebp - 0x8b44]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x30]
jmp 0x415496
mov eax, dword [ebp - 0x8b24]
test eax, eax
je 0x415b76
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edi, eax
sub esp, 8
mov eax, 0x4281b4
test edi, edi
jne 0x4158f1
cmp word [ebp - 0x8818], 0
je 0x41582f
add edi, 1
cmp word [ebx + edi*2], 0
jne 0x415825
mov eax, 0x224c
mov dword [ebp - 0x8b20], esi
lea edx, [ebp - 0x8016]
mov ecx, ebx
mov word [ebp - 0x8018], ax
mov dword [ebp - 0x8b28], ebx
lea esi, [edi - 1]
test edi, edi
jle 0x4158b7
lea eax, [ebp - 0x7ef6]
cmp edx, eax
ja 0x4158b7
add ecx, 2
movzx eax, word [ecx - 2]
cmp ax, 0xd
je 0x415991
ja 0x415897
cmp ax, 9
je 0x41597e
cmp ax, 0xa
jne 0x41591e
mov eax, 0x6e5c
add edx, 2
mov edi, esi
mov word [edx - 2], ax
jmp 0x41584f
cmp ax, 0x22
je 0x4159a4
cmp ax, 0x5c
jne 0x41591e
mov ebx, 0x5c5c
add edx, 2
mov edi, esi
mov word [edx - 2], bx
jmp 0x41584f
mov eax, esi
mov ebx, dword [ebp - 0x8b28]
mov esi, dword [ebp - 0x8b20]
mov byte [edx], 0x22
test eax, eax
jle 0x415bce
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x8018]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Recursive__Adding_to_search_list__s_n
mov dword [esp + 8], str.WCMD_list_directory
mov dword [esp + 4], 0x425020
mov dword [esp], 3
call sym._wine_dbg_log.constprop.4
jmp 0x414782
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x415b2d
mov edi, eax
mov byte [edx], 0x5c
add edx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefWCMD_directory]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [edx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefWCMD_directory]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_directory]
and edi, 0xf
mov byte [edx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefWCMD_directory]
mov byte [edx - 1], al
mov edi, esi
mov byte [edx - 2], bl
jmp 0x41584f
mov eax, 0x745c
add edx, 2
mov edi, esi
mov word [edx - 2], ax
jmp 0x41584f
mov eax, 0x725c
add edx, 2
mov edi, esi
mov word [edx - 2], ax
jmp 0x41584f
mov edi, 0x225c
add edx, 2
mov word [edx - 2], di
mov edi, esi
jmp 0x41584f
mov esi, dword [ebp - 0x8b1c]
mov eax, dword [0x42e0a8]
mov dword [esp + 0xc], str._d_entries__maxwidth_d__widest_d_n
mov edi, dword [ebp - 0x8b0c]
mov dword [esp + 8], str.WCMD_list_directory
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 4], 0x425020
mov dword [esp], 3
call sym._wine_dbg_log.constprop.4
movzx ebx, byte [0x425020]
mov ecx, dword [0x42e088]
and ebx, 8
mov eax, ecx
or eax, dword [0x42e07c]
jne 0x415a2f
mov eax, dword [ebp - 0x8b0c]
xor ecx, ecx
mov dword [ebp - 0x8b60], 1
mov dword [ebp - 0x8b2c], eax
jmp 0x4150c7
mov eax, dword [0x42e0a8]
cdq
idiv esi
mov edx, 1
mov esi, edx
test eax, eax
cmovg esi, eax
mov eax, edi
cdq
idiv esi
mov dword [ebp - 0x8b60], esi
mov dword [ebp - 0x8b2c], eax
test edx, edx
jne 0x4150c0
test bl, bl
jne 0x4150d1
jmp 0x415109
mov dword [ebp - 0x8b10], 0
mov dword [ebp - 0x8b3c], 0
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x8b68], eax
jmp 0x414578
xor edx, edx
jmp 0x414856
mov eax, 0x725c
add edx, 2
mov ecx, esi
mov word [edx - 2], ax
jmp 0x41503b
mov eax, 0x225c
add edx, 2
mov ecx, esi
mov word [edx - 2], ax
jmp 0x41503b
lea ecx, [eax - 0x20]
cmp cx, 0x5e
jbe 0x415bd6
mov ecx, eax
mov byte [edx], 0x5c
add edx, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_directory]
mov byte [edx - 4], cl
mov ecx, eax
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_directory]
mov byte [edx - 3], cl
mov ecx, eax
and eax, 0xf
shr cx, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_directory]
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdefWCMD_directory]
mov byte [edx - 1], al
mov byte [edx - 2], cl
mov ecx, esi
jmp 0x41503b
mov eax, 0x745c
add edx, 2
mov ecx, esi
mov word [edx - 2], ax
jmp 0x41503b
mov byte [edx], al
mov edi, esi
add edx, 1
jmp 0x41584f
lea eax, [ebp - 0x8ad0]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0x5c
mov dword [esp + 0xc], edi
mov dword [esp + 8], str._s_c_s
mov dword [esp + 4], 0x18
mov dword [esp], eax
call sym._swprintf.constprop.8
jmp 0x41547b
mov esi, 2
jmp 0x4147d1
movzx eax, bx
mov dword [esp], 0x4281a0
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.6
jmp 0x4158f1
mov byte [edx], 0x22
lea eax, [edx + 1]
test esi, esi
jle 0x415ba8
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
mov dword [ebp - 0x8b0c], eax
call dbg.__wine_dbg_strdup
jmp 0x4151fb
mov ecx, 2
jmp 0x414826
lea eax, [edx + 1]
jmp 0x4158e0
mov byte [edx], al
mov ecx, esi
add edx, 1
jmp 0x41503b
mov dword [esp + 4], 1
mov dword [esp], str._1_8d__directory
call dbg.WCMD_output
jmp 0x414578
mov eax, dword [ebp - 0x8b30]
mov dword [ebp - 0x8b10], eax
jmp 0x414662
mov esi, dword [0x42e080]
or dword [ebp - 0x8b48], esi
jne 0x415a7d
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x8b68], eax
jmp 0x4151cd