Function at 0x412a10
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34c
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x58]
mov dword [eax + 0x1c], 0x51dfc0
mov dword [eax + 0x20], 0x525ff8
mov dword [eax + 0x24], ebp
mov dword [eax + 0x2c], esp
mov dword [eax + 0x24], 0x412cf5
mov dword [eax + 8], 1
call fcn.0051ec29
mov dword [esp + 4], esi
lea eax, [ebp - 0x33c]
mov dword [esp], eax
call fcn.0041283c
mov dword [ebp - 0x50], 2
lea eax, [ebp - 0x33c]
mov dword [esp], eax
mov dword [esp + 4], str._.
call fcn.00414fa8
mov dword [esp + 4], eax
lea esi, [ebp - 0xb4]
mov dword [esp], esi
call fcn.00414790
lea eax, [ebp - 0x33c]
mov dword [esp], eax
call fcn.00403b68
cmp dword [esi + 0x18], 7
ja 0x412ac0
lea eax, [ebp - 0xb0]
jmp 0x412ac6
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x50], 3
lea ecx, [ebp - 0x33c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.KERNEL32.DLL_FindFirstFileW
sub esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x412cce
test byte [ebp - 0x33c], 0x10
jne 0x412c92
lea ecx, [ebp - 0xd0]
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
mov word [ecx + 4], 0
mov eax, 4
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x310]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00414a88
mov dword [ebp - 0x50], 5
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x74]
mov dword [esp], eax
call fcn.0041283c
mov dword [ebp - 0x50], 6
lea eax, [ebp - 0x74]
mov dword [esp], eax
mov dword [esp + 4], 0x525e32
call fcn.00414fa8
mov dword [esp + 4], eax
lea esi, [ebp - 0x94]
mov dword [esp], esi
call fcn.00414790
mov dword [ebp - 0x50], 7
lea eax, [ebp - 0xd0]
mov dword [esp + 4], eax
mov dword [esp], esi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
call fcn.0041482c
mov dword [esp + 4], eax
lea esi, [ebp - 0xec]
mov dword [esp], esi
call fcn.00414790
lea eax, [ebp - 0x94]
mov dword [esp], eax
call fcn.00403b68
lea eax, [ebp - 0x74]
mov edi, eax
mov dword [esp], edi
call fcn.00403b68
mov eax, 8
mov dword [ebp - 0x50], eax
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.004126dc
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
lea ecx, [eax - 1]
cmp byte [ecx + 1], 0
lea ecx, [ecx + 1]
jne 0x412c00
sub ecx, eax
mov dword [ebp - 0x50], 9
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00403518
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], 0xa
lea ecx, [ebp - 0x94]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00412e7c
lea eax, [ebp - 0x94]
mov dword [esp], eax
call fcn.00403adc
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x412c76
mov ecx, dword [ebp - 0x68]
sub ecx, eax
cmp ecx, 0x1000
jb 0x412c63
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.005040fc
xor eax, eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0xec]
mov dword [esp], eax
call fcn.00403b68
lea eax, [ebp - 0xd0]
mov dword [esp], eax
call fcn.00403b68
mov dword [ebp - 0x50], 0xb
lea eax, [ebp - 0x33c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sub.KERNEL32.DLL_FindNextFileW
sub esp, 8
test eax, eax
jne 0x412aef
mov dword [ebp - 0x50], 0xc
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sub.KERNEL32.DLL_FindClose
sub esp, 4
lea eax, [ebp - 0xb4]
mov dword [esp], eax
call fcn.00403b68
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.0051ec4a
mov eax, dword [ebp + 8]
add esp, 0x34c
pop esi
pop edi
pop ebx
pop ebp
ret