Function at 0x70d87e0a
Capabilities:
Enumerate files on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x798
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
mov dword [ebp - 0x770], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x774], eax
test byte [0x70d950dc], 8
jne 0x70d88168
test ebx, ebx
je 0x70d881fc
mov esi, dword [ebp - 0x770]
test esi, esi
je 0x70d881fc
xor eax, eax
lea edi, [ebp - 0x678]
lea esi, [esi]
lea esi, [esi]
movzx edx, word [ebx + eax]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x70d87e60
movzx edx, word [ebp - 0x678]
test dx, dx
je 0x70d881e8
mov eax, edi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x70d87e88
sub eax, edi
sar eax, 1
lea ecx, [eax - 1]
cmp ecx, 0x101
ja 0x70d87ec9
cmp word [ebp + ecx*2 - 0x678], 0x5c
je 0x70d87ec9
xor ecx, ecx
mov edx, 0x5c
mov word [ebp + eax*2 - 0x676], cx
mov word [ebp + eax*2 - 0x678], dx
movzx edx, word [ebp - 0x678]
xor eax, eax
lea esi, [ebp - 0x470]
jmp 0x70d87edc
movzx edx, word [edi + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x70d87ed8
cmp word [ebp - 0x470], 0
mov edx, esi
je 0x70d87f01
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x70d87ef8
xor eax, eax
mov ecx, 0x2a
jmp 0x70d87f17
movzx ecx, word [eax + 0x70d97dec]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x70d87f10
test byte [0x70d950dc], 8
jne 0x70d881b0
lea eax, [ebp - 0x268]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x76c], eax
sub esp, 8
xor eax, eax
cmp ebx, 0xffffffff
jne 0x70d87fa4
jmp 0x70d880c4
movzx eax, word [ebp - 0x23a]
cmp ax, 0x2e
je 0x70d880d8
test ax, ax
jne 0x70d87fb7
lea esi, [esi]
lea esi, [esi]
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x76c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x70d880b0
test byte [ebp - 0x268], 0x10
je 0x70d87f80
cmp word [ebp - 0x23c], 0x2e
je 0x70d87f60
lea eax, [ebp - 0x23c]
lea ebx, [ebp - 0x768]
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 0x70d87f80
lea edx, [ebp - 0x6f0]
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 0x70d87f80
test byte [0x70d950dc], 8
lea edx, [ebp - 0x6f0]
jne 0x70d880f0
mov eax, dword [ebp - 0x774]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x770]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], 0
call eax
sub esp, 0x18
test eax, eax
jne 0x70d87f80
test byte [0x70d950dc], 8
je 0x70d880b0
mov dword [esp + 0xc], str.callback_ended_enum_n
mov dword [esp + 8], str.EnumThemes
mov dword [esp + 4], 0x70d950dc
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
lea esi, [esi]
mov eax, dword [ebp - 0x76c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
xor eax, eax
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
cmp word [ebp - 0x238], 0
jne 0x70d87fb7
jmp 0x70d87f80
mov eax, edx
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [ebp - 0x77c], eax
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [ebp - 0x778], eax
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov ecx, dword [ebp - 0x774]
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 - 0x77c]
mov dword [esp + 8], str.EnumThemes
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp - 0x778]
mov dword [esp + 4], 0x70d950dc
mov dword [esp + 0x14], ecx
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
lea edx, [ebp - 0x6f0]
jmp 0x70d88047
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov edi, dword [ebp - 0x774]
mov dword [esp + 0xc], str.__s__p__p__n
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edi
mov edi, dword [ebp - 0x770]
mov dword [esp + 8], str.EnumThemes
mov dword [esp + 0x14], edi
mov dword [esp + 4], 0x70d950dc
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x70d87e38
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], 0x70d950dc
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x70d87f30
xor eax, eax
lea esi, [ebp - 0x470]
mov word [ebp - 0x470], ax
jmp 0x70d87ee8
mov eax, 0x80004003
jmp 0x70d880c4