Function at 0x405022
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0xe80
lea ebp, [esp - 4]
mov eax, dword [0x4f5a90]
xor eax, ebp
mov dword [ebp + 0xe80], eax
push 0x40
mov eax, 0x4b3c73
call fcn.0044830e
xor ebx, ebx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov esi, 0x206
push esi
lea eax, [ebp + 0xa72]
push ebx
push eax
mov dword [ebp - 4], ebx
mov word [ebp + 0xa70], bx
call fcn.00448590
push esi
lea eax, [ebp + 0x45a]
push ebx
push eax
mov word [ebp + 0x458], bx
call fcn.00448590
add esp, 0x18
push str.Dict
call fcn.004037ad
mov ecx, eax
call fcn.00409e7a
push eax
lea eax, [ebp + 0xa70]
push 0x4bade0
push eax
call fcn.00448afe
push esi
lea eax, [ebp + 0xc7a]
push ebx
push eax
mov word [ebp + 0xc78], bx
call fcn.00448590
push esi
lea eax, [ebp + 0x252]
push ebx
push eax
mov word [ebp + 0x250], bx
call fcn.00448590
push esi
lea eax, [ebp + 0x86a]
push ebx
push eax
mov word [ebp + 0x868], bx
call fcn.00448590
lea eax, [ebp + 0xa70]
push eax
lea eax, [ebp + 0x868]
push str._s.
push eax
call fcn.00448afe
add esp, 0x40
lea eax, [ebp]
push eax
lea eax, [ebp + 0x868]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x40521c
mov edi, str..wncl
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebx
je 0x40521c
cmp word [ebp + 0x2c], 0x2e
je 0x405128
cmp word [ebp + 0x2e], bx
je 0x405128
cmp word [ebp + 0x2e], 0x2e
jne 0x405157
cmp word [ebp + 0x30], bx
je 0x405128
test byte [ebp], 0x10
jne 0x405128
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0xc78]
push 0x4bae78
push eax
call fcn.00448afe
lea eax, [ebp + 0xc78]
push eax
call fcn.00448ef5
lea eax, [ebp + 0xc78]
push edi
push eax
call fcn.0044860a
add esp, 0x18
test eax, eax
je 0x405128
push esi
lea eax, [ebp + 0x662]
push ebx
push eax
mov word [ebp + 0x660], bx
call fcn.00448590
lea eax, [ebp + 0x660]
push eax
lea eax, [ebp + 0xc78]
push eax
call fcn.0040bbbd
lea eax, [ebp + 0x660]
push edi
push eax
call fcn.00448418
add esp, 0x1c
test eax, eax
jne 0x405128
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x250]
push 0x4bae78
push eax
call fcn.00448afe
add esp, 0xc
lea eax, [ebp + 0x250]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004022a8
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00404fcd
push ebx
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00401b9c
jmp 0x405128
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
call fcn.0041dc2b
jmp 0x40527f
lea ecx, [ebp - 0x14]
call fcn.0040368a
cmp dword [eax + 0x18], 8
jb 0x405249
mov eax, dword [eax + 4]
jmp 0x40524c
add eax, 4
push eax
lea eax, [ebp + 0xa70]
push eax
lea eax, [ebp + 0x458]
push 0x4bae6c
push eax
call fcn.00448afe
mov ecx, dword [ebp - 0x28]
add esp, 0x10
lea eax, [ebp + 0x458]
push eax
call fcn.004049f4
lea ecx, [ebp - 0x14]
call fcn.004036ab
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
call fcn.0041dc2b
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041803b
test al, al
je 0x405236
lea ecx, [ebp - 0x24]
call fcn.00404961
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xe80]
xor ecx, ebp
call fcn.004482ff
add ebp, 0xe84
leave
ret