Function at 0x10096e20
Capabilities:
Create directory
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017662f
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x10249500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1f4], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1f4]
movzx ecx, byte [eax + 0x90]
test ecx, ecx
je 0x10096e7d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10012050
jmp 0x10097442
mov edx, dword [ebp - 0x1f4]
mov byte [edx + 0x90], 1
lea ecx, [ebp - 0x160]
call fcn.1001aea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x148]
call fcn.1001aea0
mov byte [ebp - 4], 2
push 0x10954148
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x10097028
push 0x101d4e0c
push 0x10954148
lea ecx, [ebp - 0x178]
call fcn.1000f970
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x230]
push ecx
lea edx, [ebp - 0x1f0]
push edx
call fcn.10092c40
add esp, 0xc
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x290]
push eax
lea ecx, [ebp - 0x160]
call fcn.1001bde0
lea ecx, [ebp - 0x1f0]
call fcn.10012050
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x178]
call fcn.10012050
push 0x101d4e18
lea ecx, [ebp + 8]
push ecx
push 0x101d4e20
push 0x10954148
lea ecx, [ebp - 0x190]
call fcn.1000f970
mov dword [ebp - 0x28c], eax
mov edx, dword [ebp - 0x28c]
mov dword [ebp - 0x288], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x288]
push eax
lea ecx, [ebp - 0x1a8]
push ecx
call fcn.10092c40
add esp, 0xc
mov dword [ebp - 0x284], eax
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x280], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x280]
push eax
lea ecx, [ebp - 0x1c0]
push ecx
call fcn.10092c10
add esp, 0xc
mov dword [ebp - 0x278], eax
mov edx, dword [ebp - 0x278]
mov dword [ebp - 0x274], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x274]
push eax
lea ecx, [ebp - 0x1d8]
push ecx
call fcn.10092c40
add esp, 0xc
mov dword [ebp - 0x270], eax
mov edx, dword [ebp - 0x270]
push edx
lea ecx, [ebp - 0x148]
call fcn.1001bde0
lea ecx, [ebp - 0x1d8]
call fcn.10012050
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c0]
call fcn.10012050
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a8]
call fcn.10012050
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x190]
call fcn.10012050
push 0
lea ecx, [ebp - 0x160]
call fcn.10022b30
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push 0x100
push 0
lea ecx, [ebp - 0x130]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x1f4]
mov dword [ebp - 0x218], edx
mov ecx, dword [ebp - 0x218]
call fcn.10015360
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x218]
call fcn.10015980
mov dword [ebp - 0x264], eax
jmp 0x100970ab
mov eax, dword [ebp - 0x1f8]
add eax, 4
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x1f8]
cmp ecx, dword [ebp - 0x264]
je 0x10097144
mov edx, dword [ebp - 0x1f8]
mov eax, dword [edx]
mov dword [ebp - 0x208], eax
lea ecx, [ebp - 0x148]
call fcn.10022b30
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x208]
add ecx, 0x18
call fcn.10022b30
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x208]
call fcn.10022b30
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x27c]
push ecx
push 0x20
lea edx, [ebp - 0x30]
push edx
push 0x101d260a
mov eax, dword [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x208]
mov edx, dword [ecx + 0x30]
mov dword [edx], eax
jmp 0x1009709c
mov eax, dword [ebp - 0x1f4]
add eax, 0x18
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
call fcn.10015360
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x21c]
call fcn.10015980
mov dword [ebp - 0x23c], eax
jmp 0x10097186
mov ecx, dword [ebp - 0x1fc]
add ecx, 4
mov dword [ebp - 0x1fc], ecx
mov edx, dword [ebp - 0x1fc]
cmp edx, dword [ebp - 0x23c]
je 0x1009722b
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [eax]
mov dword [ebp - 0x214], ecx
lea ecx, [ebp - 0x148]
call fcn.10022b30
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x18
call fcn.10022b30
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x214]
call fcn.10022b30
mov dword [ebp - 0x248], eax
mov edx, dword [ebp - 0x240]
push edx
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0x101d260b
mov ecx, dword [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
add esp, 4
fstp dword [ebp - 0x24c]
fld dword [ebp - 0x24c]
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx + 0x30]
fstp dword [edx]
jmp 0x10097177
mov eax, dword [ebp - 0x1f4]
add eax, 0xc
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
call fcn.10015360
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x220]
call fcn.10015980
mov dword [ebp - 0x250], eax
jmp 0x1009726d
mov ecx, dword [ebp - 0x200]
add ecx, 4
mov dword [ebp - 0x200], ecx
mov edx, dword [ebp - 0x200]
cmp edx, dword [ebp - 0x250]
je 0x1009732a
mov eax, dword [ebp - 0x200]
mov ecx, dword [eax]
mov dword [ebp - 0x20c], ecx
lea ecx, [ebp - 0x148]
call fcn.10022b30
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x20c]
add ecx, 0x18
call fcn.10022b30
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x20c]
call fcn.10022b30
mov dword [ebp - 0x25c], eax
mov edx, dword [ebp - 0x254]
push edx
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0x101d260c
mov ecx, dword [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x101d4e2c
lea eax, [ebp - 0x30]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x1009730a
mov dword [ebp - 0x224], 1
jmp 0x10097314
mov dword [ebp - 0x224], 0
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ecx + 0x30]
mov al, byte [ebp - 0x224]
mov byte [edx], al
jmp 0x1009725e
mov ecx, dword [ebp - 0x1f4]
add ecx, 0x24
mov dword [ebp - 0x228], ecx
mov ecx, dword [ebp - 0x228]
call fcn.10015360
mov dword [ebp - 0x204], eax
mov ecx, dword [ebp - 0x228]
call fcn.10015980
mov dword [ebp - 0x260], eax
jmp 0x1009736c
mov edx, dword [ebp - 0x204]
add edx, 4
mov dword [ebp - 0x204], edx
mov eax, dword [ebp - 0x204]
cmp eax, dword [ebp - 0x260]
je 0x10097408
mov ecx, dword [ebp - 0x204]
mov edx, dword [ecx]
mov dword [ebp - 0x210], edx
lea ecx, [ebp - 0x148]
call fcn.10022b30
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x210]
add ecx, 0x18
call fcn.10022b30
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x210]
call fcn.10022b30
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x294]
push eax
push 0x100
lea ecx, [ebp - 0x130]
push ecx
push 0x101d260d
mov edx, dword [ebp - 0x268]
push edx
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x210]
mov ecx, dword [edx + 0x30]
call fcn.100961a0
jmp 0x1009735d
mov eax, dword [ebp - 0x1f4]
mov byte [eax + 0x90], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x148]
call fcn.10012050
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.10012050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10012050
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016fdd7
mov esp, ebp
pop ebp
ret 0x18