Function at 0x4069b0
Capabilities:
Copy file
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e890
mov eax, dword fs:[0]
push eax
sub esp, 0x59c
mov eax, dword [0x463610]
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 dword [ebp - 0x10], esp
push 0x200
lea eax, [ebp - 0x3a0]
push eax
mov edi, ecx
push 0
mov dword [ebp - 0x5a4], edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x3a0]
push 0x5c
push ecx
call fcn.00433420
add esp, 8
test eax, eax
jne 0x406a2a
lea edx, [ebp - 0x3a0]
push 0x2f
push edx
call fcn.00433420
add esp, 8
mov byte [eax], 0
mov eax, dword [0x464a14]
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea edx, [ecx*2 + str.Installing]
push edx
lea eax, [ebp - 0x3a0]
push eax
push str._s_s.ini
lea ecx, [ebp - 0x5a0]
push 0x104
push ecx
call fcn.00432ab6
lea edx, [ebp - 0x1a0]
add esp, 0x14
push edx
call fcn.004064d0
add esp, 4
test eax, eax
je 0x406abf
lea eax, [ebp - 0x1a0]
push eax
call fcn.0040b180
xor edx, edx
mov ecx, 0xc8
div ecx
add esp, 4
mov eax, edx
shl eax, 4
sub eax, edx
lea ecx, [eax*2 + str.Installing]
lea edx, [ebp - 0x58]
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x406aa0
mov cl, byte [ebp - 0x58]
sub cl, 0x61
cmp cl, 0x19
ja 0x406ad0
add byte [ebp - 0x58], 0xe0
jmp 0x406ad0
mov edx, dword [str.Data]
mov al, byte [0x457664]
mov dword [ebp - 0x58], edx
mov byte [ebp - 0x54], al
push 0x104
lea ecx, [ebp - 0x160]
push 0
push ecx
call fcn.00436760
add esp, 0xc
push 0x104
lea edx, [ebp - 0x160]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x160]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406b01
sub eax, edx
jne 0x406b4a
mov eax, dword [str.c:Program_Files]
mov ecx, dword [0x45766c]
mov edx, dword [0x457670]
mov dword [ebp - 0x160], eax
mov eax, dword [0x457674]
mov dword [ebp - 0x15c], ecx
mov cl, byte [0x457678]
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x154], eax
mov byte [ebp - 0x150], cl
jmp 0x406b7b
mov edx, dword [str.Program_Files]
mov eax, dword [0x457680]
mov ecx, dword [0x457684]
mov dword [ebp - 0x15d], edx
mov dx, word [0x457688]
mov dword [ebp - 0x159], eax
mov dword [ebp - 0x155], ecx
mov word [ebp - 0x151], dx
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
lea eax, [ebp - 0x160]
push eax
call esi
lea eax, [ebp - 0x160]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406b95
lea ecx, [ebp - 0x58]
push ecx
sub eax, edx
lea edx, [ebp + eax - 0x160]
push 0x45768c
push edx
call fcn.00432a00
add esp, 0xc
push 0
lea eax, [ebp - 0x160]
push eax
call esi
push str.pcTest.ini
lea ecx, [ebp - 0x160]
push ecx
lea edx, [ebp - 0x3a0]
push 0x456658
push edx
call fcn.00432a00
push 0x180
lea eax, [ebp - 0x3a0]
push 0x810a
push eax
call fcn.00446cbe
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x406ca7
push 3
push 0x45769c
push esi
call fcn.00441137
add esp, 0xc
cmp eax, 3
push esi
jne 0x406c84
call fcn.004417e8
add esp, 4
lea ecx, [ebp - 0x3a0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x4576a0
lea edx, [ebp - 0x160]
push edx
push str._s_s.ini
push edi
call fcn.00432a00
push 0
push edi
call fcn.00432bea
add esp, 0x18
cmp eax, 0xffffffff
jne 0x406c7d
lea eax, [ebp - 0x5a0]
push 0
push eax
call fcn.00432bea
add esp, 8
cmp eax, 0xffffffff
je 0x406c7d
push 0
push edi
lea ecx, [ebp - 0x5a0]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, 1
jmp 0x406cc4
call fcn.004417e8
add esp, 4
lea edx, [ebp - 0x3a0]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x406ca7
lea eax, [ebp - 0x5a0]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x406cb3
mov eax, 2
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.0043197e
mov esp, ebp
pop ebp
ret