Function at 0x437190
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551da1
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 0x437215
mov edi, dword [edi]
push 0
push edi
call fcn.0052ac31
add esp, 8
cmp eax, 0xffffffff
je 0x437501
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.004b4650
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 0x43726e
xor ecx, ecx
jmp 0x437280
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437277
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 0x4372be
xor ecx, ecx
jmp 0x4372d0
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4372c7
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 0x4372f9
cmp eax, esi
je 0x4372f9
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00406bd0
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.004b4650
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 0x43733e
xor ecx, ecx
jmp 0x437350
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437347
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.004b4650
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 0x4373d6
xor ecx, ecx
jmp 0x4373e9
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4373e0
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 [0x5914e4], 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 0x5914e4
push ecx
call fcn.0040a4f0
add esp, 0xc
test eax, eax
jne 0x43746a
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x98]
cmp eax, ecx
jbe 0x437464
or eax, 0xffffffff
jmp 0x437468
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.004b4650
add esp, 0xc
lea eax, [ebp - 0x90]
push edi
push 0x80
push eax
push 0x58d5ec
push 0x5914ec
push str.Base
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x90], 0
jne 0x4374b4
xor ecx, ecx
jmp 0x4374c9
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4374c0
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 0x437501
inc eax
lea ecx, [ebp - 0xa8]
push eax
push dword [ebp - 0xa8]
call fcn.00406ee0
cmp dword [ebx + 0x2c], 0
jne 0x43759b
lea ecx, [ebp - 0xc4]
call fcn.00436d50
mov edi, eax
cmp esi, edi
je 0x437554
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x43752f
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 0x437547
mov eax, dword [esi]
jmp 0x437549
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 0x437579
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.00437840
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.00509444
mov esp, ebp
pop ebp
ret