Function at 0x424220
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524c21
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x574464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0
lea ecx, [ebx + 4]
push 0x55dbac
call fcn.00406380
push 0
lea esi, [ebx + 0x1c]
push 0x55dbac
mov ecx, esi
call fcn.00406380
push 0
lea ecx, [ebx + 0x34]
push 0x55dbac
call fcn.00406380
push 0
lea ecx, [ebx + 0xb0]
mov byte [ebx], 0
push 0x55dbac
call fcn.00406380
cmp dword [ebx + 0xac], 0x10
lea edi, [ebx + 0x98]
jb 0x4242a5
mov edi, dword [edi]
push 0
push edi
call fcn.00508f77
add esp, 8
cmp eax, 0xffffffff
je 0x424591
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0049d9d0
add esp, 0xc
lea eax, [ebp - 0x90]
push edi
push 0x80
push eax
push 0x55dbac
push str.DistinctId
push str.Base
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x90], 0
jne 0x4242fe
xor ecx, ecx
jmp 0x424310
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424307
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
call fcn.00406380
push edi
push 0x80
lea eax, [ebp - 0x90]
push eax
push 0x55dbac
push str.PrimaryDistinctId
push str.Base
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x90], 0
jne 0x42434e
xor ecx, ecx
jmp 0x424360
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424357
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebx + 0x34]
call fcn.00406380
cmp dword [ebx + 0x44], 1
lea eax, [ebx + 0x34]
jae 0x424389
cmp eax, esi
je 0x424389
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00405f40
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0049d9d0
add esp, 0xc
lea eax, [ebp - 0x90]
push edi
push 0x80
push eax
push 0x55dbac
push str.UserId
push str.Base
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x90], 0
jne 0x4243ce
xor ecx, ecx
jmp 0x4243e0
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4243d7
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebx + 4]
call fcn.00406380
push edi
push 0
push str.UserVipLevel
push str.Base
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x80
mov dword [ebx + 0x4c], eax
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0049d9d0
add esp, 0xc
lea eax, [ebp - 0x90]
push edi
push 0x80
push eax
push 0x55dbac
push str.isLogined
push str.Base
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x90], 0
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x98], 0
mov byte [ebp - 0xa8], 0
jne 0x424466
xor ecx, ecx
jmp 0x424479
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424470
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00406380
xor eax, eax
mov dword [ebp - 4], 0
cmp byte [0x55fdf8], al
lea ecx, [ebp - 0xa8]
mov edx, 2
cmove edx, eax
cmp dword [ebp - 0x94], 0x10
mov eax, edx
mov dword [ebp - 0xac], edx
cmovae ecx, dword [ebp - 0xa8]
cmp dword [ebp - 0x98], edx
cmovb eax, dword [ebp - 0x98]
push eax
push 0x55fdf8
push ecx
call fcn.004118c0
add esp, 0xc
test eax, eax
jne 0x4244fa
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x98]
cmp eax, ecx
jbe 0x4244f4
or eax, 0xffffffff
jmp 0x4244f8
sbb eax, eax
neg eax
test eax, eax
sete al
push 0x80
mov byte [ebx], al
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0049d9d0
add esp, 0xc
lea eax, [ebp - 0x90]
push edi
push 0x80
push eax
push 0x55dbac
push 0x55fe00
push str.Base
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x90], 0
jne 0x424544
xor ecx, ecx
jmp 0x424559
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424550
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebx + 0xb0]
call fcn.00406380
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x94]
cmp eax, 0x10
jb 0x424591
inc eax
lea ecx, [ebp - 0xa8]
push eax
push dword [ebp - 0xa8]
call fcn.00406260
cmp dword [ebx + 0x2c], 0
jne 0x42462b
lea ecx, [ebp - 0xc4]
call fcn.00423de0
mov edi, eax
cmp esi, edi
je 0x4245e4
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x4245bf
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00406260
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x4245d7
mov eax, dword [esi]
jmp 0x4245d9
mov eax, esi
push edi
mov ecx, esi
mov byte [eax], 0
call fcn.00404e50
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb0]
cmp eax, 0x10
jb 0x424609
inc eax
lea ecx, [ebp - 0xc4]
push eax
push dword [ebp - 0xc4]
call fcn.00406260
mov ecx, ebx
mov dword [ebp - 0xb0], 0xf
mov dword [ebp - 0xb4], 0
mov byte [ebp - 0xc4], 0
call fcn.004248d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e06c8
mov esp, ebp
pop ebp
ret