Function at 0x4cbf20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74339c
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1ac], ebx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x1a4]
call fcn.004c2370
sub esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00466820
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
jb 0x4cbf85
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x94]
call fcn.00466cc0
cmp dword [ebp - 0x64], 0
je 0x4cc399
call fcn.0046efe0
mov esi, dword [eax + 8]
test esi, esi
je 0x4cbfae
lock inc dword [esi + 4]
mov esi, dword [eax + 8]
mov edi, dword [eax + 4]
or ebx, 0xffffffff
mov byte [ebp - 4], 2
test esi, esi
je 0x4cbfdb
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4cbfdb
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4cbfdb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 1
test edi, edi
je 0x4cc361
call fcn.0046efe0
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x4cbffa
lock inc dword [ebx + 4]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
push 1
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
push 0x7f69d8
push eax
mov dword [ebp - 0x34], 1
call fcn.0070d750
add esp, 0xc
mov byte [ebp - 0x43], 0
push 0x5c
push 0x7f69dc
call fcn.0070c820
add esp, 8
test eax, eax
je 0x4cc061
push 0x5c
push 0x7f6a14
call fcn.0070c820
add esp, 8
inc eax
jmp 0x4cc066
mov eax, 0x7f6a4c
push eax
lea ecx, [ebp - 0x44]
call fcn.00463b90
mov edi, eax
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x4cc0a8
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4cc08f
mov eax, dword [edi]
push 1
lea esi, [eax + ecx]
push 0x7f6a84
push esi
call fcn.0070d750
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x4cc0c7
push 1
push 0x7f6a84
mov byte [ebp - 0x1ac], 0
mov ecx, edi
push dword [ebp - 0x1ac]
push 1
call fcn.004639e0
mov edi, eax
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0xd
jb 0x4cc0fe
lea eax, [ecx + 0xd]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4cc0e5
mov eax, dword [edi]
push 0xd
lea esi, [ecx + eax]
push str.ParseBuyRight
push esi
call fcn.0070d750
add esp, 0xc
mov byte [esi + 0xd], 0
jmp 0x4cc11d
push 0xd
push str.ParseBuyRight
mov byte [ebp - 0x1ac], 0
mov ecx, edi
push dword [ebp - 0x1ac]
push 0xd
call fcn.004639e0
mov edi, eax
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 2
jb 0x4cc154
lea eax, [ecx + 2]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4cc13b
mov eax, dword [edi]
push 2
lea esi, [ecx + eax]
push 0x7f6a98
push esi
call fcn.0070d750
add esp, 0xc
mov byte [esi + 2], 0
jmp 0x4cc173
push 2
push 0x7f6a98
mov byte [ebp - 0x1ac], 0
mov ecx, edi
push dword [ebp - 0x1ac]
push 2
call fcn.004639e0
mov edi, eax
mov edx, 0x430
lea ecx, [ebp - 0x17]
call fcn.0046eeb0
lea ecx, [ebp - 0x17]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp eax, ecx
je 0x4cc1a5
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00460f20
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.00463880
mov edi, eax
mov ecx, dword [edi + 0x14]
mov eax, ecx
mov esi, dword [edi + 0x10]
sub eax, esi
cmp eax, 2
jb 0x4cc1ff
mov dword [ebp - 0x1b0], edi
lea eax, [esi + 2]
mov dword [edi + 0x10], eax
mov eax, edi
cmp ecx, 0x10
jb 0x4cc1e0
mov eax, dword [edi]
mov dword [ebp - 0x1b0], eax
push 2
add eax, esi
push 0x7f6a9c
push eax
call fcn.0070d750
mov eax, dword [ebp - 0x1b0]
add esp, 0xc
mov byte [eax + esi + 2], 0
jmp 0x4cc21e
push 2
push 0x7f6a9c
mov byte [ebp - 0x1ac], 0
mov ecx, edi
push dword [ebp - 0x1ac]
push 2
call fcn.004639e0
mov edi, eax
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0xb
jb 0x4cc255
lea eax, [ecx + 0xb]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4cc23c
mov eax, dword [edi]
push 0xb
lea esi, [eax + ecx]
push 0x7f6aa0
push esi
call fcn.0070d750
add esp, 0xc
mov byte [esi + 0xb], 0
jmp 0x4cc274
push 0xb
push 0x7f6aa0
mov byte [ebp - 0x1ac], 0
mov ecx, edi
push dword [ebp - 0x1ac]
push 0xb
call fcn.004639e0
mov edi, eax
cmp dword [edi + 0x14], 0x10
jb 0x4cc27c
mov edi, dword [edi]
mov ecx, dword [ebp - 0x1a8]
push edi
push 4
sub esp, 0xc
mov dword [ebp - 0x1c4], 0x8048bc
mov eax, esp
mov dword [ebp - 0x1c0], 0
movq xmm0, qword [ebp - 0x1c4]
movq qword [eax], xmm0
mov dword [eax + 8], 0x8048bc
call fcn.0046ec20
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x4cc2ee
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4cc2e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cca5c
push edx
push ecx
call fcn.006f4f2f
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4cc326
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4cc31c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cca61
push edx
push ecx
call fcn.006f4f2f
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 6
test ebx, ebx
je 0x4cc361
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x4cc361
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x4cc361
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
xor esi, esi
lea ecx, [ebp - 0x94]
call fcn.004667b0
lea ecx, [ebp - 0x1a4]
call fcn.0045e490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret 4
push 0x7f6aac
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0x94]
call fcn.004669a0
mov ecx, dword [ebp - 0x94]
shl ecx, 5
add ecx, dword [ebp - 0x8c]
cmp dword [eax], ecx
je 0x4cc361
push 0x7f6ab4
lea ecx, [ebp - 0x94]
call fcn.00466ab0
mov esi, dword [eax]
mov dword [ebp - 0x1b4], esi
cmp esi, 0xc8
jne 0x4cc363
push 0x7f6abc
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x94]
call fcn.004669a0
mov ecx, dword [ebp - 0x94]
shl ecx, 5
add ecx, dword [ebp - 0x8c]
cmp dword [eax], ecx
je 0x4cc361
push 0x7f6ac4
lea ecx, [ebp - 0x94]
call fcn.00466ab0
mov esi, eax
lea eax, [ebp - 0x1a8]
push 0x7f6acc
push eax
mov ecx, esi
call fcn.004669a0
mov ecx, dword [esi]
shl ecx, 5
add ecx, dword [esi + 8]
cmp dword [eax], ecx
je 0x4cc45a
push str.is_member
mov ecx, esi
call fcn.00466ab0
cmp word [eax + 0xe], 0xa
sete byte [ebp - 0x1a4]
push 0x7f6ae4
lea eax, [ebp - 0x1a8]
mov ecx, esi
push eax
call fcn.004669a0
mov ecx, dword [esi]
shl ecx, 5
add ecx, dword [esi + 8]
cmp dword [eax], ecx
je 0x4cc48d
push str.user_id
mov ecx, esi
call fcn.00466ab0
mov eax, dword [eax]
mov dword [ebp - 0x1a0], eax
push 0x7f6af4
lea eax, [ebp - 0x1a8]
mov ecx, esi
push eax
call fcn.004669a0
mov ecx, dword [esi]
shl ecx, 5
add ecx, dword [esi + 8]
cmp dword [eax], ecx
je 0x4cc4c0
push str.auth_id
mov ecx, esi
call fcn.00466ab0
mov eax, dword [eax]
mov dword [ebp - 0x19c], eax
push 0x7f6b04
lea eax, [ebp - 0x1a8]
mov ecx, esi
push eax
call fcn.004669a0
mov ecx, dword [esi]
shl ecx, 5
add ecx, dword [esi + 8]
cmp dword [eax], ecx
je 0x4cc503
push str.server_time
mov ecx, esi
call fcn.00466ab0
mov ecx, eax
call fcn.004892e0
call fcn.006f603f
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], edx
push 0x7f6b1c
lea eax, [ebp - 0x1a8]
mov ecx, esi
push eax
call fcn.004669a0
mov ecx, dword [esi]
shl ecx, 5
add ecx, dword [esi + 8]
cmp dword [eax], ecx
je 0x4cc53a
push str.on_trial
mov ecx, esi
call fcn.00466ab0
cmp word [eax + 0xe], 0xa
sete byte [ebp - 0x18c]
push 0x7f6b34
lea eax, [ebp - 0x1a8]
mov ecx, esi
push eax
call fcn.004669a0
mov ecx, dword [esi]
mov edi, 0x1000
shl ecx, 5
add ecx, dword [esi + 8]
cmp dword [eax], ecx
je 0x4cc59b
push str.PhoneNumber
mov ecx, esi
call fcn.00466ab0
mov edx, eax
test word [edx + 0xe], di
jne 0x4cc575
mov edx, dword [edx + 8]
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4cc580
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x188]
call fcn.00460f20
mov edi, 0x1000
push 0x7f6b4c
lea eax, [ebp - 0x1a8]
mov ecx, esi
push eax
call fcn.004669a0
mov ecx, dword [esi]
shl ecx, 5
add ecx, dword [esi + 8]
cmp dword [eax], ecx
je 0x4cc5ec
push str.Portrait
mov ecx, esi
call fcn.00466ab0
mov edx, eax
test word [edx + 0xe], di
jne 0x4cc5d1
mov edx, dword [edx + 8]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4cc5d6
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x170]
call fcn.00460f20
push 0x7f6b64
lea eax, [ebp - 0x1a8]
mov ecx, esi
push eax
call fcn.004669a0
mov ecx, dword [esi]
shl ecx, 5
add ecx, dword [esi + 8]
cmp dword [eax], ecx
je 0x4cc646
push str.Nickname
mov ecx, esi
call fcn.00466ab0
mov edx, eax
mov eax, 0x1000
test word [edx + 0xe], ax
jne 0x4cc627
mov edx, dword [edx + 8]
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4cc630
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x158]
call fcn.00460f20
push 0x7f6b7c
lea eax, [ebp - 0x1a8]
mov ecx, esi
push eax
call fcn.004669a0
mov ecx, dword [esi]
shl ecx, 5
add ecx, dword [esi + 8]
cmp dword [eax], ecx
je 0x4cc67d
push str.HasBindWx
mov ecx, esi
call fcn.00466ab0
cmp word [eax + 0xe], 0xa
sete byte [ebp - 0x140]
push 0x7f6b94
lea eax, [ebp - 0x1a8]
mov ecx, esi
push eax
call fcn.004669a0
mov ecx, dword [esi]
shl ecx, 5
add ecx, dword [esi + 8]
cmp dword [eax], ecx
je 0x4cc6b4
push str.HasSetPwd
mov ecx, esi
call fcn.00466ab0
cmp word [eax + 0xe], 0xa
sete byte [ebp - 0x13f]
push 0x7f6bac
lea eax, [ebp - 0x1a8]
mov ecx, esi
push eax
call fcn.004669a0
mov ecx, dword [esi]
shl ecx, 5
add ecx, dword [esi + 8]
cmp dword [eax], ecx
je 0x4cc70a
push str.wx_nick
mov ecx, esi
call fcn.00466ab0
mov edx, eax
mov eax, 0x1000
test word [edx + 0xe], ax
jne 0x4cc6ef
mov edx, dword [edx + 8]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4cc6f4
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x13c]
call fcn.00460f20
push 0x7f6bbc
lea eax, [ebp - 0x1a8]
mov ecx, esi
push eax
call fcn.004669a0
mov ecx, dword [esi]
shl ecx, 5
add ecx, dword [esi + 8]
cmp dword [eax], ecx
je 0x4cc741
push 0x7f6bc4
mov ecx, esi
call fcn.00466ab0
cmp word [eax + 0xe], 0xa
sete byte [ebp - 0x124]
push 0x7f6bcc
lea eax, [ebp - 0x1a8]
mov ecx, esi
push eax
call fcn.004669a0
mov ecx, dword [esi]
shl ecx, 5
add ecx, dword [esi + 8]
cmp dword [eax], ecx
je 0x4cc9ea
push str.buy_right_package
mov ecx, esi
call fcn.00466ab0
xor ebx, ebx
mov dword [ebp - 0x1a8], eax
cmp dword [eax], ebx
jbe 0x4cc9e4
xor ecx, ecx
mov edi, 0x1000
mov dword [ebp - 0x1b0], ecx
nop dword [eax]
mov esi, dword [eax + 8]
add esi, ecx
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0xf
mov byte [ebp - 0x104], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
push 0x7f6bf4
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00466ab0
push 0x7f6bf8
mov ecx, esi
mov eax, dword [eax]
mov dword [ebp - 0x114], eax
call fcn.00466ab0
test word [eax + 0xe], di
jne 0x4cc813
mov eax, dword [eax + 8]
mov ecx, eax
call fcn.004d5ec0
push str.expire_at
mov ecx, esi
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], edx
call fcn.00466ab0
mov edx, eax
test word [edx + 0xe], di
jne 0x4cc83d
mov edx, dword [edx + 8]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4cc842
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x104]
call fcn.00460f20
push str.unlimited
mov ecx, esi
call fcn.00466ab0
push str.trial_status
mov ecx, esi
cmp word [eax + 0xe], 0xa
sete byte [ebp - 0xec]
call fcn.00466ab0
push str.trial_expire_at
mov ecx, esi
mov eax, dword [eax]
cdq
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], edx
call fcn.00466ab0
mov edi, 0x1000
test word [eax + 0xe], di
jne 0x4cc8a5
mov eax, dword [eax + 8]
mov ecx, eax
call fcn.004d5ec0
push str.has_buy
mov ecx, esi
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], edx
call fcn.00466ab0
push 0x7f6c44
mov ecx, esi
cmp word [eax + 0xe], 0xa
sete byte [ebp - 0xd4]
call fcn.00466ab0
mov edx, eax
test word [edx + 0xe], di
jne 0x4cc8e7
mov edx, dword [edx + 8]
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4cc8f0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xd0]
call fcn.00460f20
push 0x7f6c4c
mov ecx, esi
call fcn.00466ab0
mov edx, eax
mov eax, 0x1000
test word [edx + 0xe], ax
jne 0x4cc922
mov edx, dword [edx + 8]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4cc927
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xb8]
call fcn.00460f20
push str.buy_time
mov ecx, esi
call fcn.00466ab0
mov edi, 0x1000
test word [eax + 0xe], di
jne 0x4cc957
mov eax, dword [eax + 8]
mov ecx, eax
call fcn.004d5ec0
push str.renew_time
mov ecx, esi
mov dword [ebp - 0xa0], eax
call fcn.00466ab0
test word [eax + 0xe], di
jne 0x4cc979
mov eax, dword [eax + 8]
mov ecx, eax
call fcn.004d5ec0
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x114]
mov eax, dword [ebp - 0x11c]
push ecx
cmp dword [ebp - 0x118], eax
je 0x4cc9ab
mov ecx, eax
call fcn.004d3360
sub dword [ebp - 0x11c], 0xffffff80
jmp 0x4cc9b7
push eax
lea ecx, [ebp - 0x120]
call fcn.004d3120
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 1
call fcn.0045fe40
mov eax, dword [ebp - 0x1a8]
inc ebx
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
mov dword [ebp - 0x1b0], ecx
cmp ebx, dword [eax]
jb 0x4cc790
mov ebx, dword [ebp - 0x1ac]
lea edi, [ebx + 0x1f8]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebx + 0xb0]
call fcn.004c22c0
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebx + 0xb0]
call fcn.004cad70
mov eax, dword [ebp - 0x11c]
sub eax, dword [ebp - 0x120]
sar eax, 7
test eax, eax
je 0x4cca32
push str.Ok_BuyRight_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, ebx
call fcn.004ccb80
mov byte [ebx + 0x1ac], al
mov ecx, ebx
lea eax, [ebx + 0x30]
push eax
call fcn.004c9ef0
mov esi, dword [ebp - 0x1b4]
jmp 0x4cc363
call fcn.00710a9c
call fcn.00710a9c
int3