Function at 0x4c9120
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512860
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x54e414]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2b4], eax
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x24c]
push eax
call fcn.004d0960
mov byte [ebp - 4], 2
push str.config.ini
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.004213f0
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.0040a7e0
lea eax, [ebp - 0x264]
push eax
call fcn.00414390
add esp, 4
test al, al
je 0x4c9383
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004d4650
add esp, 0xc
lea eax, [ebp - 0x264]
cmp dword [ebp - 0x250], 8
cmovae eax, dword [ebp - 0x264]
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x522ec0
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x21c], 0
je 0x4c9383
lea eax, [ebp - 0x2ac]
push eax
call fcn.004d0a10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
push ecx
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.004213f0
add esp, 0x10
mov edi, eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x234]
cmp eax, edi
je 0x4c92ae
mov ecx, eax
call fcn.0040ae90
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x234], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x224], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24c]
call fcn.0040a7e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2ac]
call fcn.0040a7e0
lea eax, [ebp - 0x234]
push eax
call fcn.004144a0
add esp, 4
test al, al
je 0x4c9383
mov eax, dword [ebp - 0x2b4]
cmp dword [eax + 0x10], 0
jne 0x4c930c
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.0040a830
mov dword [ebp - 0x2b0], 1
jmp 0x4c95a4
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00421270
mov byte [ebp - 4], 7
lea eax, [ebp - 0x24c]
push eax
call fcn.00414390
add esp, 0x10
test al, al
je 0x4c9374
lea eax, [ebp - 0x234]
push 0x10
push eax
call fcn.004210b0
add esp, 8
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.0040a830
mov dword [ebp - 0x2b0], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.0040a7e0
jmp 0x4c95a4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.0040a7e0
lea ecx, [ebp - 0x27c]
call fcn.00427180
mov byte [ebp - 4], 8
xor eax, eax
push 7
mov dword [ebp - 0x23c], 0
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x238], 0
push str.2345Pic
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.0040af20
mov byte [ebp - 4], 9
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x27c]
call fcn.004271d0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x24c]
call fcn.0040a7e0
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00429330
mov edi, eax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x234]
cmp eax, edi
je 0x4c944d
mov ecx, eax
call fcn.0040ae90
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x234], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x224], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2ac]
call fcn.0040a7e0
lea eax, [ebp - 0x234]
push eax
call fcn.004144a0
add esp, 4
test al, al
je 0x4c94d1
lea eax, [ebp - 0x234]
push 0x10
push eax
call fcn.004210b0
movups xmm0, xmmword [ebp - 0x234]
mov dword [esi + 0x10], 0
add esp, 8
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov word [ebp - 0x234], ax
movq xmm0, qword [ebp - 0x224]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x2b0], 1
jmp 0x4c9595
lea eax, [ebp - 0x294]
push eax
call fcn.004d0ac0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.004208c0
lea eax, [ebp - 0x234]
push eax
call fcn.004144a0
add esp, 0x10
test al, al
je 0x4c955c
lea eax, [ebp - 0x234]
push 0x10
push eax
call fcn.004210b0
movups xmm0, xmmword [ebp - 0x234]
mov dword [esi + 0x10], 0
add esp, 8
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov word [ebp - 0x234], ax
movq xmm0, qword [ebp - 0x224]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
jmp 0x4c957c
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x522ec0
mov word [esi], ax
call fcn.0040af20
mov dword [ebp - 0x2b0], 1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x294]
call fcn.0040a7e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x27c]
call fcn.00416a90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.0040a7e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.0040a7e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d1486
mov esp, ebp
pop ebp
ret