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

Disassembly:
push ebp
sub esp, 0x244
lea ebp, [esp - 4]
mov eax, dword [0x48d044]
xor eax, ebp
mov dword [ebp + 0x244], eax
push 0x4c
mov eax, 0x467045
call fcn.00450d5a
lea esi, [ebp + 0x250]
lea edi, [ebp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x260]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x264]
mov dword [ebp - 0x2c], eax
and dword [ebp - 4], 0
mov eax, 0x492004
lea esi, [ebp - 0x3c]
call fcn.00404438
mov byte [ebp - 4], 1
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x28]
push eax
call fcn.00408d4f
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], 0xc
lea ecx, [ebp - 0x28]
call fcn.00408899
mov dword [ebp - 0x14], eax
and dword [ebp - 0x1c], 0
mov byte [ebp - 4], 3
push dword [ebp - 0x20]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantInit]
call ebx
test eax, eax
je 0x40903b
lea eax, [ebp - 0x20]
lea edi, [ebp - 0x1c]
call fcn.00404351
push str.Settings
call fcn.0040ac4e
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.PCCSConfig.dat
call fcn.0040ac4e
lea eax, [ebp - 0x58]
push eax
call fcn.00404758
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x1c]
mov edx, edi
lea ecx, [ebp - 0x58]
call fcn.00404a6d
mov dword [ebp - 0x14], eax
test eax, eax
jge 0x408f43
cmp eax, 0x8040000e
je 0x408e68
cmp eax, 0x80400009
jne 0x408e7b
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x14], 0x80400004
jmp 0x408f43
lea esi, [ebp - 0x34]
call fcn.00408874
mov byte [ebp - 4], 5
push edi
call ebx
test eax, eax
je 0x408e9b
mov edx, edi
lea ecx, [ebp - 0x58]
call fcn.00404a6d
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x408ebd
push edi
call ebx
test eax, eax
je 0x408eb9
push 0
push dword [ebp - 0x20]
call fcn.0044efa7
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x408ebd
mov byte [ebp - 0x15], 1
mov byte [ebp - 4], 4
lea esi, [ebp - 0x34]
call fcn.00408884
cmp dword [ebp - 0x14], 0
jge 0x408f43
cmp byte [ebp - 0x15], 0
je 0x408f43
xor esi, esi
mov word [ebp + 0x3c], si
push 0x206
push esi
lea eax, [ebp + 0x3e]
push eax
call fcn.0044c8f0
add esp, 0xc
lea eax, [ebp + 0x3c]
push eax
push esi
push esi
push 0x23
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x14], eax
cmp eax, esi
jl 0x408f43
push str.PC_SuiteSettings
lea eax, [ebp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
lea eax, [ebp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp + 0x3c]
push eax
lea esi, [ebp - 0x1c]
call fcn.0040b455
push str.PCCSConfig.dat
mov edi, esi
call fcn.0040ac4e
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x58]
call fcn.00404a6d
mov dword [ebp - 0x14], eax
lea esi, [ebp - 0x3c]
call fcn.00404331
cmp dword [ebp - 0x14], 0
jl 0x408fdf
lea eax, [ebp + 0x10]
push eax
call fcn.00404691
mov byte [ebp - 4], 6
push dword [ebp - 0x30]
sub esp, 0x10
lea esi, [ebp]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp + 0x10]
call fcn.00405060
mov dword [ebp - 0x14], eax
test eax, eax
jl 0x408fd2
mov ebx, dword [ebp - 0x2c]
lea edi, [ebx + 4]
lea eax, [ebp + 0x10]
call fcn.00404351
lea edi, [ebx + 8]
lea esi, [ebp + 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x28]
mov dword [ebx + 0x1c], eax
lea edi, [ebx + 0x20]
lea eax, [ebp + 0x2c]
call fcn.00404351
lea edi, [ebx + 0x24]
lea eax, [ebp + 0x30]
call fcn.00404351
mov eax, dword [ebp + 0x34]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0x38]
mov dword [ebx + 0x2c], eax
and dword [ebp + 0x34], 0
and dword [ebp + 0x38], 0
mov byte [ebp - 4], 4
lea eax, [ebp + 0x10]
push eax
call fcn.004046d9
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.004047bd
mov byte [ebp - 4], 2
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
call fcn.0040b6d3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004043f6
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x244]
xor ecx, ebp
call fcn.0044c8d7
add ebp, 0x248
leave
ret
mov eax, 0x80100026
jmp fcn.0040426a