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

Disassembly:
sub esp, 0x368
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x394]
push 0x103
lea eax, [esp + 0x16c]
push edi
push eax
mov dword [esp + 0x30], ecx
call fcn.00488180
add esp, 0xc
lea ecx, [esp + 0x168]
push 0x5c
push ecx
mov byte [esp + 0x273], 0
call fcn.004873da
add esp, 8
test eax, eax
je 0x42b101
lea esi, [eax + 1]
lea edx, [esp + 0x270]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42b0d7
lea eax, [esp + 0x168]
mov byte [esi], cl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42b0f0
sub eax, edx
mov ebx, eax
mov dword [esp + 0x1c], eax
jmp 0x42b130
xor eax, eax
jmp 0x42b110
mov cl, byte [esp + eax + 0x168]
mov byte [esp + eax + 0x270], cl
inc eax
test cl, cl
jne 0x42b110
xor ebx, ebx
mov byte [esp + 0x168], cl
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x28]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, dword [esp + 0x38c]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
setne al
mov dword [esp + 0x14], edi
mov esi, eax
test esi, esi
je 0x42b1f2
jmp 0x42b160
test byte [esp + 0x28], 0x10
je 0x42b186
cmp ebp, 1
je 0x42b1b4
cmp byte [esp + 0x54], 0x2e
jne 0x42b18b
mov al, byte [esp + 0x55]
test al, al
je 0x42b1b4
cmp al, 0x2e
jne 0x42b18b
cmp byte [esp + 0x56], 0
jmp 0x42b189
cmp ebp, 2
je 0x42b1b4
cmp byte [esp + 0x168], 0
je 0x42b1f2
lea eax, [esp + 0x54]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42b1a0
sub eax, edx
lea ecx, [eax + ebx]
cmp ecx, 0x104
jb 0x42b1c8
lea edx, [esp + 0x28]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov esi, eax
test esi, esi
jne 0x42b160
jmp 0x42b1f2
inc eax
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + ebx + 0x5c]
push ecx
call fcn.00485dc0
add esp, 0xc
push ebx
lea edx, [esp + 0x16c]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.0048dae0
add esp, 0xc
mov ecx, dword [0x4a6920]
mov ebp, dword [esp + 0x388]
mov ebx, dword [esp + 0x37c]
mov dword [esp + 0x18], ecx
test esi, esi
je 0x42b462
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x28]
mov dword [eax + 0x10], edx
mov ecx, dword [edi + 0x14]
cmp byte [ecx], 0x73
jne 0x42b24f
lea esp, [esp]
mov ecx, dword [ecx + 0x14]
lea edx, [esp + 0x20]
push edx
push ebx
push 2
call fcn.00423fd0
mov ecx, dword [edi + 0x14]
mov esi, eax
mov eax, dword [esp + 0x20]
cmp eax, ecx
je 0x42b230
jmp 0x42b262
lea eax, [esp + 0x20]
push eax
push ebx
push 3
call fcn.00423fd0
mov esi, eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42b296
cmp esi, 6
jne 0x42b5bd
cmp eax, edi
je 0x42b2a4
mov edx, dword [esp + 0x384]
mov dword [edx], eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x368
ret 0x1c
cmp esi, 1
je 0x42b2a4
cmp esi, 6
jne 0x42b5d4
test ebp, ebp
je 0x42b3ac
mov ecx, dword [0x4a6920]
mov dword [0x4ac600], ebp
cmp byte [ecx + 0xd9], 0
je 0x42b2fa
mov edx, dword [0x4ac1d0]
mov dword [edx*4 + 0x4abb90], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4ac1d0]
mov dword [ecx*4 + 0x4a9b38], eax
inc ecx
mov dword [0x4ac1d0], ecx
cmp ecx, 0x190
jl 0x42b2fa
mov dword [0x4ac1d0], 0
push 0
push 0xffffffffffffffff
push 0
push ebp
call fcn.00458d10
mov esi, eax
cmp esi, 1
jne 0x42b5d4
lea esi, [eax + 4]
mov eax, dword [0x4aa1d0]
movsx ecx, byte [eax]
mov edi, eax
cmp ecx, 0x30
jbe 0x42b328
lea eax, [esi - 4]
jmp 0x42b39f
test ecx, ecx
je 0x42b39d
cmp ecx, 0x30
jne 0x42b337
cmp byte [eax + 1], 0
je 0x42b39d
push 0
push 1
push 0
push 1
call fcn.00472230
add esp, 0x10
dec eax
je 0x42b36f
dec eax
je 0x42b354
mov eax, 1
jmp 0x42b39f
push edi
call fcn.004870dd
fldz
fucompp
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x42b39d
mov eax, 1
jmp 0x42b39f
mov eax, edi
call fcn.0040ce30
test al, al
je 0x42b389
push 0x10
push 0
push edi
call fcn.00486fdb
add esp, 0xc
jmp 0x42b392
push edi
call fcn.00486771
add esp, 4
or eax, edx
je 0x42b39d
mov eax, 1
jmp 0x42b39f
xor eax, eax
test eax, eax
setne al
test al, al
jne 0x42b5d4
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov esi, eax
test esi, esi
je 0x42b44e
test byte [esp + 0x28], 0x10
je 0x42b3f5
cmp dword [esp + 0x38c], 1
je 0x42b3b0
cmp byte [esp + 0x54], 0x2e
jne 0x42b3ff
mov al, byte [esp + 0x55]
test al, al
je 0x42b3b0
cmp al, 0x2e
jne 0x42b3ff
cmp byte [esp + 0x56], 0
jmp 0x42b3fd
cmp dword [esp + 0x38c], 2
je 0x42b3b0
cmp byte [esp + 0x168], 0
je 0x42b44e
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42b410
sub eax, edx
lea edx, [eax + edi]
cmp edx, 0x104
jae 0x42b3b0
inc eax
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + edi + 0x5c]
push ecx
call fcn.00485dc0
add esp, 0xc
push edi
lea edx, [esp + 0x16c]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.0048dae0
add esp, 0xc
mov eax, dword [esp + 0x18]
add dword [eax + 8], 1
adc dword [eax + 0xc], 0
test esi, esi
jne 0x42b212
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x42b472
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x390], 0
je 0x42b5ab
mov esi, dword [esp + 0x1c]
cmp esi, 0x100
ja 0x42b5ab
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x16c]
lea ebx, [esp + esi + 0x16c]
push eax
mov dword [ebx], 0x2a2e2a
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x42b5ab
lea eax, [esp + 0x270]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42b4c7
mov edi, dword [esp + 0x384]
mov ebp, dword [esp + 0x380]
sub eax, edx
add eax, esi
mov dword [esp + 0x18], eax
test byte [esp + 0x28], 0x10
je 0x42b588
cmp byte [esp + 0x54], 0x2e
jne 0x42b50d
mov al, byte [esp + 0x55]
test al, al
je 0x42b588
cmp al, 0x2e
jne 0x42b50d
cmp byte [esp + 0x56], 0
je 0x42b588
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42b514
sub eax, edx
add eax, dword [esp + 0x18]
cmp eax, 0x102
ja 0x42b588
lea edx, [esp + 0x270]
push edx
lea eax, [esp + 0x58]
push eax
push 0x49ae0c
push ebx
call fcn.00485718
mov edx, dword [esp + 0x3a0]
mov eax, dword [esp + 0x39c]
add esp, 0x10
lea ecx, [esp + 0x168]
push ecx
mov ecx, dword [esp + 0x38c]
push edx
mov edx, dword [esp + 0x384]
push eax
push ecx
mov ecx, dword [esp + 0x34]
push edi
push ebp
push edx
call fcn.0042b080
mov esi, eax
cmp esi, 1
jne 0x42b5ee
cmp byte [ebp], 0
jne 0x42b5a0
cmp dword [edi], 0
jne 0x42b5a0
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42b4e4
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, 0x368
ret 0x1c
cmp eax, edi
jne 0x42b273
mov ecx, dword [esp + 0x380]
mov byte [ecx], 1
jmp 0x42b27c
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x368
ret 0x1c
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x368
ret 0x1c