Function at 0x436b50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5515d1
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x5a9464]
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 0x58c5ec
call fcn.00406b20
push 0
lea esi, [ebx + 0x1c]
push 0x58c5ec
mov ecx, esi
call fcn.00406b20
push 0
lea ecx, [ebx + 0x34]
push 0x58c5ec
call fcn.00406b20
push 0
lea ecx, [ebx + 0xb0]
mov byte [ebx], 0
push 0x58c5ec
call fcn.00406b20
cmp dword [ebx + 0xac], 0x10
lea edi, [ebx + 0x98]
jb 0x436bd5
mov edi, dword [edi]
push 0
push edi
call fcn.0052a574
add esp, 8
cmp eax, 0xffffffff
je 0x436ec1
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.004b3fe0
add esp, 0xc
lea eax, [ebp - 0x90]
push edi
push 0x80
push eax
push 0x58c5ec
push str.DistinctId
push str.Base
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x90], 0
jne 0x436c2e
xor ecx, ecx
jmp 0x436c40
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436c37
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
call fcn.00406b20
push edi
push 0x80
lea eax, [ebp - 0x90]
push eax
push 0x58c5ec
push str.PrimaryDistinctId
push str.Base
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x90], 0
jne 0x436c7e
xor ecx, ecx
jmp 0x436c90
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436c87
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebx + 0x34]
call fcn.00406b20
cmp dword [ebx + 0x44], 1
lea eax, [ebx + 0x34]
jae 0x436cb9
cmp eax, esi
je 0x436cb9
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00406c20
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.004b3fe0
add esp, 0xc
lea eax, [ebp - 0x90]
push edi
push 0x80
push eax
push 0x58c5ec
push str.UserId
push str.Base
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x90], 0
jne 0x436cfe
xor ecx, ecx
jmp 0x436d10
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436d07
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebx + 4]
call fcn.00406b20
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.004b3fe0
add esp, 0xc
lea eax, [ebp - 0x90]
push edi
push 0x80
push eax
push 0x58c5ec
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 0x436d96
xor ecx, ecx
jmp 0x436da9
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436da0
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00406b20
xor eax, eax
mov dword [ebp - 4], 0
cmp byte [0x5904c8], 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 0x5904c8
push ecx
call fcn.0040a530
add esp, 0xc
test eax, eax
jne 0x436e2a
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x98]
cmp eax, ecx
jbe 0x436e24
or eax, 0xffffffff
jmp 0x436e28
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.004b3fe0
add esp, 0xc
lea eax, [ebp - 0x90]
push edi
push 0x80
push eax
push 0x58c5ec
push 0x5904d0
push str.Base
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x90], 0
jne 0x436e74
xor ecx, ecx
jmp 0x436e89
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436e80
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebx + 0xb0]
call fcn.00406b20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x94]
cmp eax, 0x10
jb 0x436ec1
inc eax
lea ecx, [ebp - 0xa8]
push eax
push dword [ebp - 0xa8]
call fcn.00406f30
cmp dword [ebx + 0x2c], 0
jne 0x436f5b
lea ecx, [ebp - 0xc4]
call fcn.00436710
mov edi, eax
cmp esi, edi
je 0x436f14
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x436eef
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00406f30
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x436f07
mov eax, dword [esi]
jmp 0x436f09
mov eax, esi
push edi
mov ecx, esi
mov byte [eax], 0
call fcn.00406d50
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb0]
cmp eax, 0x10
jb 0x436f39
inc eax
lea ecx, [ebp - 0xc4]
push eax
push dword [ebp - 0xc4]
call fcn.00406f30
mov ecx, ebx
mov dword [ebp - 0xb0], 0xf
mov dword [ebp - 0xb4], 0
mov byte [ebp - 0xc4], 0
call fcn.00437210
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.00508d84
mov esp, ebp
pop ebp
ret