Function at 0x10001640
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10008758
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1000c018]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
push str..pipeAcIpcClientToParentPipe
push str..pipeAcIpcParentToClientPipe
push str.AcIpcMainChannel
xor ecx, ecx
mov esi, ebx
call fcn.10001c10
mov ebp, dword [sym.imp.mfc100u.dll_new]
push 8
mov dword [ebx + 0x1c], eax
call ebp
xor esi, esi
add esp, 4
cmp eax, esi
je 0x100016aa
mov dword [eax], vtable.MainMessageHandler.0
mov dword [eax + 4], ebx
mov ecx, eax
jmp 0x100016ac
xor ecx, ecx
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x50], ecx
mov eax, dword [eax]
mov dword [esp + 0x14], ecx
cmp ecx, esi
je 0x100016e0
mov edx, dword [eax + 0x24]
lea edi, [eax + 0x20]
mov eax, dword [edi]
cmp eax, edx
je 0x100016d7
cmp dword [eax], ecx
je 0x100016d3
add eax, 4
cmp eax, edx
jne 0x100016c8
cmp eax, edx
jne 0x100016e0
lea eax, [esp + 0x14]
call fcn.10002aa0
push 0x14
mov dword [esp + 0x18], vtable.Autocad::Ipc::IpcMessage.0
call ebp
add esp, 4
cmp eax, esi
je 0x1000170d
mov dword [eax], vtable.IpcMessageImp.0
mov dword [eax + 4], esi
mov dword [eax + 8], 0x467
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov edi, eax
jmp 0x1000170f
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], esi
mov eax, dword [edi + 4]
mov ebp, dword [ebx + 0x74]
cmp eax, esi
je 0x1000172e
push eax
call dword [sym.imp.mfc100u.dll_delete__]
add esp, 4
mov dword [edi + 4], esi
push 0x1b
call dword [sym.imp.mfc100u.dll_new__]
mov dword [edi + 4], eax
pxor xmm0, xmm0
movq qword [eax], xmm0
movq qword [eax + 8], xmm0
movq qword [eax + 0x10], xmm0
mov word [eax + 0x18], si
mov byte [eax + 0x1a], 0
mov eax, dword [edi + 4]
mov dword [eax + 0x14], ebp
mov ecx, dword [edi + 4]
mov dword [ecx + 0x10], 4
mov eax, dword [ebx + 0x1c]
mov ebp, dword [eax]
add esp, 4
cmp byte [ebp + 0x18], 0
je 0x100017b2
mov esi, edi
call fcn.10006ab0
mov ecx, dword [ebp + 4]
mov esi, eax
mov eax, dword [edi + 8]
lea edx, [esi + 0x14]
push edx
mov edx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.10004950
mov eax, esi
mov esi, dword [ebp + 0x14]
add esp, 0x14
call fcn.100076e0
mov eax, dword [edi + 8]
mov ebp, dword [ebp + 4]
push eax
push ebp
call fcn.10004a30
add esp, 8
xor esi, esi
cmp dword [ebx + 0x54], esi
jne 0x100017df
push 0x14
call dword [sym.imp.mfc100u.dll_new]
add esp, 4
cmp eax, esi
je 0x100017da
mov dword [eax], vtable.ProcessMonitor.0
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
jmp 0x100017dc
xor eax, eax
mov dword [ebx + 0x54], eax
mov ebp, dword [ebx + 0x14]
mov ebx, dword [ebx + 0x54]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebp
push esi
push 0x100000
mov dword [ebx + 0x10], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
push esi
push ebx
push 0x10005b20
push esi
push esi
mov dword [ebx + 8], eax
call dword [sym.imp.MSVCR100.dll__beginthreadex]
mov dword [esp + 0x40], 0xffffffff
mov dword [ebx + 0xc], eax
mov eax, dword [edi]
mov edx, dword [eax]
add esp, 0x18
push 1
mov ecx, edi
call edx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret