Function at 0x420d30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov esi, ecx
jne 0x420f77
mov edi, dword [ebp + 0xc]
cmp edi, 0x113
jne 0x420e66
cmp dword [ebp + 0x10], 0xa0a
mov dword [esi + 0x3d0], 0
jne 0x420e93
mov ecx, dword [esi + 0x3c8]
test ecx, ecx
je 0x420e93
mov eax, dword [esi + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
movlpd qword [ebp - 0x24], xmm0
push eax
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x30], 0x1c
movlpd qword [ebp - 0x1c], xmm0
call ecx
lea eax, [ebp - 0x3c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x3c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 0x38]
lea eax, [ebp - 0x14]
push dword [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov dword [ebp - 0x34], eax
cmp dword [esi + 0x3cc], eax
je 0x420e93
push eax
push str.bInTrayIcon___d_n
call fcn.0041dc40
add esp, 8
lea eax, [esi + 0x45c]
test esi, esi
mov ecx, 0x488
cmove eax, ecx
cmp dword [ebp - 0x34], 0
mov dword [ebp - 0x40], eax
mov eax, dword [eax]
je 0x420e52
lea ecx, [ebp - 0x24]
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x20]
push 0x51
push 0
push 0
push eax
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x40]
push 0xffffffffffffffff
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x3cc], eax
jmp 0x420e93
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x3cc], eax
jmp 0x420e93
cmp edi, 1
jne 0x420eba
push 0
test esi, esi
mov dword [esi + 0x3d0], 0
mov ecx, 4
lea eax, [esi - 0x28]
push 0x64
cmove eax, ecx
push 0xa0a
push dword [eax]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx], 0
cmp dword [esi + 0x3d0], 0
je 0x420ef2
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 2
jne 0x420ef2
mov ecx, 4
mov dword [esi + 0x3d0], 0
test esi, esi
lea eax, [esi - 0x28]
push 0xa0a
cmove eax, ecx
push dword [eax]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [ebx], 0
cmp dword [esi + 0x3d0], 0
jne 0x420f5f
cmp edi, dword [esi]
jne 0x420f37
cmp dword [esi + 8], 0
mov dword [esi + 0x3d0], 1
je 0x420f28
lea eax, [esi + 0xc]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov dword [esi + 8], eax
test eax, eax
jne 0x420f28
lea eax, [esi + 0xc]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov dword [esi + 8], eax
mov dword [ebx], 0
cmp dword [esi + 0x3d0], 0
jne 0x420f5f
cmp edi, dword [esi + 4]
jne 0x420f77
push dword [ebp + 0x14]
mov ecx, esi
mov dword [esi + 0x3d0], 1
push dword [ebp + 0x10]
push edi
call fcn.0041f370
mov dword [ebx], eax
cmp dword [esi + 0x3d0], 0
je 0x420f77
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c75e
mov esp, ebp
pop ebp
ret 0x18