Function at 0x10026cd0
Capabilities:
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x4d0
mov eax, dword [0x10184508]
xor eax, esp
mov dword [esp + 0x4cc], eax
mov eax, dword [esp + 0x4ec]
mov ecx, dword [esp + 0x4d4]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x4f4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4f8]
push ebx
mov ebx, dword [esp + 0x4ec]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x500]
push ebp
mov ebp, dword [esp + 0x4ec]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x508]
push esi
mov esi, dword [esp + 0x51c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x514]
push edi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x51c]
push ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x58], esi
call sym.CoreFoundation.dll_CFStringGetMaximumSizeOfFileSystemRepresentation
push 0
lea edi, [eax + 1]
lea eax, [edi + 0x107]
lea ecx, [eax + eax]
mov dword [esp + 0x48], eax
push ecx
push dword [sym.CoreFoundation.dll_kCFAllocatorSystemDefault]
call sym.CoreFoundation.dll_CFAllocatorAllocate
push dword [sym.CoreFoundation.dll_kCFAllocatorNull]
mov dword [esp + 0x28], eax
xor eax, eax
push eax
push eax
push eax
push dword [sym.CoreFoundation.dll_kCFAllocatorSystemDefault]
call sym.CoreFoundation.dll_CFStringCreateMutableWithExternalCharactersNoCopy
push dword [esp + 0x58]
and dword [esp + 0x40], 0
mov dword [esp + 0x60], eax
call sym.CoreFoundation.dll_CFStringGetLength
push dword [esp + 0x58]
mov dword [esp + 0x58], eax
call sym.CoreFoundation.dll_CFStringGetLength
add esp, 0x2c
mov dword [esp + 0x68], eax
test esi, esi
je 0x10026e27
push esi
call sym.CoreFoundation.dll_CFStringGetLength
mov ecx, dword [esp + 0x18]
mov esi, eax
push ecx
push esi
push 0
push dword [esp + 0x64]
call sym.CoreFoundation.dll_CFStringGetCharacters
add dword [esp + 0x2c], esi
add esp, 0x14
cmp byte [esp + 0x524], 0
je 0x10026e0f
push dword [0x10186c14]
lea eax, [edi + 0x107]
push dword [0x10186c10]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x24]
call sym.CoreFoundation.dll__CFAppendPathExtension
add esp, 0x14
lea eax, [edi + 0x107]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1c]
call fcn.10001cd5
add esp, 0xc
test ebx, ebx
je 0x10026e6f
mov eax, dword [esp + 0x18]
lea esi, [ebx + ebx]
mov ecx, dword [esp + 0x14]
push esi
push ebp
lea eax, [ecx + eax*2]
push eax
call sub.VCRUNTIME140.dll_memmove
add dword [esp + 0x24], ebx
add esp, 0xc
call sym.CoreFoundation.dll__CFGetSlash
mov ebx, dword [esp + 0x14]
cmp word [esi + ebp - 2], ax
je 0x10026e73
lea eax, [edi + 0x107]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.10001cd5
add esp, 0xc
jmp 0x10026e73
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edi
lea eax, [ebx + eax*2]
mov dword [esp + 0x20], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebp, eax
push edi
push ebp
push dword [esp + 0x5c]
mov dword [esp + 0x68], ebp
call sym.CoreFoundation.dll_CFStringGetFileSystemRepresentation
add esp, 0x10
test al, al
je 0x1002733f
push 0x8000100
push ebp
push dword [sym.CoreFoundation.dll_kCFAllocatorSystemDefault]
call sym.CoreFoundation.dll_CFStringCreateWithCString
mov edi, eax
push edi
call sym.CoreFoundation.dll_CFStringGetLength
mov esi, eax
mov eax, 0x106
cmp esi, eax
cmovg esi, eax
lea eax, [esp + 0x2e0]
push eax
push esi
push 0
push edi
call sym.CoreFoundation.dll_CFStringGetCharacters
lea ebp, [esi + esi]
add esp, 0x20
cmp ebp, 0x20c
jae 0x10027380
xor eax, eax
push edi
mov word [esp + ebp + 0x2d4], ax
call sym.CoreFoundation.dll_CFRelease
pop ecx
push 0x5c
pop eax
add esi, 2
mov word [esp + ebp + 0x2d0], ax
push 0x2a
pop eax
mov word [esp + ebp + 0x2d2], ax
lea eax, [esi + esi]
cmp eax, 0x20c
jae 0x10027380
xor ecx, ecx
mov word [esp + eax + 0x2d0], cx
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov eax, 0x104
cmp esi, eax
mov dword [esp + 0x70], edi
setl byte [esp + 0x13]
cmp edi, 0xffffffff
jne 0x10026f64
xor eax, eax
mov word [esp + ebp + 0x2d0], ax
jmp 0x10026f68
cmp esi, eax
jl 0x10026f91
push dword [esp + 0x58]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push ebx
push dword [sym.CoreFoundation.dll_kCFAllocatorSystemDefault]
call sym.CoreFoundation.dll_CFAllocatorDeallocate
push dword [esp + 0x44]
call sym.CoreFoundation.dll_CFRelease
add esp, 0x10
xor al, al
jmp 0x10027367
push 0x2e
pop ebp
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
cmp word [esp + 0xac], bp
jne 0x10026fc9
cmp eax, 1
je 0x100272f9
cmp eax, 2
jne 0x10026fc9
cmp word [esp + 0xae], bp
je 0x100272f9
push 0
push 0x100
add eax, eax
push eax
lea eax, [esp + 0xb8]
push eax
push dword [sym.CoreFoundation.dll_kCFAllocatorSystemDefault]
call sym.CoreFoundation.dll_CFStringCreateWithBytes
mov esi, eax
add esp, 0x14
mov dword [esp + 0x28], esi
test esi, esi
je 0x100272f9
push esi
call sym.CoreFoundation.dll_CFStringGetLength
push dword [esp + 0x20]
mov ebp, eax
mov eax, 0x106
cmp ebp, eax
cmovg ebp, eax
push ebp
push 0
push esi
call sym.CoreFoundation.dll_CFStringGetCharacters
mov eax, dword [esp + 0x2c]
add esp, 0x14
add eax, ebp
test byte [esp + 0x80], 0x10
mov dword [esp + 0x3c], eax
je 0x10027043
push dword [esp + 0x40]
lea eax, [esp + 0x40]
push eax
push ebx
call fcn.10001cd5
mov eax, dword [esp + 0x48]
add esp, 0xc
push dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
push eax
push ebx
push esi
call sym.CoreFoundation.dll_CFStringSetExternalCharactersNoCopy
push esi
push dword [sym.CoreFoundation.dll_kCFAllocatorSystemDefault]
call sym.CoreFoundation.dll_CFStringCreateCopy
add esp, 0x18
mov edi, eax
cmp byte [esp + 0x500], 0
mov dword [esp + 0x24], edi
jne 0x1002707e
push edi
push dword [esp + 0x68]
call sym.CoreFoundation.dll_CFArrayAppendValue
pop ecx
pop ecx
lea ecx, [ebp - 1]
or esi, 0xffffffff
mov eax, ecx
cmp ecx, 0xffffffff
jle 0x100270cf
mov edx, dword [esp + 0x1c]
push 0x2e
pop ebx
cmp bx, word [edx + eax*2]
mov ebx, dword [esp + 0x14]
je 0x100270a4
dec eax
cmp eax, 0xffffffff
jg 0x1002708f
jmp 0x100270cf
mov esi, eax
cmp eax, ecx
je 0x100270cf
push dword [esp + 0x514]
push dword [esp + 0x48]
push edi
push dword [esp + 0x54]
push ebp
push 0
push esi
push dword [esp + 0x3c]
push edx
push dword [esp + 0x70]
call fcn.10023ee2
add esp, 0x28
or ecx, 0xffffffff
xor dl, dl
xor eax, eax
test ebp, ebp
jle 0x100270fa
mov ebx, dword [esp + 0x1c]
push 0x2e
pop edi
cmp di, word [ebx + eax*2]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
je 0x100270f6
inc eax
cmp eax, ebp
jl 0x100270da
jmp 0x100270fa
mov ecx, eax
mov dl, 1
cmp ecx, esi
je 0x1002712a
test dl, dl
je 0x1002712a
push dword [esp + 0x514]
push dword [esp + 0x48]
push edi
push dword [esp + 0x54]
push ebp
push 0
push ecx
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x70]
call fcn.10023ee2
add esp, 0x28
push dword [esp + 0x2c]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x80]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x44]
push ebp
push 0
push ebp
push dword [esp + 0x3c]
push dword [esp + 0x4c]
call fcn.10023fe8
mov esi, eax
add esp, 0x28
mov dword [esp + 0x6c], esi
cmp esi, 1
je 0x1002731d
cmp esi, 5
je 0x1002731d
push edi
push dword [esp + 0x2c]
push dword [esp + 0x28]
call sym.CoreFoundation.dll_CFDictionarySetValue
mov edx, dword [esp + 0x74]
add esp, 0xc
cmp esi, 2
je 0x100271b5
jle 0x10027196
cmp esi, 4
jg 0x10027196
mov ecx, dword [esp + 0x5c]
jmp 0x100271c9
push dword [esp + 0x50]
push str.CFBundle:_Unknown_kind_of_file___d__when_creating_CFBundle:___
call sym.CoreFoundation.dll___CFStringMakeConstantString
pop ecx
push eax
push 3
call sym.CoreFoundation.dll_CFLog
add esp, 0xc
jmp 0x100272e1
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov eax, ebp
lea esi, [ecx + edx]
sub eax, ecx
sub eax, edx
add eax, esi
cmp esi, eax
jge 0x100271ec
mov edx, dword [esp + 0x1c]
push 0x2e
pop edi
lea ebx, [edx + esi*2]
cmp di, word [ebx]
je 0x1002724c
inc esi
cmp esi, eax
jl 0x100271df
push ecx
push dword [esp + 0x20]
push dword [sym.CoreFoundation.dll_kCFAllocatorSystemDefault]
call sym.CoreFoundation.dll_CFStringCreateWithCharacters
add esp, 0xc
mov edi, eax
test edi, edi
je 0x100272d9
mov ebp, dword [esp + 0x20]
push edi
push ebp
call sym.CoreFoundation.dll_CFDictionaryGetValue
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100272c4
mov ebx, dword [esp + 0x54]
test ebx, ebx
je 0x1002727b
push ebx
push esi
call sym.CoreFoundation.dll_CFStringHasPrefix
pop ecx
pop ecx
test al, al
je 0x100272d2
push ebx
call sym.CoreFoundation.dll_CFStringGetLength
push esi
mov ebx, eax
call sym.CoreFoundation.dll_CFStringGetLength
pop ecx
sub eax, ebx
jmp 0x10027283
sub ecx, esi
add ecx, ebp
push ecx
push dword [sym.CoreFoundation.dll_kCFAllocatorSystemDefault]
call sym.CoreFoundation.dll_CFStringCreateMutable
push dword [esp + 0x64]
mov edi, eax
push dword [esp + 0x28]
push edi
call sym.CoreFoundation.dll_CFStringAppendCharacters
sub ebp, esi
push ebp
push ebx
push edi
call sym.CoreFoundation.dll_CFStringAppendCharacters
add esp, 0x20
jmp 0x10027201
push esi
xor ebx, ebx
call sym.CoreFoundation.dll_CFStringGetLength
pop ecx
push dword [esp + 0x2c]
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x80]
push ecx
push dword [esp + 0x3c]
push dword [esp + 0x44]
push eax
push ebx
push 0
push 0
push esi
call fcn.10023fe8
add esp, 0x28
sub eax, 1
je 0x100272c4
sub eax, 1
je 0x100272bd
sub eax, 1
je 0x100272c4
jmp 0x100272d2
cmp dword [esp + 0x6c], 4
jne 0x100272d2
push dword [esp + 0x24]
push edi
push ebp
call sym.CoreFoundation.dll_CFDictionarySetValue
add esp, 0xc
push edi
call sym.CoreFoundation.dll_CFRelease
pop ecx
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
push edi
call sym.CoreFoundation.dll_CFRelease
push dword [esp + 0x2c]
call sym.CoreFoundation.dll_CFRelease
mov edi, dword [esp + 0x78]
pop ecx
pop ecx
push 0x2e
pop ebp
lea eax, [esp + 0x80]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10026f94
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [esp + 0x58]
jmp 0x10027344
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
push ebp
push esi
call sym.CoreFoundation.dll_CFDictionaryGetValue
pop ecx
pop ecx
test eax, eax
jne 0x100272e1
push edi
push ebp
push esi
call sym.CoreFoundation.dll_CFDictionarySetValue
jmp 0x100271ad
mov byte [esp + 0x13], 0
push ebp
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push ebx
push dword [sym.CoreFoundation.dll_kCFAllocatorSystemDefault]
call sym.CoreFoundation.dll_CFAllocatorDeallocate
push dword [esp + 0x44]
call sym.CoreFoundation.dll_CFRelease
mov al, byte [esp + 0x23]
add esp, 0x10
mov ecx, dword [esp + 0x4dc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000234c
add esp, 0x4d0
ret
call fcn.10001e29
int3