Function at 0x424f70
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x454
push ebx
mov ebx, dword [esp + 0x45c]
push ebp
push esi
push edi
push 0
mov ebp, ecx
push ebx
call fcn.004becfa
add esp, 8
test eax, eax
je 0x424fa1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x454
ret 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x424fd1
mov eax, dword [ebp + 8]
xor esi, esi
test eax, eax
jle 0x424fd1
cmp esi, eax
jge 0x424fc9
test esi, esi
jl 0x424fc9
mov eax, dword [ebp + 4]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x424fc9
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [ebp + 8]
inc esi
cmp esi, eax
jl 0x424fb5
mov eax, dword [ebp + 4]
push eax
call fcn.004be975
push 0x80
call fcn.004be967
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x478]
add esp, 8
mov dword [ebp + 8], 0
test eax, eax
mov dword [ebp + 0xc], 0x1f
mov dword [ebp + 0x14], 0x40
jne 0x425015
mov eax, dword [esp + 0x46c]
test eax, eax
jne 0x42501a
mov eax, 0x4e0934
push eax
lea ecx, [esp + 0x364]
push ebx
push ecx
call fcn.0044a2d0
add esp, 0xc
lea edx, [esp + 0x18]
lea eax, [esp + 0x360]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
jne 0x425060
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x454
ret 0xc
mov ebx, dword [esp + 0x468]
test byte [esp + 0x18], 0x10
je 0x4250a1
mov esi, 0x4e092c
lea eax, [esp + 0x44]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x425094
test cl, cl
je 0x425090
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x425094
add eax, 2
add esi, 2
test cl, cl
jne 0x425070
xor eax, eax
jmp 0x425099
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42514d
push 0x70
call fcn.004be967
add esp, 4
test eax, eax
je 0x4250c0
lea ecx, [esp + 0x18]
push ecx
push ebx
mov ecx, eax
call fcn.00423b10
mov ebx, eax
jmp 0x4250c2
xor ebx, ebx
mov ecx, dword [ebp + 0x1c]
push ebx
call fcn.00424910
push eax
call fcn.0044a200
add esp, 4
mov dword [ebx + 0x18], eax
test ebx, ebx
je 0x42514d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [eax + 1]
cmp ecx, edx
jne 0x42513d
mov ecx, dword [ebp + 0x14]
add ecx, eax
lea edx, [ecx*4 + 4]
push edx
call fcn.004be967
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 4]
mov edi, eax
mov dword [esp + 0x18], eax
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
push eax
call fcn.004be975
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
add esp, 8
add eax, edx
mov dword [ebp + 4], ecx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
mov dword [ecx + eax*4], ebx
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x425059
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x470]
test eax, eax
je 0x425241
mov edi, dword [esp + 0x46c]
test edi, edi
je 0x425241
cmp byte [edi], 0
je 0x425241
mov esi, 0x4e0930
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4251be
test cl, cl
je 0x4251ba
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4251be
add eax, 2
add esi, 2
test cl, cl
jne 0x425196
xor eax, eax
jmp 0x4251c3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x425241
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x158]
push edi
push eax
call ebx
lea ecx, [esp + 0x158]
push ecx
call fcn.004cb052
mov eax, dword [ebp + 8]
add esp, 4
xor esi, esi
test eax, eax
jle 0x425241
cmp esi, eax
jge 0x425201
test esi, esi
jl 0x425201
mov edx, dword [ebp + 4]
mov edi, dword [edx + esi*4]
jmp 0x425203
xor edi, edi
mov eax, dword [edi + 0x68]
lea ecx, [esp + 0x25c]
push eax
push ecx
call ebx
lea edx, [esp + 0x25c]
push edx
call fcn.004cb052
lea eax, [esp + 0x15c]
lea ecx, [esp + 0x260]
push eax
push ecx
call fcn.0044c5b0
add esp, 0xc
mov dword [edi + 0x4c], eax
mov eax, dword [ebp + 8]
inc esi
cmp esi, eax
jl 0x4251f5
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x454
ret 0xc