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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10175b3f
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x10247500]
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 0x1009597e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10012160
nop
jmp 0x10095f47
mov edx, dword [ebp - 0x1f4]
mov byte [edx + 0x90], 1
lea ecx, [ebp - 0x160]
call fcn.1001b090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x148]
call fcn.1001b090
mov byte [ebp - 4], 2
push 0x10951f28
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x10095b2b
push 0x101d0f90
push 0x10951f28
lea ecx, [ebp - 0x178]
call fcn.1000fa40
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.10091830
add esp, 0xc
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x290]
push eax
lea ecx, [ebp - 0x160]
call fcn.1001bfe0
lea ecx, [ebp - 0x1f0]
call fcn.10012160
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x178]
call fcn.10012160
nop
push 0x101d0f9c
lea ecx, [ebp + 8]
push ecx
push 0x101d0fa4
push 0x10951f28
lea ecx, [ebp - 0x190]
call fcn.1000fa40
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.10091830
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.10091800
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.10091830
add esp, 0xc
mov dword [ebp - 0x270], eax
mov edx, dword [ebp - 0x270]
push edx
lea ecx, [ebp - 0x148]
call fcn.1001bfe0
lea ecx, [ebp - 0x1d8]
call fcn.10012160
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c0]
call fcn.10012160
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a8]
call fcn.10012160
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x190]
call fcn.10012160
nop
push 0
lea ecx, [ebp - 0x160]
call fcn.10022dc0
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.100225d0
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x218]
call fcn.100225f0
mov dword [ebp - 0x264], eax
jmp 0x10095bae
mov eax, dword [ebp - 0x1f8]
add eax, 4
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x1f8]
cmp ecx, dword [ebp - 0x264]
je 0x10095c47
mov edx, dword [ebp - 0x1f8]
mov eax, dword [edx]
mov dword [ebp - 0x208], eax
lea ecx, [ebp - 0x148]
call fcn.10022dc0
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x208]
add ecx, 0x18
call fcn.10022dc0
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x208]
call fcn.10022dc0
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x27c]
push ecx
push 0x20
lea edx, [ebp - 0x30]
push edx
push 0x101d0bfd
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 0x10095b9f
mov eax, dword [ebp - 0x1f4]
add eax, 0x18
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
call fcn.100225d0
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x21c]
call fcn.100225f0
mov dword [ebp - 0x23c], eax
jmp 0x10095c89
mov ecx, dword [ebp - 0x1fc]
add ecx, 4
mov dword [ebp - 0x1fc], ecx
mov edx, dword [ebp - 0x1fc]
cmp edx, dword [ebp - 0x23c]
je 0x10095d2e
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [eax]
mov dword [ebp - 0x214], ecx
lea ecx, [ebp - 0x148]
call fcn.10022dc0
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x18
call fcn.10022dc0
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x214]
call fcn.10022dc0
mov dword [ebp - 0x248], eax
mov edx, dword [ebp - 0x240]
push edx
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0x101d0bfe
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 0x10095c7a
mov eax, dword [ebp - 0x1f4]
add eax, 0xc
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
call fcn.100225d0
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x220]
call fcn.100225f0
mov dword [ebp - 0x250], eax
jmp 0x10095d70
mov ecx, dword [ebp - 0x200]
add ecx, 4
mov dword [ebp - 0x200], ecx
mov edx, dword [ebp - 0x200]
cmp edx, dword [ebp - 0x250]
je 0x10095e2d
mov eax, dword [ebp - 0x200]
mov ecx, dword [eax]
mov dword [ebp - 0x20c], ecx
lea ecx, [ebp - 0x148]
call fcn.10022dc0
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x20c]
add ecx, 0x18
call fcn.10022dc0
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x20c]
call fcn.10022dc0
mov dword [ebp - 0x25c], eax
mov edx, dword [ebp - 0x254]
push edx
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0x101d0bff
mov ecx, dword [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x101d0fb0
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 0x10095e0d
mov dword [ebp - 0x224], 1
jmp 0x10095e17
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 0x10095d61
mov ecx, dword [ebp - 0x1f4]
add ecx, 0x24
mov dword [ebp - 0x228], ecx
mov ecx, dword [ebp - 0x228]
call fcn.100225d0
mov dword [ebp - 0x204], eax
mov ecx, dword [ebp - 0x228]
call fcn.100225f0
mov dword [ebp - 0x260], eax
jmp 0x10095e6f
mov edx, dword [ebp - 0x204]
add edx, 4
mov dword [ebp - 0x204], edx
mov eax, dword [ebp - 0x204]
cmp eax, dword [ebp - 0x260]
je 0x10095f0c
mov ecx, dword [ebp - 0x204]
mov edx, dword [ecx]
mov dword [ebp - 0x210], edx
lea ecx, [ebp - 0x148]
call fcn.10022dc0
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x210]
add ecx, 0x18
call fcn.10022dc0
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x210]
call fcn.10022dc0
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x294]
push eax
push 0x100
lea ecx, [ebp - 0x130]
push ecx
push 0x101d0c05
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.10094c90
nop
jmp 0x10095e60
mov eax, dword [ebp - 0x1f4]
mov byte [eax + 0x90], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x148]
call fcn.10012160
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.10012160
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10012160
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016f297
mov esp, ebp
pop ebp
ret 0x18