Function at 0x409320
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1248]
mov eax, 0x1248
call fcn.00458500
push 0xffffffffffffffff
push 0x4aebcc
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4f2b64]
xor eax, ebp
mov dword [ebp + 0x1244], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x1250]
mov eax, dword [ebp + 0x1254]
xor edi, edi
push 0x4de180
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edi
call fcn.00401640
push dword [ebp - 0x14]
xor ebx, ebx
lea eax, [ebp + 0x2a4]
push str._s.
inc ebx
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], ebx
call fcn.004567da
add esp, 0xc
lea eax, [ebp]
push eax
lea eax, [ebp + 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push str.0.0.0.0
lea ecx, [ebp + 0x26c]
mov dword [ebp - 0x10], eax
call fcn.00401640
cmp dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 4], ebx
je 0x409563
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, edi
je 0x409563
cmp word [ebp + 0x2c], 0x2e
je 0x4093d4
cmp word [ebp + 0x2e], di
je 0x4093d4
cmp word [ebp + 0x2e], 0x2e
jne 0x409403
cmp word [ebp + 0x30], di
je 0x4093d4
lea eax, [ebp + 0x2c]
push eax
push dword [ebp - 0x14]
lea eax, [ebp + 0xa74]
push 0x4b70c8
push eax
call fcn.004567da
push 0x4b74f8
lea eax, [ebp + 0xa74]
push eax
lea eax, [ebp + 0x250]
push eax
call fcn.0040fbee
add esp, 0x1c
push str.DFMiNi.exe
lea ecx, [ebp + 0x250]
mov byte [ebp - 4], 2
call fcn.004076a4
test eax, eax
je 0x409466
push str.TTNews.exe
lea ecx, [ebp + 0x250]
call fcn.004076a4
test eax, eax
jne 0x40954e
push 0x4de180
mov ecx, esi
call fcn.004076a4
test eax, eax
lea eax, [ebp + 0xa74]
push eax
jne 0x4094b1
mov ecx, esi
call fcn.00401810
lea eax, [ebp + 0xa74]
push eax
lea eax, [ebp + 0x288]
push eax
call fcn.0040fb4a
pop ecx
pop ecx
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x26c]
mov byte [ebp - 4], 3
call fcn.00401db0
jmp 0x409541
lea eax, [ebp + 0x288]
push eax
call fcn.0040fb4a
pop ecx
pop ecx
cmp dword [ebp + 0x2a0], 8
mov ecx, dword [ebp + 0x28c]
mov byte [ebp - 4], 4
jae 0x4094d8
lea ecx, [ebp + 0x28c]
cmp dword [ebp + 0x284], 8
mov eax, dword [ebp + 0x270]
jae 0x4094ed
lea eax, [ebp + 0x270]
push ecx
push eax
call fcn.00458410
test eax, eax
pop ecx
pop ecx
jge 0x409534
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x288]
push eax
lea ecx, [ebp + 0x26c]
call fcn.00401db0
cmp dword [esi + 0x18], 8
jb 0x40951a
mov eax, dword [esi + 4]
jmp 0x40951d
lea eax, [esi + 4]
push eax
call fcn.0040ea9e
pop ecx
lea eax, [ebp + 0xa74]
push eax
mov ecx, esi
call fcn.00401810
jmp 0x409541
lea eax, [ebp + 0xa74]
push eax
call fcn.0040ea9e
pop ecx
push edi
push ebx
lea ecx, [ebp + 0x288]
call fcn.00401840
push edi
push ebx
lea ecx, [ebp + 0x250]
mov byte [ebp - 4], bl
call fcn.00401840
jmp 0x4093d4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
push ebx
lea ecx, [ebp + 0x26c]
call fcn.00401840
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1244]
xor ecx, ebp
call fcn.004562c9
add ebp, 0x1248
leave
ret 8