Function at 0x4069a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e5a7c
mov eax, dword fs:[0]
push eax
sub esp, 0x6a8
mov eax, dword [0x6a8a44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
push 0x5edac4
lea ecx, [ebp - 0x420]
push ecx
call fcn.00409310
add esp, 0xc
lea edx, [ebp - 0x68c]
push edx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x698], eax
cmp dword [ebp - 0x698], 0xffffffff
je 0x406ce7
lea ecx, [ebp - 0x68c]
push ecx
mov edx, dword [ebp - 0x698]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x6ac], eax
cmp dword [ebp - 0x6ac], 0
jne 0x406a33
jmp 0x406ce7
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ebp + ecx - 0x660]
cmp edx, 0x2e
jne 0x406a4a
jmp 0x4069fe
mov eax, 2
shl eax, 0
movzx ecx, word [ebp + eax - 0x660]
test ecx, ecx
jne 0x406a60
jmp 0x4069fe
mov edx, 2
shl edx, 0
movzx eax, word [ebp + edx - 0x660]
cmp eax, 0x2e
jne 0x406a8d
mov ecx, 2
shl ecx, 1
movzx edx, word [ebp + ecx - 0x660]
test edx, edx
jne 0x406a8d
jmp 0x4069fe
mov eax, dword [ebp - 0x68c]
and eax, 0x10
jne 0x406ce2
mov byte [ebp - 0x68d], 0
lea ecx, [ebp - 0x43c]
call fcn.00407da0
mov dword [ebp - 4], 0
push 0x5edae0
lea ecx, [ebp - 0x660]
push ecx
call fcn.004092d0
add esp, 8
test eax, eax
je 0x406b41
mov byte [ebp - 0x424], 0
mov byte [ebp - 0x68d], 1
lea edx, [ebp - 0x660]
push edx
push 0x5edaec
lea eax, [ebp - 0x218]
push eax
call fcn.00409310
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
call fcn.005c1d51
add esp, 4
mov esi, eax
push 0x5edaf4
call fcn.005c1d51
add esp, 4
sub esi, eax
shl esi, 1
mov dword [ebp - 0x69c], esi
cmp dword [ebp - 0x69c], 0x208
jae 0x406b2c
jmp 0x406b31
call fcn.005ad1a5
xor edx, edx
mov eax, dword [ebp - 0x69c]
mov word [ebp + eax - 0x218], dx
push 0x5edb14
lea ecx, [ebp - 0x660]
push ecx
call fcn.004092d0
add esp, 8
test eax, eax
je 0x406bcd
mov byte [ebp - 0x68d], 1
mov byte [ebp - 0x424], 1
lea edx, [ebp - 0x660]
push edx
push 0x5edb30
lea eax, [ebp - 0x218]
push eax
call fcn.00409310
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
call fcn.005c1d51
add esp, 4
mov esi, eax
push 0x5edb38
call fcn.005c1d51
add esp, 4
sub esi, eax
shl esi, 1
mov dword [ebp - 0x6a0], esi
cmp dword [ebp - 0x6a0], 0x208
jae 0x406bb8
jmp 0x406bbd
call fcn.005ad1a5
xor edx, edx
mov eax, dword [ebp - 0x6a0]
mov word [ebp + eax - 0x218], dx
movzx ecx, byte [ebp - 0x68d]
test ecx, ecx
jne 0x406bef
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.0041d880
jmp 0x4069fe
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x43c]
call fcn.004028a0
lea eax, [ebp - 0x218]
push eax
call fcn.00405e10
add esp, 4
cmp eax, 1
jne 0x406c21
mov dword [ebp - 0x6a4], 1
jmp 0x406c2b
mov dword [ebp - 0x6a4], 0
mov cl, byte [ebp - 0x6a4]
mov byte [ebp - 0x423], cl
mov dword [ebp - 0x6a8], 0
lea edx, [ebp - 0x694]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0046f780
jmp 0x406c66
push 0
lea eax, [ebp - 0x6b0]
push eax
lea ecx, [ebp - 0x694]
call fcn.00407f10
lea ecx, [ebp - 0x6b4]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00419140
push eax
lea ecx, [ebp - 0x694]
call fcn.0046f230
movzx edx, al
test edx, edx
je 0x406cb8
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x694]
call fcn.0041baf0
push eax
call fcn.00406f10
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x406cb6
mov dword [ebp - 0x6a8], 1
jmp 0x406cb8
jmp 0x406c52
cmp dword [ebp - 0x6a8], 0
jne 0x406cd0
lea edx, [ebp - 0x43c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00409130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.0041d880
jmp 0x4069fe
mov eax, dword [ebp - 0x698]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ad281
mov esp, ebp
pop ebp
ret