Function at 0x10007a10
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c8
test byte [0x100110c0], 8
jne 0x10007f08
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0xc]
mov dword [eax], 0
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
and edi, 0xfffffffe
jne 0x100081e0
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, dword [ebp + 8]
call sym._get_full_name
test eax, eax
je 0x10008170
cmp word [eax], 0
je 0x10007a8f
mov edx, eax
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x10007a78
sub edx, eax
cmp edx, 0x204
jg 0x100081ea
xor edx, edx
lea ebx, [ebp - 0x464]
mov esi, esi
lea edi, [edi]
movzx ecx, word [eax + edx]
mov word [ebx + edx], cx
add edx, 2
test cx, cx
jne 0x10007aa0
cmp word [ebp - 0x464], 0
mov ecx, ebx
je 0x10007ac9
lea esi, [esi]
add ecx, 2
cmp word [ecx], 0
jne 0x10007ac0
xor edx, edx
nop
lea esi, [esi]
movzx esi, word [edx + 0x10013c78]
mov word [ecx + edx], si
add edx, 2
test si, si
jne 0x10007ad0
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x5ac], eax
call eax
mov dword [esp], 0x100
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x5a0], eax
test eax, eax
je 0x10008170
lea eax, [ebp - 0x25c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 0x59c], eax
sub esp, 8
cmp eax, 0xffffffff
je 0x1000807d
lea eax, [ebp - 0x230]
xor esi, esi
mov dword [ebp - 0x5a4], 0x40
shr eax, 0x10
mov dword [ebp - 0x5a8], eax
jmp 0x10007bc1
cmp dword [ebp - 0x5a4], edi
jbe 0x10007d50
test byte [0x100110c0], 8
jne 0x10007bf0
mov eax, dword [ebp - 0x5a0]
lea ebx, [eax + edi*4]
lea eax, [ebp - 0x230]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [ebx], eax
test eax, eax
je 0x10008151
mov esi, dword [ebp - 0x594]
add edi, 1
cmp dword [ebp + 0x14], edi
jbe 0x1000800a
lea eax, [ebp - 0x25c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x59c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x10007e78
test byte [ebp - 0x25c], 0x10
jne 0x10007b9d
lea eax, [esi + 1]
mov dword [ebp - 0x594], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], esi
jbe 0x10007b50
mov esi, dword [ebp - 0x594]
jmp 0x10007b9d
mov eax, dword [ebp - 0x5a8]
test eax, eax
je 0x10007e38
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 0x10007d1e
cmp word [ebp - 0x230], 0
je 0x10007ee0
nop
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebp + edx*2 - 0x22e], 0
jne 0x10007c38
mov ebx, 0x224c
lea ecx, [ebp - 0x58e]
mov word [ebp - 0x590], bx
lea ebx, [ebp - 0x230]
mov dword [ebp - 0x598], ebx
jmp 0x10007ca3
cmp ax, 9
je 0x10007e20
cmp ax, 0xa
jne 0x10007d95
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea ebx, [ebp - 0x46e]
lea eax, [edx - 1]
cmp ecx, ebx
ja 0x10007cf0
test edx, edx
jle 0x10007cf0
mov edx, eax
add dword [ebp - 0x598], 2
mov eax, dword [ebp - 0x598]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x10007e08
jbe 0x10007c70
cmp ax, 0x22
je 0x10007df0
cmp ax, 0x5c
jne 0x10007d88
mov ebx, 0x5c5c
add ecx, 2
lea eax, [edx - 1]
mov word [ecx - 2], bx
lea ebx, [ebp - 0x46e]
cmp ecx, ebx
jbe 0x10007c9d
lea esi, [esi]
mov byte [ecx], 0x22
test eax, eax
jle 0x10007ef9
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.SchRpcEnumTasks
mov dword [esp + 4], 0x100110c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10007b69
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 0x10008151
mov dword [ebp - 0x5a0], eax
mov dword [ebp - 0x5a4], ebx
jmp 0x10007b5c
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x10007e68
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 0x10007c90
mov esi, 0x225c
add ecx, 2
mov word [ecx - 2], si
jmp 0x10007c90
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10007c90
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10007c90
lea eax, [ebp - 0x230]
mov dword [esp], 0x10013891
mov dword [ebp - 0x598], eax
movzx eax, word [ebp - 0x598]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov edx, eax
jmp 0x10007d1e
mov byte [ecx], al
add ecx, 1
jmp 0x10007c90
mov ebx, eax
mov eax, dword [ebp - 0x59c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [ebp + 0x18]
sub esp, 4
mov dword [eax], edi
test edi, edi
je 0x10007eb0
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp - 0x5a0]
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x5a0]
xor ebx, ebx
mov dword [esp], eax
mov eax, dword [ebp - 0x5ac]
call eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
test edi, edi
setne bl
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, 0x224c
mov byte [ebp - 0x58e], 0x22
lea ecx, [ebp - 0x58e]
mov word [ebp - 0x590], si
lea eax, [ecx + 1]
jmp 0x10007d0b
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x598], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x100081b8
mov eax, dword [ebp + 8]
shr eax, 0x10
je 0x10008014
mov eax, dword [ebp + 8]
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 0x1000802a
mov edi, dword [ebp + 8]
cmp word [edi], 0
je 0x100081c2
mov ecx, edi
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x10007f60
mov ebx, dword [ebp + 8]
mov ecx, 0x224c
mov word [ebp - 0x25c], cx
lea ecx, [ebp - 0x25a]
mov dword [ebp - 0x594], ebx
jmp 0x10007fcb
cmp ax, 9
je 0x100080d0
cmp ax, 0xa
jne 0x100080ee
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea edi, [ebp - 0x13a]
lea eax, [edx - 1]
cmp ecx, edi
ja 0x1000817f
test edx, edx
jle 0x1000817f
mov edx, eax
add dword [ebp - 0x594], 2
mov eax, dword [ebp - 0x594]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x100080b8
jbe 0x10007f90
cmp ax, 0x22
je 0x10008140
cmp ax, 0x5c
jne 0x100080e1
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x10007fb0
mov ebx, 1
jmp 0x10007e7a
movzx eax, word [ebp + 8]
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.SchRpcEnumTasks
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 0x10007a29
mov eax, dword [ebp - 0x5a0]
mov dword [esp], eax
mov eax, dword [ebp - 0x5ac]
call eax
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 3
je 0x100081fd
mov ebx, dword [eax + 0x34]
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovg ebx, eax
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10007fb0
mov edi, 0x745c
add ecx, 2
mov word [ecx - 2], di
jmp 0x10007fb0
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x100081ae
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 0x10007fb0
mov esi, 0x225c
add ecx, 2
mov word [ecx - 2], si
jmp 0x10007fb0
mov eax, dword [ebp - 0x59c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [ebp - 0x5a0]
mov edx, edi
sub esp, 4
call sym._free_list
lea esp, [ebp - 0xc]
mov ebx, 0x8007000e
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov byte [ecx], 0x22
test eax, eax
jle 0x100081db
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 0x1000802a
mov byte [ecx], al
add ecx, 1
jmp 0x10007fb0
mov edx, str._null_
jmp 0x1000802a
mov eax, 0x224c
mov byte [ebp - 0x25a], 0x22
lea ecx, [ebp - 0x25a]
mov word [ebp - 0x25c], ax
lea eax, [ecx + 1]
jmp 0x10008196
mov ebx, 0x80070057
jmp 0x10007ea5
mov dword [esp], eax
mov ebx, 0x800700ce
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x10007ea5
mov ebx, 0x80070002
jmp 0x10007ea5