Function at 0x402a80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x45e560]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push ecx
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x402ad0
push 0x34
push 0x4534e8
push 0x4534f0
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x402e1e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call fcn.0042e154
mov dword [ebp - 0xc], 0
call fcn.0042e154
lea eax, [ebp - 0xc]
push eax
push str.53_56_8B_71_64_52_8B_C8
push ecx
push 0x400000
mov ecx, esi
call fcn.00402480
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
add esp, 0x10
test al, al
mov eax, dword [ebp - 0xc]
je 0x402b20
push 0
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
sub eax, 0x16
push eax
push esi
call edi
mov eax, dword [ebp - 8]
mov dword [0x464304], eax
mov dword [ebp - 0xc], 0
call fcn.0042e154
lea eax, [ebp - 0xc]
push eax
push str.53_56_8B_71_64_52_8B_C8
push ecx
push 0x400000
mov ecx, esi
call fcn.00402480
add esp, 0x10
test al, al
mov eax, dword [ebp - 0xc]
je 0x402b6a
push 0
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
sub eax, 4
push eax
push esi
call edi
mov eax, dword [ebp - 8]
mov dword [0x464300], eax
mov dword [ebp - 0xc], 0
call fcn.0042e154
lea eax, [ebp - 0xc]
push eax
push str.8B_11_FF_52_3C_8B_00_53_50
push ecx
push 0x600000
mov ecx, esi
call fcn.00402480
add esp, 0x10
test al, al
mov eax, dword [ebp - 0xc]
je 0x402bb4
push 0
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
sub eax, 4
push eax
push esi
call edi
mov eax, dword [ebp - 8]
mov dword [0x4641f4], eax
mov dword [ebp - 0xc], 0
call fcn.0042e154
lea eax, [ebp - 0xc]
push eax
push str.C6_45_FC_BB_C7_05_________B6_01_00_00
push ecx
push 0x800000
mov ecx, esi
call fcn.00402480
add esp, 0x10
test al, al
mov eax, dword [ebp - 0xc]
je 0x402bfe
push 0
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
sub eax, 0xf
push eax
push esi
call edi
mov eax, dword [ebp - 8]
mov dword [0x4640ec], eax
test eax, eax
jne 0x402c4d
mov dword [ebp - 0xc], eax
call fcn.0042e154
lea eax, [ebp - 0xc]
push eax
push str.C6_45_FC_BC_C7_05_________B6_01_00_00
push ecx
push 0x800000
mov ecx, esi
call fcn.00402480
add esp, 0x10
test al, al
mov eax, dword [ebp - 0xc]
je 0x402c48
push 0
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
sub eax, 0xf
push eax
push esi
call edi
mov eax, dword [ebp - 8]
mov dword [0x4640ec], eax
mov dword [ebp - 0xc], 0
call fcn.0042e154
lea eax, [ebp - 0xc]
push eax
push str.88_5D_FC_C7_05_________FB_01_00_00
push ecx
push 0x800000
mov ecx, esi
call fcn.00402480
add esp, 0x10
test al, al
mov eax, dword [ebp - 0xc]
je 0x402c92
push 0
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
sub eax, 0xf
push eax
push esi
call edi
mov eax, dword [ebp - 8]
mov dword [0x463dd4], eax
test eax, eax
jne 0x402ce1
mov dword [ebp - 0xc], eax
call fcn.0042e154
lea eax, [ebp - 0xc]
push eax
push str.C6_45_FC_02_C7_05_________FB_01_00_00
push ecx
push 0x800000
mov ecx, esi
call fcn.00402480
add esp, 0x10
test al, al
mov eax, dword [ebp - 0xc]
je 0x402cdc
push 0
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
sub eax, 0xf
push eax
push esi
call edi
mov eax, dword [ebp - 8]
mov dword [0x463dd4], eax
mov dword [ebp - 0xc], 0
call fcn.0042e154
lea eax, [ebp - 0xc]
push eax
push str.C6_45_FC_02_C7_05_________05_00_00_00
push ecx
push 0x600000
mov ecx, esi
call fcn.00402480
add esp, 0x10
test al, al
mov eax, dword [ebp - 0xc]
je 0x402d26
push 0
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
sub eax, 0xf
push eax
push esi
call edi
mov eax, dword [ebp - 8]
mov dword [0x463fe4], eax
mov dword [ebp - 0xc], 0
call fcn.0042e154
lea eax, [ebp - 0xc]
push eax
push str.46_83_FE_02_C7_05_________00_00_00_00
push ecx
push 0x400000
mov ecx, esi
call fcn.00402480
add esp, 0x10
test al, al
mov eax, dword [ebp - 0xc]
je 0x402d70
push 0
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
sub eax, 0xb
push eax
push esi
call edi
mov eax, dword [ebp - 8]
mov dword [0x463d6c], eax
mov dword [ebp - 0xc], 0
call fcn.0042e154
lea eax, [ebp - 0xc]
push eax
push str.8B_11_83_F8_01_0F_94_C0_50_8B_46_50_50_8B_46_48_50
push ecx
push 0x600000
mov ecx, esi
call fcn.00402480
add esp, 0x10
test al, al
mov eax, dword [ebp - 0xc]
je 0x402dba
push 0
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
sub eax, 4
push eax
push esi
call edi
mov eax, dword [ebp - 8]
mov dword [0x4642fc], eax
mov dword [ebp - 0xc], 0
call fcn.0042e154
lea eax, [ebp - 0xc]
push eax
push str.85_C0_____8B_8E_________8B_01_FF_50_30
push ecx
push 0x400000
mov ecx, esi
call fcn.00402480
add esp, 0x10
test al, al
mov eax, dword [ebp - 0xc]
je 0x402e04
push 0
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
add eax, 6
push eax
push esi
call edi
mov eax, dword [ebp - 8]
mov dword [0x463edc], eax
test esi, esi
je 0x402e14
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x464308], 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042d7a3
mov esp, ebp
pop ebp
ret