Function at 0x452720
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469722
mov eax, dword fs:[0]
push eax
sub esp, 0x960
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jbe 0x452762
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
sub edx, 1
mov eax, dword [ebp + 8]
mov dword [eax], edx
jmp 0x45276b
xor eax, eax
xor edx, edx
jmp 0x452afb
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x8c8], 0
mov dword [ebp - 0x8c4], 1
mov word [ebp - 0x6b4], 0
push 0x206
push 0
lea ecx, [ebp - 0x6b2]
push ecx
call fcn.00415680
add esp, 0xc
mov word [ebp - 0x8bc], 0
push 0x206
push 0
lea edx, [ebp - 0x8ba]
push edx
call fcn.00415680
add esp, 0xc
mov word [ebp - 0x4ac], 0
push 0x206
push 0
lea eax, [ebp - 0x4aa]
push eax
call fcn.00415680
add esp, 0xc
push 0x250
push 0
lea ecx, [ebp - 0x26c]
push ecx
call fcn.00415680
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x288]
call fcn.004011c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x288]
call fcn.00402490
mov dword [ebp - 0x8c0], eax
mov eax, dword [ebp - 0x8c0]
sub eax, 1
push eax
lea ecx, [ebp - 0x288]
call fcn.00403c70
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x452896
push 0x4786a4
lea edx, [ebp - 0x288]
push edx
lea eax, [ebp - 0x938]
push eax
call fcn.00404060
add esp, 0xc
mov dword [ebp - 0x960], eax
mov ecx, dword [ebp - 0x960]
mov dword [ebp - 0x964], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x964]
push edx
lea ecx, [ebp - 0x288]
call fcn.00401e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x938]
call fcn.00401200
push 0x4786a8
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x2a4]
push ecx
call fcn.00451450
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a4]
call fcn.00401220
push eax
lea edx, [ebp - 0x6b4]
push edx
call fcn.00414f38
add esp, 8
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x6b4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x8c8], eax
cmp dword [ebp - 0x8c8], 0xffffffff
je 0x452aaf
cmp dword [ebp - 0x8c4], 0
je 0x452aaf
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jbe 0x452aaf
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x8e4]
call fcn.004011c0
mov byte [ebp - 4], 3
push 0x4786b0
lea ecx, [ebp - 0x8e4]
push ecx
call fcn.004040f0
add esp, 8
movzx edx, al
test edx, edx
jne 0x45295c
push 0x4786b4
lea eax, [ebp - 0x8e4]
push eax
call fcn.004040f0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x452961
jmp 0x452a81
mov edx, dword [ebp - 0x26c]
and edx, 0x10
je 0x452a81
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x954]
call fcn.004011c0
mov dword [ebp - 0x968], eax
mov ecx, dword [ebp - 0x968]
mov dword [ebp - 0x96c], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x96c]
push edx
lea eax, [ebp - 0x900]
push eax
call fcn.0043d110
add esp, 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x954]
call fcn.00401200
lea ecx, [ebp - 0x900]
call fcn.00401220
push eax
lea ecx, [ebp - 0x4ac]
push ecx
call fcn.00414f38
add esp, 8
lea edx, [ebp - 0x4ac]
push edx
call fcn.00451060
add esp, 4
test eax, eax
je 0x452a06
push str.all_users
lea eax, [ebp - 0x900]
push eax
call fcn.004040f0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x452a72
lea edx, [ebp - 0x240]
push edx
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x91c]
push ecx
call fcn.00404060
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x91c]
call fcn.00401220
push eax
lea edx, [ebp - 0x8bc]
push edx
call fcn.00414f38
add esp, 8
lea eax, [ebp - 0x8bc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00452340
add esp, 8
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
adc ecx, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x91c]
call fcn.00401200
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x900]
call fcn.00401200
lea edx, [ebp - 0x26c]
push edx
mov eax, dword [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x8c4], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8e4]
call fcn.00401200
jmp 0x4528ea
mov ecx, dword [ebp - 0x8c8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x95c], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x958], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2a4]
call fcn.00401200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x288]
call fcn.00401200
mov eax, dword [ebp - 0x95c]
mov edx, dword [ebp - 0x958]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret