Function at 0x4a93c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x543020]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], edi
test eax, eax
jne 0x4a93f9
push 0x543eb0
push 0x2c
call fcn.004c211f
add esp, 8
test eax, eax
je 0x4a93f2
mov ecx, eax
call fcn.00485620
jmp 0x4a93f4
xor eax, eax
mov dword [0x543020], eax
mov ebx, dword [ebp + 0xc]
push ebx
push edi
push str.ShowWnd__d__s
push str.LoginWnd
push eax
call fcn.00486aa0
add esp, 0x14
test ebx, ebx
je 0x4a9438
mov ecx, ebx
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a9420
sub ecx, edx
mov dword [ebp + 0xc], 1
sar ecx, 1
jne 0x4a943f
mov dword [ebp + 0xc], 0
push 0
push str.ReaderLoginWndLoginServer_Class
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x4a94be
cmp dword [ebp + 0xc], 0
je 0x4a9492
xor eax, eax
test edi, edi
je 0x4a9474
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4a9472
mov eax, 1
xor edi, edi
jmp 0x4a9474
xor eax, eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0x2492
push esi
call ebx
push 0
push 0
push 0x2491
push esi
call ebx
jmp 0x4a9498
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
je 0x4a961f
push 0
push 0
push 0x2493
push esi
call ebx
push esi
call fcn.004919a0
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x543eb0
push 0x7c
call fcn.004c211f
mov esi, eax
add esp, 8
test esi, esi
je 0x4a967e
mov ecx, esi
call fcn.004ab380
mov dword [esi], vtable.LoginWnd.0
xor ecx, ecx
mov dword [esi + 0x18], vtable.LoginWnd.1.0
mov dword [esi + 0x5c], 0
push ecx
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 7
mov word [esi + 0x60], cx
lea ecx, [esi + 0x60]
push 0x50f730
call fcn.00407020
call fcn.00483350
mov ecx, eax
test ecx, ecx
je 0x4a9687
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
cmp dword [ebp + 0xc], 0
mov dword [esi + 0x78], eax
je 0x4a955f
xor eax, eax
xor edi, edi
cmp dword [ebp - 4], eax
mov ecx, ebx
setne al
mov dword [esi + 0x5c], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a9546
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [esi + 0x60]
call fcn.00407020
push str.https:__reader.safe.360.cn_login.html
lea ecx, [ebp + 0xc]
call fcn.00483710
push str.server_mark
lea eax, [ebp - 4]
mov ecx, 0x543c74
push eax
call fcn.004a7240
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
je 0x4a959a
push eax
lea eax, [ebp + 0xc]
push str._fromType_s
push eax
call fcn.0048bf60
add esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
call fcn.004af580
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.004ae4f0
test al, al
je 0x4a9628
test edi, edi
je 0x4a95ea
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x43
push 0
push 0
push 0
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esi + 4]
call fcn.004919a0
add esp, 4
mov edx, dword [ebp - 4]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a9607
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4a961f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x14]
push str.Create_view_error
push str.LoginWnd
call fcn.00486540
push eax
call fcn.00486aa0
mov edx, dword [ebp - 4]
or esi, 0xffffffff
add esp, 0xc
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a9666
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4a967e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004831b0
int3