Function at 0x39e4fd34
Capabilities:
Copy file
Create directory
Delete directory
Set current directory

Disassembly:
push 0x664
mov eax, 0x39ec6e94
call fcn.39eaecb8
mov eax, dword [ebp + 8]
cmp byte [eax + 0x210], 0
mov dword [ebp - 0x670], eax
je 0x39e4ffbc
sub esp, 0x10
mov edi, esp
mov esi, str._Ai_t
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
lea ebx, [ebp - 0x650]
movsd dword es:[edi], dword [esi]
call fcn.39e601f2
and dword [ebp - 4], 0
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x670]
mov esi, 0x39ee0a98
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ebx, [ebp - 0x66c]
movsd dword es:[edi], dword [esi]
call fcn.39e601f2
mov byte [ebp - 4], 1
xor eax, eax
mov ebx, 0x208
push ebx
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.39e6fce0
mov eax, dword [ebp - 0x64c]
add esp, 0xc
cmp dword [ebp - 0x638], 8
jae 0x39e4fdce
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.39eb4742
mov edi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
call edi
cmp dword [ebp - 0x654], 8
mov eax, dword [ebp - 0x668]
jae 0x39e4fe07
lea eax, [ebp - 0x668]
push eax
mov esi, 0x105
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.39eb4742
add esp, 0xc
push dword [ebp - 0x670]
mov ecx, 0x39e09cd4
call fcn.39eb4742
test eax, eax
je 0x39e4feaf
xor eax, eax
push ebx
mov word [ebp - 0x634], ax
xor edi, edi
lea eax, [ebp - 0x632]
push edi
push eax
call fcn.39e6fce0
add esp, 0xc
lea eax, [ebp - 0x634]
push eax
push esi
call fcn.39eb4742
cmp eax, edi
je 0x39e4fe6b
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x21c]
push eax
call fcn.39eb4742
cmp dword [ebp - 0x638], 8
mov eax, dword [ebp - 0x64c]
jae 0x39e4fe8c
lea eax, [ebp - 0x64c]
push eax
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 0
push edi
push 1
lea ecx, [ebp - 0x66c]
call fcn.39eb4742
or dword [ebp - 4], 0xffffffff
push edi
jmp 0x39e4ffaf
mov esi, dword [sym.imp.kernel32.dll_CreateDirectoryW]
push 0
lea eax, [ebp - 0x21c]
push eax
call esi
lea eax, [ebp - 0x21c]
push eax
call edi
push 0x39e1c01c
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.39eb4742
add esp, 0xc
push 0
lea eax, [ebp - 0x21c]
push eax
call esi
lea eax, [ebp - 0x21c]
push eax
call edi
xor eax, eax
push ebx
push eax
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push eax
call fcn.39e6fce0
add esp, 0xc
push 0x39e1c028
push 0x39e1c030
lea eax, [ebp - 0x428]
push eax
lea ebx, [ebp - 0x21c]
call fcn.39eb4742
xor ebx, ebx
cmp eax, ebx
je 0x39e4ff99
mov esi, dword [ebp - 0x670]
cmp dword [esi + 0x1e0], 8
jb 0x39e4ff49
mov eax, dword [esi + 0x1cc]
jmp 0x39e4ff4f
lea eax, [esi + 0x1cc]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.39eb4742
pop ecx
pop ecx
test eax, eax
je 0x39e4ff99
cmp dword [esi + 0x1e0], 8
jb 0x39e4ff73
mov eax, dword [esi + 0x1cc]
jmp 0x39e4ff79
lea eax, [esi + 0x1cc]
push ebx
lea ecx, [ebp - 0x428]
push ecx
push eax
call dword [sym.imp.kernel32.dll_CopyFileW]
cmp eax, ebx
je 0x39e4ff99
lea edi, [ebp - 0x428]
mov ecx, esi
call fcn.39e4fbfe
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x66c]
call fcn.39eb4742
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x650]
call fcn.39eb4742
call fcn.39eaed4a
ret 4