Function at 0x465ea0
Capabilities:
Read .ini file

Disassembly:
push 0x14
mov eax, 0x507edb
call fcn.004e3d00
lea eax, [esi + 0x20]
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0x10]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.0040253b
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.0040253b
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00402639
call fcn.004be6f3
push eax
lea ecx, [ebp - 0x10]
call fcn.004027f9
mov byte [ebp - 4], 3
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.0040253b
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004140e6
push 0x5c3510
mov ecx, edi
call fcn.0040dd09
test eax, eax
je 0x465f40
push str.string134
mov ecx, edi
call fcn.0040dd09
test eax, eax
je 0x465f40
push str.string129
mov ecx, edi
call fcn.0040dd09
test eax, eax
jne 0x465f44
mov byte [ebp + 0x14], 1
cmp byte [ebp + 0x14], bl
jne 0x465f68
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
lea ecx, [esi + 4]
call fcn.004cc99a
test eax, eax
je 0x465f68
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
jne 0x4660fb
push 0x2000
push ebx
mov edi, 0x60cef0
push edi
call fcn.004e38a0
add esp, 0xc
push dword [esi + 0x38]
push 0x1000
push edi
push 0x5afd90
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x10]
call fcn.00402639
cmp word [0x60cef0], 0x22
jne 0x465fb1
push 0x20
pop eax
mov word [0x60cef0], ax
cmp word [0x60cef0], bx
je 0x46600f
push edi
lea ecx, [ebp - 0x10]
call fcn.00402719
push 0x5bf994
push 0x5c354c
lea eax, [ebp - 0x10]
push eax
call fcn.00413f47
push 0x5c3554
push 0x5c3558
lea eax, [ebp - 0x10]
push eax
call fcn.00413f47
push 0x5c3560
push 0x5c3564
lea eax, [ebp - 0x10]
push eax
call fcn.00413f47
push 0x5b2450
push 0x5c356c
lea eax, [ebp - 0x10]
push eax
call fcn.00413f47
lea ebx, [ebp - 0x10]
call fcn.0040db9b
mov ebx, eax
call fcn.0040dbe8
push 0x5c3510
lea ecx, [ebp - 0x14]
call fcn.0040dd09
test eax, eax
je 0x466051
push str.string134
lea ecx, [ebp - 0x14]
call fcn.0040dd09
test eax, eax
je 0x466051
push str.string129
lea ecx, [ebp - 0x14]
call fcn.0040dd09
test eax, eax
jne 0x46607e
cmp dword [0x60a9dc], 0
jne 0x466076
mov eax, dword [0x60a9ec]
cmp dword [eax - 0xc], 0
je 0x46607e
push eax
push str._888__303_3189
lea eax, [ebp - 0x10]
push eax
call fcn.00413f47
jmp 0x46607e
lea ecx, [ebp - 0x10]
call fcn.00402639
push str.string72
lea ecx, [ebp - 0x14]
call fcn.0040dd09
test eax, eax
je 0x4660a0
push str.string66
lea ecx, [ebp - 0x14]
call fcn.0040dd09
test eax, eax
jne 0x4660e7
call fcn.004be6f3
push eax
lea ecx, [ebp + 0xc]
call fcn.004027f9
mov byte [ebp - 4], 5
call fcn.00482f0e
push eax
lea eax, [ebp + 0xc]
push 0x5b2754
push eax
call fcn.00402a1d
mov edi, dword [ebp + 0xc]
add esp, 0xc
push edi
push 0x5c35bc
lea eax, [ebp - 0x10]
push eax
call fcn.00413f47
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 4
call fcn.0040285b
cmp byte [ebp + 0x14], 0
jne 0x4660fb
push dword [ebp - 0x10]
lea ecx, [esi + 4]
push dword [ebp - 0x18]
call fcn.004144df
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00402305
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040285b
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 8]
call fcn.004e3dd8
ret 0x10