Function at 0x1004fda0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101486d4
mov eax, dword fs:[0]
push eax
sub esp, 0x164
push ebx
push esi
mov eax, dword [0x1018d0d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp eax, 0x4002
jne 0x1004fe6a
call fcn.1000af50
cmp eax, 1
jg 0x1004fe38
push 1
push 0x5e8
push str.srcksafe_host.cpp
lea ecx, [ebp - 0xc0]
call fcn.1000afc0
push str._EXIT_HOST_PROCESS
push str.CSafeHost::TryCommonMsgFilter
mov dword [ebp - 4], ebx
add eax, 8
push str.SAFE_
mov ebx, 1
push eax
mov dword [ebp - 0x10], ebx
call fcn.100025d0
add esp, 8
push eax
call fcn.100025d0
add esp, 8
push eax
call fcn.100025d0
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x1004fe4f
lea ecx, [ebp - 0xc0]
call fcn.1000b010
mov eax, dword [esi + 0xf78]
push 0
push 0x4000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 0x4000
jne 0x1004ff11
call fcn.1000af50
cmp eax, 1
jg 0x1004fed2
push 1
push 0x5f0
push str.srcksafe_host.cpp
lea ecx, [ebp - 0xc0]
call fcn.1000afc0
push str._DISABLE_SELF_PROTECT
push str.CSafeHost::TryCommonMsgFilter
add eax, 8
mov dword [ebp - 4], 1
push str.SAFE_
mov ebx, 2
push eax
mov dword [ebp - 0x10], ebx
call fcn.100025d0
add esp, 8
push eax
call fcn.100025d0
add esp, 8
push eax
call fcn.100025d0
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x1004fee9
lea ecx, [ebp - 0xc0]
call fcn.1000b010
mov eax, dword [esi + 0xf78]
push 0
push 0x4000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x4001
jne 0x1004ffb8
call fcn.1000af50
cmp eax, 1
jg 0x1004ff79
push 1
push 0x5f5
push str.srcksafe_host.cpp
lea ecx, [ebp - 0xc0]
call fcn.1000afc0
push str._ENABLE_SELF_PROTECT
push str.CSafeHost::TryCommonMsgFilter
add eax, 8
mov dword [ebp - 4], 2
push str.SAFE_
mov ebx, 4
push eax
mov dword [ebp - 0x10], ebx
call fcn.100025d0
add esp, 8
push eax
call fcn.100025d0
add esp, 8
push eax
call fcn.100025d0
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 4
je 0x1004ff90
lea ecx, [ebp - 0xc0]
call fcn.1000b010
mov eax, dword [esi + 0xf78]
push 0
push 0x4001
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x400b
jne 0x1004ffe3
mov eax, dword [esi + 0xec8]
lea ecx, [esi + 0xec8]
call dword [eax + 8]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x4008
jne 0x10050097
call fcn.1000af50
cmp eax, 1
jg 0x1005004a
push 1
push 0x5fe
push str.srcksafe_host.cpp
lea ecx, [ebp - 0xc0]
call fcn.1000afc0
push str._ENABLE_BROWSER_PROTECT
mov ebx, 8
mov dword [ebp - 4], 3
push str.CSafeHost::TryCommonMsgFilter
add eax, ebx
mov dword [ebp - 0x10], ebx
push str.SAFE_
push eax
call fcn.100025d0
add esp, 8
push eax
call fcn.100025d0
add esp, 8
push eax
call fcn.100025d0
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 8
je 0x10050061
lea ecx, [ebp - 0xc0]
call fcn.1000b010
mov ecx, esi
mov byte [0x1018f00c], 1
call fcn.1004f5d0
mov eax, dword [esi + 0xf78]
push 0
push 0x4008
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x4007
jne 0x1005014c
call fcn.1000af50
cmp eax, 1
jg 0x100500ff
push 1
push 0x605
push str.srcksafe_host.cpp
lea ecx, [ebp - 0xc0]
call fcn.1000afc0
push str._DISABLE_BROWSER_PROTECT
push str.CSafeHost::TryCommonMsgFilter
add eax, 8
mov dword [ebp - 4], 4
push str.SAFE_
mov ebx, 0x10
push eax
mov dword [ebp - 0x10], ebx
call fcn.100025d0
add esp, 8
push eax
call fcn.100025d0
add esp, 8
push eax
call fcn.100025d0
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 0x10
je 0x10050116
lea ecx, [ebp - 0xc0]
call fcn.1000b010
mov ecx, esi
mov byte [0x1018f00c], 0
call fcn.1004f6b0
mov eax, dword [esi + 0xf78]
push 0
push 0x4007
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x400c
jne 0x1005028a
call fcn.1000af50
cmp eax, 1
jg 0x100501b4
push 1
push 0x60c
push str.srcksafe_host.cpp
lea ecx, [ebp - 0xc0]
call fcn.1000afc0
push str._DOWNLOAD_DUBA
push str.CSafeHost::TryCommonMsgFilter
add eax, 8
mov dword [ebp - 4], 5
push str.SAFE_
mov ebx, 0x20
push eax
mov dword [ebp - 0x10], ebx
call fcn.100025d0
add esp, 8
push eax
call fcn.100025d0
add esp, 8
push eax
call fcn.100025d0
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 0x20
je 0x100501ce
lea ecx, [ebp - 0xc0]
and ebx, 0xffffffdf
call fcn.1000b010
mov eax, dword [esi + 0xf70]
push 0x10153f00
push eax
mov ecx, dword [eax]
call dword [ecx]
mov ecx, eax
test ecx, ecx
jne 0x1005026f
call fcn.1000af50
cmp eax, 1
jg 0x10050243
push 1
push 0x60f
push str.srcksafe_host.cpp
lea ecx, [ebp - 0x170]
call fcn.1000afc0
push 0x10153f10
push str.CSafeHost::TryCommonMsgFilter
add eax, 8
mov dword [ebp - 4], 6
push str.SAFE_
or ebx, 0x40
push eax
mov dword [ebp - 0x10], ebx
call fcn.100025d0
add esp, 8
push eax
call fcn.100025d0
add esp, 8
push eax
call fcn.100025d0
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 0x40
je 0x10050275
lea ecx, [ebp - 0x170]
call fcn.1000b010
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8