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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8b14
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x634b28]
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 + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword fs:[0x2c]
xor edi, edi
mov ecx, dword [0x63fe64]
mov dword [ebp - 4], 0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x63c864]
cmp eax, dword [ecx + 4]
jg 0x45ac82
push esi
lea ecx, [ebp - 0x28]
call fcn.00457bb0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call fcn.0045a0c0
mov edx, dword [ebp - 0x18]
mov eax, SysReAllocString
mov esi, dword [0x633b80]
sub eax, edx
add esp, 4
cmp eax, esi
jb 0x45acd1
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
mov eax, 0x633b70
cmp dword [0x633b84], 8
cmovae eax, dword [0x633b70]
push eax
push edx
push ecx
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2b4]
lea ecx, [ebp - 0x40]
call fcn.0041d914
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x2c]
mov esi, eax
mov dword [ebp - 0x2b0], esi
cmp edx, 8
jb 0x45a96d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45a963
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45acd6
push edx
push ecx
call fcn.0057b69e
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp esi, 0xffffffff
je 0x45ac0c
lea ebx, [ebx]
cmp word [ebp - 0x27c], 0x2e
jne 0x45a9be
mov ax, word [ebp - 0x27a]
test ax, ax
jne 0x45a9aa
mov al, 1
jmp 0x45a9c0
cmp ax, 0x2e
jne 0x45a9be
cmp word [ebp - 0x278], 0
jne 0x45a9be
mov al, 1
jmp 0x45a9c0
xor al, al
test al, al
jne 0x45abe8
lea ecx, [ebp - 0x27c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a9d1
sub ecx, edx
mov eax, SysReAllocString
mov edx, dword [ebp - 0x18]
sub eax, edx
sar ecx, 1
cmp eax, ecx
jb 0x45acd1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x27c]
push ecx
push edx
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2b4]
lea ecx, [ebp - 0x58]
call fcn.0041d914
mov eax, dword [ebp - 0x2a8]
mov byte [ebp - 4], 3
test al, 0x10
je 0x45aaf5
mov ecx, dword [ebp + 0x44]
test cl, cl
je 0x45aa3d
test eax, 0x400
jne 0x45abaa
mov eax, dword [ebp + 0x40]
mov esi, dword [ebp + 0x38]
test al, al
je 0x45aa99
mov ecx, dword [ebp + 0x34]
mov dword [ebp - 0x2b4], esi
mov byte [ebp - 0x2ac], 1
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 0
test ecx, ecx
je 0x45acdb
mov eax, dword [ecx]
lea edx, [ebp - 0x2b4]
push edx
lea edx, [ebp - 0x2ac]
push edx
lea edx, [ebp - 0x2bc]
push edx
lea edx, [ebp - 0x58]
push edx
call dword [eax + 8]
mov ecx, dword [ebp + 0x44]
mov edi, eax
mov eax, dword [ebp + 0x40]
cmp byte [ebp + 0x3c], 0
je 0x45aba4
cmp edi, 2
je 0x45aba4
cmp edi, 1
je 0x45aba4
push ecx
push eax
push 1
push esi
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x2c8], esi
mov dword [esi + 0x24], 0
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x45aadf
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push ebx
push eax
call fcn.0045a850
add esp, 0x40
jmp 0x45aba2
cmp dword [0x633b84], 8
mov eax, 0x633b70
mov esi, dword [ebx + 0x14]
mov edx, ebx
cmovae eax, dword [0x633b70]
mov ecx, dword [ebx + 0x10]
cmp esi, 8
jb 0x45ab17
mov edx, dword [ebx]
cmp ecx, dword [0x633b80]
jne 0x45ab2e
push ecx
push eax
push edx
call fcn.0040e174
add esp, 0xc
test eax, eax
je 0x45ab4f
mov ecx, ebx
cmp esi, 8
jb 0x45ab37
mov ecx, dword [ebx]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
jne 0x45aba4
mov ecx, dword [ebp - 0x28c]
xor eax, eax
or eax, dword [ebp - 0x288]
mov edx, dword [ebp + 0x38]
mov dword [ebp - 0x2c0], ecx
mov ecx, dword [ebp + 0x34]
mov dword [ebp - 0x2b4], edx
mov byte [ebp - 0x2ac], 0
mov dword [ebp - 0x2c4], eax
test ecx, ecx
je 0x45acdb
mov eax, dword [ecx]
lea edx, [ebp - 0x2b4]
push edx
lea edx, [ebp - 0x2ac]
push edx
lea edx, [ebp - 0x2c4]
push edx
lea edx, [ebp - 0x58]
push edx
call dword [eax + 8]
mov edi, eax
mov esi, dword [ebp - 0x2b0]
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x45abe8
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45abde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45acd6
push edx
push ecx
call fcn.0057b69e
add esp, 8
cmp edi, 1
je 0x45ac03
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45a990
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x45ac12
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x45ac4c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45ac42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ace0
push edx
push ecx
call fcn.0057b69e
add esp, 8
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x45ac64
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, edi
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.0057b6ac
mov esp, ebp
pop ebp
ret
push 0x63c864
call fcn.0057bb6b
add esp, 4
cmp dword [0x63c864], 0xffffffff
jne 0x45a8ad
push 3
push 0x5cb2f0
mov ecx, 0x633b70
mov byte [ebp - 4], 1
call fcn.0040491a
push 0x5c6d20
call fcn.0057ba23
push 0x63c864
mov byte [ebp - 4], 0
call fcn.0057bb21
add esp, 8
jmp 0x45a8ad
call fcn.004048ae
call fcn.00582360
call fcn.0057cbb7
call fcn.00582360
int3