Function at 0x100078e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x77c
mov ebx, dword [ebp + 8]
test byte [0x100150dc], 8
jne 0x10007c20
test ebx, ebx
je 0x10007cb4
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10007cb4
xor eax, eax
lea edi, [ebp - 0x66c]
lea esi, cs:[esi]
nop
movzx edx, word [ebx + eax]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x10007920
movzx edx, word [ebp - 0x66c]
test dx, dx
je 0x10007ca0
mov eax, edi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x10007948
sub eax, edi
sar eax, 1
lea ecx, [eax - 1]
cmp ecx, 0x101
ja 0x10007989
cmp word [ebp + ecx*2 - 0x66c], 0x5c
je 0x10007989
xor ecx, ecx
mov edx, 0x5c
mov word [ebp + eax*2 - 0x66a], cx
mov word [ebp + eax*2 - 0x66c], dx
movzx edx, word [ebp - 0x66c]
xor eax, eax
lea esi, [ebp - 0x464]
jmp 0x1000799c
movzx edx, word [edi + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x10007998
cmp word [ebp - 0x464], 0
mov edx, esi
je 0x100079c1
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x100079b8
xor eax, eax
mov ecx, 0x2a
jmp 0x100079d7
movzx ecx, word [eax + 0x10017df4]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x100079d0
test byte [0x100150dc], 8
jne 0x10007c68
lea eax, [ebp - 0x25c]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x760], eax
sub esp, 8
xor eax, eax
cmp ebx, 0xffffffff
jne 0x10007a64
jmp 0x10007b7c
movzx eax, word [ebp - 0x22e]
cmp ax, 0x2e
je 0x10007b90
test ax, ax
jne 0x10007a77
lea esi, cs:[esi]
nop
lea eax, [ebp - 0x25c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x760]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x10007b68
test byte [ebp - 0x25c], 0x10
je 0x10007a40
cmp word [ebp - 0x230], 0x2e
je 0x10007a20
lea eax, [ebp - 0x230]
lea ebx, [ebp - 0x75c]
mov dword [esp + 8], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], str._s_s_s.msstyles
mov dword [esp], esi
call dword [sym.imp.user32.dll_wsprintfW]
mov dword [esp + 0xc], 0x3c
mov dword [esp + 8], ebx
mov dword [esp + 4], str.displayname
mov dword [esp], esi
call sym.uxtheme.dll_GetThemeDocumentationProperty
sub esp, 0x10
test eax, eax
js 0x10007a40
lea edx, [ebp - 0x6e4]
mov dword [esp + 0xc], 0x3c
mov dword [esp + 8], edx
mov dword [esp + 4], str.tooltip
mov dword [esp], esi
call sym.uxtheme.dll_GetThemeDocumentationProperty
sub esp, 0x10
test eax, eax
js 0x10007a40
test byte [0x100150dc], 8
lea edx, [ebp - 0x6e4]
jne 0x10007ba8
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], 0
call dword [ebp + 0xc]
sub esp, 0x18
test eax, eax
jne 0x10007a40
test byte [0x100150dc], 8
je 0x10007b68
mov dword [esp + 0xc], str.callback_ended_enum_n
mov dword [esp + 8], str.EnumThemes
mov dword [esp + 4], 0x100150dc
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
lea esi, [esi]
mov eax, dword [ebp - 0x760]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
xor eax, eax
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
cmp word [ebp - 0x22c], 0
jne 0x10007a77
jmp 0x10007a40
mov eax, edx
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [ebp - 0x768], eax
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [ebp - 0x764], eax
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0xc], str.callback__s__s__s__p__n
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp - 0x768]
mov dword [esp + 8], str.EnumThemes
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp - 0x764]
mov dword [esp + 4], 0x100150dc
mov dword [esp + 0x14], ecx
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
lea edx, [ebp - 0x6e4]
jmp 0x10007b07
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov edi, dword [ebp + 0x10]
mov dword [esp + 0xc], str.__s__p__p__n
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 8], str.EnumThemes
mov dword [esp + 0x14], edi
mov dword [esp + 4], 0x100150dc
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x100078fc
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], str.searching__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.EnumThemes
mov dword [esp + 4], 0x100150dc
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x100079f0
xor eax, eax
lea esi, [ebp - 0x464]
mov word [ebp - 0x464], ax
jmp 0x100079a8
mov eax, 0x80004003
jmp 0x10007b7c