Function at 0x407520
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4121e5
mov eax, dword fs:[0]
push eax
sub esp, 0x318
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x324], ecx
mov dword [ebp - 0x304], 0
push 0x4156fe
lea ecx, [ebp - 0x128]
call fcn.00404d30
mov dword [ebp - 4], 0
push 0x13e
push 0
lea eax, [ebp - 0x2f8]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, dword [0x415860]
mov dword [ebp - 0x110], ecx
mov edx, dword [0x415864]
mov dword [ebp - 0x10c], edx
mov eax, dword [0x415868]
mov dword [ebp - 0x108], eax
mov ecx, dword [0x41586c]
mov dword [ebp - 0x104], ecx
mov edx, dword [0x415870]
mov dword [ebp - 0x100], edx
mov ax, word [0x415874]
mov word [ebp - 0xfc], ax
push 0xea
push 0
lea ecx, [ebp - 0xfa]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea edx, [ebp - 0x110]
push edx
call sub.MSVCR120.dll_strlen
add esp, 4
movsx eax, byte [ebp + eax - 0x111]
cmp eax, 0x5c
je 0x407616
push str...
lea ecx, [ebp - 0x110]
push ecx
call sub.MSVCR120.dll_strcat
add esp, 8
push 0x41587c
lea edx, [ebp - 0x110]
push edx
call sub.MSVCR120.dll_strcat
add esp, 8
mov dword [ebp - 0x2fc], 0
lea eax, [ebp - 0x2f8]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x300], eax
mov edx, dword [ebp - 0x2f8]
and edx, 0x10
je 0x407685
push 0x415880
lea eax, [ebp - 0x2cc]
push eax
call sub.MSVCR120.dll_strcmp
add esp, 8
test eax, eax
je 0x407685
push 0x415884
lea ecx, [ebp - 0x2cc]
push ecx
call sub.MSVCR120.dll_strcmp
add esp, 8
cmp dword [ebp - 0x2fc], 0
jne 0x40785d
lea edx, [ebp - 0x2f8]
push edx
mov eax, dword [ebp - 0x300]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40784e
mov ecx, dword [ebp - 0x2f8]
and ecx, 0x10
je 0x4076ee
push 0x415888
lea edx, [ebp - 0x2cc]
push edx
call sub.MSVCR120.dll_strcmp
add esp, 8
test eax, eax
je 0x4076ee
push 0x41588c
lea eax, [ebp - 0x2cc]
push eax
call sub.MSVCR120.dll_strcmp
add esp, 8
test eax, eax
je 0x4076ee
jmp 0x40784c
lea ecx, [ebp - 0x2cc]
push ecx
lea ecx, [ebp - 0x158]
call fcn.00404d30
mov byte [ebp - 4], 1
push 0
push 0x415890
lea ecx, [ebp - 0x158]
call fcn.00406540
cmp eax, dword [0x415610]
je 0x40783d
lea edx, [ebp - 0x2cc]
push edx
lea ecx, [ebp - 0x140]
call fcn.00404d30
mov byte [ebp - 4], 2
lea eax, [ebp - 0x140]
push eax
push 0x41589c
lea ecx, [ebp - 0x1a0]
call fcn.00404d30
mov dword [ebp - 0x30c], eax
mov ecx, dword [ebp - 0x30c]
mov dword [ebp - 0x320], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x320]
push edx
push str.C:Program_FilesYASS
lea ecx, [ebp - 0x1b8]
call fcn.00404d30
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp - 0x31c]
mov dword [ebp - 0x310], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x310]
push ecx
lea edx, [ebp - 0x188]
push edx
call fcn.00404540
add esp, 0xc
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x318], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x318]
push ecx
lea edx, [ebp - 0x170]
push edx
call fcn.00407f10
add esp, 0xc
mov dword [ebp - 0x308], eax
mov eax, dword [ebp - 0x308]
push eax
lea ecx, [ebp - 0x128]
call fcn.004050f0
lea ecx, [ebp - 0x170]
call fcn.00404f80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x188]
call fcn.00404f80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1b8]
call fcn.00404f80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1a0]
call fcn.00404f80
mov dword [ebp - 0x2fc], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x140]
call fcn.00404f80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x158]
call fcn.00404f80
jmp 0x407858
mov dword [ebp - 0x2fc], 1
jmp 0x407685
mov ecx, dword [ebp - 0x300]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [ebp - 0x128]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404c40
mov eax, dword [ebp - 0x304]
or eax, 1
mov dword [ebp - 0x304], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.00404f80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004113d0
mov esp, ebp
pop ebp
ret 4