Function at 0x437890
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552511
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x5aa464]
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 0x58d5ec
call fcn.00406ad0
push 0
lea esi, [ebx + 0x1c]
push 0x58d5ec
mov ecx, esi
call fcn.00406ad0
push 0
lea ecx, [ebx + 0x34]
push 0x58d5ec
call fcn.00406ad0
push 0
lea ecx, [ebx + 0xb0]
mov byte [ebx], 0
push 0x58d5ec
call fcn.00406ad0
cmp dword [ebx + 0xac], 0x10
lea edi, [ebx + 0x98]
jb 0x437915
mov edi, dword [edi]
push 0
push edi
call fcn.0052b375
add esp, 8
cmp eax, 0xffffffff
je 0x437c01
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.004b4d60
add esp, 0xc
lea eax, [ebp - 0x90]
push edi
push 0x80
push eax
push 0x58d5ec
push str.DistinctId
push str.Base
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x90], 0
jne 0x43796e
xor ecx, ecx
jmp 0x437980
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437977
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
call fcn.00406ad0
push edi
push 0x80
lea eax, [ebp - 0x90]
push eax
push 0x58d5ec
push str.PrimaryDistinctId
push str.Base
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x90], 0
jne 0x4379be
xor ecx, ecx
jmp 0x4379d0
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4379c7
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebx + 0x34]
call fcn.00406ad0
cmp dword [ebx + 0x44], 1
lea eax, [ebx + 0x34]
jae 0x4379f9
cmp eax, esi
je 0x4379f9
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00406bd0
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.004b4d60
add esp, 0xc
lea eax, [ebp - 0x90]
push edi
push 0x80
push eax
push 0x58d5ec
push str.UserId
push str.Base
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x90], 0
jne 0x437a3e
xor ecx, ecx
jmp 0x437a50
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437a47
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebx + 4]
call fcn.00406ad0
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.004b4d60
add esp, 0xc
lea eax, [ebp - 0x90]
push edi
push 0x80
push eax
push 0x58d5ec
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 0x437ad6
xor ecx, ecx
jmp 0x437ae9
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437ae0
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00406ad0
xor eax, eax
mov dword [ebp - 4], 0
cmp byte [0x5913f0], 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 0x5913f0
push ecx
call fcn.0040a4f0
add esp, 0xc
test eax, eax
jne 0x437b6a
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x98]
cmp eax, ecx
jbe 0x437b64
or eax, 0xffffffff
jmp 0x437b68
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.004b4d60
add esp, 0xc
lea eax, [ebp - 0x90]
push edi
push 0x80
push eax
push 0x58d5ec
push 0x5913f8
push str.Base
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x90], 0
jne 0x437bb4
xor ecx, ecx
jmp 0x437bc9
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437bc0
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebx + 0xb0]
call fcn.00406ad0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x94]
cmp eax, 0x10
jb 0x437c01
inc eax
lea ecx, [ebp - 0xa8]
push eax
push dword [ebp - 0xa8]
call fcn.00406ee0
cmp dword [ebx + 0x2c], 0
jne 0x437c9b
lea ecx, [ebp - 0xc4]
call fcn.00437450
mov edi, eax
cmp esi, edi
je 0x437c54
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x437c2f
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00406ee0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x437c47
mov eax, dword [esi]
jmp 0x437c49
mov eax, esi
push edi
mov ecx, esi
mov byte [eax], 0
call fcn.00406d00
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb0]
cmp eax, 0x10
jb 0x437c79
inc eax
lea ecx, [ebp - 0xc4]
push eax
push dword [ebp - 0xc4]
call fcn.00406ee0
mov ecx, ebx
mov dword [ebp - 0xb0], 0xf
mov dword [ebp - 0xb4], 0
mov byte [ebp - 0xc4], 0
call fcn.00437f40
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.00509b84
mov esp, ebp
pop ebp
ret