Function at 0x45a4f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov edx, dword [eax + 0x4c]
push esi
push edi
xor esi, esi
lea ecx, [esp + 0x14]
push ecx
push esi
push esi
push 2
push esi
mov ecx, ebx
mov dword [esp + 0x28], esi
mov dword [ebx + 0x100], esi
call edx
mov eax, dword [ebx + 0x38]
shr eax, 3
not eax
test al, 1
je 0x45a54f
mov edi, dword [ebx + 0xc]
call fcn.0041eff0
cmp eax, esi
je 0x45a54f
mov ecx, dword [eax + 0x38]
shr ecx, 3
not ecx
test cl, 1
je 0x45a54f
mov edi, dword [eax + 0xc]
call fcn.0041eff0
cmp eax, esi
jne 0x45a536
mov esi, dword [ebp + 0xc]
test esi, esi
mov dword [esp + 0x10], esi
jne 0x45a574
mov eax, 1
mov dword [ebx + 0x110], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [esp + 0x10]
cmp dword [esi + 0x38], 0x10
jb 0x45a57f
mov ebx, dword [esi + 0x24]
jmp 0x45a582
lea ebx, [esi + 0x24]
call fcn.0045a700
mov edi, eax
test edi, edi
mov dword [esp + 0x1c], edi
je 0x45a6a8
call fcn.004053b0
mov esi, eax
cmp dword [esi + 0xc], 0xffffffff
jne 0x45a616
lea edx, [esp + 0x18]
push edx
call fcn.00402c30
mov eax, dword [eax]
push eax
push 0
push 0x58b6c8
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a5e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x45a605
lea ecx, [esp + 0x14]
push ecx
push esi
mov dword [esp + 0x1c], 0
call fcn.004052d0
test eax, eax
je 0x45a605
cmp dword [esp + 0x14], 0
jne 0x45a60e
call fcn.00402be0
test eax, eax
je 0x45a613
mov eax, 1
mov dword [esi + 0xc], eax
cmp dword [esi + 0xc], 0
mov ebx, dword [ebp + 8]
je 0x45a62f
cmp dword [ebx + 0xb8], 0
je 0x45a62f
mov eax, 1
jmp 0x45a631
xor eax, eax
mov dword [edi + 0x1c], eax
lea eax, [ebx + 0x108]
mov dword [edi + 0x18], eax
mov edx, dword [edi]
mov eax, dword [esp + 0x10]
mov edx, dword [edx + 0x74]
push eax
mov ecx, edi
call edx
mov eax, dword [ebx + 0x130]
add ebx, 0x12c
test eax, eax
jne 0x45a65f
xor edx, edx
jmp 0x45a667
mov edx, dword [ebx + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x45a684
mov ecx, dword [ebx + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x45a684
mov eax, dword [ebx + 8]
mov dword [eax], edi
add eax, 4
mov dword [ebx + 8], eax
jmp 0x45a6a4
mov edi, dword [ebx + 8]
cmp eax, edi
jbe 0x45a691
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov eax, ebx
call fcn.0045cbc0
mov esi, dword [esp + 0x10]
mov ebx, dword [esi + 0x40]
test ebx, ebx
je 0x45a6c4
nop
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
mov ecx, ebx
call eax
test eax, eax
jne 0x45a6e9
mov ebx, dword [ebx + 0x40]
test ebx, ebx
jne 0x45a6b0
xor eax, eax
test eax, eax
mov dword [esp + 0x10], eax
jne 0x45a570
mov ecx, dword [ebp + 8]
pop edi
mov eax, 1
pop esi
mov dword [ecx + 0x110], eax
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
mov ecx, ebx
call eax
jmp 0x45a6c6