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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638de1
mov eax, dword fs:[0]
push eax
sub esp, 0x384
mov eax, dword [0x6d8314]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
call fcn.00414c90
push eax
mov ecx, dword [ebp + 8]
call fcn.00414c90
push eax
push str.copy_dir__s_to__s
push 0x109
push str.utility::ufile::copyDir
call fcn.00584a40
add esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
call fcn.005981a0
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00414dd0
mov dword [ebp - 4], 0
push 0x6556c8
lea ecx, [ebp - 0x88]
call fcn.00427ba0
lea edx, [ebp - 0x368]
push edx
lea ecx, [ebp - 0x88]
call fcn.00414c90
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x370], eax
cmp dword [ebp - 0x370], 0xffffffff
je 0x5985e6
mov eax, dword [ebp - 0x368]
and eax, 0x10
je 0x59848d
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x33c]
cmp eax, 0x2e
je 0x598488
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00414dd0
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x40]
call fcn.00414dd0
mov byte [ebp - 4], 2
push 0x6556d4
lea ecx, [ebp - 0x28]
call fcn.00427ba0
push 0x6556c0
lea ecx, [ebp - 0x40]
call fcn.00427ba0
lea eax, [ebp - 0x33c]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0xa0]
call fcn.00429ac0
add esp, 4
mov dword [ebp - 0x380], eax
mov ecx, dword [ebp - 0x380]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00433dd0
lea ecx, [ebp - 0xa0]
call fcn.004148d0
lea edx, [ebp - 0x33c]
push edx
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xd0]
call fcn.00429ac0
add esp, 4
mov dword [ebp - 0x378], eax
mov eax, dword [ebp - 0x378]
push eax
lea ecx, [ebp - 0x40]
call fcn.00433dd0
lea ecx, [ebp - 0xd0]
call fcn.004148d0
lea ecx, [ebp - 0x28]
push ecx
call fcn.005981a0
add esp, 4
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.005982d0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004148d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004148d0
jmp 0x5985c7
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00414dd0
mov byte [ebp - 4], 3
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x58]
call fcn.00414dd0
mov byte [ebp - 4], 4
push 0x6556c4
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x118]
call fcn.00429ac0
add esp, 4
mov dword [ebp - 0x388], eax
mov eax, dword [ebp - 0x388]
mov dword [ebp - 0x390], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x33c]
push ecx
mov edx, dword [ebp - 0x390]
push edx
lea eax, [ebp - 0xb8]
push eax
call fcn.00428f60
add esp, 0xc
mov dword [ebp - 0x384], eax
mov ecx, dword [ebp - 0x384]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00433dd0
lea ecx, [ebp - 0xb8]
call fcn.004148d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x118]
call fcn.004148d0
push 0x6556e4
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0xe8]
call fcn.00429ac0
add esp, 4
mov dword [ebp - 0x37c], eax
mov edx, dword [ebp - 0x37c]
mov dword [ebp - 0x38c], edx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x33c]
push eax
mov ecx, dword [ebp - 0x38c]
push ecx
lea edx, [ebp - 0x100]
push edx
call fcn.00428f60
add esp, 0xc
mov dword [ebp - 0x374], eax
mov eax, dword [ebp - 0x374]
push eax
lea ecx, [ebp - 0x58]
call fcn.00433dd0
lea ecx, [ebp - 0x100]
call fcn.004148d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe8]
call fcn.004148d0
push 0
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.00598260
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.004148d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.004148d0
lea eax, [ebp - 0x368]
push eax
mov ecx, dword [ebp - 0x370]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x5985e1
jmp 0x5985e6
jmp 0x598375
mov byte [ebp - 0x369], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.004148d0
mov al, byte [ebp - 0x369]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006116d0
mov esp, ebp
pop ebp
ret