Function at 0x401c90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
cmp eax, 0x111
jne 0x40235d
mov eax, dword [ecx + 8]
cmp eax, 0x7f37
jne 0x401d95
call fcn.004014e0
call fcn.00401c10
xor ecx, ecx
call fcn.00401b80
xor ebx, ebx
cmp eax, ebx
jle 0x401d5a
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [sym.imp.USER32.dll_SendInput]
mov dword [esp + 0xc], eax
push 0x1c
lea edx, [esp + 0x18]
push edx
xor eax, eax
mov ecx, 0xe
push 1
mov dword [esp + 0x20], 1
mov word [esp + 0x24], ax
mov word [esp + 0x26], cx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], 8
mov dword [esp + 0x30], ebx
call esi
push ebx
call edi
push 0x1c
lea edx, [esp + 0x18]
push edx
xor eax, eax
mov ecx, 0xe
push 1
mov dword [esp + 0x20], 1
mov word [esp + 0x24], ax
mov word [esp + 0x26], cx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], 0xa
mov dword [esp + 0x30], ebx
call esi
sub dword [esp + 0xc], 1
jne 0x401ce8
xor edi, edi
cmp dword [0x58a7f8], ebx
jle 0x401d81
mov esi, 0x4087e8
lea esp, [esp]
call fcn.004015f0
inc edi
add esi, 0x14
cmp edi, dword [0x58a7f8]
jl 0x401d70
mov dword [0x58a7f0], ebx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x7f38
jne 0x401f06
call fcn.004014e0
push 0xa0
call fcn.004015b0
add esp, 4
call dword [sym.imp.USER32.dll_GetClipboardSequenceNumber]
mov ecx, 0x1d
mov ebx, eax
call fcn.00401730
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call esi
mov ecx, 0x2e
call fcn.00401730
push 1
call esi
mov ecx, 0x2e
call fcn.00401770
mov ecx, 0x1d
call fcn.00401770
call fcn.00401860
test eax, eax
je 0x401eee
call fcn.004018a0
test eax, eax
je 0x401ec6
push 1
mov ecx, 0x58a840
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
call fcn.00401960
push 0xffffffffffffffff
mov ecx, 0x58a840
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push 1
mov ecx, 0x58a840
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
call fcn.004017b0
add esp, 4
test eax, eax
je 0x401e9e
mov ecx, 0x1d
call fcn.00401730
push 1
call esi
mov ecx, 0x2f
call fcn.00401730
push 1
call esi
mov ecx, 0x2f
call fcn.00401770
mov ecx, 0x1d
call fcn.00401770
xor ebx, ebx
cmp dword [0x58a800], ebx
je 0x401e8a
push 0xa0
call fcn.00401570
add esp, 4
mov dword [0x58a7f0], ebx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 5
call esi
mov eax, dword [edi + 0x30]
push 0
push 0x7f39
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 5
call esi
mov ecx, dword [edi + 0x30]
push 0
push 0x7f38
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [0x58a7f0], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x7f39
jne 0x401fb8
push 1
mov ecx, 0x58a840
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
call fcn.004017b0
add esp, 4
test eax, eax
je 0x401f8c
mov ecx, 0x1d
call fcn.00401730
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call esi
mov ecx, 0x2f
call fcn.00401730
push 1
call esi
mov ecx, 0x2f
call fcn.00401770
mov ecx, 0x1d
call fcn.00401770
xor ebx, ebx
cmp dword [0x58a800], ebx
je 0x401f78
push 0xa0
call fcn.00401570
add esp, 4
mov dword [0x58a7f0], ebx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [edi + 0x30]
push 0
push 0x7f39
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x7f3a
jne 0x402128
call fcn.004014e0
mov eax, dword [0x58a7f8]
xor ebx, ebx
dec eax
cmp eax, ebx
mov dword [esp + 0xc], ebx
jl 0x401ff6
lea ecx, [eax + eax*4]
lea ecx, [ecx*4 + 0x4087e8]
cmp dword [ecx], 0x20
je 0x401ff1
dec eax
sub ecx, 0x14
cmp eax, ebx
jge 0x401fe2
jmp 0x401ff6
inc eax
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc]
call fcn.00401b80
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jle 0x402088
mov dword [esp + 0x10], eax
lea ecx, [ecx]
mov edi, dword [sym.imp.USER32.dll_SendInput]
push 0x1c
lea edx, [esp + 0x18]
push edx
xor eax, eax
mov ecx, 0xe
push 1
mov dword [esp + 0x20], 1
mov word [esp + 0x24], ax
mov word [esp + 0x26], cx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], 8
mov dword [esp + 0x30], ebx
call edi
push ebx
call esi
push 0x1c
lea edx, [esp + 0x18]
push edx
xor eax, eax
mov ecx, 0xe
push 1
mov dword [esp + 0x20], 1
mov word [esp + 0x24], ax
mov word [esp + 0x26], cx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], 0xa
mov dword [esp + 0x30], ebx
call edi
sub dword [esp + 0x10], 1
jne 0x402010
push 0xa1
call fcn.004015b0
add esp, 4
push ebx
call esi
mov edi, dword [esp + 0xc]
mov ecx, dword [0x58a7f8]
mov eax, edi
cmp eax, ecx
jge 0x4020d8
lea esi, [eax + eax*4]
lea esi, [esi*4 + 0x4087e8]
dec ecx
cmp edi, ecx
jne 0x4020c5
test byte [esi + 8], 0x80
jne 0x4020c5
cmp dword [esi], 0xa1
je 0x4020ca
call fcn.004015f0
mov ecx, dword [0x58a7f8]
inc edi
add esi, 0x14
cmp edi, ecx
jl 0x4020b2
cmp dword [0x58a7fc], ebx
je 0x402114
push 0x1c
lea edx, [esp + 0x18]
push edx
mov eax, 0xa1
xor ecx, ecx
push 1
mov dword [esp + 0x20], 1
mov word [esp + 0x24], ax
mov word [esp + 0x26], cx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.USER32.dll_SendInput]
mov dword [0x58a7f0], ebx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x7f3b
jne 0x40224a
push 0x405b60
call fcn.004017b0
add esp, 4
mov ecx, 0x1d
call fcn.00401730
mov ecx, 0x2e
call fcn.00401730
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call esi
mov ecx, 0x2e
call fcn.00401770
mov ecx, 0x1d
call fcn.00401770
push 0x64
call esi
call fcn.004018a0
test eax, eax
je 0x402226
push 1
mov ecx, 0x58a840
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
mov edx, eax
call fcn.00403430
push 0xffffffffffffffff
mov ecx, 0x58a840
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push 1
mov ecx, 0x58a840
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
call fcn.004017b0
add esp, 4
test eax, eax
je 0x402202
mov ecx, 0x1d
call fcn.00401730
mov ecx, 0x2f
call fcn.00401730
push 0x64
call esi
mov ecx, 0x2f
call fcn.00401770
mov ecx, 0x1d
call fcn.00401770
mov dword [0x58a7f0], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x30]
push 0
push 0x7f39
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [edi + 0x30]
push 0
push 0x7f3b
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x7f3c
jne 0x4022a4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
xor ebx, ebx
cmp eax, ebx
je 0x402290
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x402290
push eax
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x402290
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x58a7f0], ebx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x7f3d
jne 0x40232a
mov ecx, 0x4f
call fcn.004016b0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call esi
mov ecx, 0x4f
call fcn.004016f0
xor ebx, ebx
push ebx
call esi
lea ecx, [ebx + 0x2a]
call fcn.00401730
push 1
call esi
mov ecx, 0xc7
call fcn.004016b0
push 1
call esi
mov ecx, 0xc7
call fcn.004016f0
push ebx
call esi
lea ecx, [ebx + 0x2a]
call fcn.00401770
push 0xa
call esi
mov eax, dword [edi + 0x30]
push ebx
push 0x7f38
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, dword [ebp + 8]
push ecx
mov ecx, edi
call sub.mfc90u.dll_CWinThread::PreTranslateMessage
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x7f3e
jne 0x402319
mov eax, dword [0x4087d0]
test eax, eax
je 0x40234f
mov ecx, dword [ecx + 0xc]
push ecx
push 0x7f3e
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x12
jne 0x402319
push 1
push 0
call sub.mfc90u.dll_AfxEndThread
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4