Function at 0x482d40
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 0x5a3d61
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x639354]
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.00429250
mov ecx, eax
test ecx, ecx
je 0x48320d
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 0x482dd1
test esi, 0xffff0000
jne 0x482db9
movzx eax, si
lea ecx, [ebp - 0x268]
push eax
call fcn.00429d90
jmp 0x482de0
mov ecx, esi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482dc0
sub ecx, edx
sar ecx, 1
jmp 0x482dd3
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x268]
call fcn.0042a060
mov dword [ebp - 4], 1
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x483217
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 0x482e41
test edi, 0xffff0000
jne 0x482e25
movzx eax, di
lea ecx, [ebp - 0x264]
push eax
call fcn.00429d90
jmp 0x482e50
mov ecx, edi
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482e30
sub ecx, edx
sar ecx, 1
jmp 0x482e43
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x264]
call fcn.0042a060
push 0x5b9864
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.00429810
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 0x482ea6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xffffffff
jne 0x482eb5
mov ebx, 1
jmp 0x483032
mov esi, dword [ebp - 0x264]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x482ee0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x483024
jmp 0x482ee0
test byte [ebp - 0x260], 0x10
je 0x483088
push 0x5b9808
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4831ea
push 0x5b980c
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4831ea
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x28c]
push eax
call fcn.00429810
push 0x5b9804
push eax
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 4
push eax
call fcn.00429810
mov edi, dword [eax]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00429810
push 0x5b9804
push eax
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 6
push eax
call fcn.00429810
push edi
push dword [eax]
mov byte [ebp - 4], 7
call fcn.00482d40
mov edx, dword [ebp - 0x280]
or edi, 0xffffffff
mov dword [ebp - 0x290], eax
add esp, 0x38
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482fbc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x284]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482fd9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x288]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482ff6
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 0x483017
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x290], 0
jne 0x4831ea
xor ebx, ebx
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x264]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48304f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x48306a
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.0055c3a9
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi - 0x10]
test ecx, ecx
je 0x48309a
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x4830a8
call fcn.00429250
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
mov byte [ebp - 4], 9
test ecx, ecx
je 0x48320d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov byte [ebp - 4], 8
mov dword [ebp - 0x270], eax
or ebx, 1
lea eax, [ebp - 0x234]
mov dword [ebp - 0x26c], ebx
lea edx, [eax + 2]
jmp 0x4830e0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4830e0
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.0042b6f0
add esp, 0x14
mov esi, dword [ebp - 0x268]
mov ecx, dword [esi - 0x10]
test ecx, ecx
je 0x483122
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x483130
call fcn.00429250
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x48320d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov byte [ebp - 4], 0xa
or ebx, 2
mov dword [ebp - 0x274], eax
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x26c], ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x483160
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.0042b6f0
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]
and ebx, 0xfffffffd
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4831bd
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 0x4831e1
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 0x482ee0
lea ebx, [eax + 1]
jmp 0x483026
push 0x80004005
call fcn.00429b60
push 0x80004005
call fcn.00429b60
int3