Function at 0x4046a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42eab6
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push esi
push edi
mov eax, dword [0x43f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 8
mov dword [ebp - 0x10], 0
mov ecx, 0x441000
call fcn.004110e0
test eax, eax
jne 0x4046f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00415120
ucomisd xmm0, qword [0x439440]
lahf
test ah, 0x44
jnp 0x40496b
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call edi
cmp eax, 1
je 0x40486a
call edi
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHandleCount]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0xffffffff
je 0x404840
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00404070
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], 0
test eax, eax
je 0x404778
push eax
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x5c]
call dword [eax + 0xc]
push str.32430000CEC1E504CD82AEAA473572421393B5B16C6C43C66F39BB0CB1526BB00FD8CD1301A43DB1DB7327AA79516E180C2F2AB658D852E94A20A1FDB093487852655A2C59E66963A39BEB9B021E9EE29C837601512B258638FBEFD8DBC49FE79551550C353E87B5D45E9A3AACBE589A92CED849D99D4EC678D0B4C8C9419DADCCD91802201B2EADC22BDA530A985D3D615B2F79C79406304060DBBD6EA08D01B9E497E70448ADAAC87B35B78548A83AFDC03BDB55A9E08B
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
call fcn.00412ae0
push ecx
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x30]
call fcn.0040c5e0
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.004034e0
mov edx, 0x14
lea ecx, [ebp - 0x30]
call fcn.00401490
mov ecx, 1
mov esi, eax
mov dword [ebp - 0x10], ecx
and ecx, 0xfffffffe
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00403fe0
cmp esi, 1
jne 0x4048f9
push 0x437bc0
lea ecx, [ebp - 0x6c]
call fcn.004030d0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x30]
push eax
call fcn.004120f0
mov edx, eax
mov byte [ebp - 4], 3
call fcn.00402b60
mov ecx, eax
call fcn.00407690
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00403fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00402de0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call edi
test eax, eax
jne 0x404848
call edi
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4048f9
lea ecx, [ebp - 0x40]
call fcn.00404070
mov dword [ebp - 4], 4
mov dword [ebp - 0x40], vtable.CWConstString.0
mov dword [ebp - 0x34], 0x437bb8
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x6c]
call fcn.00404070
mov byte [ebp - 4], 6
mov dword [ebp - 0x6c], vtable.CWConstString.0
mov dword [ebp - 0x60], str.system_error
mov byte [ebp - 4], 7
mov ecx, 0x437bc0
mov edx, dword [ebp - 0x34]
test edx, edx
jne 0x4048c2
cmp dword [ebp - 0x1c], 0
mov edx, ecx
cmovne edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x4048d2
cmp dword [ebp - 0x48], eax
cmovne ecx, dword [ebp - 0x50]
mov eax, ecx
push 0
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6c]
call fcn.004034e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004034e0
lea ecx, [ebp - 0x6c]
call fcn.00404070
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x6c], vtable.CWConstString.0
mov dword [ebp - 0x60], 0x437bc0
mov dword [ebp - 4], 0xd
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x30]
call fcn.004120f0
mov byte [ebp - 4], 0xe
mov edx, eax
mov ecx, dword [0x441020]
call fcn.00407690
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x30]
call fcn.00403fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004034e0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x437bb8
lea ecx, [ebp - 0x40]
call fcn.004030d0
mov esi, eax
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x6c]
push str.error_system_time
call fcn.004030d0
mov edx, eax
mov byte [ebp - 4], 0xb
mov ecx, esi
push 0
call fcn.00402b40
push eax
mov ecx, edx
call fcn.00402b40
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x6c]
call fcn.00402de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402de0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]