Function at 0x40cb30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af530
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x4e606c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
movzx eax, word [ebp + 0xc]
cmp eax, 0x4b4
ja 0x40cda2
je 0x40ccf5
sub eax, 0x3eb
cmp eax, 0xc8
ja case.0x40cb86.1005
movzx eax, byte [eax + 0x40cf7c]
jmp dword [eax*4 + 0x40cf6c]
cmp byte [0x4eb9f5], 0
je 0x40cc2e
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov esi, eax
test esi, esi
je 0x40cbc0
push 1
push 0xf060
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
call fcn.00447800
mov ecx, edi
call fcn.0040d3f0
mov esi, eax
push 5
mov dword [ebp - 0x10], esi
call fcn.0040d4a0
mov ebx, eax
test esi, esi
je case.0x40cb86.1005
test ebx, ebx
je case.0x40cb86.1005
cmp esi, ebx
je case.0x40cb86.1005
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.0040dc10
jmp case.0x40cb86.1005
mov al, byte [0x4e6ac5]
test al, al
je 0x40cc3e
push 2
jmp 0x40cf3b
cmp byte [0x4eb9e7], 0
je 0x40cf25
lea ecx, [ebp - 0x40]
call fcn.0045ebe0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x40cc65
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4ea4d8
call fcn.00410550
add esp, 4
mov edx, 0x4c9108
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x79
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_showing_BrowserGuard_screen
mov ecx, eax
call fcn.0040f730
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x2c]
add esp, 4
cmp edx, 8
jb 0x40cce5
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ccdb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cf56
push edx
push ecx
call fcn.0046e8d1
add esp, 8
push 3
mov ecx, edi
jmp 0x40cf3b
push 1
jmp 0x40cf3b
cmp byte [0x4eb9e7], 0
je 0x40cf25
lea ecx, [ebp - 0x58]
call fcn.0045ebe0
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x40cd1c
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4ea4d8
call fcn.00410550
add esp, 4
mov edx, 0x4c9108
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x8e
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_showing_BrowserGuard_screen
mov ecx, eax
call fcn.0040f730
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x44]
add esp, 4
cmp edx, 8
jb 0x40cce5
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ccdb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cf5b
jmp 0x40ccdb
sub eax, 0x51d
je 0x40cf2c
sub eax, 1
je 0x40ce83
sub eax, 1
jne case.0x40cb86.1005
lea ecx, [ebp - 0x28]
call fcn.0045ebe0
mov dword [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x40cdd9
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4ea4d8
call fcn.00410550
add esp, 4
mov edx, 0x4c9108
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0xa5
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_User_chose_NOT_to_install_BrowserGuard
mov ecx, eax
call fcn.0040f730
push eax
call fcn.0040faa0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40ce63
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ce59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cf60
push edx
push ecx
call fcn.0046e8d1
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.0040da30
jmp case.0x40cb86.1005
lea ecx, [ebp - 0x70]
call fcn.0045ebe0
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x40ce9d
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4ea4d8
call fcn.00410550
add esp, 4
mov edx, 0x4c9108
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0xa1
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_User_chose_to_install_BrowserGuard
mov ecx, eax
call fcn.0040f730
push eax
call fcn.0040faa0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x40cf23
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cf19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cf65
push edx
push ecx
call fcn.0046e8d1
add esp, 8
mov ecx, edi
call fcn.0040da30
jmp case.0x40cb86.1005
mov al, byte [0x4e6ac5]
test al, al
jne 0x40cc37
push 0
call fcn.0040d990
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.0048981c
call fcn.0048981c
call fcn.0048981c
call fcn.0048981c
nop
invalid