Function at 0x4a91c0
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 0x4a91f9
push 0x543eb0
push 0x2c
call fcn.004c203f
add esp, 8
test eax, eax
je 0x4a91f2
mov ecx, eax
call fcn.00485670
jmp 0x4a91f4
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.00486af0
add esp, 0x14
test ebx, ebx
je 0x4a9238
mov ecx, ebx
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a9220
sub ecx, edx
mov dword [ebp + 0xc], 1
sar ecx, 1
jne 0x4a923f
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 0x4a92be
cmp dword [ebp + 0xc], 0
je 0x4a9292
xor eax, eax
test edi, edi
je 0x4a9274
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4a9272
mov eax, 1
xor edi, edi
jmp 0x4a9274
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 0x4a9298
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
je 0x4a941f
push 0
push 0
push 0x2493
push esi
call ebx
push esi
call fcn.004919f0
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x543eb0
push 0x7c
call fcn.004c203f
mov esi, eax
add esp, 8
test esi, esi
je 0x4a947e
mov ecx, esi
call fcn.004ab1e0
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 0x50f7a0
call fcn.00407020
call fcn.004833a0
mov ecx, eax
test ecx, ecx
je 0x4a9487
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
cmp dword [ebp + 0xc], 0
mov dword [esi + 0x78], eax
je 0x4a935f
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 0x4a9346
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.00483760
push str.server_mark
lea eax, [ebp - 4]
mov ecx, 0x543c74
push eax
call fcn.004a7040
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
je 0x4a939a
push eax
lea eax, [ebp + 0xc]
push str._fromType_s
push eax
call fcn.0048bfb0
add esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
call fcn.004af490
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.004ae410
test al, al
je 0x4a9428
test edi, edi
je 0x4a93ea
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.004919f0
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 0x4a9407
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 0x4a941f
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.00486590
push eax
call fcn.00486af0
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 0x4a9466
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 0x4a947e
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.00483200
int3