Function at 0x10007f00
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, 0x6d63
push esi
push ebx
sub esp, 0x5b4
mov word [ebp - 0x55b], di
mov esi, dword [ebp + 8]
mov dword [ebp - 0x55f], 0x692e2a5c
mov ebx, dword [ebp + 0xc]
mov byte [ebp - 0x559], 0
mov dword [ebp - 0x564], 0x104
test byte [0x100407a0], 8
jne 0x10007fe8
mov ecx, dword [ebp + 0x14]
test ebx, ebx
sete dl
test ecx, ecx
sete al
or dl, al
jne 0x10007f60
test esi, esi
jne 0x10007f60
cmp dword [ebx], 0x58
je 0x10007f70
xor edx, edx
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
cmp dword [ebx + 4], 0x300
jne 0x10007f60
lea eax, [ebp - 0x564]
lea esi, [ebp - 0x480]
mov dword [esp], 0
mov dword [esp + 8], eax
mov dword [esp + 4], esi
call sym.mscms.dll_GetColorDirectoryA
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x10007fb2
mov eax, dword [ebp - 0x564]
add eax, 7
cmp eax, 0x104
jbe 0x10008030
test byte [0x100407a0], 4
je 0x10007f60
mov dword [esp + 0xc], str.cant_retrieve_color_directory_n
mov dword [esp + 8], str.EnumColorProfilesA
mov dword [esp + 4], 0x100407a0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_2
jmp 0x10007f60
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], str.___p___p___p___p___p___n
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], str.EnumColorProfilesA
mov dword [esp + 0x18], eax
mov dword [esp + 4], 0x100407a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x10007f46
mov eax, dword [sym.imp.ucrtbase.dll_strcpy]
mov dword [esp + 4], esi
lea esi, [ebp - 0x37c]
mov dword [ebp - 0x568], edx
mov dword [esp], esi
mov dword [ebp - 0x590], eax
call eax
lea eax, [ebp - 0x55f]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_strcat]
lea eax, [ebp - 0x14c]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [ebp - 0x570], eax
sub esp, 8
cmp eax, 0xffffffff
je 0x10007f60
mov dword [esp + 4], 5
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_calloc]
mov edx, dword [ebp - 0x568]
test eax, eax
mov dword [ebp - 0x580], eax
je 0x1000881a
mov eax, dword [ebx + 0xc]
mov ecx, 0x16
lea edi, [ebp - 0x558]
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x598], eax
test eax, eax
je 0x1000870b
mov eax, dword [ebp - 0x598]
mov edi, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [ebp - 0x574], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x568], edi
call edi
mov ecx, dword [sym.imp.ucrtbase.dll_malloc]
sub esp, 0x18
mov esi, eax
add eax, eax
mov dword [esp], eax
mov dword [ebp - 0x56c], ecx
call ecx
mov edx, dword [ebp - 0x574]
test eax, eax
mov ebx, eax
je 0x10008810
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x598]
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
mov dword [ebp - 0x54c], ebx
mov edx, dword [ebp - 0x574]
mov dword [ebp - 0x598], ebx
sub esp, 0x18
lea esi, [ebp - 0x120]
mov dword [ebp - 0x574], edx
mov eax, dword [ebp - 0x568]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
mov ecx, dword [ebp - 0x56c]
sub esp, 0x18
mov edi, eax
add eax, eax
mov dword [esp], eax
call ecx
mov edx, dword [ebp - 0x574]
test eax, eax
mov ebx, eax
je 0x10008824
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x568]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
lea edx, [ebp - 0x500]
mov eax, ebx
sub esp, 0x18
call sym._header_from_file
mov dword [ebp - 0x578], eax
test eax, eax
je 0x1000823d
lea edx, [ebp - 0x500]
lea eax, [ebp - 0x558]
call sym._match_profile
test eax, eax
jne 0x10008752
mov dword [ebp - 0x594], 0
mov dword [ebp - 0x584], 0
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], ebx
mov dword [ebp - 0x574], eax
call eax
mov eax, esi
shr eax, 0x10
mov dword [ebp - 0x59c], eax
jmp 0x100082ae
mov eax, dword [ebp - 0x580]
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x590]
call eax
mov eax, dword [ebp - 0x588]
add dword [ebp - 0x594], ebx
mov dword [ebp - 0x584], eax
mov eax, dword [ebp - 0x57c]
mov dword [ebp - 0x580], eax
mov dword [esp], edi
mov eax, dword [ebp - 0x574]
call eax
lea eax, [ebp - 0x14c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x570]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindNextFileA]
sub esp, 8
test eax, eax
je 0x100085e1
mov dword [esp + 0x14], 0
mov eax, dword [ebp - 0x568]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
mov ecx, dword [ebp - 0x56c]
sub esp, 0x18
mov ebx, eax
add eax, eax
mov dword [esp], eax
call ecx
mov edi, eax
test eax, eax
je 0x100087e5
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x568]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
lea edx, [ebp - 0x500]
mov eax, edi
sub esp, 0x18
call sym._header_from_file
mov dword [ebp - 0x578], eax
test eax, eax
je 0x100082a3
lea edx, [ebp - 0x500]
lea eax, [ebp - 0x558]
call sym._match_profile
test eax, eax
je 0x100082a3
mov eax, dword [ebp - 0x584]
inc eax
lea edx, [eax*4]
mov dword [ebp - 0x588], eax
mov eax, dword [ebp - 0x580]
mov dword [ebp - 0x58c], edx
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
mov dword [ebp - 0x57c], eax
test eax, eax
je 0x10008862
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
lea ebx, [eax + 1]
mov eax, dword [ebp - 0x56c]
mov dword [ebp - 0x564], ebx
mov dword [esp], ebx
call eax
mov ecx, dword [ebp - 0x57c]
mov edx, dword [ebp - 0x58c]
mov dword [ebp - 0x580], eax
mov dword [ecx + edx - 4], eax
test eax, eax
je 0x10008848
test byte [0x100407a0], 8
je 0x10008270
mov edx, dword [ebp - 0x59c]
test edx, edx
je 0x100085c1
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrA]
mov ecx, eax
sub esp, 8
mov eax, 0x100420eb
test ecx, ecx
jne 0x10008511
movzx eax, byte [ebp - 0x120]
test al, al
je 0x10008726
lea esi, [esi]
lea esi, [esi]
mov edx, ecx
lea ecx, [ecx + 1]
cmp byte [esi + ecx], 0
jne 0x10008450
mov byte [ebp - 0x278], 0x22
test ecx, ecx
jle 0x1000883b
mov dword [ebp - 0x584], edi
lea ecx, [ebp - 0x277]
mov edi, esi
jmp 0x100084b6
cmp al, 9
je 0x10008560
cmp al, 0xa
jne 0x10008579
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea esi, [esi]
lea eax, [ebp - 0x155]
lea ebx, [edx - 1]
cmp ecx, eax
ja 0x100084df
test edx, edx
jle 0x100084df
movzx eax, byte [edi]
mov edx, ebx
inc edi
cmp al, 0xd
je 0x10008548
jle 0x10008480
cmp al, 0x22
je 0x100085b0
cmp al, 0x5c
jne 0x10008571
mov eax, 0x5c5c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100084a0
mov edi, dword [ebp - 0x584]
mov byte [ecx], 0x22
test ebx, ebx
jle 0x10008738
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x278]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.matching_profile:__s_n
mov dword [esp + 8], str.EnumColorProfilesA
mov dword [esp + 4], 0x100407a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov ebx, dword [ebp - 0x564]
jmp 0x10008270
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100084a0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100084a0
lea ebx, [eax - 0x20]
cmp bl, 0x5e
jbe 0x100085d9
mov ebx, 0x785c
add ecx, 4
mov word [ecx - 4], bx
mov ebx, eax
and eax, 0xf
shr bl, 4
movzx eax, byte [eax + 0x10048e3c]
movzx ebx, bl
movzx ebx, byte [ebx + 0x10048e3c]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x100084a0
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100084a0
movzx eax, si
mov dword [esp], 0x100420f5
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
jmp 0x10008511
mov byte [ecx], al
inc ecx
jmp 0x100084a0
mov edi, dword [ebp - 0x594]
mov ebx, dword [ebp + 0x10]
mov edx, eax
inc edi
test ebx, ebx
je 0x10008740
mov eax, dword [ebp + 0x14]
cmp dword [eax], edi
jb 0x10008740
mov eax, dword [ebp - 0x584]
test eax, eax
je 0x10008662
mov ecx, dword [ebp - 0x580]
mov esi, dword [ebp - 0x590]
mov dword [ebp - 0x56c], edi
lea eax, [ecx + eax*4]
mov edi, ecx
mov dword [ebp - 0x568], eax
lea esi, [esi]
nop
mov ebx, dword [edi]
mov eax, dword [ebp + 0x10]
add edi, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call esi
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strlen]
mov ecx, dword [ebp + 0x10]
lea eax, [ecx + eax + 1]
mov dword [ebp + 0x10], eax
cmp dword [ebp - 0x568], edi
jne 0x10008630
mov edi, dword [ebp - 0x56c]
mov eax, dword [ebp + 0x10]
mov edx, 1
mov byte [eax], 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov dword [eax], edi
test ecx, ecx
je 0x1000868b
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x584]
mov dword [ebp + 0x18], 0
mov dword [eax], ecx
mov eax, dword [ebp - 0x584]
test eax, eax
je 0x100086c4
mov ecx, dword [ebp - 0x580]
mov dword [ebp - 0x568], edx
mov edi, dword [ebp - 0x574]
mov esi, ecx
lea ebx, [ecx + eax*4]
lea esi, [esi]
mov edx, dword [esi]
add esi, 4
mov dword [esp], edx
call edi
cmp ebx, esi
jne 0x100086b0
mov edx, dword [ebp - 0x568]
mov eax, dword [ebp - 0x580]
mov dword [ebp - 0x568], edx
mov edi, dword [ebp - 0x574]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x598]
mov dword [esp], eax
call edi
mov eax, dword [ebp + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x570]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
mov edx, dword [ebp - 0x568]
sub esp, 4
jmp 0x10007f62
mov eax, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [ebp - 0x568], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x56c], eax
jmp 0x1000817e
mov eax, 0x2222
lea ecx, [ebp - 0x277]
mov word [ebp - 0x278], ax
lea eax, [ecx + 1]
jmp 0x10008500
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x7a
jmp 0x1000866d
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
inc eax
mov dword [ebp - 0x594], eax
mov dword [ebp - 0x564], eax
mov dword [esp], eax
mov eax, dword [ebp - 0x56c]
call eax
mov edi, eax
mov eax, dword [ebp - 0x580]
mov dword [eax], edi
test edi, edi
je 0x100087f7
test byte [0x100407a0], 8
jne 0x100087a8
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x590]
mov dword [esp], edi
call eax
mov dword [ebp - 0x584], 1
jmp 0x10008251
mov eax, esi
call sym._wine_dbgstr_an.constprop.0_1
mov dword [esp + 0xc], str.matching_profile:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.EnumColorProfilesA
mov dword [esp + 4], 0x100407a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov eax, dword [ebp - 0x564]
mov dword [ebp - 0x594], eax
jmp 0x1000878a
mov dword [ebp + 0x18], 0
mov edx, dword [ebp - 0x578]
jmp 0x1000868b
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov edx, dword [ebp - 0x578]
mov dword [ebp + 0x18], ebx
mov dword [ebp - 0x574], eax
jmp 0x100086c4
mov dword [ebp - 0x54c], 0
mov dword [ebp - 0x598], 0
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp + 0x18], 0
mov dword [ebp - 0x574], eax
jmp 0x100086c4
mov ebx, edx
lea ecx, [ebp - 0x277]
jmp 0x100084e5
mov eax, dword [ebp - 0x57c]
mov edx, dword [ebp - 0x578]
mov dword [ebp + 0x18], edi
mov dword [ebp - 0x580], eax
jmp 0x1000868b
mov dword [ebp + 0x18], edi
mov edx, dword [ebp - 0x578]
jmp 0x1000868b