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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1294
call fcn.00469d10
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x206
push eax
mov word [ebp - 0xc], ax
mov dword [ebp - 0xa], eax
mov word [ebp - 0xa2c], ax
lea eax, [ebp - 0xa2a]
push eax
mov dword [ebp - 0x1294], ebx
call fcn.0046a390
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0xc2c], ax
lea eax, [ebp - 0xc2a]
push eax
call fcn.0046a390
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push eax
call fcn.0046a390
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
call fcn.0046a390
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x624], ax
lea eax, [ebp - 0x622]
push eax
call fcn.0046a390
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x103c], ax
lea eax, [ebp - 0x103a]
push eax
call fcn.0046a390
add esp, 0x48
xor eax, eax
mov word [ebp - 0x214], ax
push 0x206
push eax
lea eax, [ebp - 0x212]
push eax
call fcn.0046a390
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xe34], ax
lea eax, [ebp - 0xe32]
push eax
call fcn.0046a390
push 0x100
lea eax, [ebp - 0x824]
xor edi, edi
push eax
push 0x100
lea eax, [ebp - 0xc2c]
push eax
push 0x104
lea eax, [ebp - 0xa2c]
push eax
push 3
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.0046d2dc
lea eax, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x489a44
lea eax, [ebp - 0x41c]
push 0x104
push eax
call fcn.0046988e
add esp, 0x50
lea eax, [ebp - 0x624]
push ebx
push 0x104
push eax
call fcn.0046bf5a
add esp, 0xc
lea eax, [ebp - 0x624]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x128c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, dword [ebp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x1290], eax
cmp eax, 0xffffffff
je 0x45f3aa
jmp 0x45f2d0
mov cx, word [ebp - 0x125e]
mov ax, word [ebp - 0x1260]
test cx, cx
jne 0x45f2ed
cmp ax, 0x2e
je 0x45f37e
cmp word [ebp - 0x125c], 0
jne 0x45f302
cmp ax, 0x2e
jne 0x45f302
cmp cx, ax
je 0x45f37e
test byte [ebp - 0x128c], 0x10
jne 0x45f37e
lea eax, [ebp - 0x1260]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x489a44
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0046988e
lea eax, [ebp - 0x1260]
push eax
lea eax, [ebp - 0x624]
push eax
push 0x489a44
lea eax, [ebp - 0xe34]
push 0x104
push eax
call fcn.0046988e
push dword [ebp - 0x1294]
call fcn.0042c370
add esp, 0x2c
test eax, eax
je 0x45f37e
push ebx
lea eax, [ebp - 0xe34]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.0045e970
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x128c]
push eax
push dword [ebp - 0x1290]
call esi
test eax, eax
je 0x45f39e
cmp dword [0x4c2e50], 0
je 0x45f2d0
push dword [ebp - 0x1290]
call dword [sym.imp.KERNEL32.dll_FindClose]
test bl, 2
je 0x45f4ea
lea eax, [ebp - 0x41c]
push eax
push 0x489a50
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0046988e
add esp, 0x10
lea eax, [ebp - 0x128c]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
test esi, esi
je 0x45f50b
cmp esi, 0xffffffff
je 0x45f50b
lea ebx, [ebx]
mov cx, word [ebp - 0x125e]
mov ax, word [ebp - 0x1260]
test cx, cx
jne 0x45f41d
cmp ax, 0x2e
je 0x45f4c4
cmp word [ebp - 0x125c], 0
jne 0x45f436
cmp ax, 0x2e
jne 0x45f436
cmp cx, ax
je 0x45f4c4
test byte [ebp - 0x128c], 0x10
je 0x45f4c4
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xc2c]
push eax
lea eax, [ebp - 0x1260]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x489a5c
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0046988e
lea eax, [ebp - 0x1260]
push eax
lea eax, [ebp - 0x624]
push eax
push str._s_s_
lea eax, [ebp - 0x103c]
push 0x104
push eax
call fcn.0046988e
push dword [ebp - 0x1294]
call fcn.0042c370
add esp, 0x34
test eax, eax
je 0x45f4c4
push ebx
lea eax, [ebp - 0x103c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.0045f120
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x128c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x45f4e3
cmp dword [0x4c2e50], 0
je 0x45f400
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
push str.XCopyFiles_____d
call fcn.0045f880
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004698aa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004698aa
mov esp, ebp
pop ebp
ret