Function at 0x452990
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe25e
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x5365f0]
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 ebx, ecx
mov dword [ebp - 0x29c], ebx
mov dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov esi, 8
cmp dword [ebp + 0x1c], esi
jae 0x4529dd
lea edi, [ebp + 8]
call fcn.00454d00
test eax, eax
je 0x452a0a
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], esi
jb 0x4529fe
mov eax, dword [ebp + 8]
push eax
call fcn.004d5559
add esp, 4
mov dword [ebp + 0x18], 0
jmp 0x452d1d
xor edi, edi
cmp dword [ebp + 0x18], edi
je 0x452d02
cmp dword [ebx + 0x10], edi
je 0x452d02
cmp dword [ebx + 0x14], edi
je 0x452d02
push edi
lea eax, [ebp + 8]
xor edx, edx
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], dx
call fcn.004022e0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x452a56
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x38]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x452a6c
lea edx, [ebp - 0x48]
push edx
mov eax, 0x5056a8
jmp 0x452a75
lea eax, [ebp - 0x48]
push eax
mov eax, 0x5056ac
call fcn.00401d00
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x452a85
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x298]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2a0], eax
cmp eax, 0xffffffff
jne 0x452ac2
mov byte [ebp - 4], 0
lea esi, [ebp - 0x48]
call fcn.00401ca0
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp + 8]
call fcn.00401ca0
jmp 0x452d2a
xor edi, edi
mov ecx, 0x5056b4
lea eax, [ebp - 0x26c]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x452af6
cmp dx, di
je 0x452af2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x452af6
add eax, 4
add ecx, 4
cmp dx, di
jne 0x452ad0
xor eax, eax
jmp 0x452afb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x452cab
mov ecx, 0x5056b8
lea eax, [ebp - 0x26c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x452b36
cmp dx, di
je 0x452b32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x452b36
add eax, 4
add ecx, 4
cmp dx, di
jne 0x452b10
xor eax, eax
jmp 0x452b3b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x452cab
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
mov byte [ebp - 4], 2
push edi
lea eax, [ebp + 8]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x2c]
call fcn.004026d0
mov eax, dword [ebp + 8]
mov edi, 8
cmp dword [ebp + 0x1c], edi
jae 0x452b77
lea eax, [ebp + 8]
mov ecx, dword [ebp + 0x18]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x452b91
push 1
mov eax, 0x504a74
lea ecx, [ebp - 0x2c]
call fcn.004021b0
lea eax, [ebp - 0x26c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x452ba0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x26c]
lea ecx, [ebp - 0x2c]
call fcn.004021b0
test dword [ebp - 0x298], 0x400
je 0x452c22
cmp dword [ebp - 0x274], 0xa0000003
je 0x452be7
mov byte [ebp - 4], 1
lea esi, [ebp - 0x2c]
call fcn.00401ca0
jmp 0x452cab
mov esi, dword [ebp - 0x29c]
lea ebx, [ebp - 0x2c]
mov ecx, esi
call fcn.00452890
test eax, eax
je 0x452c0b
mov byte [ebp - 4], 1
mov esi, ebx
call fcn.00401ca0
jmp 0x452cab
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x452c16
lea ecx, [ebp - 0x2c]
mov edi, esi
call fcn.00454d40
mov edi, 8
test byte [ebp - 0x298], 0x10
je 0x452c5b
mov ebx, dword [ebp - 0x29c]
cmp dword [ebx + 0x20], 0
je 0x452c82
sub esp, 0x1c
lea ecx, [ebp - 0x2c]
mov esi, esp
mov dword [ebp - 0x2a4], esp
call fcn.00401c30
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.00452990
jmp 0x452c82
sub esp, 0x1c
lea ecx, [ebp - 0x2c]
mov esi, esp
mov dword [ebp - 0x2a4], esp
call fcn.00401c30
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x29c]
push edx
mov byte [ebp - 4], 2
call fcn.00452d50
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], edi
jb 0x452c97
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004d5559
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
mov edx, dword [ebp - 0x29c]
cmp byte [edx + 8], 0
je 0x452cd3
mov ecx, dword [ebp - 0x2a0]
lea eax, [ebp - 0x298]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x452ac0
mov edx, dword [ebp - 0x2a0]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
lea esi, [ebp - 0x48]
call fcn.00401ca0
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp + 8]
call fcn.00401ca0
mov eax, 1
jmp 0x452d2c
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], esi
jb 0x452d1a
mov eax, dword [ebp + 8]
push eax
call fcn.004d5559
add esp, 4
mov dword [ebp + 0x18], edi
xor ecx, ecx
mov word [ebp + 8], cx
mov dword [ebp + 0x1c], 7
xor eax, eax
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.004d5564
mov esp, ebp
pop ebp
ret 0x1c