Function at 0x414a70
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x423b1c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
push edi
mov dword [ebx + 0xc], 5
mov dword [ebx + 4], 5
mov dword [ebx + 8], 0
call fcn.004054a0
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp + 0xc]
call fcn.00403320
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x268], eax
cmp eax, 0xffffffff
je 0x414d19
mov edi, 0x18
nop
lea ecx, [ebp - 0x284]
call fcn.00403290
test byte [ebp - 0x254], 0x10
je 0x414afb
xorps xmm0, xmm0
mov dword [ebp - 0x274], 1
movlpd qword [ebp - 0x27c], xmm0
jmp 0x414b1d
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], ecx
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x26c]
call fcn.004032c0
push eax
lea ecx, [ebp - 0x284]
call fcn.00403b40
lea ecx, [ebp - 0x26c]
call fcn.00403ca0
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x29c]
call fcn.00403c50
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x278]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x290], ecx
cmp eax, dword [ebx + 4]
jb 0x414cb4
lea esi, [eax + 1]
xor ecx, ecx
imul esi, dword [ebx + 0xc]
mov eax, esi
mov dword [ebp - 0x264], esi
mul edi
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00407fa0
add esp, 4
test eax, eax
je 0x414be7
mov edi, esi
mov dword [eax], esi
lea edx, [eax + 4]
mov dword [ebp - 0x258], edx
mov esi, edx
test edi, edi
jbe 0x414bef
nop
mov ecx, esi
call fcn.00403290
add esi, 0x18
sub edi, 1
jne 0x414bd0
mov edx, dword [ebp - 0x258]
jmp 0x414bef
xor edx, edx
mov dword [ebp - 0x258], edx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x260], 0
test eax, eax
je 0x414c4d
mov ecx, 0xfffffff0
lea edi, [edx + 0x10]
sub ecx, edx
mov dword [ebp - 0x25c], ecx
lea esi, [ecx + edi]
add esi, dword [ebx]
lea ecx, [edi - 0x10]
push esi
call fcn.00403b40
mov eax, dword [esi + 8]
lea edi, [edi + 0x18]
mov ecx, dword [esi + 0xc]
mov dword [edi - 0x1c], ecx
mov ecx, dword [ebp - 0x260]
mov dword [edi - 0x20], eax
inc ecx
mov eax, dword [esi + 0x10]
mov dword [edi - 0x18], eax
mov eax, dword [ebx + 8]
cmp ecx, eax
mov dword [ebp - 0x260], ecx
mov ecx, dword [ebp - 0x25c]
jb 0x414c10
mov ecx, dword [ebx]
test ecx, ecx
je 0x414c9e
mov esi, dword [ecx - 4]
lea edx, [ecx - 4]
mov dword [ebp - 0x25c], edx
lea eax, [esi + esi*2]
lea edi, [ecx + eax*8]
test esi, esi
je 0x414c85
nop dword [eax]
sub edi, 0x18
mov ecx, edi
call fcn.00403ca0
sub esi, 1
jne 0x414c70
mov edx, dword [ebp - 0x25c]
mov eax, dword [edx]
lea eax, [eax + eax*2]
lea eax, [eax*8 + 4]
push eax
push edx
call fcn.00407fd0
mov eax, dword [ebx + 8]
add esp, 8
mov ecx, dword [ebp - 0x258]
mov edi, 0x18
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x264]
mov dword [ebx + 4], ecx
lea ecx, [eax + eax*2]
mov eax, dword [ebx]
lea esi, [eax + ecx*8]
lea eax, [ebp - 0x29c]
mov ecx, esi
push eax
call fcn.00403b40
mov eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x290]
mov dword [esi + 0xc], ecx
lea ecx, [ebp - 0x29c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x28c]
mov dword [esi + 0x10], eax
inc dword [ebx + 8]
call fcn.00403ca0
lea ecx, [ebp - 0x284]
call fcn.00403ca0
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x414ad0
lea ecx, [ebp + 0xc]
call fcn.00403ca0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret