Function at 0x40903e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x884
push edi
mov dword [ebp - 0x884], ecx
push 0
call fcn.004092c1
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4091ec
mov eax, dword [ebp + 8]
and eax, 0xff
test eax, eax
je 0x40910c
mov byte [ebp - 0x43c], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x43b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x3c], 0
mov ecx, 0xc
xor eax, eax
lea edi, [ebp - 0x3b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea ecx, [ebp - 0x3c]
push ecx
push 0x418cf0
push 0x418cfc
push 0x418d04
mov ecx, 0x419598
call fcn.0040298e
lea edx, [ebp - 0x43c]
push edx
push 0x418d10
push 0x418d1c
push 0x418d24
mov ecx, 0x419598
call fcn.0040298e
push 0x21
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x43c]
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 2
jne 0x40910c
xor eax, eax
jmp 0x4092ba
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push 0x2710
push 0
push 0
push 0
push 0x402
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
push 0
push 0x2710
push 0
push 0
push 0
push 0x401
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 8]
push eax
call fcn.0040974f
add esp, 4
cmp eax, 1
jne 0x4091aa
mov ecx, dword [ebp - 8]
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x444], eax
lea edx, [ebp - 0x448]
push edx
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x448]
push ecx
mov edx, dword [ebp - 0x444]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x418d30
push 0x418d3c
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 4], eax
push 0
push 0
push str.CTCHP_INNEREXITMSG
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040a135
jmp 0x4092b5
push 0
call fcn.0040974f
add esp, 4
cmp eax, 1
jne 0x4092b5
mov ecx, dword [ebp + 8]
and ecx, 0xff
test ecx, ecx
je 0x4092b0
mov byte [ebp - 0x87c], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x87b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x47c], 0
mov ecx, 0xc
xor eax, eax
lea edi, [ebp - 0x47b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea edx, [ebp - 0x47c]
push edx
push str.TIPCAPTION2
push 0x418d64
push 0x418d6c
mov ecx, 0x419598
call fcn.0040298e
lea eax, [ebp - 0x87c]
push eax
push str.zString6
push 0x418d84
push 0x418d8c
mov ecx, 0x419598
call fcn.0040298e
push 0x21
lea ecx, [ebp - 0x47c]
push ecx
lea edx, [ebp - 0x87c]
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x880], eax
cmp dword [ebp - 0x880], 2
jne 0x4092b0
xor eax, eax
jmp 0x4092ba
call fcn.0040a135
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 4