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

Disassembly:
mov eax, 0x47027e
call fcn.00453e8c
sub esp, 0x600
push ebx
push esi
xor ebx, ebx
push edi
lea eax, [ebp - 0x1e]
mov edi, 0x475628
mov esi, 0x475620
push ebx
push eax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xb8], esi
call fcn.00403bf5
lea eax, [ebp - 0x1f]
push ebx
push eax
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], ebx
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0x84], esi
call fcn.00403bf5
lea eax, [ebp - 0x20]
push ebx
push eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 1
mov dword [ebp - 0x100], edi
mov dword [ebp - 0xe0], esi
call fcn.00403bf5
mov ebx, 0x104
lea eax, [ebp - 0x2c]
push ebx
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.00402dad
mov ecx, dword [eax]
mov byte [ebp - 4], 3
mov byte [eax + 4], 1
call fcn.00403dc2
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00402ebf
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea eax, [ebp - 0x144]
push 1
push eax
lea ecx, [ebp - 0x7c]
call fcn.00423e1d
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.0040fa71
push eax
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 5
call fcn.0040249e
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.00402424
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.00402424
mov eax, dword [ebp - 0xd0]
test eax, eax
jne 0x4232de
mov eax, 0x475650
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0x1a4]
push eax
call fcn.004237ec
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
mov eax, dword [eax + 8]
test eax, eax
jne 0x42330c
mov eax, 0x475650
push eax
lea ecx, [ebp - 0x3d8]
call fcn.00432e1c
mov eax, 0x48c9a0
mov byte [ebp - 4], 7
mov ecx, eax
mov dword [ebp - 0x16c], edi
test ecx, ecx
mov dword [ebp - 0x14c], esi
jne 0x423338
mov eax, 0x493568
lea ecx, [ebp - 0x1d]
push 0
push ecx
push eax
lea ecx, [ebp - 0x16c]
call fcn.00403cfd
lea eax, [ebp - 0x16c]
lea ecx, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x128]
push eax
mov byte [ebp - 4], 8
call fcn.0040fa71
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0xa
call fcn.00402424
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x14], 0x475650
test eax, eax
je 0x42338a
mov dword [ebp - 0x14], eax
mov eax, 0x48c9a0
mov dword [ebp - 0x7c], edi
mov ecx, eax
mov dword [ebp - 0x5c], esi
test ecx, ecx
jne 0x4233a0
mov eax, 0x493568
lea ecx, [ebp - 0x15]
push 0
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00403cfd
push 0
lea ecx, [ebp - 0x7c]
push dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.0040b4ac
push eax
lea ecx, [ebp - 0x3d8]
call fcn.00433b63
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xa
call fcn.00402424
push 0xc
lea eax, [ebp - 0x128]
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x24], esp
push 1
push eax
call fcn.00407995
call fcn.0043918a
add esp, 0x2c
test al, al
je 0x4236fb
lea eax, [ebp - 0x128]
lea ecx, [ebp - 0x1a4]
push eax
call fcn.004238c0
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x14], 0x475650
test eax, eax
je 0x423426
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push ebx
push eax
lea ecx, [ebp - 0x100]
call fcn.00402dad
mov ecx, dword [eax]
mov byte [ebp - 4], 0xc
mov byte [eax + 4], 1
call fcn.00403dc2
mov eax, dword [eax]
mov edi, 0x4755e0
mov dword [ebp - 0x24], eax
mov eax, 0x48c984
mov ecx, eax
mov esi, 0x4755d8
test ecx, ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x34], esi
jne 0x42346d
mov eax, 0x493568
lea ecx, [ebp - 0x15]
push 0
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.004011a9
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0xd
test eax, eax
mov dword [ebp - 0x1c], 0x4755fc
je 0x423491
mov dword [ebp - 0x1c], eax
mov eax, 0x48c968
mov dword [ebp - 0x7c], edi
mov ecx, eax
mov dword [ebp - 0x5c], esi
test ecx, ecx
jne 0x4234a7
mov eax, 0x493568
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.004011a9
mov eax, dword [ebp - 0x74]
test eax, eax
jne 0x4234c2
mov eax, 0x4755fc
push dword [ebp - 0x14]
push ebx
mov ebx, 0x493568
push dword [ebp - 0x24]
push ebx
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x7c]
call fcn.00401093
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call fcn.00401093
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0xa
call fcn.00402ebf
cmp dword [ebp - 0xf4], 0
jne 0x423582
cmp byte [0x493148], 0
jne 0x42351b
cmp byte [0x497938], 0
je 0x42377f
lea eax, [ebp + 0xb]
push 1
push eax
push 0x48aaa4
lea ecx, [ebp - 0x7c]
call fcn.00401889
mov eax, 0x48c8e0
mov byte [ebp - 4], 0xe
mov ecx, eax
mov dword [ebp - 0x54], edi
test ecx, ecx
mov dword [ebp - 0x34], esi
jne 0x423545
mov eax, ebx
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.004011a9
lea eax, [ebp - 0x7c]
push 0xc97
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0xf
call fcn.00464d80
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xe
call fcn.00401093
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7c]
jmp 0x42377a
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 7
call fcn.00402424
lea ecx, [ebp - 0x3d8]
mov byte [ebp - 4], 6
call fcn.0043345c
lea eax, [ebp - 0x100]
lea ecx, [ebp - 0xa4]
push eax
call fcn.00423f6d
mov eax, dword [ebp - 0x9c]
mov edi, 0x475650
test eax, eax
jne 0x4235c3
mov eax, edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0xb0]
call fcn.004020b2
mov eax, dword [ebp - 0x9c]
mov byte [ebp - 4], 0x12
test eax, eax
jne 0x4235e7
mov eax, edi
push eax
lea ecx, [ebp - 0xb0]
call fcn.004025d5
mov eax, dword [ebp - 0x9c]
test eax, eax
jne 0x423605
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
jmp 0x42360b
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp + 8]
mov ebx, edi
mov eax, dword [esi + 8]
test eax, eax
je 0x423619
mov ebx, eax
lea eax, [ebp + 0xb]
push 1
push eax
push 0x48aaa4
lea ecx, [ebp - 0x54]
call fcn.00401889
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x13
test eax, eax
jne 0x42363c
mov eax, 0x4755fc
push dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], 0xcaa
push ebx
push 0x48c894
push eax
call fcn.0040a587
add esp, 0x10
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x12
call fcn.00401093
mov eax, dword [esi + 8]
test eax, eax
jne 0x423670
mov eax, edi
push eax
lea ecx, [ebp - 0x60c]
call fcn.00432e1c
push 0
lea ecx, [ebp - 0x60c]
push dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
push 0x4238cf
call fcn.00433fb5
test eax, eax
lea ecx, [ebp - 0x60c]
mov byte [ebp - 4], 0x12
setne bl
call fcn.0043345c
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 6
call fcn.004020df
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 2
call fcn.0042384a
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 1
call fcn.00402424
and byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.00402424
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00402424
mov al, bl
jmp 0x4237db
cmp byte [0x493148], 0
jne 0x42370d
cmp byte [0x497938], 0
je 0x42377f
lea eax, [ebp + 0xb]
push 1
push eax
push 0x48aaa4
lea ecx, [ebp - 0x7c]
call fcn.00401889
mov eax, 0x48c824
mov byte [ebp - 4], 0x10
mov ecx, eax
mov dword [ebp - 0x54], 0x4755e0
test ecx, ecx
mov dword [ebp - 0x34], 0x4755d8
jne 0x423742
mov eax, 0x493568
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.004011a9
lea eax, [ebp - 0x7c]
push 0xc9d
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x11
call fcn.00464d80
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x10
call fcn.00401093
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7c]
call fcn.00401093
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 7
call fcn.00402424
lea ecx, [ebp - 0x3d8]
mov byte [ebp - 4], 6
call fcn.0043345c
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 2
call fcn.0042384a
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 1
call fcn.00402424
and byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.00402424
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00402424
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4