Function at 0x10001fc0
Capabilities:
Check if file exists
Create directory
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc38
mov eax, dword [0x101120a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x61c]
mov ebx, ecx
push 0
push eax
call fcn.1008da10
push 0x208
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.1008da10
push 0x208
lea eax, [ebp - 0xa2c]
push 0
push eax
call fcn.1008da10
push 0x208
lea eax, [ebp - 0xc34]
push 0
push eax
call fcn.1008da10
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.1008da10
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1008da10
add esp, 0x48
lea eax, [ebp - 0x414]
push 0
push 0x2b
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x414]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10002070
mov ecx, 6
lea eax, [ebp - 0x414]
mov esi, str.ClodlySoft_
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100020a9
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor ecx, ecx
nop dword [eax + eax]
movzx eax, word [ebp + ecx - 0x414]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x20e], ax
test ax, ax
jne 0x100020b0
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x100020d1
mov ecx, 7
lea eax, [ebp - 0x20c]
mov esi, str.cloudysoft.ini
rep movsd dword es:[edi], dword [esi]
push eax
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 0x100ee7b8
push str.OID1
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.Globals
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x824]
push eax
push 0x100ee7b8
push str.OID2
push str.Globals
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0xa2c]
push eax
push 0x100ee7b8
push str.OID3
push str.Globals
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0xc34]
push eax
push 0x100ee7b8
push str.OID4
push str.Globals
call esi
lea edi, [ebp - 0x61c]
lea ecx, [edi + 2]
nop word [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x10002190
sub edi, ecx
lea ecx, [ebp - 0x824]
sar edi, 1
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100021b0
sub ecx, edx
lea esi, [ebp - 0xa2c]
sar ecx, 1
lea edx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100021d0
sub esi, edx
lea edx, [ebp - 0xc34]
lea eax, [edx + 2]
sar esi, 1
mov dword [ebp - 0xc38], eax
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100021f0
sub edx, dword [ebp - 0xc38]
sar edx, 1
test edi, edi
je 0x100022b7
test ecx, ecx
je 0x100022b7
test esi, esi
je 0x100022b7
test edx, edx
je 0x100022b7
mov edx, dword [ebx]
lea ecx, [ebp - 0x61c]
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x10002230
mov ecx, dword [ebx]
lea edx, [ebp - 0x824]
add ecx, 0x208
nop
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x10002250
mov ecx, dword [ebx]
lea edx, [ebp - 0xa2c]
add ecx, 0x410
nop
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x10002270
mov ecx, dword [ebx]
lea edx, [ebp - 0xc34]
add ecx, 0x618
nop
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x10002290
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008bffe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008bffe
mov esp, ebp
pop ebp
ret