Function at 0x439a00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68934d
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 0x43a440
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
cmp esi, 0x111
jne 0x439a83
movzx eax, di
mov dword [ebp - 0x24], eax
dec eax
cmp ax, 0xb
ja 0x439a83
lea eax, [ebp - 0x20]
shr edi, 0x10
push eax
push edx
push dword [ebp - 0x24]
mov ecx, ebx
push edi
call fcn.00438a70
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, 1
jmp 0x43a442
push 0
push ecx
push edx
push edi
push esi
push dword [ebp + 8]
mov ecx, ebx
call fcn.004265a0
test eax, eax
jne 0x439a79
cmp esi, 1
jne 0x439ac5
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
push dword [ebp - 0x28]
mov ecx, ebx
push edi
push esi
call fcn.00437dd0
cmp dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
je 0x43a2b2
mov eax, esi
jmp 0x43a442
cmp esi, 2
jne 0x439af8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
push dword [ebp - 0x28]
mov ecx, ebx
push edi
push esi
call fcn.00438040
cmp dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
je 0x43a2b2
lea eax, [esi - 1]
jmp 0x43a442
cmp esi, 0x113
jne 0x439b1f
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
push dword [ebp - 0x28]
push edi
push esi
call fcn.00439140
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, 1
jmp 0x43a442
cmp esi, 0x112
jne 0x439c49
cmp edi, 0xf060
jne 0x439ba1
cmp byte [ebx + 0x79d], 0
jne 0x439ba1
call fcn.00423fb0
mov ecx, eax
call fcn.0041ae40
test eax, eax
je 0x439ba1
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x732148], 0
je 0x439b8e
call fcn.00423fb0
mov ecx, eax
call fcn.0041ad20
test eax, eax
je 0x439b8e
push 0x698a9c
lea ecx, [ebx + 0x7d4]
call fcn.004974e0
push 0
call fcn.00423fb0
mov ecx, eax
call fcn.0041b970
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a442
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 0x439c3a
test ecx, ecx
lea ecx, [ebx + 0x34]
push str.maxbtn
jne 0x439c08
call fcn.00450430
test eax, eax
je 0x439bf3
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0x10c]
push str.restorebtn
lea ecx, [ebx + 0x34]
call fcn.00450430
test eax, eax
je 0x439c3a
push 1
jmp 0x439c30
call fcn.00450430
test eax, eax
je 0x439c1d
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x10c]
push str.restorebtn
lea ecx, [ebx + 0x34]
call fcn.00450430
test eax, eax
je 0x439c3a
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 0x43a442
cmp esi, 0x111
jne 0x439cd9
cmp edi, 0xf060
jne 0x439cc6
call fcn.004ecb09
test al, al
je 0x439cc6
mov eax, dword [0x73fbb0]
test eax, eax
je 0x439cc6
cmp dword [eax + 4], 4
jl 0x439cc6
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 0x43a442
cmp esi, 0x18
jne 0x439cfb
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
push dword [ebp - 0x28]
push edi
push esi
call fcn.00438f50
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
lea eax, [esi - 0x17]
jmp 0x43a442
cmp esi, 0x4c8
jne 0x439d27
push 0x692be4
push 0x692be4
mov ecx, ebx
call fcn.0043ab90
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a442
cmp esi, 0x474
jne 0x439e69
mov eax, dword [ebx + 0x7ac]
mov ecx, dword [ebx + 0x7b0]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
cmp eax, ecx
je 0x439cc6
or edi, 0xffffffff
mov esi, dword [eax + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
test esi, esi
je 0x439d66
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.0048eaf0
test al, al
je 0x439d8d
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 0
jne 0x439dd8
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x439db7
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x439db7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x439db7
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 0x439d50
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a442
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 0x439e18
push 0
push 0
push 0x10
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [0x740384], 0
jmp 0x439e28
push dword [ebx + 4]
call fcn.00426d70
add esp, 4
mov dword [0x740384], eax
test esi, esi
je 0x439cc6
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x439cc6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x439cc6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a442
cmp esi, 0x5504
jne 0x439fca
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x439cc6
mov eax, dword [ebx + 0x7ac]
mov ecx, dword [ebx + 0x7b0]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], ecx
cmp eax, ecx
je 0x439cc6
or edi, 0xffffffff
mov esi, dword [eax + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test esi, esi
je 0x439eb9
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 0x439ee1
mov ecx, dword [ecx + 0x10]
call fcn.00403a10
cmp eax, dword [ebp + 0x10]
je 0x439f2c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x439f0e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x439f0b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x439f0b
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 0x439ea3
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a442
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 0x439f89
call fcn.00423fb0
mov ecx, eax
call fcn.0041a3e0
sub eax, 1
je 0x439f74
sub eax, 1
jne 0x439f89
push eax
push eax
push 0x474
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x439f89
push 0
push 0xf030
push 0x112
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
je 0x439cc6
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x439cc6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x439cc6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a442
cmp esi, 0x467
jne 0x43a0d1
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x439cc6
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 0x439cc6
or edi, 0xffffffff
mov esi, dword [ebx + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test esi, esi
je 0x43a01b
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 0x43a040
mov ecx, dword [eax + 0x10]
call fcn.00403a30
cmp eax, dword [ebp + 0x10]
je 0x43a085
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x43a06a
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x43a06a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x43a06a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
add ebx, 8
cmp ebx, dword [ebp - 0x24]
jne 0x43a005
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a442
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 8]
call fcn.004212f0
test esi, esi
je 0x439cc6
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x439cc6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x439cc6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a442
cmp esi, 0x465
jne 0x43a0f3
mov ecx, ebx
call fcn.004329f0
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a442
cmp esi, 0x4a
jne 0x43a115
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
push dword [ebp - 0x28]
push edi
push esi
call fcn.00437530
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
lea eax, [esi - 0x49]
jmp 0x43a442
cmp esi, 0x312
jne 0x43a1d6
cmp edi, dword [ebx + 0x7a4]
jne 0x439cc6
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x43a16e
mov ecx, ebx
call fcn.0043ba50
lea eax, [ebp - 0x2c]
push str.HotKeyBoss:Show
push eax
call fcn.004321e0
add esp, 8
push dword [eax]
mov dword [ebp - 4], 4
push 0
call fcn.00424c90
mov ecx, eax
call fcn.0040c230
mov edx, dword [ebp - 0x2c]
jmp 0x43a1a4
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.004321e0
add esp, 8
push dword [eax]
mov dword [ebp - 4], 5
push 0
call fcn.00424c90
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 0x439cc6
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 0x43a442
cmp esi, 0x470
jne 0x43a2b2
mov ecx, ebx
test edi, edi
je 0x43a20a
lea eax, [ebp - 0x20]
push eax
push 0
push 1
push 0
call fcn.00438f50
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a442
push 0x692be4
push 0x692be4
call fcn.0043ab90
push 0x692be4
push 0x692be4
mov ecx, ebx
call fcn.0043a960
call fcn.004281f0
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 0x43a442
cmp esi, dword [ebx + 0x7d0]
jne 0x43a2d4
mov ecx, ebx
call fcn.00436bf0
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a442
cmp esi, 0x401
jne 0x43a41c
mov eax, dword [ebp - 0x28]
cmp eax, 0x202
jne 0x43a373
push str.Tray_Click_L
push 0
call fcn.00424c90
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 0x43a327
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00402f30
mov dword [ebp - 4], 6
call fcn.00423fb0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0041ba60
mov ecx, ebx
call fcn.0043ba50
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, 1
jmp 0x43a442
cmp eax, 0x205
jne 0x439cc6
push str.Tray_Click_R
push 0
call fcn.00424c90
mov ecx, eax
call fcn.0040c230
push 0x794
call fcn.00447d59
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 7
test esi, esi
je 0x43a3e9
push 0x794
push 0
push esi
call fcn.005175d0
add esp, 0xc
mov ecx, esi
call fcn.00431900
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 0x43a3eb
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 0x43a442
cmp esi, 0x473
jne 0x43a440
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
push dword [ebp - 0x28]
push edi
push esi
call fcn.00438ef0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, 1
jmp 0x43a442
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.00447de7
mov esp, ebp
pop ebp
ret 0x18