Function at 0x452740
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55ffc2
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.0042c2b0
push 1
push 0x5b0c88
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0042c490
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 0x20]
push ecx
mov ecx, eax
call fcn.0042c5c0
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 0x452a42
nop word [eax + eax]
mov ecx, 0x5b13dc
lea eax, [ebp - 0x19c]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x452820
test dl, dl
je 0x45281c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x452820
add eax, 2
add ecx, 2
test dl, dl
jne 0x452800
xor eax, eax
jmp 0x452825
sbb eax, eax
or eax, 1
test eax, eax
je 0x452a25
mov eax, 0x5b13e0
lea ecx, [ebp - 0x19c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x452858
test dl, dl
je 0x452854
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x452858
add ecx, 2
add eax, 2
test dl, dl
jne 0x452838
xor eax, eax
jmp 0x45285d
sbb eax, eax
or eax, 1
test eax, eax
je 0x452a25
test byte [ebp - 0x1c8], 0x10
jne 0x452a25
lea ecx, [ebp - 0x88]
call fcn.00450db0
mov byte [ebp - 4], 3
cmp byte [ebp - 0x19c], 0
jne 0x45288e
xor ecx, ecx
jmp 0x4528a0
lea ecx, [ebp - 0x19c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452897
sub ecx, edx
push ecx
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x88]
call fcn.0042c1b0
push 0x5b0c88
lea edx, [ebp + 8]
lea ecx, [ebp - 0x204]
call fcn.0042dbd0
sub esp, 0x14
mov byte [ebp - 4], 4
lea edx, [ebp - 0x88]
mov ecx, esp
push edx
mov edx, eax
call fcn.0042dce0
add esp, 4
lea ecx, [ebp - 0x1ec]
call fcn.00435cb0
add esp, 0x18
mov edi, eax
lea eax, [ebp - 0x70]
cmp eax, edi
je 0x452927
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x45290c
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.0042ce80
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.0042c6c0
mov eax, dword [ebp - 0x1d8]
cmp eax, 0x10
jb 0x452945
inc eax
lea ecx, [ebp - 0x1ec]
push eax
push dword [ebp - 0x1ec]
call fcn.0042ce80
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 0x452982
inc eax
lea ecx, [ebp - 0x204]
push eax
push dword [ebp - 0x204]
call fcn.0042ce80
mov ebx, dword [esi + 4]
lea eax, [ebp - 0x88]
cmp eax, ebx
jae 0x4529dc
mov eax, dword [esi]
lea ecx, [ebp - 0x88]
cmp eax, ecx
ja 0x4529dc
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 0x4529bb
push ecx
mov ecx, esi
call fcn.00452b90
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 0x452a0c
jmp 0x452a06
cmp ebx, dword [esi + 8]
jne 0x4529e9
push ecx
mov ecx, esi
call fcn.00452b90
mov ecx, dword [esi + 4]
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x1cc], ecx
mov byte [ebp - 4], 7
test ecx, ecx
je 0x452a0c
lea eax, [ebp - 0x88]
push eax
call fcn.00452d70
add dword [esi + 4], 0x60
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.004520e0
mov ebx, dword [ebp - 0x1d0]
lea eax, [ebp - 0x1c8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4527f0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x452a57
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0042ce80
mov eax, dword [ebp + 0x1c]
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
cmp eax, 0x10
jb 0x452a7e
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.0042ce80
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
cmp eax, 0x10
jb 0x452aa5
inc eax
lea ecx, [ebp + 0x20]
push eax
push dword [ebp + 0x20]
call fcn.0042ce80
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.0053342f
mov esp, ebp
pop ebp
ret 0x34