Function at 0x47f8b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38c
mov eax, dword [0x5bd344]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x5e8d50
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4804f3
mov ecx, 0x5e8d50
call fcn.00481cd0
cmp dword [0x5ed5f4], 0
jne 0x47f92b
test edi, edi
jne 0x47f92b
push edi
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x5e8d50
push eax
push 0x41fc98
push 0x41d754
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
push dword [0x5ed5f4]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41fc98
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f03b0]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41fcb4
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5eca38]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41fcd4
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5eafcc]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41fcf4
push eax
mov ecx, esi
call fcn.00472fe0
add esp, 0x40
lea eax, [ebp - 0x44]
push dword [0x5eafd0]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41fd08
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5eafd4]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41fd24
push eax
mov ecx, esi
call fcn.00472fe0
add esp, 0x10
lea edx, [ebp - 0x38c]
mov ecx, 0x5f0860
call fcn.00474270
lea eax, [ebp - 0x38c]
mov edx, 0x41fd3c
push eax
mov ecx, esi
call fcn.00472fe0
add esp, 4
lea edx, [ebp - 0x38c]
mov ecx, 0x5f03c0
call fcn.00474270
lea eax, [ebp - 0x38c]
mov edx, 0x41fd54
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5ed614]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41fd68
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f0360]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41fd88
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f083c]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
mov edx, 0x41fd9c
mov ecx, esi
push eax
call fcn.00472fe0
push dword [0x5f0a70]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41fdb8
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f039c]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41fdd8
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f0a74]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41fdf8
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5ed608]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
mov edx, 0x41fe20
mov ecx, esi
push eax
call fcn.00472fe0
push dword [0x5ed604]
push 0x41bca8
lea eax, [ebp - 0x44]
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41fe38
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f02b4]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41fe54
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5ed600]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41fe80
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5eca48]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
mov edx, 0x41fe98
mov ecx, esi
push eax
call fcn.00472fe0
push dword [0x5ed3c0]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41febc
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f02e8]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41fee0
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f0380]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41fefc
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f0858]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
mov edx, 0x41ff14
mov ecx, esi
push eax
call fcn.00472fe0
push dword [0x5f037c]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41ff3c
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f02e0]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41ff50
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f02b0]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41ff68
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f0368]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
mov edx, 0x41ff84
mov ecx, esi
push eax
call fcn.00472fe0
push dword [0x5f0838]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41ffa4
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5efe34]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41ffc0
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5ed5e8]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x41ffe8
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5ecc68]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
mov edx, 0x420008
mov ecx, esi
push eax
call fcn.00472fe0
push dword [0x5ed320]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x420028
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5eca3c]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x420048
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5ed5fc]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x42007c
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5eca40]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
mov edx, 0x4200bc
mov ecx, esi
push eax
call fcn.00472fe0
push dword [0x5ed61c]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x4200dc
push eax
mov ecx, esi
call fcn.00472fe0
xor ecx, ecx
call fcn.00467420
push eax
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x4200f0
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f0a6c]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x420110
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f084c]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
push eax
mov edx, 0x42013c
mov ecx, esi
call fcn.00472fe0
push dword [0x5f0844]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x42015c
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f03a0]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x420178
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f0364]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x420198
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f03a8]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
mov edx, 0x4201b8
mov ecx, esi
push eax
call fcn.00472fe0
push dword [0x5f038c]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x4201d8
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5ed288]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x4201fc
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5ed3c8]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x420214
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5ed5f8]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
push eax
mov edx, 0x42022c
mov ecx, esi
call fcn.00472fe0
mov eax, dword [0x5f02c0]
add eax, 0xa
push eax
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x42024c
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f02d0]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x420260
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f02d4]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x420280
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f02d8]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
mov edx, 0x4202a0
mov ecx, esi
push eax
call fcn.00472fe0
push dword [0x5f02dc]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x4202c4
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f02bc]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x4202e8
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f03a4]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x420318
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5f0a68]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
mov edx, 0x42033c
mov ecx, esi
push eax
call fcn.00472fe0
push dword [0x5ed28c]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x420360
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5eca34]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x420378
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5ed324]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x420390
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5ed3c4]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
mov edx, 0x4203b0
mov ecx, esi
push eax
call fcn.00472fe0
push ecx
call fcn.00473ea0
push 0x5ecc80
mov edx, 0x4203d0
mov ecx, esi
call fcn.00472fe0
push dword [0x5ed290]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x4203f0
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5ed618]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x420408
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5e8d2c]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x420424
mov ecx, esi
call fcn.00472fe0
push dword [0x5e8d28]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
add esp, 0x48
lea eax, [ebp - 0x44]
mov edx, 0x420448
mov ecx, esi
push eax
call fcn.00472fe0
push dword [0x5e8d3c]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x42046c
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5e8d34]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x42048c
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5e8d30]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x4204ac
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5e8d48]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
mov edx, 0x4204cc
mov ecx, esi
push eax
call fcn.00472fe0
push dword [0x5e8d4c]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x4204ec
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5e8d38]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x420510
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5e8f58]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x420534
mov ecx, esi
call fcn.00472fe0
push dword [0x5e8d40]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
mov edx, 0x420558
mov ecx, esi
push eax
call fcn.00472fe0
push dword [0x5e8f68]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x42057c
push eax
mov ecx, esi
call fcn.00472fe0
push dword [0x5e8f70]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
lea eax, [ebp - 0x44]
mov edx, 0x4205a4
push eax
mov ecx, esi
call fcn.00472fe0
add esp, 0x24
push 0x5e8d50
push esi
push 0x41d754
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x48038c
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x2c
push eax
push dword [0x5f0848]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, ecx
push dword [0x5f0848]
mov dword [0x5efe28], eax
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [0x5efe20], ecx
mov dword [0x5efe24], edx
mov dword [0x5efe2c], eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x480382
test byte [ebp - 0x2c], 2
mov dword [0x5efe30], eax
je 0x48038c
mov dword [0x5efe30], 1
push 0x5e8d50
push 0
push 0x41f930
push 0x41ef2c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x4804ec
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
call esi
push 1
mov edi, eax
call esi
mov esi, eax
lea eax, [ebp - 0x84]
push esi
push edi
push 0x41faa8
push eax
call ebx
push esi
push edi
lea eax, [ebp - 0xc4]
push 0x41fac0
push eax
call ebx
push esi
push edi
lea eax, [ebp - 0x104]
push 0x41fad8
push eax
call ebx
push esi
push edi
lea eax, [ebp - 0x144]
push 0x41faf0
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x184]
push esi
push edi
push 0x41fb08
push eax
call ebx
push dword [0x5efe20]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x44]
add esp, 0x1c
push 0x5e8d50
push eax
lea eax, [ebp - 0x84]
push eax
push 0x41fb28
call esi
push dword [0x5efe24]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x5e8d50
push eax
lea eax, [ebp - 0xc4]
push eax
push 0x41fb28
call esi
push dword [0x5efe28]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x5e8d50
push eax
lea eax, [ebp - 0x104]
push eax
push 0x41fb28
call esi
push dword [0x5efe2c]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x5e8d50
push eax
lea eax, [ebp - 0x144]
push eax
push 0x41fb28
call esi
push dword [0x5efe30]
lea eax, [ebp - 0x44]
push 0x41bca8
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x5e8d50
push eax
lea eax, [ebp - 0x184]
push eax
push 0x41fb28
call esi
call fcn.0048a170
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0057e93d
mov esp, ebp
pop ebp
ret