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

Disassembly:
sub esp, 0x370
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x39c]
lea eax, [esp + 0x170]
push 0x103
push edi
push eax
mov dword [esp + 0x20], ecx
call fcn.00487600
add esp, 0xc
mov byte [esp + 0x273], 0
lea eax, [esp + 0x170]
push 0x5c
push eax
call fcn.0048695e
add esp, 8
test eax, eax
je 0x42acbc
lea esi, [eax + 1]
lea edx, [esp + 0x278]
mov ecx, esi
sub edx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x42ac97
lea ebp, [esp + 0x170]
mov byte [esi], al
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x42acb0
sub ebp, ecx
jmp 0x42acde
xor ecx, ecx
mov edi, edi
mov al, byte [esp + ecx + 0x170]
lea ecx, [ecx + 1]
mov byte [esp + ecx + 0x277], al
test al, al
jne 0x42acc0
mov byte [esp + 0x170], al
xor ebp, ebp
lea eax, [esp + 0x30]
mov dword [esp + 0x18], ebp
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, dword [esp + 0x394]
xor ebx, ebx
mov esi, eax
cmp esi, 0xffffffff
setne bl
test ebx, ebx
je 0x42ad94
test byte [esp + 0x30], 0x10
je 0x42ad2d
cmp edi, 1
je 0x42ad56
cmp byte [esp + 0x5c], 0x2e
jne 0x42ad32
mov al, byte [esp + 0x5d]
test al, al
je 0x42ad56
cmp al, 0x2e
jne 0x42ad32
cmp byte [esp + 0x5e], 0
jmp 0x42ad30
cmp edi, 2
je 0x42ad56
cmp byte [esp + 0x170], 0
je 0x42ad94
lea ecx, [esp + 0x5c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42ad43
sub ecx, edx
lea eax, [ecx + ebp]
cmp eax, 0x104
jb 0x42ad6a
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov ebx, eax
test ebx, ebx
jne 0x42ad07
jmp 0x42ad94
lea eax, [ecx + 1]
push eax
lea eax, [esp + 0x60]
push eax
add eax, ebp
push eax
call fcn.00484fa0
add esp, 0xc
lea eax, [esp + 0x170]
push ebp
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0048cfd0
add esp, 0xc
mov eax, dword [0x4aa1d8]
mov edx, dword [esp + 0x384]
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x42b016
mov ebx, esi
mov edi, edi
lea ecx, [esp + 0x30]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x14]
cmp byte [ecx], 0x73
jne 0x42adfa
mov ebp, eax
jmp 0x42add7
mov edx, dword [esp + 0x384]
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x20]
push eax
push edx
push 2
call fcn.00423db0
mov ecx, dword [ebp + 0x14]
mov esi, eax
mov edx, dword [esp + 0x20]
cmp edx, ecx
je 0x42add0
mov ebp, dword [esp + 0x18]
jmp 0x42ae0d
lea eax, [esp + 0x20]
push eax
push edx
push 3
call fcn.00423db0
mov edx, dword [esp + 0x20]
mov esi, eax
test edx, edx
je 0x42ae3f
cmp esi, 6
jne 0x42affb
cmp edx, dword [esp + 0x14]
je 0x42ae49
mov eax, dword [esp + 0x38c]
mov dword [eax], edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x370
ret 0x1c
cmp esi, 1
je 0x42ae49
cmp esi, 6
jne 0x42ae29
mov esi, dword [esp + 0x390]
test esi, esi
je 0x42af50
mov eax, dword [0x4aa1d8]
mov dword [0x4aed20], esi
cmp byte [eax + 0xd9], 0
je 0x42ae9d
mov eax, dword [0x4adbd4]
mov dword [eax*4 + 0x4ae220], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4adbd4]
mov dword [ecx*4 + 0x4adbe0], eax
inc ecx
xor eax, eax
cmp ecx, 0x190
cmovge ecx, eax
mov dword [0x4adbd4], ecx
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00457640
mov esi, eax
cmp esi, 1
jne 0x42ae29
mov edi, dword [0x4ae8b0]
lea esi, [eax + 4]
movsx eax, byte [edi]
cmp eax, 0x30
jbe 0x42aecb
lea eax, [esi - 4]
jmp 0x42af37
test eax, eax
je 0x42af35
cmp eax, 0x30
jne 0x42aeda
cmp byte [edi + 1], 0
je 0x42af35
push 0
push 1
push 0
mov edx, 1
mov ecx, edi
call fcn.00471460
add esp, 0xc
dec eax
je 0x42af23
dec eax
je 0x42aefc
mov eax, 1
jmp 0x42af37
push edi
call fcn.00486767
fstp qword [esp + 0x2c]
movsd xmm0, qword [esp + 0x2c]
add esp, 4
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x42af35
mov eax, 1
jmp 0x42af37
mov ecx, edi
call fcn.004133c0
or eax, edx
je 0x42af35
mov eax, 1
jmp 0x42af37
xor eax, eax
test eax, eax
setne al
test al, al
jne 0x42ae29
mov edi, dword [esp + 0x394]
jmp 0x42af50
lea eax, [esp + 0x30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov esi, eax
test esi, esi
je 0x42afdf
test byte [esp + 0x30], 0x10
je 0x42af8c
cmp edi, 1
je 0x42af50
cmp byte [esp + 0x5c], 0x2e
jne 0x42af91
mov al, byte [esp + 0x5d]
test al, al
je 0x42af50
cmp al, 0x2e
jne 0x42af91
cmp byte [esp + 0x5e], 0
jmp 0x42af8f
cmp edi, 2
je 0x42af50
cmp byte [esp + 0x170], 0
je 0x42afdf
lea ecx, [esp + 0x5c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42afa2
sub ecx, edx
lea eax, [ecx + ebp]
cmp eax, 0x104
jae 0x42af50
lea eax, [ecx + 1]
push eax
lea eax, [esp + 0x60]
push eax
add eax, ebp
push eax
call fcn.00484fa0
add esp, 0xc
lea eax, [esp + 0x170]
push ebp
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0048cfd0
add esp, 0xc
mov eax, dword [esp + 0x1c]
add dword [eax + 8], 1
adc dword [eax + 0xc], 0
test esi, esi
je 0x42b014
mov edx, dword [esp + 0x384]
jmp 0x42adb0
cmp edx, dword [esp + 0x14]
jne 0x42ae20
mov eax, dword [esp + 0x388]
mov byte [eax], 1
jmp 0x42ae29
mov esi, ebx
cmp esi, 0xffffffff
je 0x42b022
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x398], 0
je 0x42b165
cmp ebp, 0x100
ja 0x42b165
lea eax, [esp + 0x170]
mov dword [eax + ebp], 0x2a2e2a
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x174]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x42b165
lea ecx, [esp + 0x278]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42b072
mov eax, dword [esp + 0x18]
sub ecx, edx
mov edi, dword [esp + 0x38c]
mov ebx, dword [esp + 0x388]
lea esi, [ecx + eax]
mov dword [esp + 0x1c], esi
test byte [esp + 0x30], 0x10
je 0x42b149
cmp byte [esp + 0x5c], 0x2e
jne 0x42b0c1
mov al, byte [esp + 0x5d]
test al, al
je 0x42b149
cmp al, 0x2e
jne 0x42b0c1
cmp byte [esp + 0x5e], 0
je 0x42b149
lea ecx, [esp + 0x5c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42b0c8
sub ecx, edx
lea eax, [ecx + esi]
cmp eax, 0x102
ja 0x42b149
lea eax, [esp + 0x278]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x178]
add eax, dword [esp + 0x20]
push 0x49f720
push eax
call fcn.0048498d
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x180]
add esp, 0x10
push eax
push dword [esp + 0x39c]
push dword [esp + 0x39c]
push dword [esp + 0x39c]
push edi
push ebx
push dword [esp + 0x39c]
call fcn.0042ac40
mov esi, eax
cmp esi, 1
jne 0x42b177
cmp byte [ebx], 0
jne 0x42b15d
cmp dword [edi], 0
jne 0x42b15d
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42b094
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
push ebp
call eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x370
ret 0x1c
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
push ebp
call eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x370
ret 0x1c