Function at 0x4e7a70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x602e72
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x6b000c]
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
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xfc]
push eax
call fcn.0040c380
mov dword [ebp - 4], 0
push dword [ebp - 0xfc]
push str.Auth__s_n
call fcn.004131f0
mov edx, dword [ebp - 0xfc]
add esp, 8
or edi, 0xffffffff
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x4e8133
js 0x4e8173
cmp word [edx], 0x7b
jne 0x4e8133
lea ecx, [ebp - 0x28]
call fcn.004dd5c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe0]
call fcn.004248e0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x108]
and eax, 0xffffff00
mov dword [ebp - 0x108], eax
and eax, 0xfffffeff
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], 0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0xb8]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00412890
cmp dword [ebp - 0xa4], 0x10
lea ecx, [ebp - 0xb8]
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0x110]
cmovae ecx, dword [ebp - 0xb8]
push ecx
add eax, ecx
push edx
push eax
push ecx
lea ecx, [ebp - 0xe0]
call fcn.00424b30
test al, al
je 0x4e80cf
push ecx
push str.result
lea ecx, [ebp - 0x110]
call fcn.0042b230
mov ecx, eax
call fcn.0042add0
push ecx
push str.errInfo
lea ecx, [ebp - 0x110]
mov esi, eax
call fcn.0042b230
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.0042ac70
mov byte [ebp - 4], 7
push ecx
push str.nickname
lea ecx, [ebp - 0x110]
call fcn.0042b230
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.0042ac70
mov byte [ebp - 4], 8
push ecx
push str.unionid
lea ecx, [ebp - 0x110]
call fcn.0042b230
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.0042ac70
mov byte [ebp - 4], 9
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x100]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.0040c2f0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0xf0]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0040c2f0
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0xec]
cmovae edx, dword [ebp - 0x58]
call fcn.004dd7a0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x100]
cmp dword [edx - 0xc], 0
je 0x4e7c74
mov ecx, dword [ebx + 4]
push 0
push 0
push 0x63d01c
call fcn.004dbc50
add esp, 0xc
jmp 0x4e7f8e
cmp esi, 1
jne 0x4e7f7a
mov eax, dword [ebp - 0xf0]
cmp dword [eax - 0xc], 0
je 0x4e7f8e
mov eax, dword [ebp - 0xec]
cmp dword [eax - 0xc], 0
je 0x4e7f8e
lea ecx, [ebp - 0xf8]
call fcn.0040c490
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xf8]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0xe4], esp
mov dword [ebp - 0xf4], esi
mov ecx, dword [ebp - 0xf0]
lea ecx, [ecx - 0x10]
call fcn.0040c950
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0xd
call fcn.00558ef0
test eax, eax
je 0x4e7f42
cmp dword [ebp + 0xc], 0
push 0x650a3c
jne 0x4e7dbf
mov edx, str.QQUser
lea ecx, [ebp - 0xe4]
call fcn.004db870
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xec]
push ecx
mov edx, eax
lea ecx, [ebp - 0xf4]
call fcn.004359f0
add esp, 8
mov byte [ebp - 4], 0x11
lea ecx, [ebx + 0x918]
mov edx, dword [eax]
mov esi, dword [ecx]
sub esi, 0x10
lea eax, [edx - 0x10]
mov dword [ebp - 0xe8], eax
cmp eax, esi
je 0x4e7d8f
cmp dword [esi + 0xc], 0
jl 0x4e7d86
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x4e7d86
mov ecx, dword [ebp - 0xe8]
call fcn.0040c950
mov dword [ebp - 0xe8], eax
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e7d75
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0xe8]
add eax, 0x10
mov dword [ebx + 0x918], eax
jmp 0x4e7d8f
push dword [edx - 0xc]
push edx
call fcn.0040c9d0
mov byte [ebp - 4], 0x10
mov eax, edi
mov edx, dword [ebp - 0xf4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e7db0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0xe4]
jmp 0x4e7e80
mov edx, str.WeChatUser
lea ecx, [ebp - 0xe8]
call fcn.004db870
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xec]
push ecx
mov edx, eax
lea ecx, [ebp - 0xf4]
call fcn.004359f0
add esp, 8
mov byte [ebp - 4], 0x15
lea ecx, [ebx + 0x918]
mov edx, dword [eax]
mov esi, dword [ecx]
sub esi, 0x10
lea eax, [edx - 0x10]
mov dword [ebp - 0xe4], eax
cmp eax, esi
je 0x4e7e55
cmp dword [esi + 0xc], 0
jl 0x4e7e4c
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x4e7e4c
mov ecx, dword [ebp - 0xe4]
call fcn.0040c950
mov dword [ebp - 0xe4], eax
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e7e3b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0xe4]
add eax, 0x10
mov dword [ebx + 0x918], eax
jmp 0x4e7e55
push dword [edx - 0xc]
push edx
call fcn.0040c9d0
mov byte [ebp - 4], 0x14
mov eax, edi
mov edx, dword [ebp - 0xf4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e7e76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0xe8]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e7e97
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xf0]
lea ecx, [ebx + 0x91c]
mov esi, dword [ecx]
sub esi, 0x10
lea edx, [eax - 0x10]
mov dword [ebp - 0xe4], edx
cmp edx, esi
je 0x4e7f02
cmp dword [esi + 0xc], 0
jl 0x4e7ef9
mov edx, dword [edx]
cmp edx, dword [esi]
jne 0x4e7ef9
mov ecx, dword [ebp - 0xe4]
call fcn.0040c950
mov dword [ebp - 0xe4], eax
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e7ee8
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0xe4]
add eax, 0x10
mov dword [ebx + 0x91c], eax
jmp 0x4e7f02
push dword [eax - 0xc]
push eax
call fcn.0040c9d0
push 0xf
lea ecx, [ebx + 0x920]
push str.BSTDFDGGSFF4564
call fcn.0040c9d0
lea eax, [ebp - 0x114]
mov dword [ebx + 0x950], 2
push eax
push 0
push ebx
push 0x4e4e80
push 0
push 0
call fcn.005b6ff3
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4e7f57
mov edx, dword [ebx + 4]
mov ecx, dword [ebp - 0xf8]
push 0
push 0x10
call fcn.00495040
add esp, 8
mov byte [ebp - 4], 0xc
mov eax, edi
mov edx, dword [ebp - 0xf8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e7f8e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4e7f8e
mov edx, dword [ebx + 4]
mov ecx, str.AuthorizationFailed
push 0
push 0x10
call fcn.00495040
add esp, 8
mov byte [ebp - 4], 0xb
mov eax, edi
mov edx, dword [ebp - 0xec]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e7faf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, edi
mov edx, dword [ebp - 0xf0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e7fd0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov eax, edi
mov edx, dword [ebp - 0x100]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e7ff1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4e8029
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4e801f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e817d
push edx
push ecx
call fcn.005603ff
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x4e8073
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4e8069
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e8182
push edx
push ecx
call fcn.005603ff
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x4e80bd
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4e80b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e8187
push edx
push ecx
call fcn.005603ff
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x110]
call fcn.0042a990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe0]
call fcn.004270a0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4e8121
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4e8117
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e818c
push edx
push ecx
call fcn.005603ff
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xfc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4e8155
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.0055f9be
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.0040b250
call fcn.005a5046
call fcn.005a5046
call fcn.005a5046
call fcn.005a5046
int3