Function at 0x488f54
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffc44
mov esi, eax
lea eax, [esi + 0x22]
mov edx, 0x24
call fcn.004066e4
mov dword [esi + 0x22], 5
xor ebx, ebx
mov edx, dword [0x4be784]
add edx, 0x200
lea eax, [esp + 0x39]
call fcn.004b81b0
push 0x4894a0
lea eax, [esp + 0x3d]
push eax
call sub.kernel32.dll_lstrcatA
mov byte [esp + 0x1a8], 0
lea eax, [esp + 0x17c]
push eax
lea eax, [esp + 0x3d]
push eax
call sub.kernel32.dll_FindFirstFileA
mov dword [esp + 0x28], eax
jmp 0x4893e7
mov edx, dword [0x4be784]
add edx, 0x200
lea eax, [esp + 0xc6]
call fcn.004b81b0
lea eax, [esp + 0x1a8]
push eax
lea eax, [esp + 0xca]
push eax
call sub.kernel32.dll_lstrcatA
lea eax, [esp + 0xc6]
mov ecx, 0x10000000
mov edx, 0x80000000
call fcn.004adc9c
mov edi, eax
push 0xa
lea eax, [esp + 0x32]
push eax
push edi
call sub.kernel32.dll__lread
mov byte [esp + 0x38], 0
cmp edi, 0xffffffff
je 0x4893c5
mov eax, dword [0x4be4dc]
push eax
lea eax, [esp + 0x32]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x4893c5
push 0
push 0
push 0x10
push edi
call sub.kernel32.dll_SetFilePointer_1
mov eax, 0x10
call fcn.00402504
mov dword [esp], eax
lea eax, [esp + 8]
push eax
push 0
push 0
push edi
call sub.kernel32.dll_GetFileTime
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_FileTimeToLocalFileTime
lea eax, [esp + 0x10]
call fcn.00411604
mov edx, eax
lea eax, [esp + 0x153]
call fcn.004b81b0
push 0x4894a8
lea eax, [esp + 0x157]
push eax
call sub.kernel32.dll_lstrcatA
lea eax, [esp + 0x10]
call fcn.004115bc
push eax
lea eax, [esp + 0x157]
push eax
call sub.kernel32.dll_lstrcatA
push pe_nt_image_headers32
mov eax, dword [0x4beb38]
push eax
push edi
call sub.kernel32.dll__lread
mov eax, dword [0x4beb38]
call fcn.004aed10
mov edx, eax
mov eax, dword [0x4bedb0]
call fcn.004b81b0
mov byte [esp + 0x2bc], 0
push 2
lea eax, [esp + 0x30]
push eax
push edi
call sub.kernel32.dll__lread
cmp word [esp + 0x2c], 0
jbe 0x48912c
cmp word [esp + 0x2c], 0x100
jae 0x48911c
movzx eax, word [esp + 0x2c]
push eax
lea eax, [esp + 0x2c0]
push eax
push edi
call sub.kernel32.dll__lread
movzx eax, word [esp + 0x2c]
mov byte [esp + eax + 0x2bc], 0
jmp 0x48912c
push 1
push 0
movzx eax, word [esp + 0x34]
push eax
push edi
call sub.kernel32.dll_SetFilePointer_1
push 1
push 0
push 0x2a
push edi
call sub.kernel32.dll_SetFilePointer_1
push 1
lea eax, [esp + 9]
push eax
push edi
call sub.kernel32.dll__lread
mov eax, dword [0x4be784]
cmp byte [eax + 0x18d8], 0
je 0x48915e
cmp byte [esp + 5], 1
jne 0x4893c5
push 1
push 0
push 0xffffffffffffffd6
push edi
call sub.kernel32.dll_SetFilePointer_1
push 1
lea eax, [esp + 8]
push eax
push edi
call sub.kernel32.dll__lread
mov eax, dword [esp]
mov dword [esi + 0x42], eax
cmp byte [esp + 4], 0
jne 0x48918e
mov eax, dword [0x4c2498]
mov dword [esi + 0x3e], eax
jmp 0x4891af
movsx eax, byte [esp + 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jge 0x4891a7
mov eax, dword [0x4c249c]
mov dword [esi + 0x3e], eax
jmp 0x4891af
mov eax, dword [0x4c24a0]
mov dword [esi + 0x3e], eax
mov eax, dword [0x4bedb0]
call fcn.004b8404
mov edx, dword [esp]
mov dword [edx], eax
mov byte [0x4c24e0], 3
mov eax, dword [0x4bedb0]
push eax
mov ebp, ebx
and ebp, 0xff
mov edx, ebp
mov eax, esi
xor ecx, ecx
call fcn.00488944
mov eax, dword [0x4beb38]
call fcn.004b8144
push eax
mov eax, dword [0x4bedb0]
call fcn.004b8144
pop ecx
sub cx, ax
mov edx, dword [0x4beb38]
mov eax, dword [0x4bedb0]
call fcn.004b81d8
mov eax, dword [0x4bedb0]
call fcn.004aeddc
push eax
mov edx, ebp
mov eax, esi
mov cl, 1
call fcn.00488944
mov eax, dword [0x4bedb0]
call fcn.004b8404
mov edx, dword [esp]
mov dword [edx + 4], eax
mov byte [0x4c24e1], 3
lea eax, [esp + 0x153]
push eax
mov edx, ebp
mov eax, esi
mov cl, 2
call fcn.00488944
mov eax, 8
call fcn.00402504
mov edx, dword [esp]
mov dword [edx + 8], eax
mov eax, dword [esp]
mov eax, dword [eax + 8]
mov edx, dword [esp + 8]
mov dword [eax], edx
mov edx, dword [esp + 0xc]
mov dword [eax + 4], edx
mov byte [0x4c24e2], 2
push 8
lea eax, [esp + 0x24]
push eax
push edi
call sub.kernel32.dll__lread
push 4
mov eax, dword [0x4be6b0]
push eax
push edi
call sub.kernel32.dll__lread
push 4
mov eax, dword [0x4be6b0]
push eax
push edi
call sub.kernel32.dll__lread
cmp byte [esp + 4], 0
je 0x4892b3
mov eax, dword [0x4be6b0]
fild dword [eax]
fild qword [esp + 0x20]
fmulp st(1)
fistp qword [esp + 0x20]
wait
push 1
push 0
push 0x1c
push edi
call sub.kernel32.dll_SetFilePointer_1
mov edx, dword [0x4be6b0]
mov dword [edx], eax
push 2
lea eax, [esp + 0x1c]
push eax
push edi
call sub.kernel32.dll__lread
cmp word [esp + 0x18], 0xffff
jne 0x4892e3
mov word [esp + 0x18], 0
fild word [esp + 0x18]
add esp, 0xfffffff8
fistp qword [esp]
wait
call fcn.004b849c
push eax
mov edx, ebp
mov eax, esi
mov cl, 3
call fcn.00488944
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.004b1e30
push eax
mov edx, ebp
mov eax, esi
mov cl, 4
call fcn.00488944
mov byte [0x4c24e3], 0
cmp byte [esp + 0x2bc], 0
je 0x48933e
lea eax, [esp + 0x2bc]
push eax
mov edx, ebp
mov eax, esi
mov cl, 5
call fcn.00488944
jmp 0x489390
cmp byte [esp + 5], 1
jbe 0x48935c
mov ax, 0x72
call fcn.004aa600
mov edx, eax
mov eax, dword [0x4bedb0]
call fcn.004b81b0
jmp 0x489364
mov eax, dword [0x4bedb0]
mov byte [eax], 0
xor eax, eax
mov al, byte [esp + 5]
add ax, 0x15f
call fcn.004aa600
push eax
mov eax, dword [0x4bedb0]
push eax
call sub.kernel32.dll_lstrcatA
mov eax, dword [0x4bedb0]
push eax
mov edx, ebp
mov eax, esi
mov cl, 5
call fcn.00488944
lea eax, [esp + 0x1a8]
call fcn.004b8144
mov ecx, eax
sub cx, 4
lea edx, [esp + 0x1a8]
mov eax, dword [0x4bedb0]
call fcn.004b81d8
mov eax, dword [0x4bedb0]
push eax
mov edx, ebp
mov eax, esi
mov cl, 6
call fcn.00488944
inc ebx
push edi
call sub.kernel32.dll_CloseHandle_1
lea eax, [esp + 0x17c]
push eax
mov eax, dword [esp + 0x2c]
push eax
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4893f5
cmp byte [esp + 0x1a8], 0
jne 0x488fbd
mov eax, dword [esp + 0x28]
push eax
call sub.kernel32.dll_FindClose
mov ecx, dword [0x4be784]
movzx ecx, byte [ecx + 0x188f]
mov edx, 0x48b924
mov eax, dword [esi + 4]
call fcn.00410218
mov eax, dword [esi + 4]
call fcn.0040ffd4
mov dword [esi + 0x1c], eax
fild dword [esi + 0x1c]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov ax, 0x11c
call fcn.004aa600
call fcn.004ae0e4
mov ecx, dword [0x4bedb0]
mov eax, esi
mov dx, 0x65
call fcn.00488934
cmp dword [esi + 0x1c], 0
setg cl
mov eax, esi
mov dx, 1
call fcn.00489a04
cmp dword [esi + 0x1c], 0
setg cl
mov eax, esi
mov dx, 3
call fcn.00489a04
cmp dword [esi + 0x1c], 0
setg cl
mov eax, esi
mov dx, 4
call fcn.00489a04
cmp dword [esi + 0x1c], 0
setg cl
mov eax, esi
mov dx, 5
call fcn.00489a04
add esp, 0x3bc
pop ebp
pop edi
pop esi
pop ebx
ret