Function at 0x452770
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560422
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x38]
push 0xffffffffffffffff
mov dword [ebp - 4], 1
lea eax, [ebp + 8]
push 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0042c2e0
push 1
push 0x5b0c88
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0042c4c0
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 0x20]
push ecx
mov ecx, eax
call fcn.0042c5f0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x1c8]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
mov dword [ebp - 0x1d0], ebx
cmp ebx, 0xffffffff
je 0x452a72
nop word [eax + eax]
mov ecx, 0x5b13dc
lea eax, [ebp - 0x19c]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x452850
test dl, dl
je 0x45284c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x452850
add eax, 2
add ecx, 2
test dl, dl
jne 0x452830
xor eax, eax
jmp 0x452855
sbb eax, eax
or eax, 1
test eax, eax
je 0x452a55
mov eax, 0x5b13e0
lea ecx, [ebp - 0x19c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x452888
test dl, dl
je 0x452884
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x452888
add ecx, 2
add eax, 2
test dl, dl
jne 0x452868
xor eax, eax
jmp 0x45288d
sbb eax, eax
or eax, 1
test eax, eax
je 0x452a55
test byte [ebp - 0x1c8], 0x10
jne 0x452a55
lea ecx, [ebp - 0x88]
call fcn.00450de0
mov byte [ebp - 4], 3
cmp byte [ebp - 0x19c], 0
jne 0x4528be
xor ecx, ecx
jmp 0x4528d0
lea ecx, [ebp - 0x19c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4528c7
sub ecx, edx
push ecx
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x88]
call fcn.0042c1e0
push 0x5b0c88
lea edx, [ebp + 8]
lea ecx, [ebp - 0x204]
call fcn.0042dc00
sub esp, 0x14
mov byte [ebp - 4], 4
lea edx, [ebp - 0x88]
mov ecx, esp
push edx
mov edx, eax
call fcn.0042dd10
add esp, 4
lea ecx, [ebp - 0x1ec]
call fcn.00435ce0
add esp, 0x18
mov edi, eax
lea eax, [ebp - 0x70]
cmp eax, edi
je 0x452957
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x45293c
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.0042ceb0
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.0042c6f0
mov eax, dword [ebp - 0x1d8]
cmp eax, 0x10
jb 0x452975
inc eax
lea ecx, [ebp - 0x1ec]
push eax
push dword [ebp - 0x1ec]
call fcn.0042ceb0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1d8], 0xf
mov dword [ebp - 0x1dc], 0
mov byte [ebp - 0x1ec], 0
cmp eax, 0x10
jb 0x4529b2
inc eax
lea ecx, [ebp - 0x204]
push eax
push dword [ebp - 0x204]
call fcn.0042ceb0
mov ebx, dword [esi + 4]
lea eax, [ebp - 0x88]
cmp eax, ebx
jae 0x452a0c
mov eax, dword [esi]
lea ecx, [ebp - 0x88]
cmp eax, ecx
ja 0x452a0c
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [esi + 8]
jne 0x4529eb
push ecx
mov ecx, esi
call fcn.00452bc0
mov ecx, dword [esi + 4]
lea eax, [edi + edi*2]
shl eax, 5
add eax, dword [esi]
mov dword [ebp - 0x1cc], ecx
mov dword [ebp - 0x1d4], ecx
mov byte [ebp - 4], 6
test ecx, ecx
je 0x452a3c
jmp 0x452a36
cmp ebx, dword [esi + 8]
jne 0x452a19
push ecx
mov ecx, esi
call fcn.00452bc0
mov ecx, dword [esi + 4]
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x1cc], ecx
mov byte [ebp - 4], 7
test ecx, ecx
je 0x452a3c
lea eax, [ebp - 0x88]
push eax
call fcn.00452da0
add dword [esi + 4], 0x60
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.00452110
mov ebx, dword [ebp - 0x1d0]
lea eax, [ebp - 0x1c8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x452820
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x452a87
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0042ceb0
mov eax, dword [ebp + 0x1c]
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
cmp eax, 0x10
jb 0x452aae
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.0042ceb0
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
cmp eax, 0x10
jb 0x452ad5
inc eax
lea ecx, [ebp + 0x20]
push eax
push dword [ebp + 0x20]
call fcn.0042ceb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00533845
mov esp, ebp
pop ebp
ret 0x34