Function at 0x10011ec0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x778
mov ebx, dword [ebp + 8]
test byte [0x1001408c], 8
jne 0x100121b0
test ebx, ebx
je 0x10012255
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10012255
xor eax, eax
lea esi, [ebp - 0x66c]
lea esi, [esi]
nop
movzx edx, word [ebx + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x10011f00
cmp word [ebp - 0x66c], 0
je 0x10011f5a
mov eax, esi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x10011f20
sub eax, esi
sar eax, 1
lea edx, [eax - 1]
cmp edx, 0x101
ja 0x10011f5a
cmp word [ebp + edx*2 - 0x66c], 0x5c
je 0x10011f5a
mov edx, 0x5c
xor ecx, ecx
mov word [ebp + eax*2 - 0x66c], dx
mov word [ebp + eax*2 - 0x66a], cx
xor eax, eax
lea ebx, [ebp - 0x464]
lea esi, [esi]
movzx edx, word [esi + eax]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x10011f68
cmp word [ebp - 0x464], 0
mov edx, ebx
je 0x10011f91
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x10011f88
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + 0x1002abd4]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10011f98
test byte [0x1001408c], 8
jne 0x100121f8
lea eax, [ebp - 0x25c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
sub esp, 8
mov edi, eax
cmp eax, 0xffffffff
jne 0x1001201e
jmp 0x1001210c
movzx eax, word [ebp - 0x22e]
cmp ax, 0x2e
je 0x10012120
test ax, ax
jne 0x10012031
lea esi, [esi]
lea esi, [esi]
lea eax, [ebp - 0x25c]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x10012100
test byte [ebp - 0x25c], 0x10
je 0x10012000
cmp word [ebp - 0x230], 0x2e
je 0x10011fe0
lea eax, [ebp - 0x230]
mov dword [esp + 8], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], str._s_s_s.msstyles
mov dword [esp], ebx
call dword [sym.imp.user32.dll_wsprintfW]
lea eax, [ebp - 0x75c]
mov dword [esp + 0xc], 0x3c
mov dword [esp + 8], eax
mov dword [esp + 4], str.displayname
mov dword [esp], ebx
call sym.uxtheme.dll_GetThemeDocumentationProperty
sub esp, 0x10
test eax, eax
js 0x10012000
lea edx, [ebp - 0x6e4]
mov dword [esp + 0xc], 0x3c
mov dword [esp + 8], edx
mov dword [esp + 4], str.tooltip
mov dword [esp], ebx
call sym.uxtheme.dll_GetThemeDocumentationProperty
sub esp, 0x10
test eax, eax
js 0x10012000
test byte [0x1001408c], 8
lea edx, [ebp - 0x6e4]
jne 0x10012138
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x75c]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [ebp + 0xc]
sub esp, 0x18
test eax, eax
jne 0x10012000
test byte [0x1001408c], 8
jne 0x1001222c
lea esi, [esi]
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
cmp word [ebp - 0x22c], 0
jne 0x10012031
jmp 0x10012000
mov eax, edx
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [ebp - 0x760], eax
lea eax, [ebp - 0x75c]
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [ebp - 0x764], eax
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp - 0x760]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp - 0x764]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], str.callback__s__s__s__p__n
mov dword [esp + 8], str.EnumThemes
mov dword [esp + 4], 0x1001408c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
lea edx, [ebp - 0x6e4]
jmp 0x100120b9
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], str.__s__p__p__n
mov dword [esp + 8], str.EnumThemes
mov dword [esp + 4], 0x1001408c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x10011edc
mov eax, ebx
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], 0x1001408c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x10011fb8
mov dword [esp + 0xc], str.callback_ended_enum_n
mov dword [esp + 8], str.EnumThemes
mov dword [esp + 4], 0x1001408c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x10012100
mov eax, 0x80004003
jmp 0x1001210e