Function at 0x477bc0
Capabilities:
Check if file exists
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b5fc
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x26c], ebx
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4780a7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x268], eax
mov dword [ebp - 4], ebx
test esi, esi
je 0x477c51
test esi, 0xffff0000
jne 0x477c39
movzx eax, si
lea ecx, [ebp - 0x268]
push eax
call fcn.00426130
jmp 0x477c60
mov ecx, esi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x477c40
sub ecx, edx
sar ecx, 1
jmp 0x477c53
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x268]
call fcn.004263f0
mov dword [ebp - 4], 1
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4780b1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 2
test edi, edi
je 0x477cc1
test edi, 0xffff0000
jne 0x477ca5
movzx eax, di
lea ecx, [ebp - 0x264]
push eax
call fcn.00426130
jmp 0x477cd0
mov ecx, edi
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x477cb0
sub ecx, edx
sar ecx, 1
jmp 0x477cc3
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x264]
call fcn.004263f0
push 0x5b1518
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.00425c00
add esp, 0xc
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x27c]
mov esi, eax
or edi, 0xffffffff
mov dword [ebp - 0x278], esi
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x477d26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xffffffff
jne 0x477d35
mov ebx, 1
jmp 0x477ebf
mov esi, dword [ebp - 0x264]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x477d60
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x477eb1
jmp 0x477d60
test byte [ebp - 0x260], 0x10
je 0x477f20
push 0x5b14c4
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x478084
push 0x5af938
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x478084
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x28c]
push eax
call fcn.00425c00
push 0x5b14ac
push eax
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 4
push eax
call fcn.00425c00
mov edi, eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00425c00
push 0x5b14ac
push eax
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 6
push eax
call fcn.00425c00
push dword [edi]
mov byte [ebp - 4], 7
push dword [eax]
call fcn.00477bc0
mov edx, dword [ebp - 0x280]
or edi, 0xffffffff
mov dword [ebp - 0x290], eax
add esp, 0x38
mov byte [ebp - 4], 6
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x477e41
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x284]
mov eax, edi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x477e62
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x288]
mov eax, edi
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x477e83
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28c]
mov eax, edi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x477ea4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x290], 0
jne 0x478084
xor ebx, ebx
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x264]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x477ee0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x268]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x477f02
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi - 0x10]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x477f36
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x477f4c
call fcn.00421b80
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x4780a7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
or ebx, 1
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x234]
mov dword [ebp - 0x26c], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x477f70
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x234]
push eax
push dword [esi - 0xc]
lea eax, [ebp - 0x270]
push esi
push eax
call fcn.00427890
add esp, 0x14
mov esi, dword [ebp - 0x268]
mov byte [ebp - 4], 9
mov ecx, dword [esi - 0x10]
test ecx, ecx
je 0x477fb6
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x477fcc
call fcn.00421b80
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x4780a7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x234]
or ebx, 2
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x26c], ebx
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x477ff0
sub ecx, edx
lea eax, [ebp - 0x234]
sar ecx, 1
push ecx
push eax
push dword [esi - 0xc]
lea eax, [ebp - 0x274]
push esi
push eax
call fcn.00427890
mov edi, dword [ebp - 0x270]
add esp, 0x14
mov esi, dword [ebp - 0x274]
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 8
and ebx, 0xfffffffd
or esi, 0xffffffff
mov dword [ebp - 0x26c], ebx
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x478057
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
and ebx, 0xfffffffe
mov byte [ebp - 4], 3
mov dword [ebp - 0x26c], ebx
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x47807b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x264]
or edi, 0xffffffff
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x477d60
lea ebx, [eax + 1]
jmp 0x477eb3
push 0x80004005
call fcn.00425f50
push 0x80004005
call fcn.00425f50
int3