Function at 0x514f20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bf4e0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
xor esi, esi
cmp ebx, esi
je 0x5151dc
call fcn.005144f0
cmp dword [eax + 4], esi
je 0x514fb7
mov eax, dword [eax + 4]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, esi
je 0x514fb7
mov eax, dword [esp + 0x14]
cmp eax, 1
je 0x5151cc
cmp eax, 2
je 0x5151cc
cmp eax, 0x10
je 0x5151cc
cmp eax, 0x20
je 0x5151cc
cmp eax, 0x1000
je 0x5151cc
cmp eax, 8
je 0x5151cc
xor eax, eax
cmp dword [ebx], 1
sete al
push eax
push ecx
call fcn.005144f0
add esp, 4
mov edi, eax
call fcn.00514560
test eax, eax
je 0x5151cc
cmp dword [ebx], 1
push ebx
jne 0x515082
call fcn.00515590
test eax, eax
je 0x5151cc
call fcn.00407c80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
push 0x5c9a90
call eax
cmp eax, esi
je 0x51505b
add eax, 0xfffffedc
cmp eax, esi
je 0x51505b
lea ecx, [esp + 0x14]
push ecx
mov ebx, eax
call fcn.004f7bc0
mov edi, dword [ebp + 0xc]
sub esp, 0x50
mov edx, esp
mov dword [esp + 0x68], esp
push edx
mov dword [esp + 0x8c], 0
call fcn.004ffdc0
mov esi, dword [esp + 0x64]
call fcn.004ffd50
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x515059
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ebx, edi
push 0
push str.CloudNewsCyleCount
push str.CloudNews
call fcn.004e7120
inc eax
push eax
push str.CloudNewsCyleCount
push str.CloudNews
call fcn.004e7180
jmp 0x5151cc
mov edi, dword [ebp + 8]
push edi
call fcn.00515260
test eax, eax
je 0x5151cc
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], 1
mov eax, dword [ebx]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x5150ad
jmp dword [eax*4 + 0x5151f4]
push str.NetSpeed
lea eax, [esp + 0x18]
push eax
push str.NewsPopWnd1
push str.NewsPopWndNewsPopWnd1.xml
call fcn.0053d6a0
add edi, 0x38
jmp 0x51512a
push str.NetSpeed
lea ecx, [esp + 0x18]
push ecx
push str.NewsPopWnd2
push str.NewsPopWndNewsPopWnd2.xml
call fcn.0053d6a0
add edi, 0x3c
jmp 0x51512a
push str.NetSpeed
lea edx, [esp + 0x18]
push edx
push str.NewsPopWnd3
push str.NewsPopWndNewsPopWnd3.xml
call fcn.0053d6a0
add edi, 0x40
jmp 0x51512a
push str.NetSpeed
lea eax, [esp + 0x18]
push eax
push str.NewsPopWnd4
push str.NewsPopWndNewsPopWnd4.xml
call fcn.0053d6a0
add edi, 0x44
mov esi, dword [esp + 0x24]
add esp, 0x10
call fcn.00424c60
test esi, esi
je case.default.0x5150ad
sub esp, 0x50
mov ecx, esp
mov dword [esp + 0x68], esp
push ecx
mov edi, ebx
call fcn.004ffdc0
mov ecx, esi
call fcn.00514860
push 0
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push 0x80080
push SysReAllocStringLen
mov dword [eax], 0
push 0
lea eax, [esp + 0x30]
mov ecx, esi
call fcn.005421b0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
mov dword [ecx], eax
push 0
mov ecx, esi
call fcn.00540910
mov edx, dword [esi + 0x58]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push str.CloudNewsPopCount
push str.CloudNews
call fcn.004e7120
inc eax
push eax
push str.CloudNewsPopCount
push str.CloudNews
call fcn.004e7180
mov dword [esp + 0x38], 0xffffffff
test esi, esi
je 0x5151cc
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, ebx
call fcn.00514300
push ebx
call fcn.005851f0
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8