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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fee40
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x69cef4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424446
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jb 0x4247f1
push esi
call fcn.00420250
add esp, 4
test al, al
je 0x4247f1
push esi
lea ecx, [ebp - 0x28]
call fcn.00405d50
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.004315d0
add esp, 4
test eax, eax
jne 0x42449c
push 0x608b38
lea ecx, [ebp - 0x28]
call fcn.00416e30
call fcn.0048b4a0
test al, al
je 0x4244bd
push esi
push eax
push edi
push eax
push ebp
push esp
pop esi
pop esp
pop ebx
pop esp
pop ecx
push ebx
pop edx
pop ebp
push esp
push edx
push ecx
push edi
push eax
push edx
push eax
push eax
pop esp
push ecx
call fcn.0048b6d0
test al, al
je 0x4244da
pop edx
pop esp
pop esp
push eax
pop esi
pop ecx
push ebx
pop esp
push esp
push esp
pop ebx
push esp
push edi
push esp
pop edi
push edx
push edx
pop ecx
push esp
pop ebp
call fcn.0048b900
test al, al
je 0x4244fe
pop esp
push eax
push esp
pop ecx
push esi
pop eax
pop eax
push ecx
pop ebx
pop edx
pop esp
pop ebp
push ecx
push esp
push ebx
push ecx
push eax
pop ebp
push edx
pop esi
pop edi
push edi
push ecx
pop edx
push ecx
pop eax
pop eax
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x40]
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], 7
call fcn.00407160
push 3
push 0x60ad68
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040fbd0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c4], eax
call fcn.0048b660
test al, al
je 0x424585
push esi
push edx
push edx
push ecx
pop eax
push ebp
push esp
pop edx
pop edi
push eax
push edx
pop ecx
pop ecx
push edi
push ebx
pop edx
pop esi
push esi
push edi
pop edx
pop eax
push eax
push eax
call fcn.0048b6d0
test al, al
je 0x4245a5
pop esi
push ebp
pop ebx
push ecx
pop esp
pop ebx
push esi
push ecx
pop ebp
pop esi
pop edi
pop ebp
push esp
pop esi
pop edx
push ebp
push esp
push ecx
pop edx
pop esi
pop esp
pop eax
pop ebx
call fcn.0048bcf0
test al, al
je 0x4245c1
pop esi
push eax
pop edx
pop esp
push edi
push ebp
push eax
push esp
pop edx
push esp
pop esi
pop esi
pop ebp
pop ebx
pop eax
pop eax
pop edi
pop ebx
push esi
mov edi, dword [ebp - 0x2c4]
cmp edi, 0xffffffff
je 0x424729
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x2c0]
push eax
push edi
call esi
test eax, eax
je 0x424729
cmp word [ebp - 0x294], 0x2e
je 0x4245d6
mov ax, word [ebp - 0x292]
test ax, ax
je 0x4245d6
cmp ax, 0x2e
jne 0x42460e
cmp word [ebp - 0x290], 0
je 0x4245d6
test byte [ebp - 0x2c0], 0x10
push 0xffffffffffffffff
push 0
je 0x4246c4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x60], 0
push eax
call fcn.00407160
cmp word [ebp - 0x294], 0
mov byte [ebp - 4], 3
jne 0x424651
xor ecx, ecx
jmp 0x42466f
lea ecx, [ebp - 0x294]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424660
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040fbd0
push 1
push 0x608b38
lea ecx, [ebp - 0x70]
call fcn.0040fbd0
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.00424410
mov eax, dword [ebp - 0x5c]
add esp, 4
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x4245d6
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00407380
jmp 0x4245d6
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.00407160
cmp word [ebp - 0x294], 0
jne 0x4246de
xor ecx, ecx
jmp 0x4246f6
lea ecx, [ebp - 0x294]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4246e7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040fbd0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00405d50
call fcn.004271a0
add esp, 0x18
jmp 0x4245d6
call fcn.0048b6d0
test al, al
je 0x424744
pop eax
push edx
push edi
pop esi
push edx
push esi
push edi
push esi
push eax
push eax
pop esp
pop ebp
push edi
pop ecx
push esp
pop esp
pop esi
push ebx
call fcn.0048be40
test al, al
je 0x42475d
push ebx
pop esi
pop esi
push ebp
pop edx
push ecx
pop ebx
pop eax
pop ecx
pop esp
pop esi
pop ecx
pop edx
push ebp
pop edx
push edi
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x20
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x42479f
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407380
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x4247c8
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407380
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x4247f1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407380
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ca59c
mov esp, ebp
pop ebp
ret