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

Disassembly:
sub esp, 0x678
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x6a4]
push 0x103
lea eax, [esp + 0x27c]
push edi
push eax
mov dword [esp + 0x30], ecx
call fcn.004908f4
add esp, 0xc
lea edx, [esp + 0x278]
xor ecx, ecx
push 0x5c
push edx
mov word [esp + 0x486], cx
call fcn.0048f95a
add esp, 8
test eax, eax
je 0x42c0a7
lea esi, [eax + 2]
lea edx, [esp + 0x480]
mov eax, esi
sub edx, esi
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x42c070
xor eax, eax
mov word [esi], ax
lea eax, [esp + 0x278]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42c090
sub eax, edx
sar eax, 1
mov ebx, eax
mov dword [esp + 0x18], ebx
jmp 0x42c0d8
xor eax, eax
lea esp, [esp]
movzx ecx, word [esp + eax + 0x278]
mov word [esp + eax + 0x480], cx
add eax, 2
test cx, cx
jne 0x42c0b0
xor ecx, ecx
mov word [esp + 0x278], cx
mov dword [esp + 0x18], ecx
mov ebx, ecx
lea edx, [esp + 0x28]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
setne al
mov dword [esp + 0x14], edi
mov esi, eax
test esi, esi
je 0x42c12d
mov edi, edi
mov eax, dword [esp + 0x69c]
lea ecx, [esp + 0x278]
push ecx
lea edx, [esp + 0x2c]
call fcn.00442a20
add esp, 4
test al, al
je 0x42c12d
lea edx, [esp + 0x28]
push edx
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x42c100
mov eax, dword [0x4c4a14]
mov ebp, dword [esp + 0x68c]
xor ebx, ebx
mov dword [esp + 0x1c], eax
cmp esi, ebx
je 0x42c3b3
jmp 0x42c150
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x28]
mov dword [edx + 0x10], ecx
mov ecx, dword [edi + 0x14]
cmp byte [ecx], 0x73
jne 0x42c186
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x20]
push eax
push ebp
push 2
call fcn.00425460
mov ecx, dword [edi + 0x14]
mov esi, eax
mov eax, dword [esp + 0x20]
cmp eax, ecx
je 0x42c167
jmp 0x42c199
lea edx, [esp + 0x20]
push edx
push ebp
push 3
call fcn.00425460
mov esi, eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x42c1cd
cmp esi, 6
jne 0x42c542
cmp eax, edi
je 0x42c1db
mov ecx, dword [esp + 0x694]
mov dword [ecx], eax
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x678
ret 0x1c
cmp esi, 1
je 0x42c1db
cmp esi, 6
jne 0x42c559
cmp dword [esp + 0x698], ebx
je 0x42c2e5
mov esi, dword [esp + 0x698]
mov eax, dword [0x4c4a14]
mov dword [0x4c9d48], esi
cmp byte [eax + 0xf9], 0
je 0x42c238
mov ecx, dword [0x4c9650]
mov dword [ecx*4 + 0x4c9010], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4c9650]
mov dword [ecx*4 + 0x4c7e40], eax
inc ecx
mov dword [0x4c9650], ecx
cmp ecx, 0x190
jl 0x42c238
mov dword [0x4c9650], ebx
push ebx
push 0xffffffffffffffff
push ebx
push esi
call fcn.0045a570
mov esi, eax
cmp esi, 1
jne 0x42c559
lea esi, [eax + 4]
mov eax, dword [0x4c84d8]
movzx ecx, word [eax]
mov edi, eax
cmp ecx, 0x30
jbe 0x42c264
lea eax, [esi - 4]
jmp 0x42c2d8
cmp ecx, ebx
je 0x42c2d6
cmp ecx, 0x30
jne 0x42c273
cmp word [eax + 2], bx
je 0x42c2d6
push ebx
push 1
push ebx
push 1
call fcn.004744d0
add esp, 0x10
dec eax
je 0x42c2a9
dec eax
je 0x42c28e
mov eax, 1
jmp 0x42c2d8
push edi
call fcn.0048f903
fldz
fucompp
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x42c2d6
mov eax, 1
jmp 0x42c2d8
mov eax, edi
call fcn.0040dae0
test al, al
je 0x42c2c2
push 0x10
push ebx
push edi
call fcn.0048f824
add esp, 0xc
jmp 0x42c2cb
push edi
call fcn.0048eed1
add esp, 4
or eax, edx
je 0x42c2d6
mov eax, 1
jmp 0x42c2d8
xor eax, eax
cmp eax, ebx
setne al
test al, al
jne 0x42c559
mov esi, dword [esp + 0x14]
lea esp, [esp]
lea edx, [esp + 0x28]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
cmp edi, ebx
je 0x42c3a0
test byte [esp + 0x28], 0x10
je 0x42c336
cmp dword [esp + 0x69c], 1
je 0x42c2f0
cmp word [esp + 0x54], 0x2e
jne 0x42c340
mov ax, word [esp + 0x56]
cmp ax, bx
je 0x42c2f0
cmp ax, 0x2e
jne 0x42c340
cmp word [esp + 0x58], bx
jmp 0x42c33e
cmp dword [esp + 0x69c], 2
je 0x42c2f0
cmp word [esp + 0x278], bx
je 0x42c3a0
lea eax, [esp + 0x54]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42c351
mov ecx, dword [esp + 0x18]
sub eax, edx
sar eax, 1
lea edx, [eax + ecx]
cmp edx, 0x104
jae 0x42c2f0
mov esi, ecx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esp + 0x58]
add esi, esi
push ecx
lea edx, [esp + esi + 0x5c]
push edx
call fcn.0048e670
add esp, 0xc
push esi
lea eax, [esp + 0x27c]
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.00495f80
add esp, 0xc
mov eax, dword [esp + 0x1c]
add dword [eax + 8], 1
adc dword [eax + 0xc], ebx
cmp edi, ebx
jne 0x42c150
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x42c3c3
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x6a0], 0
je 0x42c530
mov eax, dword [esp + 0x18]
cmp eax, 0x100
ja 0x42c530
lea ebp, [esp + eax*2 + 0x278]
mov eax, 0x4a8af4
mov edx, ebp
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x42c3f0
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x27c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, 0xffffffff
je 0x42c530
lea eax, [esp + 0x480]
lea edx, [eax + 2]
jmp 0x42c430
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42c430
mov edi, dword [esp + 0x694]
mov ebx, dword [esp + 0x690]
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
test byte [esp + 0x28], 0x10
je 0x42c511
cmp word [esp + 0x54], 0x2e
jne 0x42c488
mov ax, word [esp + 0x56]
test ax, ax
je 0x42c511
cmp ax, 0x2e
jne 0x42c488
cmp word [esp + 0x58], 0
je 0x42c511
lea eax, [esp + 0x54]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42c490
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x1c]
cmp eax, 0x102
ja 0x42c511
lea eax, [esp + 0x480]
push eax
lea ecx, [esp + 0x58]
push ecx
push 0x4a6218
push ebp
call fcn.0048e003
mov eax, dword [esp + 0x6b0]
mov ecx, dword [esp + 0x6ac]
add esp, 0x10
lea edx, [esp + 0x278]
push edx
mov edx, dword [esp + 0x69c]
push eax
mov eax, dword [esp + 0x694]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push edi
push ebx
push eax
call fcn.0042c010
mov esi, eax
cmp esi, 1
jne 0x42c1b3
cmp byte [ebx], 0
jne 0x42c525
cmp dword [edi], 0
jne 0x42c525
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42c455
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x678
ret 0x1c
cmp eax, edi
jne 0x42c1aa
mov edx, dword [esp + 0x690]
mov byte [edx], 1
jmp 0x42c1b3
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x678
ret 0x1c