Function at 0x69b46130
Capabilities:
Enumerate files on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
mov edi, 0x6d63
push esi
push ebx
push ecx
sub esp, 0x5e8
mov eax, dword [ecx + 8]
mov word [ebp - 0x567], di
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
mov byte [ebp - 0x565], 0
mov dword [ebp - 0x580], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x56b], 0x692e2a5c
mov dword [ebp - 0x57c], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x570], 0x104
mov dword [ebp - 0x584], eax
test byte [0x69b7c090], 8
jne 0x69b46250
mov ecx, dword [ebp - 0x57c]
test ebx, ebx
sete dl
test ecx, ecx
sete al
or dl, al
jne 0x69b461b8
test esi, esi
jne 0x69b461b8
cmp dword [ebx], 0x58
je 0x69b461d0
xor edx, edx
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
cmp dword [ebx + 4], 0x300
jne 0x69b461b8
lea eax, [ebp - 0x570]
lea esi, [ebp - 0x48c]
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 0x69b46216
mov eax, dword [ebp - 0x570]
add eax, 7
cmp eax, 0x104
jbe 0x69b462a0
test byte [0x69b7c090], 4
je 0x69b461b8
mov dword [esp + 0xc], str.cant_retrieve_color_directory_n
mov dword [esp + 8], str.EnumColorProfilesA
mov dword [esp + 4], 0x69b7c090
mov dword [esp], 2
call fcn.69b42fd0
jmp 0x69b461b8
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x57c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x580]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], str.___p___p___p___p___p___n
mov dword [esp + 8], str.EnumColorProfilesA
mov dword [esp + 4], 0x69b7c090
mov dword [esp], 3
call fcn.69b42fd0
jmp 0x69b4619b
mov eax, dword [sym.imp.ucrtbase.dll_strcpy]
mov dword [esp + 4], esi
lea esi, [ebp - 0x388]
mov dword [ebp - 0x588], edx
mov dword [esp], esi
mov dword [ebp - 0x5b4], eax
call eax
lea eax, [ebp - 0x56b]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_strcat]
lea eax, [ebp - 0x158]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [ebp - 0x590], eax
sub esp, 8
cmp eax, 0xffffffff
je 0x69b461b8
mov dword [esp + 4], 5
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_calloc]
mov edx, dword [ebp - 0x588]
test eax, eax
mov dword [ebp - 0x5a0], eax
je 0x69b46aad
mov eax, dword [ebx + 0xc]
mov ecx, 0x16
lea edi, [ebp - 0x564]
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x5bc], eax
test eax, eax
je 0x69b469b6
mov eax, dword [ebp - 0x5bc]
mov esi, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [ebp - 0x594], 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 - 0x588], esi
call esi
mov edi, dword [sym.imp.ucrtbase.dll_malloc]
sub esp, 0x18
mov ebx, eax
add eax, eax
mov dword [ebp - 0x58c], edi
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x594]
test eax, eax
mov edi, eax
je 0x69b46adf
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x5bc]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
mov dword [ebp - 0x558], edi
mov edx, dword [ebp - 0x594]
mov dword [ebp - 0x5bc], edi
sub esp, 0x18
lea esi, [ebp - 0x12c]
mov dword [ebp - 0x594], edx
mov eax, dword [ebp - 0x588]
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
sub esp, 0x18
mov ebx, eax
add eax, eax
mov dword [esp], eax
mov eax, dword [ebp - 0x58c]
call eax
mov edx, dword [ebp - 0x594]
test eax, eax
mov edi, eax
je 0x69b46acf
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x588]
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 - 0x50c]
mov eax, edi
sub esp, 0x18
call fcn.69b45e60
mov dword [ebp - 0x598], eax
test eax, eax
je 0x69b464ad
lea edx, [ebp - 0x50c]
lea eax, [ebp - 0x564]
call fcn.69b43220
test eax, eax
jne 0x69b469fd
mov dword [ebp - 0x5b8], 0
mov dword [ebp - 0x5a4], 0
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], edi
xor edi, edi
mov dword [ebp - 0x594], eax
call eax
mov eax, esi
shr eax, 0x10
mov dword [ebp - 0x5c0], eax
nop
lea eax, [ebp - 0x158]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x590]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindNextFileA]
sub esp, 8
test eax, eax
je 0x69b46873
mov dword [esp + 0x14], 0
mov eax, dword [ebp - 0x588]
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 edi, dword [ebp - 0x58c]
sub esp, 0x18
mov ebx, eax
add eax, eax
mov dword [esp], eax
call edi
mov edi, eax
test eax, eax
je 0x69b46aa2
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x588]
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 - 0x50c]
mov eax, edi
sub esp, 0x18
call fcn.69b45e60
mov dword [ebp - 0x598], eax
test eax, eax
je 0x69b46680
lea edx, [ebp - 0x50c]
lea eax, [ebp - 0x564]
call fcn.69b43220
test eax, eax
je 0x69b46669
mov eax, dword [ebp - 0x5a4]
add eax, 1
lea ecx, [eax*4]
mov dword [ebp - 0x5a8], eax
mov eax, dword [ebp - 0x5a0]
mov dword [ebp - 0x5ac], ecx
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
mov dword [ebp - 0x59c], eax
test eax, eax
je 0x69b46aa2
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
lea ebx, [eax + 1]
mov eax, dword [ebp - 0x58c]
mov dword [ebp - 0x570], ebx
mov dword [esp], ebx
call eax
mov edx, dword [ebp - 0x59c]
mov ecx, dword [ebp - 0x5ac]
mov dword [ebp - 0x5b0], eax
mov dword [edx + ecx - 4], eax
test eax, eax
je 0x69b46a96
test byte [0x69b7c090], 8
jne 0x69b46690
mov eax, dword [ebp - 0x5b0]
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x5b4]
call eax
mov eax, dword [ebp - 0x5a8]
add dword [ebp - 0x5b8], ebx
mov dword [ebp - 0x5a4], eax
mov eax, dword [ebp - 0x59c]
mov dword [ebp - 0x5a0], eax
mov dword [esp], edi
mov eax, dword [ebp - 0x594]
xor edi, edi
call eax
jmp 0x69b464e0
mov dword [esp], edi
mov eax, dword [ebp - 0x594]
call eax
jmp 0x69b464e0
mov eax, dword [ebp - 0x5c0]
test eax, eax
je 0x69b46851
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrA]
mov ecx, eax
sub esp, 8
mov eax, 0x69b80147
test ecx, ecx
jne 0x69b4679f
movzx eax, byte [ebp - 0x12c]
test al, al
je 0x69b469d1
mov edx, ecx
lea ecx, [ecx + 1]
cmp byte [esi + ecx], 0
jne 0x69b466d0
mov byte [ebp - 0x284], 0x22
lea ecx, [ebp - 0x283]
mov dword [ebp - 0x5a4], edi
mov dword [ebp - 0x5a0], esi
jmp 0x69b4673c
cmp al, 9
je 0x69b46828
cmp al, 0xa
jne 0x69b467f3
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea esi, [esi]
lea eax, [ebp - 0x161]
lea edi, [edx - 1]
cmp ecx, eax
ja 0x69b4676b
test edx, edx
jle 0x69b4676b
mov eax, dword [ebp - 0x5a0]
mov edx, edi
movzx eax, byte [eax]
add dword [ebp - 0x5a0], 1
cmp al, 0xd
je 0x69b467d8
jle 0x69b46700
cmp al, 0x22
je 0x69b46840
cmp al, 0x5c
jne 0x69b467e9
mov edi, 0x5c5c
add ecx, 2
mov word [ecx - 2], di
jmp 0x69b46720
mov eax, edi
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x5a4]
test eax, eax
jle 0x69b469e3
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x284]
mov dword [esp], eax
call fcn.69b7aea0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.matching_profile:__s_n
mov dword [esp + 8], str.EnumColorProfilesA
mov dword [esp + 4], 0x69b7c090
mov dword [esp], 3
call fcn.69b42fd0
mov ebx, dword [ebp - 0x570]
jmp 0x69b46636
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x69b46720
lea edi, [eax - 0x20]
mov ebx, edi
cmp bl, 0x5e
jbe 0x69b46869
mov ebx, 0x785c
add ecx, 4
mov word [ecx - 4], bx
mov ebx, eax
and eax, 0xf
shr bl, 4
movzx eax, byte [eax + str.0123456789abcdef]
movzx edi, bl
movzx ebx, byte [edi + str.0123456789abcdef]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x69b46720
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x69b46720
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x69b46720
movzx eax, si
mov dword [esp], 0x69b80151
mov dword [esp + 4], eax
call fcn.69b429e0
jmp 0x69b4679f
mov byte [ecx], al
add ecx, 1
jmp 0x69b46720
mov edx, eax
mov eax, dword [ebp - 0x5b8]
mov esi, dword [ebp - 0x580]
add eax, 1
mov dword [ebp - 0x588], eax
test esi, esi
je 0x69b469eb
mov ebx, dword [ebp - 0x57c]
cmp dword [ebx], eax
jb 0x69b469eb
mov eax, dword [ebp - 0x5a4]
test eax, eax
je 0x69b468fd
mov edx, dword [ebp - 0x5a0]
mov dword [ebp - 0x58c], edi
lea eax, [edx + eax*4]
mov ebx, edx
mov dword [ebp - 0x580], eax
lea esi, [esi]
mov edi, dword [ebx]
mov eax, dword [ebp - 0x5b4]
mov dword [esp], esi
add ebx, 4
mov dword [esp + 4], edi
call eax
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_strlen]
lea esi, [esi + eax + 1]
cmp dword [ebp - 0x580], ebx
jne 0x69b468c8
mov dword [ebp - 0x580], esi
mov edi, dword [ebp - 0x58c]
mov eax, dword [ebp - 0x580]
mov edx, 1
mov byte [eax], 0
mov eax, dword [ebp - 0x57c]
mov esi, dword [ebp - 0x588]
mov dword [eax], esi
mov eax, dword [ebp - 0x584]
test eax, eax
je 0x69b4692b
mov esi, dword [ebp - 0x5a4]
mov dword [eax], esi
mov eax, dword [ebp - 0x5a4]
test eax, eax
je 0x69b46972
mov ebx, dword [ebp - 0x5a0]
mov dword [ebp - 0x580], edx
mov dword [ebp - 0x57c], edi
mov esi, ebx
lea ebx, [ebx + eax*4]
mov edi, esi
mov esi, dword [ebp - 0x594]
lea esi, [esi]
mov edx, dword [edi]
add edi, 4
mov dword [esp], edx
call esi
cmp ebx, edi
jne 0x69b46958
mov edi, dword [ebp - 0x57c]
mov edx, dword [ebp - 0x580]
mov eax, dword [ebp - 0x5a0]
mov dword [ebp - 0x57c], edx
mov esi, dword [ebp - 0x594]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x5bc]
mov dword [esp], eax
call esi
mov dword [esp], edi
call esi
mov eax, dword [ebp - 0x590]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
mov edx, dword [ebp - 0x57c]
sub esp, 4
jmp 0x69b461ba
mov eax, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [ebp - 0x588], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x58c], eax
jmp 0x69b463ee
mov eax, 0x2222
lea ecx, [ebp - 0x283]
mov word [ebp - 0x284], ax
lea eax, [ecx + 1]
jmp 0x69b4678e
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x7a
jmp 0x69b4690b
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
add eax, 1
mov dword [ebp - 0x5b8], eax
mov dword [ebp - 0x570], eax
mov dword [esp], eax
mov eax, dword [ebp - 0x58c]
call eax
mov ebx, eax
mov eax, dword [ebp - 0x5a0]
mov dword [eax], ebx
test ebx, ebx
je 0x69b46ac9
test byte [0x69b7c090], 8
jne 0x69b46a59
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x5b4]
mov dword [esp], ebx
call eax
mov dword [ebp - 0x5a4], 1
jmp 0x69b464c1
mov eax, esi
call fcn.69b42d30
mov dword [esp + 0xc], str.matching_profile:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.EnumColorProfilesA
mov dword [esp + 4], 0x69b7c090
mov dword [esp], 3
call fcn.69b42fd0
mov eax, dword [ebp - 0x570]
mov dword [ebp - 0x5b8], eax
jmp 0x69b46a3b
mov eax, dword [ebp - 0x59c]
mov dword [ebp - 0x5a0], eax
mov edx, dword [ebp - 0x598]
jmp 0x69b4692b
mov eax, dword [sym.imp.ucrtbase.dll_free]
xor edi, edi
mov dword [ebp - 0x5bc], 0
mov dword [ebp - 0x594], eax
jmp 0x69b46972
mov edx, dword [ebp - 0x598]
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x594], eax
jmp 0x69b46972
mov dword [ebp - 0x558], 0
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x5bc], 0
mov dword [ebp - 0x594], eax
jmp 0x69b46972