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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101768bf
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x10248500]
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 0x1009650e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10012130
nop
jmp 0x10096ad7
mov edx, dword [ebp - 0x1f4]
mov byte [edx + 0x90], 1
lea ecx, [ebp - 0x160]
call fcn.1001b000
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x148]
call fcn.1001b000
mov byte [ebp - 4], 2
push 0x10953148
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x100966bb
push 0x101d2068
push 0x10953148
lea ecx, [ebp - 0x178]
call fcn.1000fa20
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.10092180
add esp, 0xc
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x290]
push eax
lea ecx, [ebp - 0x160]
call fcn.1001bf50
lea ecx, [ebp - 0x1f0]
call fcn.10012130
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x178]
call fcn.10012130
nop
push 0x101d2074
lea ecx, [ebp + 8]
push ecx
push 0x101d207c
push 0x10953148
lea ecx, [ebp - 0x190]
call fcn.1000fa20
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.10092180
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.10092150
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.10092180
add esp, 0xc
mov dword [ebp - 0x270], eax
mov edx, dword [ebp - 0x270]
push edx
lea ecx, [ebp - 0x148]
call fcn.1001bf50
lea ecx, [ebp - 0x1d8]
call fcn.10012130
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c0]
call fcn.10012130
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a8]
call fcn.10012130
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x190]
call fcn.10012130
nop
push 0
lea ecx, [ebp - 0x160]
call fcn.10022d10
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.10022540
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x218]
call fcn.10022560
mov dword [ebp - 0x264], eax
jmp 0x1009673e
mov eax, dword [ebp - 0x1f8]
add eax, 4
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x1f8]
cmp ecx, dword [ebp - 0x264]
je 0x100967d7
mov edx, dword [ebp - 0x1f8]
mov eax, dword [edx]
mov dword [ebp - 0x208], eax
lea ecx, [ebp - 0x148]
call fcn.10022d10
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x208]
add ecx, 0x18
call fcn.10022d10
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x208]
call fcn.10022d10
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x27c]
push ecx
push 0x20
lea edx, [ebp - 0x30]
push edx
push 0x101d1e5e
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 0x1009672f
mov eax, dword [ebp - 0x1f4]
add eax, 0x18
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
call fcn.10022540
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x21c]
call fcn.10022560
mov dword [ebp - 0x23c], eax
jmp 0x10096819
mov ecx, dword [ebp - 0x1fc]
add ecx, 4
mov dword [ebp - 0x1fc], ecx
mov edx, dword [ebp - 0x1fc]
cmp edx, dword [ebp - 0x23c]
je 0x100968be
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [eax]
mov dword [ebp - 0x214], ecx
lea ecx, [ebp - 0x148]
call fcn.10022d10
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x18
call fcn.10022d10
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x214]
call fcn.10022d10
mov dword [ebp - 0x248], eax
mov edx, dword [ebp - 0x240]
push edx
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0x101d1e5f
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 0x1009680a
mov eax, dword [ebp - 0x1f4]
add eax, 0xc
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
call fcn.10022540
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x220]
call fcn.10022560
mov dword [ebp - 0x250], eax
jmp 0x10096900
mov ecx, dword [ebp - 0x200]
add ecx, 4
mov dword [ebp - 0x200], ecx
mov edx, dword [ebp - 0x200]
cmp edx, dword [ebp - 0x250]
je 0x100969bd
mov eax, dword [ebp - 0x200]
mov ecx, dword [eax]
mov dword [ebp - 0x20c], ecx
lea ecx, [ebp - 0x148]
call fcn.10022d10
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x20c]
add ecx, 0x18
call fcn.10022d10
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x20c]
call fcn.10022d10
mov dword [ebp - 0x25c], eax
mov edx, dword [ebp - 0x254]
push edx
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0x101d1e66
mov ecx, dword [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x101d2088
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 0x1009699d
mov dword [ebp - 0x224], 1
jmp 0x100969a7
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 0x100968f1
mov ecx, dword [ebp - 0x1f4]
add ecx, 0x24
mov dword [ebp - 0x228], ecx
mov ecx, dword [ebp - 0x228]
call fcn.10022540
mov dword [ebp - 0x204], eax
mov ecx, dword [ebp - 0x228]
call fcn.10022560
mov dword [ebp - 0x260], eax
jmp 0x100969ff
mov edx, dword [ebp - 0x204]
add edx, 4
mov dword [ebp - 0x204], edx
mov eax, dword [ebp - 0x204]
cmp eax, dword [ebp - 0x260]
je 0x10096a9c
mov ecx, dword [ebp - 0x204]
mov edx, dword [ecx]
mov dword [ebp - 0x210], edx
lea ecx, [ebp - 0x148]
call fcn.10022d10
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x210]
add ecx, 0x18
call fcn.10022d10
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x210]
call fcn.10022d10
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x294]
push eax
push 0x100
lea ecx, [ebp - 0x130]
push ecx
push 0x101d1e67
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.10095820
nop
jmp 0x100969f0
mov eax, dword [ebp - 0x1f4]
mov byte [eax + 0x90], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x148]
call fcn.10012130
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.10012130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10012130
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016fccf
mov esp, ebp
pop ebp
ret 0x18