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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa7c
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0xa75], 1
mov dword [ebp - 0xa7c], 0xffffffff
push 0x508a84
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x61c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x508a88
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
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 0x44087f
mov byte [ebp - 0xa75], 0
jmp 0x440b12
mov eax, dword [ebp + 8]
push eax
call fcn.0043f300
mov ecx, dword [ebp + 0xc]
push ecx
push 0x104
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x414]
push ecx
push 0x104
lea edx, [ebp - 0x61c]
push edx
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea ecx, [ebp - 0x824]
push ecx
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
mov byte [ebp - 0xa76], 1
movzx edx, byte [ebp - 0xa76]
test edx, edx
je 0x440afc
lea eax, [ebp - 0xa74]
push eax
mov ecx, dword [ebp - 0xa7c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x440ac3
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0xa48]
cmp ecx, 0x2e
jne 0x440991
mov edx, 2
shl edx, 0
movzx eax, word [ebp + edx - 0xa48]
test eax, eax
je 0x44098f
mov ecx, 2
shl ecx, 0
movzx edx, word [ebp + ecx - 0xa48]
cmp edx, 0x2e
jne 0x440991
mov eax, 2
shl eax, 1
movzx ecx, word [ebp + eax - 0xa48]
test ecx, ecx
jne 0x440991
jmp 0x440913
lea edx, [ebp - 0xa48]
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0xa48]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp - 0xa74]
and eax, 0x10
je 0x440a4d
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.00440800
movzx eax, al
test eax, eax
jne 0x440a07
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 0x440afc
lea edx, [ebp - 0x20c]
push edx
call fcn.0043f300
lea eax, [ebp - 0x61c]
push eax
push 0x104
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
lea edx, [ebp - 0x824]
push edx
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
jmp 0x440ac1
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 0x440a89
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 0x440afc
lea ecx, [ebp - 0x61c]
push ecx
push 0x104
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x824]
push eax
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
jmp 0x440af7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x440ad7
mov byte [ebp - 0xa76], 0
jmp 0x440af7
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 0x440afc
jmp 0x440913
cmp dword [ebp - 0xa7c], 0xffffffff
je 0x440b12
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.004df9ac
mov esp, ebp
pop ebp
ret 8