Function at 0x42afd0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x674
push ebx
mov ebx, dword [ebp + 0x20]
lea eax, [esp + 0x268]
push esi
push edi
push 0x103
push ebx
push eax
mov dword [esp + 0x1c], ecx
call fcn.00497e59
add esp, 0xc
xor eax, eax
mov word [esp + 0x476], ax
lea eax, [esp + 0x270]
push 0x5c
push eax
call fcn.0048ca9c
add esp, 8
test eax, eax
je 0x42b061
lea esi, [eax + 2]
lea edx, [esp + 0x478]
mov ecx, esi
sub edx, esi
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x42b030
xor eax, eax
lea edi, [esp + 0x270]
mov word [esi], ax
lea ecx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x42b050
sub edi, ecx
sar edi, 1
jmp 0x42b087
xor ecx, ecx
movzx eax, word [esp + ecx + 0x270]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x476], ax
test ax, ax
jne 0x42b063
xor eax, eax
xor edi, edi
mov word [esp + 0x270], ax
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
xor ebx, ebx
cmp esi, 0xffffffff
mov dword [esp + 0xc], esi
setne bl
je 0x42b0d1
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x270]
push edi
push eax
lea ecx, [esp + 0x28]
call fcn.004423d0
add esp, 8
test al, al
je 0x42b0d1
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
test ebx, ebx
jne 0x42b0a3
mov eax, dword [0x4ce8c8]
mov edx, dword [ebp + 8]
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x42b25f
mov ebx, esi
nop word [eax + eax]
lea ecx, [esp + 0x20]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x14]
cmp byte [ecx], 0x73
jne 0x42b136
mov ebx, eax
jmp 0x42b113
mov edx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x14]
push eax
push edx
push 2
call fcn.00423dc0
mov ecx, dword [ebx + 0x14]
mov esi, eax
mov edx, dword [esp + 0x14]
cmp edx, ecx
je 0x42b110
mov ebx, dword [esp + 0xc]
jmp 0x42b149
lea eax, [esp + 0x14]
push eax
push edx
push 3
call fcn.00423dc0
mov edx, dword [esp + 0x14]
mov esi, eax
test edx, edx
je 0x42b173
cmp esi, 6
jne 0x42b239
cmp edx, dword [esp + 0x10]
je 0x42b17d
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
cmp esi, 1
je 0x42b17d
cmp esi, 6
jne 0x42b161
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x42b1f3
mov eax, dword [0x4ce8c8]
mov dword [0x4d4510], esi
cmp byte [eax + 0xf9], 0
je 0x42b1c9
mov eax, dword [0x4d3110]
mov dword [eax*4 + 0x4d3758], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4d3110]
mov dword [ecx*4 + 0x4d3118], eax
inc ecx
xor eax, eax
cmp ecx, 0x190
cmovge ecx, eax
mov dword [0x4d3110], ecx
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.004596a0
mov esi, eax
cmp esi, 1
jne 0x42b161
mov ecx, dword [0x4d3df0]
lea esi, [eax + 4]
call fcn.0044e410
test eax, eax
jne 0x42b161
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
test esi, esi
je 0x42b221
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x270]
push edi
push eax
lea ecx, [esp + 0x28]
call fcn.004423d0
add esp, 8
test al, al
jne 0x42b1f3
mov eax, dword [esp + 0x18]
add dword [eax + 8], 1
adc dword [eax + 0xc], 0
test esi, esi
je 0x42b25b
mov edx, dword [ebp + 8]
jmp 0x42b0f0
cmp edx, dword [esp + 0x10]
jne 0x42b15c
mov eax, dword [ebp + 0xc]
push ebx
mov byte [eax], 1
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [esp + 0xc]
cmp esi, 0xffffffff
je 0x42b26b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp + 0x1c], 0
je 0x42b3b3
cmp edi, 0x100
ja 0x42b3b3
mov eax, dword [0x4c4184]
lea ecx, [esp + 0x270]
lea ecx, [ecx + edi*2]
mov dword [ecx], eax
mov eax, dword [0x4c4188]
mov dword [ecx + 4], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x274]
mov dword [esp + 0x1c], ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x42b3b3
lea ecx, [esp + 0x478]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b2d0
mov ebx, dword [ebp + 0xc]
sub ecx, edx
sar ecx, 1
lea esi, [ecx + edi]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x1c], esi
nop dword [eax]
test byte [esp + 0x20], 0x10
je 0x42b391
cmp word [esp + 0x4c], 0x2e
jne 0x42b31f
mov ax, word [esp + 0x4e]
test ax, ax
je 0x42b391
cmp ax, 0x2e
jne 0x42b31f
cmp word [esp + 0x50], 0
je 0x42b391
lea ecx, [esp + 0x4c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b326
sub ecx, edx
sar ecx, 1
lea eax, [ecx + esi]
cmp eax, 0x102
ja 0x42b391
lea eax, [esp + 0x478]
push eax
lea eax, [esp + 0x50]
push eax
push str._s_s
push dword [esp + 0x24]
call fcn.004053a0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x280]
add esp, 0x10
push eax
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push ebx
push dword [ebp + 8]
call fcn.0042afd0
mov esi, eax
cmp esi, 1
jne 0x42b3c1
cmp byte [ebx], 0
jne 0x42b3a8
cmp dword [edi], 0
jne 0x42b3a8
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42b2f0
push dword [esp + 0xc]
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push dword [esp + 0xc]
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c