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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a30ee
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x62e15c]
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 dword [ebp - 0x2e8], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2ec], eax
mov dword [ebp - 0x2f0], ebx
test eax, eax
jne 0x412051
xor eax, eax
jmp 0x412387
test ebx, ebx
je 0x41204a
push eax
lea ecx, [ebp - 0x70]
xor edi, edi
call fcn.00403660
push 3
push 0x5a906c
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], edi
call fcn.00405220
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], ax
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00403660
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.0043254a
add esp, 4
mov dword [ebp - 0x2e4], edi
mov dword [ebp - 0x2e0], edi
mov dword [ebp - 0x2dc], edi
push 0x5a9250
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.00403660
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00403660
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00429f89
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 8
jb 0x412110
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402250
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x412143
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00402250
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x2d8]
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4122a7
lea eax, [ebp - 0x2d8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4122a7
cmp word [ebp - 0x2ac], 0x2e
je 0x412167
mov ax, word [ebp - 0x2aa]
test ax, ax
je 0x412167
cmp ax, 0x2e
jne 0x4121a3
cmp word [ebp - 0x2a8], 0
je 0x412167
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x40]
call fcn.004038f0
test byte [ebp - 0x2d8], 0x10
je 0x412167
lea eax, [ebp - 0x40]
push eax
call fcn.0043254a
mov esi, dword [ebp - 0x2e4]
add esp, 4
cmp esi, dword [ebp - 0x2e0]
je 0x412233
cmp dword [esi + 0x14], 8
jb 0x4121df
mov eax, dword [esi]
jmp 0x4121e1
mov eax, esi
push eax
lea ecx, [ebp - 0x28]
call fcn.00403660
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
push eax
call fcn.00403090
add esp, 0x10
lea ecx, [ebp - 0x28]
test eax, eax
je 0x412229
call fcn.00402ca0
add esi, 0x18
cmp esi, dword [ebp - 0x2e0]
jne 0x4121d5
jmp 0x412233
mov edi, 1
call fcn.00402ca0
test edi, edi
jne 0x412167
push dword [ebp - 0x2ec]
lea ecx, [ebp - 0x28]
call fcn.00403660
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x28]
call fcn.00405110
push 1
push 0x5a7cc8
lea ecx, [ebp - 0x28]
call fcn.00405220
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x2f0]
cmovae eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2e8]
push eax
call fcn.00412000
lea ecx, [ebp - 0x28]
test eax, eax
jne 0x41229d
mov byte [ebp - 4], 3
call fcn.00402ca0
jmp 0x412167
mov edi, 1
call fcn.00402ca0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x2e4]
test eax, eax
je 0x41231e
push dword [ebp - 0x2e8]
lea ecx, [ebp - 0x2e4]
push ecx
push dword [ebp - 0x2e0]
push eax
call fcn.00405460
mov ecx, dword [ebp - 0x2dc]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x2e4]
add esp, 0x10
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x2e4]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00406ed0
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x412333
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402250
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x41235c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402250
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x412385
inc ecx
push ecx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x70]
call fcn.00402250
mov eax, edi
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.0043ae55
mov esp, ebp
pop ebp
ret 8