Function at 0x40e6f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ae90
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x4cb06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
movzx eax, word [ebp + 0xc]
cmp eax, 0x4b5
ja 0x40e956
je 0x40e8a9
sub eax, 0x3ea
cmp eax, 0xca
ja case.0x40e746.1004
movzx eax, byte [eax + 0x40eb30]
jmp dword [eax*4 + 0x40eb20]
cmp byte [0x4d0654], 0
je 0x40e7e2
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov esi, eax
test esi, esi
je 0x40e780
push 1
push 0xf060
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
mov ecx, edi
call fcn.0040ed70
mov esi, eax
push 5
mov dword [ebp - 0x10], esi
call fcn.0040ee20
mov ebx, eax
test esi, esi
je 0x40e7d8
test ebx, ebx
je 0x40e7d8
cmp esi, ebx
je 0x40e7d8
push 0
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
push 5
push dword [ebx]
call esi
mov eax, dword [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push 0xfffffffffffffff4
push dword [eax]
call esi
push 0xe900
push 0xfffffffffffffff4
push dword [ebx]
call esi
push 1
mov ecx, edi
call fcn.0040f4f0
call fcn.00441340
jmp case.0x40e746.1004
mov al, byte [0x4cbaa5]
test al, al
je 0x40e7f2
push 2
jmp 0x40eaef
cmp byte [0x4d064c], 0
je 0x40ead9
lea ecx, [ebp - 0x40]
call fcn.0044e680
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x40e819
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4cf1e0
call fcn.0040bda0
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmainframe.cpp
mov ecx, eax
call fcn.0040ab10
mov edx, str.:.
mov ecx, eax
call fcn.0040ab10
push 0x79
mov ecx, eax
call fcn.00407be0
mov edx, str.:_showing_BrowserGuard_option_dialog_box
mov ecx, eax
call fcn.0040ab10
push eax
call fcn.0040ae80
mov edx, dword [ebp - 0x2c]
add esp, 4
cmp edx, 8
jb 0x40e899
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e88f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb0a
push edx
push ecx
call fcn.0045d989
add esp, 8
push 3
mov ecx, edi
jmp 0x40eaef
push 1
jmp 0x40eaef
cmp byte [0x4d064c], 0
je 0x40ead9
lea ecx, [ebp - 0x58]
call fcn.0044e680
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x40e8d0
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4cf1e0
call fcn.0040bda0
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmainframe.cpp
mov ecx, eax
call fcn.0040ab10
mov edx, str.:.
mov ecx, eax
call fcn.0040ab10
push 0x8e
mov ecx, eax
call fcn.00407be0
mov edx, str.:_showing_BrowserGuard_option_dialog_box
mov ecx, eax
call fcn.0040ab10
push eax
call fcn.0040ae80
mov edx, dword [ebp - 0x44]
add esp, 4
cmp edx, 8
jb 0x40e899
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e88f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb0f
jmp 0x40e88f
sub eax, 0x57b
je 0x40eae0
sub eax, 1
je 0x40ea37
sub eax, 1
jne case.0x40e746.1004
lea ecx, [ebp - 0x28]
call fcn.0044e680
mov dword [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x40e98d
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4cf1e0
call fcn.0040bda0
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmainframe.cpp
mov ecx, eax
call fcn.0040ab10
mov edx, str.:.
mov ecx, eax
call fcn.0040ab10
push 0xa5
mov ecx, eax
call fcn.00407be0
mov edx, str.:_User_chose_NOT_to_install_BrowserGuard
mov ecx, eax
call fcn.0040ab10
push eax
call fcn.0040ae80
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40ea17
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ea0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb14
push edx
push ecx
call fcn.0045d989
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov ecx, edi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040f3b0
jmp case.0x40e746.1004
lea ecx, [ebp - 0x70]
call fcn.0044e680
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x40ea51
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4cf1e0
call fcn.0040bda0
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmainframe.cpp
mov ecx, eax
call fcn.0040ab10
mov edx, str.:.
mov ecx, eax
call fcn.0040ab10
push 0xa1
mov ecx, eax
call fcn.00407be0
mov edx, str.:_User_chose_to_install_BrowserGuard
mov ecx, eax
call fcn.0040ab10
push eax
call fcn.0040ae80
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x40ead7
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40eacd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb19
push edx
push ecx
call fcn.0045d989
add esp, 8
mov ecx, edi
call fcn.0040f3b0
jmp case.0x40e746.1004
mov al, byte [0x4cbaa5]
test al, al
jne 0x40e7eb
push 0
call fcn.0040f310
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 fcn.004786bc
call fcn.004786bc
call fcn.004786bc
call fcn.004786bc
nop
dec ebp
out 64, eax
add byte [edx - 0x12ffbf18], ah
ljmp 0x40