Function at 0x5991f0
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa7c
mov eax, dword [0x675f64]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0xa75], 1
mov dword [ebp - 0xa7c], 0xffffffff
push 0x63197c
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x61c]
push ecx
call dword [0x67d050]
push 0x631980
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x824]
push eax
call dword [0x67d050]
lea ecx, [ebp - 0xa74]
push ecx
lea edx, [ebp - 0x61c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa7c], eax
cmp dword [ebp - 0xa7c], 0xffffffff
jne 0x59926f
mov byte [ebp - 0xa75], 0
jmp 0x5994fa
mov eax, dword [ebp + 8]
push eax
call fcn.00597de0
mov ecx, dword [ebp + 0xc]
push ecx
push 0x104
lea edx, [ebp - 0x414]
push edx
call fcn.005b222f
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call fcn.005b222f
add esp, 0xc
lea edx, [ebp - 0x414]
push edx
call dword [0x67d040]
lea eax, [ebp - 0x20c]
push eax
call dword [0x67d040]
lea ecx, [ebp - 0x414]
push ecx
push 0x104
lea edx, [ebp - 0x61c]
push edx
call fcn.005b222f
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea ecx, [ebp - 0x824]
push ecx
call fcn.005b222f
add esp, 0xc
mov byte [ebp - 0xa76], 1
movzx edx, byte [ebp - 0xa76]
test edx, edx
je 0x5994e4
lea eax, [ebp - 0xa74]
push eax
mov ecx, dword [ebp - 0xa7c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x5994ab
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0xa48]
cmp ecx, 0x2e
jne 0x59937d
mov edx, 2
shl edx, 0
movzx eax, word [ebp + edx - 0xa48]
test eax, eax
je 0x59937b
mov ecx, 2
shl ecx, 0
movzx edx, word [ebp + ecx - 0xa48]
cmp edx, 0x2e
jne 0x59937d
mov eax, 2
shl eax, 1
movzx ecx, word [ebp + eax - 0xa48]
test ecx, ecx
jne 0x59937d
jmp 0x5992ff
lea edx, [ebp - 0xa48]
push edx
lea eax, [ebp - 0x414]
push eax
call dword [0x67d04c]
lea ecx, [ebp - 0xa48]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [0x67d04c]
mov eax, dword [ebp - 0xa74]
and eax, 0x10
je 0x599437
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.005991f0
movzx eax, al
test eax, eax
jne 0x5993f3
mov ecx, dword [ebp - 0xa7c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0xa7c], 0xffffffff
mov byte [ebp - 0xa75], 0
jmp 0x5994e4
lea edx, [ebp - 0x20c]
push edx
call fcn.00597de0
lea eax, [ebp - 0x61c]
push eax
push 0x104
lea ecx, [ebp - 0x414]
push ecx
call fcn.005b222f
add esp, 0xc
lea edx, [ebp - 0x824]
push edx
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.005b222f
add esp, 0xc
jmp 0x5994a9
push 0
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x599473
mov eax, dword [ebp - 0xa7c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0xa7c], 0xffffffff
mov byte [ebp - 0xa75], 0
jmp 0x5994e4
lea ecx, [ebp - 0x61c]
push ecx
push 0x104
lea edx, [ebp - 0x414]
push edx
call fcn.005b222f
add esp, 0xc
lea eax, [ebp - 0x824]
push eax
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call fcn.005b222f
add esp, 0xc
jmp 0x5994df
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x5994bf
mov byte [ebp - 0xa76], 0
jmp 0x5994df
mov edx, dword [ebp - 0xa7c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0xa7c], 0xffffffff
mov byte [ebp - 0xa75], 0
jmp 0x5994e4
jmp 0x5992ff
cmp dword [ebp - 0xa7c], 0xffffffff
je 0x5994fa
mov eax, dword [ebp - 0xa7c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [ebp - 0xa75]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret 8