Function at 0x44df3d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51fdd8
mov eax, dword fs:[0]
push eax
mov eax, 0x1704
call fcn.004ade10
mov eax, dword [0x5770a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x16b0], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x16e4]
call fcn.0040a8aa
and dword [ebp - 4], 0
push str.prefix
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x16e4]
call fcn.0040ab5a
mov byte [ebp - 4], 1
push 0
push 0x533720
lea ecx, [ebp - 0x40]
call fcn.00450057
cmp eax, 0xffffffff
je 0x44dfc2
mov dword [ebp - 0x16b0], 2
and dword [ebp - 0x16ac], 0
and dword [ebp - 0x16b4], 0
push str.ppid
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x16e4]
call fcn.0040ab5a
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x16c8], eax
cmp dword [ebp - 0x16c8], 0
jne 0x44e006
mov dword [ebp - 0x16bc], 1
jmp 0x44e00d
and dword [ebp - 0x16bc], 0
movzx eax, byte [ebp - 0x16bc]
test eax, eax
jne 0x44e108
lea ecx, [ebp - 0x28]
call fcn.0040a5f1
mov dword [ebp - 0x16cc], eax
push dword [ebp - 0x16cc]
call fcn.004cea4d
pop ecx
mov dword [ebp - 0x16c0], eax
push dword [ebp - 0x16c0]
push str._monitor_id__d
call fcn.0046c5d3
pop ecx
pop ecx
push dword [ebp - 0x16c0]
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x16ac], eax
cmp dword [ebp - 0x16ac], 0
je 0x44e0f5
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x16c4], eax
cmp dword [ebp - 0x16c4], 0
jne 0x44e0a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._monitor_create_exit_event_failed__error__d
call fcn.0046c5d3
pop ecx
pop ecx
mov eax, dword [ebp - 0x16c4]
mov dword [ebp - 0x16a8], eax
push 8
push 0xffffffffffffffff
lea eax, [ebp - 0x16a8]
push eax
push 0x44e671
push dword [ebp - 0x16ac]
lea eax, [ebp - 0x16b4]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
mov dword [ebp - 0x16d0], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x16d0]
push str._monitor_register_wait_callback_result__d__error__d
call fcn.0046c5d3
add esp, 0xc
jmp 0x44e108
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._monitor_open_process_failed__error__d
call fcn.0046c5d3
pop ecx
pop ecx
push dword [ebp - 0x16b0]
call fcn.0044e626
pop ecx
push dword [ebp - 0x16b0]
mov ecx, 0x586b88
call fcn.00493cc9
push 0x6d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov dword [ebp - 0x16d4], eax
and dword [ebp - 0x16b8], 0
push 0
call fcn.0044f930
lea ecx, [ebp - 0x16a0]
call fcn.00450106
mov byte [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x16e8], esp
lea eax, [ebp - 0x40]
push eax
call fcn.0040b282
mov dword [ebp - 0x16ec], eax
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x16a0]
call fcn.004515af
push dword [ebp - 0x16b0]
lea ecx, [ebp - 0x16a0]
call fcn.0045175b
lea ecx, [ebp - 0x16a0]
call fcn.00451ace
lea ecx, [ebp - 0x16a0]
call fcn.00451905
push edx
push eax
call fcn.0048f5fd
mov ecx, eax
call fcn.0048f4e1
lea ecx, [ebp - 0x16a0]
call fcn.004505bb
movzx eax, al
test eax, eax
jne 0x44e1ec
push str.TCLSHostApp_init_failed
call fcn.0046c5d3
pop ecx
or dword [ebp - 0x16b8], 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16a0]
call fcn.00450359
jmp 0x44e2c3
mov al, byte [ebp - 0x165c]
mov byte [ebp - 0x16a1], al
movzx eax, byte [ebp - 0x16a1]
test eax, eax
jne 0x44e26c
push 0
push 0
push 0
lea eax, [ebp - 0x1710]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x44e26c
mov al, byte [ebp - 0x165c]
mov byte [ebp - 0x16a2], al
movzx eax, byte [ebp - 0x16a2]
test eax, eax
je 0x44e233
jmp 0x44e26c
lea eax, [ebp - 0x1710]
push eax
push dword [ebp - 0x16d4]
push dword [ebp - 0x1710]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x44e26a
lea eax, [ebp - 0x1710]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1710]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x44e1ec
push str.exit_main_message_loop_successed__ready_to_uninit_tclsHostApp
call fcn.0046c4d6
pop ecx
lea ecx, [ebp - 0x16a0]
call fcn.004513d3
movzx eax, al
test eax, eax
jne 0x44e2ac
push str.TCLSHostApp_uninit_failed
call fcn.0046c5d3
pop ecx
or dword [ebp - 0x16b8], 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16a0]
call fcn.00450359
jmp 0x44e2c3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16a0]
call fcn.00450359
xor eax, eax
jne 0x44e143
call fcn.0048f5fd
mov ecx, eax
call fcn.0048f505
call fcn.0044f9b4
cmp dword [ebp - 0x16a8], 0
je 0x44e2e9
push dword [ebp - 0x16a8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [ebp - 0x16b4], 0
je 0x44e300
push 0xffffffffffffffff
push dword [ebp - 0x16b4]
call dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
cmp dword [ebp - 0x16a8], 0
je 0x44e315
push dword [ebp - 0x16a8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x16ac], 0
je 0x44e32a
push dword [ebp - 0x16ac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x16b8]
mov dword [ebp - 0x16d8], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.0040a62b
mov byte [ebp - 4], 6
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
mov dword [ebp - 0x16f0], eax
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
mov byte [ebp - 4], 1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
call fcn.0040a62b
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x16f4], eax
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0xd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16e4]
call fcn.0040b867
mov eax, dword [ebp - 0x16d8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ad99f
leave
ret 0x10