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

Disassembly:
mov eax, 0x470c4e
call fcn.0045454c
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.0042441d
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.0040fa6a
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 0x42337a
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.00423888
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
mov eax, dword [eax + 8]
test eax, eax
jne 0x4233a8
mov eax, 0x476650
push eax
lea ecx, [ebp - 0x3d8]
call fcn.004334dd
mov eax, 0x48da70
mov byte [ebp - 4], 7
mov ecx, eax
mov dword [ebp - 0x16c], edi
test ecx, ecx
mov dword [ebp - 0x14c], esi
jne 0x4233d4
mov eax, 0x4947d8
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.0040fa6a
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 0x423426
mov dword [ebp - 0x14], eax
mov eax, 0x48da70
mov dword [ebp - 0x7c], edi
mov ecx, eax
mov dword [ebp - 0x5c], esi
test ecx, ecx
jne 0x42343c
mov eax, 0x4947d8
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.00434224
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.0043985e
add esp, 0x2c
test al, al
je 0x423797
lea eax, [ebp - 0x128]
lea ecx, [ebp - 0x1a4]
push eax
call fcn.0042395c
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x14], 0x476650
test eax, eax
je 0x4234c2
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, 0x48da54
mov ecx, eax
mov esi, 0x4765d8
test ecx, ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x34], esi
jne 0x423509
mov eax, 0x4947d8
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 0x42352d
mov dword [ebp - 0x1c], eax
mov eax, 0x48da38
mov dword [ebp - 0x7c], edi
mov ecx, eax
mov dword [ebp - 0x5c], esi
test ecx, ecx
jne 0x423543
mov eax, 0x4947d8
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 0x42355e
mov eax, 0x4765fc
push dword [ebp - 0x14]
push ebx
mov ebx, 0x4947d8
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 0x42361e
cmp byte [0x4943b8], 0
jne 0x4235b7
cmp byte [0x498ba8], 0
je 0x42381b
lea eax, [ebp + 0xb]
push 1
push eax
push 0x48baa4
lea ecx, [ebp - 0x7c]
call fcn.00401889
mov eax, 0x48d9b0
mov byte [ebp - 4], 0xe
mov ecx, eax
mov dword [ebp - 0x54], edi
test ecx, ecx
mov dword [ebp - 0x34], esi
jne 0x4235e1
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 0xca3
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0xf
call fcn.00465520
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xe
call fcn.00401093
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7c]
jmp 0x423816
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 7
call fcn.00402424
lea ecx, [ebp - 0x3d8]
mov byte [ebp - 4], 6
call fcn.00433b1d
lea eax, [ebp - 0x100]
lea ecx, [ebp - 0xa4]
push eax
call fcn.0042456d
mov eax, dword [ebp - 0x9c]
mov edi, 0x476650
test eax, eax
jne 0x42365f
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 0x423683
mov eax, edi
push eax
lea ecx, [ebp - 0xb0]
call fcn.004025d5
mov eax, dword [ebp - 0x9c]
test eax, eax
jne 0x4236a1
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
jmp 0x4236a7
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 0x4236b5
mov ebx, eax
lea eax, [ebp + 0xb]
push 1
push eax
push 0x48baa4
lea ecx, [ebp - 0x54]
call fcn.00401889
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x13
test eax, eax
jne 0x4236d8
mov eax, 0x4765fc
push dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], 0xcb6
push ebx
push 0x48d964
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 0x42370c
mov eax, edi
push eax
lea ecx, [ebp - 0x60c]
call fcn.004334dd
push 0
lea ecx, [ebp - 0x60c]
push dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
push 0x42396b
call fcn.00434676
test eax, eax
lea ecx, [ebp - 0x60c]
mov byte [ebp - 4], 0x12
setne bl
call fcn.00433b1d
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 6
call fcn.004020df
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 2
call fcn.004238e6
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 0x423877
cmp byte [0x4943b8], 0
jne 0x4237a9
cmp byte [0x498ba8], 0
je 0x42381b
lea eax, [ebp + 0xb]
push 1
push eax
push 0x48baa4
lea ecx, [ebp - 0x7c]
call fcn.00401889
mov eax, 0x48d8f4
mov byte [ebp - 4], 0x10
mov ecx, eax
mov dword [ebp - 0x54], 0x4765e0
test ecx, ecx
mov dword [ebp - 0x34], 0x4765d8
jne 0x4237de
mov eax, 0x4947d8
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.004011a9
lea eax, [ebp - 0x7c]
push 0xca9
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x11
call fcn.00465520
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.00433b1d
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 2
call fcn.004238e6
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