Function at 0x409130
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472548
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x49c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
cmp eax, 0x7ea
ja 0x409351
je 0x40919f
cmp eax, 0x10
je 0x409194
cmp eax, 0x472
jne 0x409358
cmp dword [ebp + 0x14], 0x203
jne 0x40946b
mov eax, dword [ebx]
push 5
push 1
push 0xffffffffffffffff
call dword [eax + 0x60]
jmp 0x40946b
push ebx
call fcn.00409490
jmp 0x40946b
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x409215
mov esi, dword [ebx + 0x100]
push 0x16
lea ecx, [esi + 0x54]
cmp dword [ebp + 0x14], eax
jne 0x4091df
push 0x487394
call fcn.00409900
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40946b
push 1
mov ecx, esi
call fcn.004051b0
jmp 0x40946b
push 0x4873c4
call fcn.00409900
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40928d
push 1
mov ecx, esi
call fcn.004051b0
mov ecx, dword [ebx + 0x104]
push 0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40946b
cmp eax, 1
jne 0x40923c
cmp dword [ebp + 0x14], 0
mov ecx, dword [ebx + 0x100]
jne 0x409235
push 0x4873f8
call fcn.00406110
jmp 0x40946b
push 0x487470
jmp 0x409288
cmp eax, 2
jne 0x409263
cmp dword [ebp + 0x14], 0
mov ecx, dword [ebx + 0x100]
jne 0x40925c
push 0x4874e8
call fcn.00406110
jmp 0x40946b
push 0x487560
jmp 0x409288
cmp eax, 3
jne 0x40929f
cmp dword [ebp + 0x14], 0
mov ecx, dword [ebx + 0x100]
jne 0x409283
push 0x4875d8
call fcn.00406110
jmp 0x40946b
push 0x487650
call fcn.00406110
mov ecx, dword [ebx + 0x104]
push 0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40946b
cmp eax, 0xfffffffe
jne 0x40930d
lea ecx, [ebp + 0x10]
call fcn.004096c0
mov dword [ebp - 4], 0
lea eax, [ebp + 0x10]
cmp dword [ebp + 0x14], 0
push dword [ebx + 0x10c]
jne 0x4092de
push str.ck_W_vN
push eax
call fcn.00409d20
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov ecx, dword [ebx + 0x100]
jmp 0x4093c9
push 0x4876dc
push eax
call fcn.00409d20
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov ecx, dword [ebx + 0x100]
push esi
call fcn.00406110
mov ecx, dword [ebx + 0x104]
push 0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4093cf
cmp eax, 0xffffffff
jne 0x40946b
push 0
push dword [ebx + 0x54]
mov dword [ebx + 0x68], 2
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x200
push dword [ebx + 0x54]
mov byte [ebx + 0xc7], 1
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp + 8]
call sym.Install_rocket.exe_int___cdecl_DelTray_struct_HWND____
add esp, 4
jmp 0x40946b
cmp eax, 0x7eb
je 0x40937b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.00406b10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
xor edi, edi
mov esi, dword [ebp + 0x10]
cdq
mov dword [ebp + 8], eax
mov ecx, edx
mov dword [ebp + 0x14], ecx
push edi
test esi, esi
jne 0x40940d
push 0x400
push ecx
push eax
call fcn.00450bc0
lea ecx, [ebp + 0x14]
mov esi, eax
call fcn.004096c0
push esi
lea eax, [ebp + 0x14]
mov dword [ebp - 4], 2
push 0x487720
push eax
call fcn.00409d20
add esp, 0xc
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebx + 0x104]
push esi
call fcn.00406110
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40946b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x409481
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x40946b
push 0x64
push ecx
push eax
call fcn.00450a50
push edi
push esi
push edx
push eax
call fcn.00450bc0
push 0
push 0x400
push dword [ebp + 0x14]
mov edi, eax
push dword [ebp + 8]
call fcn.00450bc0
mov esi, eax
xor ecx, ecx
mov eax, dword [ebp + 0x10]
shrd eax, ecx, 0xa
lea ecx, [ebp + 0x14]
mov dword [ebp + 0x10], eax
call fcn.004096c0
mov dword [ebp - 4], 1
lea eax, [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push edi
push 0x4876f4
push eax
call fcn.00409d20
add esp, 0x14
jmp 0x4093c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call edx
jmp 0x40946b