Function at 0x439b40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68962d
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x732694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], ecx
jne 0x43a580
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
cmp esi, 0x111
jne 0x439bc3
movzx eax, di
mov dword [ebp - 0x24], eax
dec eax
cmp ax, 0xb
ja 0x439bc3
lea eax, [ebp - 0x20]
shr edi, 0x10
push eax
push edx
push dword [ebp - 0x24]
mov ecx, ebx
push edi
call fcn.00438bb0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, 1
jmp 0x43a582
push 0
push ecx
push edx
push edi
push esi
push dword [ebp + 8]
mov ecx, ebx
call fcn.004266d0
test eax, eax
jne 0x439bb9
cmp esi, 1
jne 0x439c05
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
push dword [ebp - 0x28]
mov ecx, ebx
push edi
push esi
call fcn.00437f10
cmp dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
je 0x43a3f2
mov eax, esi
jmp 0x43a582
cmp esi, 2
jne 0x439c38
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
push dword [ebp - 0x28]
mov ecx, ebx
push edi
push esi
call fcn.00438180
cmp dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
je 0x43a3f2
lea eax, [esi - 1]
jmp 0x43a582
cmp esi, 0x113
jne 0x439c5f
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
push dword [ebp - 0x28]
push edi
push esi
call fcn.00439280
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, 1
jmp 0x43a582
cmp esi, 0x112
jne 0x439d89
cmp edi, 0xf060
jne 0x439ce1
cmp byte [ebx + 0x79d], 0
jne 0x439ce1
call fcn.004240e0
mov ecx, eax
call fcn.0041ae40
test eax, eax
je 0x439ce1
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x732148], 0
je 0x439cce
call fcn.004240e0
mov ecx, eax
call fcn.0041ad20
test eax, eax
je 0x439cce
push 0x698a9c
lea ecx, [ebx + 0x7d4]
call fcn.004976a0
push 0
call fcn.004240e0
mov ecx, eax
call fcn.0041b970
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a582
push dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_IsZoomed]
call esi
push dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
push edi
push 0x112
push dword [ebx + 4]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_CallWindowProcW]
push dword [ebx + 4]
mov edi, eax
call esi
mov ecx, dword [ebp - 0x24]
cmp eax, ecx
je 0x439d7a
test ecx, ecx
lea ecx, [ebx + 0x34]
push str.maxbtn
jne 0x439d48
call fcn.004505c0
test eax, eax
je 0x439d33
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0x10c]
push str.restorebtn
lea ecx, [ebx + 0x34]
call fcn.004505c0
test eax, eax
je 0x439d7a
push 1
jmp 0x439d70
call fcn.004505c0
test eax, eax
je 0x439d5d
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x10c]
push str.restorebtn
lea ecx, [ebx + 0x34]
call fcn.004505c0
test eax, eax
je 0x439d7a
push 0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x10c]
mov eax, dword [ebp - 0x1c]
mov dword [eax], edi
mov eax, 1
jmp 0x43a582
cmp esi, 0x111
jne 0x439e19
cmp edi, 0xf060
jne 0x439e06
call fcn.004ecd74
test al, al
je 0x439e06
mov eax, dword [0x73fbb0]
test eax, eax
je 0x439e06
cmp dword [eax + 4], 4
jl 0x439e06
push 0
push 0
push 0x695460
push 0x3d3
push str.CMainFrame::OnCommand
push 4
lea ecx, [ebp - 0x150]
call fcn.0041c640
mov esi, eax
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 0
push str.CMainFrame::OnCommand_SC_CLOSE
push ecx
call fcn.0041cf00
mov ecx, dword [0x73fbb0]
add esp, 8
push esi
call fcn.0041cfb0
lea ecx, [ebp - 0x150]
call fcn.0041ca70
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a582
cmp esi, 0x18
jne 0x439e3b
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
push dword [ebp - 0x28]
push edi
push esi
call fcn.00439090
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
lea eax, [esi - 0x17]
jmp 0x43a582
cmp esi, 0x4c8
jne 0x439e67
push 0x692be4
push 0x692be4
mov ecx, ebx
call fcn.0043acd0
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a582
cmp esi, 0x474
jne 0x439fa9
mov eax, dword [ebx + 0x7ac]
mov ecx, dword [ebx + 0x7b0]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
cmp eax, ecx
je 0x439e06
or edi, 0xffffffff
mov esi, dword [eax + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
test esi, esi
je 0x439ea6
lock inc dword [esi + 4]
mov esi, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], esi
mov ecx, dword [eax + 8]
mov dword [ebp - 4], 1
call fcn.0048ecb0
test al, al
je 0x439ecd
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 0
jne 0x439f18
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x439ef7
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x439ef7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x439ef7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
add eax, 8
mov dword [ebp - 0x28], eax
cmp eax, dword [ebp - 0x24]
jne 0x439e90
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a582
mov ecx, dword [eax + 0x10]
call fcn.00403aa0
mov ecx, dword [ebp - 0x20]
test al, al
sete byte [ebp - 0x24]
push dword [ebp - 0x24]
mov ecx, dword [ecx + 0x10]
call fcn.004035f0
mov eax, dword [0x740384]
test eax, eax
je 0x439f58
push 0
push 0
push 0x10
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [0x740384], 0
jmp 0x439f68
push dword [ebx + 4]
call fcn.00426ea0
add esp, 4
mov dword [0x740384], eax
test esi, esi
je 0x439e06
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x439e06
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x439e06
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a582
cmp esi, 0x5504
jne 0x43a10a
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x439e06
mov eax, dword [ebx + 0x7ac]
mov ecx, dword [ebx + 0x7b0]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], ecx
cmp eax, ecx
je 0x439e06
or edi, 0xffffffff
mov esi, dword [eax + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test esi, esi
je 0x439ff9
lock inc dword [esi + 4]
mov esi, dword [eax + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], esi
cmp dword [ecx + 0x14], 0
mov dword [ebp - 4], 2
je 0x43a021
mov ecx, dword [ecx + 0x10]
call fcn.00403a10
cmp eax, dword [ebp + 0x10]
je 0x43a06c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x43a04e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x43a04b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x43a04b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
add eax, 8
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x2c]
jne 0x439fe3
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a582
mov ecx, dword [ebp - 0x24]
push 1
push 1
push 0
mov ecx, dword [ecx + 0x10]
push dword [ebp - 0x28]
mov eax, dword [ecx]
call dword [eax + 0x188]
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x1c], 0
je 0x43a0c9
call fcn.004240e0
mov ecx, eax
call fcn.0041a3e0
sub eax, 1
je 0x43a0b4
sub eax, 1
jne 0x43a0c9
push eax
push eax
push 0x474
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x43a0c9
push 0
push 0xf030
push 0x112
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
je 0x439e06
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x439e06
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x439e06
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a582
cmp esi, 0x467
jne 0x43a211
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x439e06
mov eax, dword [ebx + 0x7ac]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x7b0]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
cmp ebx, eax
je 0x439e06
or edi, 0xffffffff
mov esi, dword [ebx + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test esi, esi
je 0x43a15b
lock inc dword [esi + 4]
mov esi, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
cmp dword [eax + 0x14], 0
mov dword [ebp - 4], 3
je 0x43a180
mov ecx, dword [eax + 0x10]
call fcn.00403a30
cmp eax, dword [ebp + 0x10]
je 0x43a1c5
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x43a1aa
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x43a1aa
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x43a1aa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
add ebx, 8
cmp ebx, dword [ebp - 0x24]
jne 0x43a145
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a582
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 8]
call fcn.00421420
test esi, esi
je 0x439e06
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x439e06
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x439e06
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a582
cmp esi, 0x465
jne 0x43a233
mov ecx, ebx
call fcn.00432b20
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a582
cmp esi, 0x4a
jne 0x43a255
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
push dword [ebp - 0x28]
push edi
push esi
call fcn.00437670
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
lea eax, [esi - 0x49]
jmp 0x43a582
cmp esi, 0x312
jne 0x43a316
cmp edi, dword [ebx + 0x7a4]
jne 0x439e06
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x43a2ae
mov ecx, ebx
call fcn.0043bb90
lea eax, [ebp - 0x2c]
push str.HotKeyBoss:Show
push eax
call fcn.00432310
add esp, 8
push dword [eax]
mov dword [ebp - 4], 4
push 0
call fcn.00424dc0
mov ecx, eax
call fcn.0040c230
mov edx, dword [ebp - 0x2c]
jmp 0x43a2e4
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x24]
push str.HotKeyBoss:Hide
push eax
call fcn.00432310
add esp, 8
push dword [eax]
mov dword [ebp - 4], 5
push 0
call fcn.00424dc0
mov ecx, eax
call fcn.0040c230
mov edx, dword [ebp - 0x24]
or eax, 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 4], eax
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439e06
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a582
cmp esi, 0x470
jne 0x43a3f2
mov ecx, ebx
test edi, edi
je 0x43a34a
lea eax, [ebp - 0x20]
push eax
push 0
push 1
push 0
call fcn.00439090
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a582
push 0x692be4
push 0x692be4
call fcn.0043acd0
push 0x692be4
push 0x692be4
mov ecx, ebx
call fcn.0043aaa0
call fcn.00428320
cmp dword [0x732144], 8
mov eax, 0x732130
mov dword [0x732140], 0
cmovae eax, dword [0x732130]
xor ecx, ecx
mov word [eax], cx
mov eax, 0x732118
cmp dword [0x73212c], 8
mov dword [0x732128], ecx
cmovae eax, dword [0x732118]
mov word [eax], cx
mov eax, 0x732100
cmp dword [0x732114], 8
mov dword [0x732110], ecx
cmovae eax, dword [0x732100]
mov word [eax], cx
mov eax, 0x7320e8
cmp dword [0x7320fc], 8
mov dword [0x7320f8], ecx
cmovae eax, dword [0x7320e8]
mov word [eax], cx
mov eax, dword [ebp - 0x1c]
mov dword [eax], ecx
lea eax, [ecx + 1]
jmp 0x43a582
cmp esi, dword [ebx + 0x7d0]
jne 0x43a414
mov ecx, ebx
call fcn.00436d20
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a582
cmp esi, 0x401
jne 0x43a55c
mov eax, dword [ebp - 0x28]
cmp eax, 0x202
jne 0x43a4b3
push str.Tray_Click_L
push 0
call fcn.00424dc0
mov ecx, eax
call fcn.0040c230
mov esi, dword [str.tray]
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x2c], esp
mov ecx, esi
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
lea edi, [ecx + 2]
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a467
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00402f30
mov dword [ebp - 4], 6
call fcn.004240e0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0041ba60
mov ecx, ebx
call fcn.0043bb90
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a582
cmp eax, 0x205
jne 0x439e06
push str.Tray_Click_R
push 0
call fcn.00424dc0
mov ecx, eax
call fcn.0040c230
push 0x794
call fcn.00447ee9
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 7
test esi, esi
je 0x43a529
push 0x794
push 0
push esi
call fcn.00517830
add esp, 0xc
mov ecx, esi
call fcn.00431a30
mov dword [esi], vtable.CTrayMenu.0
mov dword [esi + 0x24], vtable.CTrayMenu.1.0
mov dword [esi + 0x28], vtable.CTrayMenu.2.0
mov dword [esi + 0x2c], vtable.CTrayMenu.3.0
mov dword [esi + 0x30], vtable.CTrayMenu.4.0
jmp 0x43a52b
xor esi, esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebx + 4]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [eax + 0x24]
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a582
cmp esi, 0x473
jne 0x43a580
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
push dword [ebp - 0x28]
push edi
push esi
call fcn.00439030
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, 1
jmp 0x43a582
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447f77
mov esp, ebp
pop ebp
ret 0x18