Function at 0x100071e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5d0
mov edi, dword [ebp + 8]
test byte [0x100110c0], 8
jne 0x10007718
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
mov eax, dword [ebp + 0xc]
and eax, 0xfffffffe
mov dword [ebp - 0x594], eax
jne 0x100079e7
mov eax, dword [ebp + 0x14]
test eax, eax
mov eax, 0xffffffff
cmovne eax, dword [ebp + 0x14]
xor edx, edx
mov dword [ebp + 0x14], eax
mov eax, edi
call sym._get_full_name
test eax, eax
je 0x10007965
cmp word [eax], 0
je 0x10007267
mov edx, eax
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x10007250
sub edx, eax
cmp edx, 0x204
jg 0x100079f1
xor edx, edx
lea ebx, [ebp - 0x464]
nop
movzx ecx, word [eax + edx]
mov word [ebx + edx], cx
add edx, 2
test cx, cx
jne 0x10007270
cmp word [ebp - 0x464], 0
mov ecx, ebx
je 0x10007299
lea esi, [esi]
add ecx, 2
cmp word [ecx], 0
jne 0x10007290
xor edx, edx
nop
lea esi, [esi]
movzx esi, word [edx + 0x10013c90]
mov word [ecx + edx], si
add edx, 2
test si, si
jne 0x100072a0
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x5b0], eax
call eax
mov dword [esp], 0x100
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x5a0], eax
test eax, eax
je 0x10007965
lea edi, [ebp - 0x25c]
mov dword [esp], ebx
mov dword [esp + 4], edi
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 0x5a8], eax
sub esp, 8
cmp eax, 0xffffffff
je 0x10007872
lea eax, [ebp - 0x230]
mov esi, dword [ebp - 0x5a8]
xor ebx, ebx
mov dword [ebp - 0x5a4], 0x40
shr eax, 0x10
mov dword [ebp - 0x5ac], eax
jmp 0x10007399
test byte [0x100110c0], 8
jne 0x10007432
mov ebx, dword [ebp - 0x5a0]
mov eax, dword [ebp - 0x594]
lea ecx, [ebp - 0x230]
mov dword [esp], ecx
lea ebx, [ebx + eax*4]
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [ebx], eax
test eax, eax
je 0x10007942
add dword [ebp - 0x594], 1
mov eax, dword [ebp - 0x594]
cmp dword [ebp + 0x14], eax
jbe 0x10007974
mov ebx, dword [ebp - 0x598]
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x10007640
test byte [ebp - 0x25c], 0x10
je 0x10007381
cmp word [ebp - 0x230], 0x2e
jne 0x100073d0
movzx eax, word [ebp - 0x22e]
test ax, ax
je 0x10007381
cmp ax, 0x2e
jne 0x100073d0
cmp word [ebp - 0x22c], 0
je 0x10007381
nop
lea esi, [esi]
lea eax, [ebx + 1]
mov dword [ebp - 0x598], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], ebx
ja 0x1000737b
mov ebx, dword [ebp - 0x594]
cmp dword [ebp - 0x5a4], ebx
ja 0x10007330
mov eax, dword [ebp - 0x5a4]
lea ebx, [eax + eax]
shl eax, 3
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x5a0]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x10007942
mov dword [ebp - 0x5a0], eax
mov dword [ebp - 0x5a4], ebx
test byte [0x100110c0], 8
je 0x1000733d
mov eax, dword [ebp - 0x5ac]
test eax, eax
je 0x10007680
lea eax, [ebp - 0x230]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x10013887
sub esp, 8
test eax, eax
jne 0x10007564
cmp word [ebp - 0x230], 0
je 0x100076f3
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [edi + edx*2 + 0x2e], 0
jne 0x10007478
mov eax, 0x224c
lea ebx, [ebp - 0x230]
mov dword [ebp - 0x5b4], esi
lea ecx, [ebp - 0x58e]
mov word [ebp - 0x590], ax
mov dword [ebp - 0x59c], ebx
jmp 0x100074e3
cmp ax, 9
je 0x10007628
cmp ax, 0xa
jne 0x100075b6
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea esi, [ebp - 0x46e]
lea eax, [edx - 1]
cmp ecx, esi
ja 0x10007530
test edx, edx
jle 0x10007530
mov edx, eax
add dword [ebp - 0x59c], 2
mov eax, dword [ebp - 0x59c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x10007598
jbe 0x100074b0
cmp ax, 0x22
je 0x10007610
cmp ax, 0x5c
jne 0x100075a9
mov ebx, 0x5c5c
lea esi, [ebp - 0x46e]
lea eax, [edx - 1]
add ecx, 2
mov word [ecx - 2], bx
cmp ecx, esi
jbe 0x100074dd
lea esi, [esi]
mov byte [ecx], 0x22
mov esi, dword [ebp - 0x5b4]
test eax, eax
jle 0x1000770c
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x590]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.adding__s_n
mov dword [esp + 8], str.SchRpcEnumFolders
mov dword [esp + 4], 0x100110c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000733d
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100074d0
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x100076b0
mov esi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr si, 0xc
movzx esi, si
movzx ebx, byte [esi + str.0123456789abcdefSchRpcRegisterTask]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [esi + str.0123456789abcdefSchRpcRegisterTask]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdefSchRpcRegisterTask]
and esi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [esi + str.0123456789abcdefSchRpcRegisterTask]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x100074d0
mov esi, 0x225c
add ecx, 2
mov word [ecx - 2], si
jmp 0x100074d0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100074d0
mov esi, eax
mov eax, dword [ebp - 0x5a8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp - 0x594]
sub esp, 4
mov dword [edi], eax
test eax, eax
je 0x100076c0
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp - 0x5a0]
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x230]
mov dword [esp], 0x10013891
mov dword [ebp - 0x59c], eax
movzx eax, word [ebp - 0x59c]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov edx, eax
jmp 0x10007564
mov byte [ecx], al
add ecx, 1
jmp 0x100074d0
mov eax, dword [ebp - 0x5a0]
mov dword [esp], eax
mov eax, dword [ebp - 0x5b0]
call eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
test eax, eax
setne al
lea esp, [ebp - 0xc]
movzx eax, al
pop ebx
mov esi, eax
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov ebx, 0x224c
mov byte [ebp - 0x58e], 0x22
lea ecx, [ebp - 0x58e]
mov word [ebp - 0x590], bx
lea eax, [ecx + 1]
jmp 0x10007551
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x598], eax
test edi, edi
je 0x100079bf
mov eax, edi
shr eax, 0x10
je 0x1000780a
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x10013887
sub esp, 8
test eax, eax
jne 0x1000781f
cmp word [edi], 0
je 0x100079c9
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [edi + edx*2 + 2], 0
jne 0x10007768
mov ecx, 0x224c
mov dword [ebp - 0x594], edi
mov word [ebp - 0x25c], cx
lea ecx, [ebp - 0x25a]
jmp 0x100077cb
cmp ax, 9
je 0x100078b0
cmp ax, 0xa
jne 0x100078ce
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea esi, [ebp - 0x13a]
lea eax, [edx - 1]
cmp ecx, esi
ja 0x10007986
test edx, edx
jle 0x10007986
mov edx, eax
add dword [ebp - 0x594], 2
mov eax, dword [ebp - 0x594]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x10007931
jbe 0x10007790
cmp ax, 0x22
je 0x10007920
cmp ax, 0x5c
jne 0x100078c1
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x100077b0
movzx eax, di
mov dword [esp], 0x10013891
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov edx, eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str._s__lx__lu__lu__p__p_n
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 8], str.SchRpcEnumFolders
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], 0x100110c0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x598]
mov dword [esp], 3
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
call sym._wine_dbg_log.constprop.0_1
jmp 0x100071fc
mov eax, dword [ebp - 0x5a0]
mov dword [esp], eax
mov eax, dword [ebp - 0x5b0]
call eax
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 3
je 0x10007a04
mov esi, dword [eax + 0x34]
movzx eax, si
or eax, 0x80070000
test esi, esi
cmovg esi, eax
lea esp, [ebp - 0xc]
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100077b0
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x100079b5
mov esi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr si, 0xc
movzx esi, si
movzx ebx, byte [esi + str.0123456789abcdefSchRpcRegisterTask]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [esi + str.0123456789abcdefSchRpcRegisterTask]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdefSchRpcRegisterTask]
and esi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [esi + str.0123456789abcdefSchRpcRegisterTask]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x100077b0
mov esi, 0x225c
add ecx, 2
mov word [ecx - 2], si
jmp 0x100077b0
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100077b0
mov eax, dword [ebp - 0x5a8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
mov edx, dword [ebp - 0x594]
mov eax, dword [ebp - 0x5a0]
sub esp, 4
call sym._free_list
lea esp, [ebp - 0xc]
mov esi, 0x8007000e
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov esi, dword [ebp - 0x598]
mov ebx, esi
mov esi, 1
jmp 0x10007642
mov byte [ecx], 0x22
test eax, eax
jle 0x100079e2
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x25c]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
jmp 0x1000781f
mov byte [ecx], al
add ecx, 1
jmp 0x100077b0
mov edx, str._null_
jmp 0x1000781f
mov eax, 0x224c
mov byte [ebp - 0x25a], 0x22
lea ecx, [ebp - 0x25a]
mov word [ebp - 0x25c], ax
lea eax, [ecx + 1]
jmp 0x1000799d
mov esi, 0x80070057
jmp 0x10007673
mov dword [esp], eax
mov esi, 0x800700ce
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x10007673
mov esi, 0x80070002
jmp 0x10007673