Function at 0x45cc10
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x69c
mov eax, dword [0x529034]
xor eax, esp
mov dword [esp + 0x694], eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
lea edi, [esi + 8]
mov ecx, edi
call fcn.00444660
lea ebx, [esi + 0x20]
mov ecx, ebx
call fcn.00444660
lea ebp, [esi + 0x38]
mov ecx, ebp
call fcn.00444660
lea ecx, [esi + 0x50]
call fcn.00444660
lea ecx, [esi + 0x68]
call fcn.00444660
lea ecx, [esi + 0x80]
call fcn.00444660
lea ecx, [esi + 0x98]
call fcn.00444660
lea ecx, [esi + 0xb0]
call fcn.00444660
lea ecx, [esi + 0xc8]
call fcn.00444660
mov ecx, esi
lea ecx, [ecx + 0xe4]
call fcn.00444660
mov ecx, esi
lea ecx, [ecx + 0xfc]
call fcn.0045f100
mov eax, esi
add eax, 0x208
mov ecx, eax
mov dword [esp + 0x34], eax
call fcn.00444660
mov ecx, esi
lea ecx, [ecx + 0x220]
call fcn.00444660
mov eax, esi
add eax, 0x23c
mov ecx, eax
mov dword [esp + 0x14], eax
call fcn.00444660
mov ecx, esi
lea ecx, [ecx + 0x260]
call fcn.00444660
mov ecx, esi
lea ecx, [ecx + 0x280]
call fcn.00444660
lea ecx, [esi + 0xc8]
call fcn.00444580
mov ecx, 0x53a74c
call fcn.00447fd0
push eax
push dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x1c8]
call fcn.0045f4b0
mov ecx, eax
call fcn.00451e20
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00444630
lea eax, [esp + 0x228]
push eax
call fcn.0045e2c0
add esp, 0x20
lea ecx, [esp + 0x20c]
call fcn.00447fd0
push eax
push 0x104
lea eax, [esp + 0x288]
push eax
push dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x34]
call fcn.0045f650
mov ecx, eax
call fcn.0045d930
push eax
push dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x264]
call fcn.0045f610
mov ecx, eax
call fcn.004536e0
push eax
push dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x260]
call fcn.0045f5d0
mov ecx, eax
call fcn.004536e0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
call esi
lea eax, [esp + 0x280]
push eax
lea ecx, [esp + 0x1c0]
call fcn.00444630
push eax
mov ecx, edi
call fcn.004480b0
lea ecx, [esp + 0x1bc]
call fcn.004445d0
lea ecx, [esp + 0x20c]
call fcn.00447fd0
push eax
push 0x104
lea eax, [esp + 0x390]
push eax
push dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x38]
call fcn.0045f6e0
mov ecx, eax
call fcn.0045d930
push eax
push dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x254]
call fcn.0045f6a0
mov ecx, eax
call fcn.004536e0
push eax
push dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x250]
call fcn.0045f660
mov ecx, eax
call fcn.004536e0
push eax
call esi
lea eax, [esp + 0x388]
push eax
lea ecx, [esp + 0x1c0]
call fcn.00444630
push eax
mov ecx, ebx
call fcn.004480b0
lea ecx, [esp + 0x1bc]
call fcn.004445d0
lea ecx, [esp + 0x20c]
call fcn.00447fd0
push eax
push 0x104
lea eax, [esp + 0x498]
push eax
push dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0045f790
mov ecx, eax
call fcn.0045d930
push eax
push dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x198]
call fcn.0045f730
mov ecx, eax
call fcn.00454450
push eax
push dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x248]
call fcn.0045f6f0
mov ecx, eax
call fcn.004536e0
push eax
call esi
lea eax, [esp + 0x490]
push eax
lea ecx, [esp + 0x1c0]
call fcn.00444630
push eax
mov ecx, ebp
call fcn.004480b0
lea ecx, [esp + 0x1bc]
call fcn.004445d0
lea ecx, [esp + 0x20c]
call fcn.00447fd0
push eax
push 0x104
lea eax, [esp + 0x5a0]
push eax
push dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x30]
call fcn.0045f840
mov ecx, eax
call fcn.0045d930
push eax
push dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x280]
call fcn.0045f7e0
mov ecx, eax
call fcn.00453ec0
push eax
push dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x240]
call fcn.0045f7a0
mov ecx, eax
call fcn.004536e0
push eax
call esi
lea eax, [esp + 0x598]
push eax
lea ecx, [esp + 0x1c0]
call fcn.00444630
mov ebx, dword [esp + 0x18]
push eax
lea ecx, [ebx + 0x50]
call fcn.004480b0
lea ecx, [esp + 0x1bc]
call fcn.004445d0
push 0x38
call fcn.004b076d
add esp, 4
mov ecx, eax
call fcn.0044d080
lea ecx, [ebx + 0xfc]
mov dword [ebx + 4], eax
mov dword [ebx], 0
call fcn.0045f0b0
push dword [esp + 0x14]
xor eax, eax
mov byte [ebx + 0x258], 0
push ecx
lea ecx, [esp + 0x1c4]
mov byte [ebx + 0x298], 0
mov dword [ebx + 0x278], 0
mov word [ebx + 0xe0], 0
mov word [ebx + 0x27c], ax
call fcn.0045f850
mov ecx, eax
call fcn.0045d940
push eax
lea ecx, [ebx + 0x280]
call fcn.004445c0
push 0x64
call fcn.004b0a0d
add esp, 4
mov ebp, eax
push 0x64
call fcn.004b0a0d
add esp, 4
mov ebx, eax
push 0xa
call fcn.004b0a0d
add esp, 4
mov edi, eax
push 0xa
call fcn.004b0a0d
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 0x104
mov dword [esp + 0x1c], eax
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x188]
call fcn.0045fa40
mov ecx, eax
call fcn.00451030
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0x130]
call fcn.00444630
mov edx, eax
lea ecx, [esp + 0x15c]
call fcn.00445940
add esp, 4
mov ecx, eax
call fcn.00447fd0
push eax
push 0x64
push ebp
push dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x288]
call fcn.0045f9e0
mov ecx, eax
call fcn.00453ec0
push eax
push dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x1b4]
call fcn.0045f9b0
mov ecx, eax
call fcn.0044e0f0
push eax
push dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x270]
call fcn.0045f960
mov ecx, eax
call fcn.004437b0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x158]
call fcn.004445d0
lea ecx, [esp + 0x128]
call fcn.004445d0
push dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x188]
call fcn.0045fb70
mov ecx, eax
call fcn.00451030
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0xa0]
call fcn.00444630
mov edx, eax
lea ecx, [esp + 0x144]
call fcn.00445940
add esp, 4
mov ecx, eax
call fcn.00447fd0
push eax
push 0x64
push ebx
push dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
call fcn.0045fb60
mov ecx, eax
call fcn.0045d930
push eax
push dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x21c]
call fcn.0045fb10
mov ecx, eax
call fcn.004437b0
push eax
push dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x1d0]
call fcn.0045fac0
mov ecx, eax
call fcn.004437b0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x140]
call fcn.004445d0
lea ecx, [esp + 0x98]
call fcn.004445d0
push dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x188]
call fcn.0045fca0
mov ecx, eax
call fcn.00451030
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0x70]
call fcn.00444630
mov edx, eax
lea ecx, [esp + 0x84]
call fcn.00445940
add esp, 4
mov ecx, eax
call fcn.00447fd0
push eax
push 0xa
push edi
push dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x1a8]
call fcn.0045fc80
mov ecx, eax
call fcn.0044d740
push eax
push dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x1f4]
call fcn.0045fc40
mov ecx, eax
call fcn.0044d780
push eax
push dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c8]
call fcn.0045fbf0
mov ecx, eax
call fcn.004437b0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x80]
call fcn.004445d0
lea ecx, [esp + 0x68]
call fcn.004445d0
push dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x188]
call fcn.0045fde0
mov ecx, eax
call fcn.00451030
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0xb8]
call fcn.00444630
mov edx, eax
lea ecx, [esp + 0x54]
call fcn.00445940
add esp, 4
mov ecx, eax
call fcn.00447fd0
push eax
push 0xa
push esi
push dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x44]
call fcn.0045fdd0
mov ecx, eax
call fcn.0045d930
push eax
push dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x188]
call fcn.0045fd70
mov ecx, eax
call fcn.00454450
push eax
push dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c0]
call fcn.0045fd20
mov ecx, eax
call fcn.004437b0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x50]
call fcn.004445d0
lea ecx, [esp + 0xb0]
call fcn.004445d0
push dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x178]
call fcn.0045ff00
mov ecx, eax
call fcn.00451030
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0x1ec]
call fcn.00444630
mov edx, eax
lea ecx, [esp + 0xcc]
call fcn.00445940
add esp, 4
mov ecx, eax
call fcn.00447fd0
push eax
push 1
push dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x20c]
call fcn.0045fec0
mov ecx, eax
call fcn.004536e0
push eax
push dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x270]
call fcn.0045fe60
mov ecx, eax
call fcn.00453ec0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 0x18]
mov word [ecx + 0x27e], ax
lea ecx, [esp + 0xc8]
call fcn.004445d0
lea ecx, [esp + 0x1e4]
call fcn.004445d0
push ebp
lea ecx, [esp + 0x3c]
call fcn.00444630
push ebx
lea ecx, [esp + 0xe4]
call fcn.00444630
push edi
lea ecx, [esp + 0x114]
call fcn.00444630
push esi
lea ecx, [esp + 0xfc]
call fcn.00444630
lea ecx, [esp + 0xe0]
call fcn.00444570
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test eax, eax
je 0x45d593
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x1e8]
call fcn.00448160
push eax
lea ecx, [esp + 0x3c]
call fcn.004480b0
lea ecx, [esp + 0x1e4]
call fcn.004445d0
push dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x178]
call fcn.00460000
mov ecx, eax
call fcn.00451030
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0xb0]
push eax
push ebx
call fcn.00444630
mov edx, eax
lea ecx, [esp + 0xcc]
call fcn.00445940
add esp, 4
mov ecx, eax
call fcn.00447fd0
push eax
lea ecx, [esp + 0xe4]
call fcn.00447fd0
push eax
push dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1ac]
call fcn.0045ffd0
mov ecx, eax
call fcn.0044e0f0
push eax
push dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x1b8]
call fcn.0045ff80
mov ecx, eax
call fcn.004437b0
push eax
call esi
lea ecx, [esp + 0xc8]
call fcn.004445d0
lea ecx, [esp + 0xb0]
call fcn.004445d0
push dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x178]
call fcn.00460100
mov ecx, eax
call fcn.00451030
push eax
push ebx
lea ecx, [esp + 0x70]
call fcn.00444630
mov edx, eax
lea ecx, [esp + 0x54]
call fcn.00445940
add esp, 4
mov ecx, eax
call fcn.00447fd0
push eax
push 0
push dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1a4]
call fcn.004600d0
mov ecx, eax
call fcn.0044e0f0
push eax
push dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c0]
call fcn.00460080
mov ecx, eax
call fcn.004437b0
push eax
call esi
lea ecx, [esp + 0x50]
call fcn.004445d0
lea ecx, [esp + 0x68]
call fcn.004445d0
push dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x178]
call fcn.00460220
mov ecx, eax
call fcn.00451030
push eax
push ebx
lea ecx, [esp + 0xa0]
call fcn.00444630
mov edx, eax
lea ecx, [esp + 0x84]
call fcn.00445940
add esp, 4
mov ecx, eax
call fcn.00447fd0
push eax
push 0
push dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c4]
call fcn.004601d0
mov ecx, eax
call fcn.004437b0
push eax
push dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x218]
call fcn.00460180
mov ecx, eax
call fcn.004437b0
push eax
call esi
lea ecx, [esp + 0x80]
call fcn.004445d0
lea ecx, [esp + 0x98]
call fcn.004445d0
jmp 0x45d597
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0xf8]
call fcn.00444570
test eax, eax
je 0x45d77e
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x1e8]
call fcn.00448160
push eax
lea ecx, [esp + 0x114]
call fcn.004480b0
lea ecx, [esp + 0x1e4]
call fcn.004445d0
push dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x188]
call fcn.00460330
mov ecx, eax
call fcn.00451030
push eax
push ebx
lea ecx, [esp + 0xb8]
call fcn.00444630
mov edx, eax
lea ecx, [esp + 0xcc]
call fcn.00445940
add esp, 4
mov ecx, eax
call fcn.00447fd0
push eax
lea ecx, [esp + 0xfc]
call fcn.00447fd0
push eax
push dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1ec]
call fcn.004602f0
mov ecx, eax
call fcn.0044d780
push eax
push dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x1b8]
call fcn.004602a0
mov ecx, eax
call fcn.004437b0
push eax
call esi
lea ecx, [esp + 0xc8]
call fcn.004445d0
lea ecx, [esp + 0xb0]
call fcn.004445d0
push dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x188]
call fcn.00460440
mov ecx, eax
call fcn.00451030
push eax
push ebx
lea ecx, [esp + 0x70]
call fcn.00444630
mov edx, eax
lea ecx, [esp + 0x54]
call fcn.00445940
add esp, 4
mov ecx, eax
call fcn.00447fd0
push eax
push 0
push dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x20c]
call fcn.00460400
mov ecx, eax
call fcn.004536e0
push eax
push dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c0]
call fcn.004603b0
mov ecx, eax
call fcn.004437b0
push eax
call esi
lea ecx, [esp + 0x50]
call fcn.004445d0
lea ecx, [esp + 0x68]
call fcn.004445d0
push dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x188]
call fcn.00460570
mov ecx, eax
call fcn.00451030
push eax
push ebx
lea ecx, [esp + 0xa0]
call fcn.00444630
mov edx, eax
lea ecx, [esp + 0x84]
call fcn.00445940
add esp, 4
mov ecx, eax
call fcn.00447fd0
push eax
push 0
push dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x180]
call fcn.00460510
mov ecx, eax
call fcn.00454450
push eax
push dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c8]
call fcn.004604c0
mov ecx, eax
call fcn.004437b0
push eax
call esi
lea ecx, [esp + 0x80]
call fcn.004445d0
lea ecx, [esp + 0x98]
call fcn.004445d0
sub esp, 0x18
lea eax, [esp + 0x50]
mov ecx, esp
push eax
call fcn.00448160
call fcn.00462710
add esp, 0x18
cmp byte [0x538f84], 0
je 0x45d8d0
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x38]
push eax
lea ecx, [esi + 0x220]
call fcn.00448090
mov ecx, dword [esp + 0x34]
push eax
call fcn.00448090
push ecx
push 0x51ff80
lea ecx, [esp + 0x40]
call fcn.0044e4a0
cmp eax, 0xffffffff
je 0x45d8bf
lea ecx, [esp + 0x170]
call fcn.00444560
sub esp, 0x18
mov ecx, esp
push 0x51ff84
call fcn.00444630
sub esp, 0x18
lea eax, [esp + 0x68]
mov ecx, esp
push eax
call fcn.00448160
lea ecx, [esp + 0x1a0]
call fcn.0045e380
add esp, 0x30
lea ecx, [esp + 0x170]
call fcn.0044ab40
cmp eax, 3
jne 0x45d8b3
push 2
lea ecx, [esp + 0x174]
call fcn.0045f220
mov ecx, eax
call fcn.00447fd0
push eax
push 1
lea ecx, [esp + 0x178]
call fcn.0045f220
mov ecx, eax
call fcn.00447fd0
push eax
push 0
lea ecx, [esp + 0x17c]
call fcn.0045f220
mov ecx, eax
call fcn.00447fd0
push eax
push dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x194]
call fcn.004605f0
mov ecx, eax
call fcn.0045d980
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00444630
lea eax, [esp + 0x208]
push eax
call fcn.0045e2c0
add esp, 0x28
lea ecx, [esi + 0x220]
push eax
call fcn.004480b0
lea ecx, [esp + 0x1e4]
call fcn.004445d0
lea ecx, [esp + 0x170]
call fcn.00447d70
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x110]
push eax
call fcn.00448090
lea ecx, [esp + 0xf8]
call fcn.004445d0
lea ecx, [esp + 0x110]
call fcn.004445d0
lea ecx, [esp + 0xe0]
call fcn.004445d0
lea ecx, [esp + 0x38]
call fcn.004445d0
lea ecx, [esp + 0x20c]
call fcn.004445d0
mov ecx, dword [esp + 0x6a4]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b0726
add esp, 0x69c
ret