Function at 0x45eb40
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d88c8
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
mov eax, dword [ebp + 0x20]
add ebp, 0x1c
xor ebx, ebx
cmp eax, ebx
push esi
push edi
je 0x45eb7a
mov ecx, dword [ebp + 8]
sub ecx, eax
sar ecx, 3
jne 0x45ed5e
mov edx, dword [0x507fec]
mov eax, dword [edx + 0xc]
mov ecx, 0x507fec
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x44], edi
lea esi, [esp + 0x18]
mov dword [esp + 0x3c], ebx
call fcn.0045d8c0
mov ecx, 1
mov byte [esp + 0x3c], cl
mov esi, dword [eax]
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x45ebca
mov ecx, 0x104
lea eax, [esp + 0x44]
call fcn.00403c30
mov edi, dword [esp + 0x44]
push esi
push 0x104
push edi
push str.1.01.21.5
push str.supportrate
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [esp + 0x3c], bl
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 0x45ec0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebx
jne 0x45ec12
xor eax, eax
jmp 0x45ec2c
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x45ec17
sub eax, edx
sar eax, 1
js 0x45ed75
cmp eax, dword [edi - 8]
jg 0x45ed75
push 0x4eab88
lea ecx, [esp + 0x18]
mov dword [edi - 0xc], eax
push ecx
lea edx, [esp + 0x4c]
mov word [edi + eax*2], bx
mov dword [esp + 0x20], ebx
push edx
lea ebx, [esp + 0x24]
call fcn.0045ed80
mov byte [esp + 0x3c], 2
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x45ed19
push eax
call fcn.004a378b
fst qword [esp + 0x20]
mov ecx, dword [ebp + 4]
add esp, 4
test ecx, ecx
jne 0x45ec83
xor edx, edx
jmp 0x45ec8b
mov edx, dword [ebp + 8]
sub edx, ecx
sar edx, 3
test ecx, ecx
je 0x45eca8
mov eax, dword [ebp + 0xc]
sub eax, ecx
sar eax, 3
cmp edx, eax
jae 0x45eca8
mov eax, dword [ebp + 8]
fstp qword [eax]
add eax, 8
mov dword [ebp + 8], eax
jmp 0x45ecc9
mov esi, dword [ebp + 8]
fstp st(0)
cmp ecx, esi
jbe 0x45ecb6
call fcn.004a089d
push esi
push ebp
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
push ecx
mov eax, ebp
call fcn.0045ef80
mov byte [esp + 0x3c], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45ecee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4eab88
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x4c]
push edx
lea ebx, [esp + 0x24]
call fcn.0045ed80
mov byte [esp + 0x3c], 2
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jne 0x45ec6b
add eax, 0xfffffff0
mov byte [esp + 0x3c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ed3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ed5e
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret 4
push 0x80070057
call fcn.00401020
int3