Function at 0x100154c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x47c
mov eax, dword [0x10080704]
xor eax, esp
mov dword [esp + 0x478], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x10070544
call edi
call fcn.10014720
cmp eax, 0xffffffff
jne 0x10015501
push str.DGCLIENT_DISABLE
jmp 0x10015baa
push 0x200
lea eax, [esp + 0x84]
push 0
push eax
call fcn.10033470
add esp, 0xc
lea eax, [esp + 0x280]
push 0x200
push 0
push eax
call fcn.10033470
add esp, 0xc
push 0x7c4
call fcn.1001bee1
sub esp, 8
mov ecx, eax
call fcn.100108f0
mov dword [esp + 0x4c], eax
test eax, eax
je 0x10015ba5
lea ecx, [esp + 0x280]
push ecx
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
call fcn.10010af0
test eax, eax
je 0x10015ba5
mov ecx, esi
call fcn.10011170
mov ecx, dword [esp + 0x18]
mov esi, eax
and ecx, 0xffffff01
mov dword [esp + 0x44], esi
or ecx, 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], 0
call fcn.100145b0
cmp eax, 0xffffffff
je 0x10015643
push str.GetUserAuthoritiesWithOffline
call edi
lea eax, [esp + 0x10]
mov ecx, esi
push eax
lea edx, [esp + 0x84]
call fcn.10013cf0
add esp, 4
test eax, eax
jne 0x100159b7
push str.GetUserAuthoritiesWithServer
call edi
lea eax, [esp + 0x10]
mov ecx, esi
push eax
lea edx, [esp + 0x84]
call fcn.100140f0
add esp, 4
test eax, eax
je 0x100159b7
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x10]
and eax, 0xffffff01
mov dword [esp + 0x2c], 0
or eax, 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
call fcn.10009c40
lea ecx, [esp + 0x20]
mov bl, al
call fcn.10009b00
test bl, bl
jne 0x100159b7
lea ecx, [esp + 0x10]
call fcn.100139f0
jmp 0x100159b7
push str.GetUserAuthoritiesWithServer_1
call edi
lea eax, [esp + 0x10]
mov ecx, esi
push eax
lea edx, [esp + 0x84]
call fcn.100140f0
add esp, 4
test eax, eax
jne 0x10015686
push str.GetUserAuthoritiesWithOffline_1
call edi
lea eax, [esp + 0x10]
mov ecx, esi
push eax
lea edx, [esp + 0x84]
call fcn.10013cf0
add esp, 4
jmp 0x100159b7
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x10]
and eax, 0xffffff01
mov dword [esp + 0x2c], 0
or eax, 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
call fcn.10009c40
lea ecx, [esp + 0x20]
mov bl, al
call fcn.10009b00
test bl, bl
jne 0x100159b7
push ecx
push str.auth_changed
lea ecx, [esp + 0x18]
call fcn.1000a3e0
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.10009e10
cmp dword [eax + 0x14], 0x10
jb 0x100156ea
mov eax, dword [eax]
push eax
call fcn.10043020
mov edx, dword [esp + 0x68]
add esp, 4
mov esi, eax
cmp edx, 0x10
jb 0x1001572b
mov ecx, dword [esp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10015721
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015bc3
push edx
push ecx
call fcn.1001bf11
add esp, 8
test esi, esi
je 0x10015748
push str.UpdateOfflineAuthInfo
call edi
lea ecx, [esp + 0x10]
call fcn.100139f0
mov esi, dword [esp + 0x44]
jmp 0x100159b7
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x80]
mov esi, dword [esp + 0x44]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov ecx, esi
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
call fcn.10013cf0
push str.remain_count
lea ecx, [esp + 0x18]
call fcn.1000a3e0
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.10009e10
cmp dword [eax + 0x14], 0x10
jb 0x100157a1
mov eax, dword [eax]
push eax
call fcn.10043020
mov edx, dword [esp + 0x68]
add esp, 4
mov dword [esp + 0x48], eax
cmp edx, 0x10
jb 0x100157e4
mov ecx, dword [esp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100157da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015bc8
push edx
push ecx
call fcn.1001bf11
add esp, 8
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x20]
and eax, 0xffffff01
mov dword [esp + 0x3c], 0
or eax, 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], eax
lea eax, [esp + 0x30]
push eax
call fcn.10009c40
test al, al
jne 0x1001582f
push ecx
push str.remain_count
lea ecx, [esp + 0x28]
call fcn.1000a3e0
cmp byte [eax + 8], 0
je 0x1001582f
mov bl, 1
jmp 0x10015831
xor bl, bl
lea ecx, [esp + 0x30]
call fcn.10009b00
test bl, bl
je 0x100159ae
push ecx
push str.remain_count
lea ecx, [esp + 0x28]
call fcn.1000a3e0
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.10009e10
cmp dword [eax + 0x14], 0x10
jb 0x10015865
mov eax, dword [eax]
push eax
call fcn.10043020
mov edx, dword [esp + 0x68]
add esp, 4
mov ebx, eax
cmp edx, 0x10
jb 0x100158a6
mov ecx, dword [esp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001589c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015bcd
push edx
push ecx
call fcn.1001bf11
add esp, 8
cmp ebx, dword [esp + 0x48]
je 0x100159ae
push str.nOffineRemainCount___nOnineRemainCount
call edi
lea esi, [esp + 0x7d]
test ebx, ebx
jns 0x100158f0
neg ebx
mov eax, 0xcccccccd
dec esi
mul ebx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [esi], bl
mov ebx, edx
test ebx, ebx
jne 0x100158c1
dec esi
mov byte [esi], 0x2d
jmp 0x10015913
mov eax, 0xcccccccd
dec esi
mul ebx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [esi], bl
mov ebx, edx
test ebx, ebx
jne 0x100158f0
lea eax, [esp + 0x7d]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0xf
mov byte [esp + 0x50], 0
cmp esi, eax
je 0x1001593d
sub eax, esi
lea ecx, [esp + 0x50]
push eax
push esi
call fcn.10008470
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x34]
call fcn.10009920
lea eax, [esp + 0x30]
push eax
sub esp, 8
lea ecx, [esp + 0x1c]
push str.remain_count
call fcn.1000a3e0
add esp, 4
mov ecx, eax
call fcn.10009bc0
lea ecx, [esp + 0x30]
call fcn.10009b00
mov edx, dword [esp + 0x64]
cmp edx, 0x10
jb 0x100159aa
mov ecx, dword [esp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100159a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015bd2
push edx
push ecx
call fcn.1001bf11
add esp, 8
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x20]
call fcn.10009b00
push ecx
mov ecx, dword [esp + 0x50]
call fcn.100148e0
push esi
call fcn.1001bce1
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
and eax, 0xffffff01
mov dword [esp + 0x40], 0
or eax, 1
mov dword [esp + 0x34], 0
add esp, 4
mov dword [esp + 0x38], eax
lea eax, [esp + 0x30]
push eax
call fcn.10009c40
lea ecx, [esp + 0x30]
mov bl, al
call fcn.10009b00
test bl, bl
je 0x10015a29
lea ecx, [esp + 0x10]
xor ebx, ebx
call fcn.10009b00
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.1001bcd0
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x10]
and eax, 0xffffff01
mov dword [esp + 0x3c], 0
or eax, 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], eax
lea eax, [esp + 0x30]
push eax
call fcn.10009c40
lea ecx, [esp + 0x30]
mov bl, al
call fcn.10009b00
test bl, bl
je 0x10015a72
push str.json_wei_kong
call edi
jmp 0x10015b0e
push ecx
push str.auth_changed
lea ecx, [esp + 0x18]
call fcn.1000a3e0
mov cl, byte [eax + 8]
test cl, cl
je 0x10015a92
cmp cl, 6
je 0x10015a92
cmp cl, 7
jne 0x10015a9d
mov ecx, eax
call fcn.1000a140
test eax, eax
je 0x10015b0e
push ecx
push str.auth_changed
lea ecx, [esp + 0x18]
call fcn.1000a3e0
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.10009e10
cmp dword [eax + 0x14], 0x10
jb 0x10015ac0
mov eax, dword [eax]
push eax
call fcn.10043020
mov edx, dword [esp + 0x68]
add esp, 4
mov esi, eax
cmp edx, 0x10
jb 0x10015b01
mov ecx, dword [esp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10015af7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015bd7
push edx
push ecx
call fcn.1001bf11
add esp, 8
test esi, esi
je 0x10015b0e
lea ecx, [esp + 0x10]
call fcn.100139f0
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x14]
call fcn.1000a920
mov edi, dword [esp + 0x60]
lea esi, [edi + 1]
push esi
call fcn.1001c3b1
add esp, 4
mov ebx, eax
push esi
push 0
push ebx
call fcn.10033470
mov esi, dword [esp + 0x5c]
lea eax, [esp + 0x5c]
add esp, 0xc
cmp dword [esp + 0x64], 0x10
cmovae eax, esi
push edi
push eax
push ebx
call fcn.100335d0
mov eax, dword [esp + 0x70]
add esp, 0xc
cmp eax, 0x10
jb 0x10015b85
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10015b7b
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015bdc
push ecx
push esi
call fcn.1001bf11
add esp, 8
lea ecx, [esp + 0x10]
call fcn.10009b00
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.1001bcd0
mov esp, ebp
pop ebp
ret
push str._pCfgXml
call edi
mov ecx, dword [esp + 0x484]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1001bcd0
mov esp, ebp
pop ebp
ret
call fcn.10041b97
call fcn.10041b97
call fcn.10041b97
call fcn.10041b97
call fcn.10041b97
call fcn.10041b97
int3