Function at 0x40511a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 8
call fcn.004094c7
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x40e65b
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 8], esp
push dword [0x412836]
push dword [0x41282a]
call dword [sym.imp.ATL.DLL_AtlAxGetControl]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x405169
push 6
call fcn.004094cd
add esp, 4
mov dword [ebp - 8], esp
push dword [0x41283a]
push dword [0x41282e]
call dword [sym.imp.ATL.DLL_AtlAxGetControl]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x405194
push 6
call fcn.004094cd
add esp, 4
mov dword [ebp - 8], esp
push 0
push dword [0x41282e]
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4051be
push 6
call fcn.004094cd
add esp, 4
mov dword [ebp - 8], esp
push 5
push dword [0x41282a]
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4051e8
push 6
call fcn.004094cd
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000004
push 0
push str.stretchToFit
push 0x10030
push 0
push dword [0x412836]
push 3
mov ebx, 0x948
call fcn.0040a480
add esp, 0x28
mov eax, str.2011_01_01
push eax
mov ebx, dword [0x41283e]
test ebx, ebx
je 0x405238
push ebx
call fcn.004094bb
add esp, 4
pop eax
mov dword [0x41283e], eax
push dword [0x41283e]
push 0x40e673
mov ecx, 2
call fcn.00401131
add esp, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push dword [0x412832]
call dword [sym.imp.USER32.dll_SetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x405281
push 6
call fcn.004094cd
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x405291
push ebx
call fcn.004094bb
add esp, 4
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 1
mov eax, 0x411f7a
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00405780
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x405322
push ebx
call fcn.004094bb
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x405332
push ebx
call fcn.004094bb
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x405342
push ebx
call fcn.004094bb
add esp, 4
push 0x80000004
push 0
lea eax, [ebp - 4]
push eax
push 1
mov ebx, 0x100
call fcn.0040aab0
add esp, 0x10
mov dword [ebp - 8], esp
push 0x457
push dword [0x412832]
call dword [sym.imp.USER32.dll_GetDlgItem]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x405389
push 6
call fcn.004094cd
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0x411f8a
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4053b3
push 6
call fcn.004094cd
add esp, 4
mov ebx, dword [ebp - 4]
call fcn.004043e7
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jl 0x405440
mov ebx, dword [ebp - 4]
call fcn.00404400
mov eax, 0
cmp eax, ecx
jl 0x4053e6
push 1
call fcn.004094cd
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
call fcn.00404400
mov eax, 0
cmp eax, ecx
jl 0x40540c
push 1
call fcn.004094cd
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc], ebx
push 3
push dword [ebp - 0xc]
call fcn.00404b51
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
call fcn.00405ab2
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x405440
push ebx
call fcn.004094bb
add esp, 4
push 0x40e663
push dword [0x412856]
call fcn.0040507d
add esp, 8
cmp eax, 0
jne 0x405480
mov eax, str.http:__www.tiyuba.net_live_cctvplayer.html_channel
push eax
mov ebx, dword [0x412856]
test ebx, ebx
je 0x405475
push ebx
call fcn.004094bb
add esp, 4
pop eax
mov dword [0x412856], eax
jmp 0x405480
push 0
mov ebx, 0x104
call fcn.0040ac80
add esp, 4
mov dword [ebp - 8], eax
push 0
mov ebx, 0x108
call fcn.0040ad20
add esp, 4
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push 0x411f4e
push dword [ebp - 8]
mov ecx, 3
call fcn.00401131
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4054d5
push ebx
call fcn.004094bb
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4054e5
push ebx
call fcn.004094bb
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4054f8
mov eax, 0x40e663
push eax
push 1
mov ebx, 0x258
call fcn.0040adc0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40551e
push ebx
call fcn.004094bb
add esp, 4
cmp dword [ebp - 0x14], 0x17000
je 0x405599
push 1
push 0x30
push 1
mov eax, 0x411ff5
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 1
mov eax, 0x41201a
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 1
push dword [0x412832]
call fcn.00405c40
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40556b
push ebx
call fcn.004094bb
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40557b
push ebx
call fcn.004094bb
add esp, 4
call fcn.00405ca0
push 0x41285a
call fcn.0040789c
push 0
call fcn.004094a9
add esp, 4
jmp 0x4056d8
push 0
mov ebx, 0x104
call fcn.0040ac80
add esp, 4
mov dword [ebp - 8], eax
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4055c1
mov eax, 0x40e663
push eax
push 1
mov ebx, 0x150
call fcn.0040ae10
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4055e7
push ebx
call fcn.004094bb
add esp, 4
call fcn.0040790e
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x405602
mov eax, 0x40e663
push eax
push 1
mov ebx, 0x150
call fcn.0040ae10
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x405628
push ebx
call fcn.004094bb
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0xc]
call fcn.0040507d
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x405655
push ebx
call fcn.004094bb
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x405665
push ebx
call fcn.004094bb
add esp, 4
cmp dword [ebp - 0x18], 1
jne 0x4056d8
push 1
push 0x30
push 1
mov eax, 0x40e687
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 1
mov eax, 0x41205b
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 1
push dword [0x412832]
call fcn.00405c40
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4056af
push ebx
call fcn.004094bb
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4056bf
push ebx
call fcn.004094bb
add esp, 4
call fcn.00405ca0
push 0x41285a
call fcn.0040789c
push 0
call fcn.004094a9
add esp, 4
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4056f6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4056f2
imul eax, dword [ebx]
jmp 0x4056e7
mov ecx, eax
test ecx, ecx
je 0x405715
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40570e
push ebx
push eax
call fcn.004094bb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4056fc
call fcn.004094bb
add esp, 4
mov esp, ebp
pop ebp
ret