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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1294
call fcn.0046f7a0
mov eax, dword [0x4b06f0]
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.0046fe20
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0xc2c], ax
lea eax, [ebp - 0xc2a]
push eax
call fcn.0046fe20
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push eax
call fcn.0046fe20
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
call fcn.0046fe20
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x624], ax
lea eax, [ebp - 0x622]
push eax
call fcn.0046fe20
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x103c], ax
lea eax, [ebp - 0x103a]
push eax
call fcn.0046fe20
add esp, 0x48
xor eax, eax
mov word [ebp - 0x214], ax
push 0x206
push eax
lea eax, [ebp - 0x212]
push eax
call fcn.0046fe20
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xe34], ax
lea eax, [ebp - 0xe32]
push eax
call fcn.0046fe20
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.004735f6
lea eax, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x493f94
lea eax, [ebp - 0x41c]
push 0x104
push eax
call fcn.0046f31e
add esp, 0x50
lea eax, [ebp - 0x624]
push ebx
push 0x104
push eax
call fcn.00470452
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 0x46986a
jmp 0x469790
mov cx, word [ebp - 0x125e]
mov ax, word [ebp - 0x1260]
test cx, cx
jne 0x4697ad
cmp ax, 0x2e
je 0x46983e
cmp word [ebp - 0x125c], 0
jne 0x4697c2
cmp ax, 0x2e
jne 0x4697c2
cmp cx, ax
je 0x46983e
test byte [ebp - 0x128c], 0x10
jne 0x46983e
lea eax, [ebp - 0x1260]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x493f94
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0046f31e
lea eax, [ebp - 0x1260]
push eax
lea eax, [ebp - 0x624]
push eax
push 0x493f94
lea eax, [ebp - 0xe34]
push 0x104
push eax
call fcn.0046f31e
push dword [ebp - 0x1294]
call fcn.0043b210
add esp, 0x2c
test eax, eax
je 0x46983e
push ebx
lea eax, [ebp - 0xe34]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00468e20
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x128c]
push eax
push dword [ebp - 0x1290]
call esi
test eax, eax
je 0x46985e
cmp dword [0x4b6534], 0
je 0x469790
push dword [ebp - 0x1290]
call dword [sym.imp.KERNEL32.dll_FindClose]
test bl, 2
je 0x4699aa
lea eax, [ebp - 0x41c]
push eax
push 0x493fa0
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0046f31e
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 0x4699cb
cmp esi, 0xffffffff
je 0x4699cb
lea ebx, [ebx]
mov cx, word [ebp - 0x125e]
mov ax, word [ebp - 0x1260]
test cx, cx
jne 0x4698dd
cmp ax, 0x2e
je 0x469984
cmp word [ebp - 0x125c], 0
jne 0x4698f6
cmp ax, 0x2e
jne 0x4698f6
cmp cx, ax
je 0x469984
test byte [ebp - 0x128c], 0x10
je 0x469984
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 0x493fac
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0046f31e
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.0046f31e
push dword [ebp - 0x1294]
call fcn.0043b210
add esp, 0x34
test eax, eax
je 0x469984
push ebx
lea eax, [ebp - 0x103c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.004695e0
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 0x4699a3
cmp dword [0x4b6534], 0
je 0x4698c0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
push str.XCopyFiles_____d
call fcn.00469d40
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
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.0046f33a
mov esp, ebp
pop ebp
ret