Function at 0x4153d0
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471b67
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x48d000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x41577d
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x41577d
lea eax, [ebp - 0x268]
push eax
mov ecx, esi
call fcn.00401f70
lea ecx, [ebp - 0x268]
push ecx
mov eax, 1
lea ecx, [ebp - 0x270]
mov dword [ebp - 4], 0
call fcn.00415b40
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
cmp eax, 1
jne 0x415469
test eax, eax
jns 0x41545f
push 0x80070057
call fcn.004020c0
cmp word [ecx], 0x5c
jne 0x415469
xor bl, bl
jmp 0x41546b
mov bl, 1
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41548d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4154a1
mov edx, 0x480d44
lea eax, [ebp - 0x268]
call fcn.0040ff40
lea ecx, [ebp - 0x26c]
push ecx
mov ecx, edi
call fcn.00401f70
lea edx, [ebp - 0x26c]
push edx
mov eax, 1
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 1
call fcn.00415b40
call fcn.00415bc0
mov bl, al
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4154f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x415507
mov edx, 0x480d44
lea eax, [ebp - 0x26c]
call fcn.0040ff40
mov esi, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x268]
mov ecx, esi
mov ebx, 4
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x415544
test dx, dx
je 0x415540
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x415544
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x415520
xor eax, eax
jmp 0x415549
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41559f
mov byte [ebp - 4], al
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41556c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415595
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41577f
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4155c0
mov ecx, dword [ebp - 0x26c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x415767
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
call fcn.00401a40
add eax, 0x10
mov dword [ebp - 0x270], eax
mov edx, 0x480ce0
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 2
call fcn.0040ff40
mov eax, dword [ebp - 0x270]
lea edx, [ebp - 0x264]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x415637
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x270]
call fcn.004020a0
lea ecx, [ebp - 0x26c]
call fcn.004020a0
lea ecx, [ebp - 0x268]
call fcn.004020a0
mov eax, 1
jmp 0x41577f
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ecx]
mov ecx, 0x480ce8
lea eax, [ebp - 0x238]
jmp 0x415650
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x415674
test dx, dx
je 0x415670
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x415674
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x415650
xor eax, eax
jmp 0x415679
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4157be
mov ecx, 0x480cec
lea eax, [ebp - 0x238]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4156b4
test dx, dx
je 0x4156b0
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4156b4
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x415690
xor eax, eax
jmp 0x4156b9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4157be
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
call fcn.00401a40
add eax, 0x10
mov dword [ebp - 0x278], eax
lea edx, [ebp - 0x238]
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 3
call fcn.0040ff40
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
call fcn.00401a40
add eax, 0x10
mov dword [ebp - 0x274], eax
lea edx, [ebp - 0x238]
lea eax, [ebp - 0x274]
mov byte [ebp - 4], bl
call fcn.0040ff40
test byte [ebp - 0x264], 0x10
mov edx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x278]
je 0x41579b
mov ecx, dword [ebp + 0x10]
push ecx
push edx
push eax
call fcn.004153d0
add esp, 0xc
test eax, eax
jne 0x4157a4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x274]
call fcn.004020a0
lea ecx, [ebp - 0x278]
call fcn.004020a0
lea ecx, [ebp - 0x270]
call fcn.004020a0
lea ecx, [ebp - 0x26c]
call fcn.004020a0
lea ecx, [ebp - 0x268]
call fcn.004020a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00454d73
mov esp, ebp
pop ebp
ret
movzx ecx, byte [ebp + 0x10]
push ecx
push edx
push eax
call edi
lea ecx, [ebp - 0x274]
call fcn.004020a0
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 2
call fcn.004020a0
lea ecx, [ebp - 0x264]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x415640
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41560c