Function at 0x401000
Capabilities:
Accept command line arguments
Get graphical window text
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [ebp - 4]
mov esi, eax
mov edi, dword [sym.imp.ntdll.dll_wcstol]
sub ecx, 3
je 0x401052
sub ecx, 1
je 0x401042
push 0xa0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
push 0xa
push ebx
push dword [esi + 0xc]
call edi
add esp, 0xc
mov dword [0x40301c], eax
push 0xa
push ebx
push dword [esi + 4]
call edi
push 0xa
mov dword [0x403008], eax
push ebx
push dword [esi + 8]
call edi
mov dword [0x40300c], eax
add esp, 0x18
mov eax, dword [0x403008]
mov edi, 0xf08fb74c
mov esi, 0xaf97fb59
cmp eax, 0x192e900
je 0x4010b0
cmp eax, 0x1e34b00
je 0x4010b0
cmp eax, 0x33f5cfbc
je 0x4010a2
cmp eax, 0x45d37644
je 0x4010b0
cmp eax, esi
je 0x4010a9
cmp eax, edi
jne 0x4010c5
push str.AcrobatSDIWindow
jmp 0x4010b5
push str.GHOST_WindowClass
jmp 0x4010b5
push str.ConsoleWindowClass
push 0x50
push 0x40302c
call dword [sym.imp.ntdll.dll_wcscpy_s]
add esp, 0xc
cmp dword [0x40301c], ebx
jne 0x4010e2
call fcn.00401892
mov dword [0x40301c], eax
test eax, eax
jne 0x4010e2
push 6
jmp 0x40103c
push 0x2c
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], 0x30
push ebx
push eax
call sub.ntdll.dll_memset
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push 0x403010
push dword [0x40301c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x4013a1
mov dword [ebp - 0x24], 0x4030cc
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [0x403014], eax
mov eax, dword [0x403008]
cmp eax, 0x33f5cfbc
je 0x40113a
cmp eax, esi
je 0x40113a
cmp eax, edi
jne 0x401145
mov ecx, dword [0x40301c]
call fcn.0040167b
push dword [0x40301c]
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
push str.VdmHost__d__p
push 0x4030cc
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
je 0x40139b
push 0xfffffffffffffff0
push dword [0x40301c]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, eax
lea eax, [ebp - 0x14]
push eax
push dword [0x40301c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0xcf0000
push ebx
push 0x4030cc
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [0x403008]
mov dword [0x403018], eax
cmp ecx, esi
je 0x4011d9
cmp ecx, 0xf08fb74c
jne 0x40120d
mov esi, dword [sym.imp.dwmapi.dll_DwmSetWindowAttribute]
lea ecx, [ebp - 0x18]
push 4
push ecx
push 0x14
push eax
mov dword [ebp - 0x18], 1
call esi
push 4
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x505050
push eax
push 0x22
push dword [0x403018]
call esi
mov eax, dword [0x403018]
push eax
push dword [0x40301c]
call dword [sym.imp.USER32.dll_SetParent]
call fcn.00401926
mov eax, dword [0x403008]
cmp eax, 0x192e900
je 0x401239
cmp eax, 0x45d37644
je 0x401239
cmp eax, 0x1e34b00
jne 0x401243
call fcn.00401a10
mov eax, dword [0x403008]
mov esi, dword [sym.imp.USER32.dll_SetWinEventHook]
cmp eax, 0x33f5cfbc
je 0x40125e
cmp eax, 0xf08fb74c
je 0x40125e
cmp eax, 0xaf97fb59
jne 0x40127f
push ebx
push dword [0x403014]
mov eax, 0x8000
push dword [0x403010]
push 0x40162a
push ebx
push eax
push eax
call esi
mov dword [0x403020], eax
push ebx
push ebx
push ebx
push 0x4017b7
push ebx
push 3
push 3
call esi
push ebx
push dword [0x403014]
mov dword [0x403024], eax
mov eax, 0x800c
push dword [0x403010]
push 0x4017e5
push ebx
push eax
push eax
call esi
push ebx
push ebx
push 0x40197a
push 0xe
mov dword [0x403028], eax
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
push 0x104
lea eax, [ebp - 0x270]
push eax
push dword [0x40301c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x270]
push eax
push dword [0x403018]
call dword [sym.imp.USER32.dll_SetWindowTextW]
and edi, 0xff38ffff
push edi
push 0xfffffffffffffff0
push dword [0x40301c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x25
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push dword [0x40301c]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [0x403008], 0xaf97fb59
jne 0x401332
push 3
jmp 0x401338
push dword [0x40300c]
push dword [0x403018]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [section..data], 1
push ebx
push ebx
push ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x401373
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push dword [0x40301c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x401393
push ebx
push ebx
push 0x10
push dword [0x403018]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [section..data], ebx
jne 0x40134e
push ebx
jmp 0x40103c