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

Disassembly:
mov eax, 0x47119a
call fcn.004549fc
sub esp, 0x600
push ebx
push esi
xor ebx, ebx
push edi
lea eax, [ebp - 0x1e]
mov edi, 0x476628
mov esi, 0x476620
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.004246be
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.0040faa8
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 0x42361b
mov eax, 0x476650
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0x1a4]
push eax
call fcn.00423b29
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
mov eax, dword [eax + 8]
test eax, eax
jne 0x423649
mov eax, 0x476650
push eax
lea ecx, [ebp - 0x3d8]
call fcn.00434503
mov eax, 0x48dbe0
mov byte [ebp - 4], 7
mov ecx, eax
mov dword [ebp - 0x16c], edi
test ecx, ecx
mov dword [ebp - 0x14c], esi
jne 0x423675
mov eax, 0x494ad8
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.0040faa8
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0xa
call fcn.00402424
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x14], 0x476650
test eax, eax
je 0x4236c7
mov dword [ebp - 0x14], eax
mov eax, 0x48dbe0
mov dword [ebp - 0x7c], edi
mov ecx, eax
mov dword [ebp - 0x5c], esi
test ecx, ecx
jne 0x4236dd
mov eax, 0x494ad8
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.0040b4a5
push eax
lea ecx, [ebp - 0x3d8]
call fcn.0043524a
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.0040798e
call fcn.0043a884
add esp, 0x2c
test al, al
je 0x423a38
lea eax, [ebp - 0x128]
lea ecx, [ebp - 0x1a4]
push eax
call fcn.00423bfd
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x14], 0x476650
test eax, eax
je 0x423763
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, 0x4765e0
mov dword [ebp - 0x24], eax
mov eax, 0x48dbc4
mov ecx, eax
mov esi, 0x4765d8
test ecx, ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x34], esi
jne 0x4237aa
mov eax, 0x494ad8
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], 0x4765fc
je 0x4237ce
mov dword [ebp - 0x1c], eax
mov eax, 0x48dba8
mov dword [ebp - 0x7c], edi
mov ecx, eax
mov dword [ebp - 0x5c], esi
test ecx, ecx
jne 0x4237e4
mov eax, 0x494ad8
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 0x4237ff
mov eax, 0x4765fc
push dword [ebp - 0x14]
push ebx
mov ebx, 0x494ad8
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 0x4238bf
cmp byte [0x4946b8], 0
jne 0x423858
cmp byte [0x498ea8], 0
je 0x423abc
lea eax, [ebp + 0xb]
push 1
push eax
push 0x48bc10
lea ecx, [ebp - 0x7c]
call fcn.00401889
mov eax, 0x48db20
mov byte [ebp - 4], 0xe
mov ecx, eax
mov dword [ebp - 0x54], edi
test ecx, ecx
mov dword [ebp - 0x34], esi
jne 0x423882
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 0xca8
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0xf
call fcn.004659d0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xe
call fcn.00401093
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7c]
jmp 0x423ab7
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 7
call fcn.00402424
lea ecx, [ebp - 0x3d8]
mov byte [ebp - 4], 6
call fcn.00434b43
lea eax, [ebp - 0x100]
lea ecx, [ebp - 0xa4]
push eax
call fcn.0042480e
mov eax, dword [ebp - 0x9c]
mov edi, 0x476650
test eax, eax
jne 0x423900
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 0x423924
mov eax, edi
push eax
lea ecx, [ebp - 0xb0]
call fcn.004025d5
mov eax, dword [ebp - 0x9c]
test eax, eax
jne 0x423942
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
jmp 0x423948
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 0x423956
mov ebx, eax
lea eax, [ebp + 0xb]
push 1
push eax
push 0x48bc10
lea ecx, [ebp - 0x54]
call fcn.00401889
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x13
test eax, eax
jne 0x423979
mov eax, 0x4765fc
push dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], 0xcbb
push ebx
push 0x48dad4
push eax
call fcn.0040a580
add esp, 0x10
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x12
call fcn.00401093
mov eax, dword [esi + 8]
test eax, eax
jne 0x4239ad
mov eax, edi
push eax
lea ecx, [ebp - 0x60c]
call fcn.00434503
push 0
lea ecx, [ebp - 0x60c]
push dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
push 0x423c0c
call fcn.0043569c
test eax, eax
lea ecx, [ebp - 0x60c]
mov byte [ebp - 4], 0x12
setne bl
call fcn.00434b43
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 6
call fcn.004020df
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 2
call fcn.00423b87
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 0x423b18
cmp byte [0x4946b8], 0
jne 0x423a4a
cmp byte [0x498ea8], 0
je 0x423abc
lea eax, [ebp + 0xb]
push 1
push eax
push 0x48bc10
lea ecx, [ebp - 0x7c]
call fcn.00401889
mov eax, 0x48da64
mov byte [ebp - 4], 0x10
mov ecx, eax
mov dword [ebp - 0x54], 0x4765e0
test ecx, ecx
mov dword [ebp - 0x34], 0x4765d8
jne 0x423a7f
mov eax, 0x494ad8
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.004011a9
lea eax, [ebp - 0x7c]
push 0xcae
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x11
call fcn.004659d0
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.00434b43
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 2
call fcn.00423b87
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