Function at 0x401460
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40fa27
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x417018]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor edi, edi
cmp byte [0x417cc4], 0
jne 0x4014c7
push str.ACTRANSLATORS_EXE_DEBUG
call dword [sym.imp.MSVCR100.dll__wgetenv]
add esp, 4
cmp eax, edi
je 0x4014ba
push eax
call dword [sym.imp.MSVCR100.dll__wtoi]
add esp, 4
mov dword [0x417cc0], eax
jmp 0x4014c0
mov dword [0x417cc0], edi
mov byte [0x417cc4], 1
cmp dword [0x417cc0], edi
je 0x4014dc
push edi
push edi
push str.Please_attach_VS_to_AcTranslators.exe.
call dword [sym.imp.mfc100u.dll_AfxMessageBox]
cmp dword [ebp + 8], 0xd
jne 0x401ab2
mov esi, dword [sym.imp.Ac1st19.dll_public:_void___thiscall_AcString::constructor_void_]
lea ecx, [esp + 0x3c]
call esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x78], edi
call esi
mov ebx, dword [ebp + 0xc]
mov byte [esp + 0x78], 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
mov edi, dword [sym.imp.Ac1st19.dll_public:_void___thiscall_AcString::destructor_void_]
mov dword [esp + 0x1c], 0x409
mov esi, 1
mov eax, dword [ebx + esi*4]
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.Ac1st19.dll_public:_void___thiscall_AcString::constructor_wchar_t_const__]
push 0x410770
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 2
call dword [sym.imp.Ac1st19.dll_public:_int___thiscall_AcString::compareNoCase_char_const__const]
test eax, eax
jne 0x401563
cmp esi, 6
jge 0x401563
mov eax, dword [ebx + esi*4 + 4]
inc esi
push eax
lea ecx, [esp + 0x40]
call dword [sym.imp.Ac1st19.dll_public:_class_AcString____thiscall_AcString::assign_wchar_t_const__]
jmp 0x401678
push 0x410774
lea ecx, [esp + 0x30]
call dword [sym.imp.Ac1st19.dll_public:_int___thiscall_AcString::compareNoCase_char_const__const]
test eax, eax
jne 0x401590
cmp esi, 6
jge 0x401590
mov eax, dword [ebx + esi*4 + 4]
inc esi
push eax
lea ecx, [esp + 0x48]
call dword [sym.imp.Ac1st19.dll_public:_class_AcString____thiscall_AcString::assign_wchar_t_const__]
jmp 0x401678
push 0x410778
lea ecx, [esp + 0x30]
call dword [sym.imp.Ac1st19.dll_public:_int___thiscall_AcString::compareNoCase_char_const__const]
test eax, eax
jne 0x4015d6
cmp esi, 6
jge 0x4015d6
mov ecx, dword [ebx + esi*4 + 4]
inc esi
push ecx
lea ecx, [esp + 0x58]
call dword [sym.imp.Ac1st19.dll_public:_void___thiscall_AcString::constructor_wchar_t_const__]
push 2
lea ecx, [esp + 0x58]
mov byte [esp + 0x7c], 3
call dword [sym.imp.Ac1st19.dll_public:_int___thiscall_AcString::asDeci_int_const]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x54]
jmp 0x401671
push 0x41077c
lea ecx, [esp + 0x30]
call dword [sym.imp.Ac1st19.dll_public:_int___thiscall_AcString::compareNoCase_char_const__const]
test eax, eax
jne 0x401603
cmp esi, 8
jge 0x401603
mov edx, dword [ebx + esi*4 + 4]
inc esi
push edx
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
mov dword [esp + 0x20], eax
jmp 0x401678
push 0x410780
lea ecx, [esp + 0x30]
call dword [sym.imp.Ac1st19.dll_public:_int___thiscall_AcString::compareNoCase_char_const__const]
test eax, eax
jne 0x401630
cmp esi, 0xa
jge 0x401630
mov eax, dword [ebx + esi*4 + 4]
inc esi
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
mov dword [esp + 0x18], eax
jmp 0x401678
push 0x410784
lea ecx, [esp + 0x30]
call dword [sym.imp.Ac1st19.dll_public:_int___thiscall_AcString::compareNoCase_char_const__const]
test eax, eax
jne 0x401678
cmp esi, 0xc
jge 0x401678
mov ecx, dword [ebx + esi*4 + 4]
inc esi
push ecx
lea ecx, [esp + 0x28]
call dword [sym.imp.Ac1st19.dll_public:_void___thiscall_AcString::constructor_wchar_t_const__]
push 2
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 4
call dword [sym.imp.Ac1st19.dll_public:_int___thiscall_AcString::asDeci_int_const]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 2
call edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 1
call edi
inc esi
cmp esi, 0xd
jl 0x401523
push 0x417cd4
call dword [sym.imp.acdb19.dll_enum_Acad::ErrorStatus___cdecl_acdbSetHostApplicationServices_class_AcDbHostApplicationServices__]
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call dword [sym.imp.acdb19.dll_acdbValidateSetup]
mov esi, dword [sym.imp.Ac1st19.dll_public:_bool___thiscall_AcString::isEmpty_void_const]
add esp, 4
lea ecx, [esp + 0x3c]
call esi
test al, al
jne 0x401a99
lea ecx, [esp + 0x44]
call esi
test al, al
jne 0x401a99
mov esi, dword [sym.imp.Ac1st19.dll_public:_void___thiscall_AcString::constructor_void_]
lea ecx, [esp + 0x5c]
call esi
lea ecx, [esp + 0x64]
mov byte [esp + 0x78], 5
call esi
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x84], 6
call fcn.00401370
add esp, 0xc
lea ecx, [esp + 0x34]
call esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 7
call esi
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x84], 8
call fcn.00401370
mov ebx, dword [sym.imp.Ac1st19.dll_public:_int___thiscall_AcString::compareNoCase_wchar_t_const__const]
add esp, 0xc
push 0x410788
lea ecx, [esp + 0x60]
call ebx
test eax, eax
sete al
test al, al
je 0x401cde
push 0x20
call dword [sym.imp.mfc100u.dll_new]
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x401786
mov edx, dword [esp + 0x18]
mov dword [eax], vtable.AcTransProcMgrThread.0
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], ecx
mov word [eax + 0x1c], cx
mov dword [esp + 0x18], eax
jmp 0x40178a
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
mov dword [esp + 0x24], ecx
call edx
mov byte [esp + 0x78], 9
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x40188d
push 0x410790
lea ecx, [esp + 0x38]
call ebx
test eax, eax
je 0x401a40
push str.iges
lea ecx, [esp + 0x38]
call ebx
test eax, eax
je 0x401a40
push str.STEP
lea ecx, [esp + 0x38]
call ebx
test eax, eax
je 0x401a36
push 0x4107b0
lea ecx, [esp + 0x38]
call ebx
test eax, eax
je 0x401a36
push 0x4107b8
lea ecx, [esp + 0x38]
call ebx
test eax, eax
je 0x401a36
push str.CATProduct
lea ecx, [esp + 0x38]
call ebx
test eax, eax
je 0x401a2c
push str.CATPart
lea ecx, [esp + 0x38]
call ebx
test eax, eax
je 0x401a2c
push str.model
lea ecx, [esp + 0x38]
call ebx
test eax, eax
je 0x401a22
push str.session
lea ecx, [esp + 0x38]
call ebx
test eax, eax
je 0x401a22
push str.dlv3
lea ecx, [esp + 0x38]
call ebx
test eax, eax
je 0x401a22
push 0x410810
lea ecx, [esp + 0x38]
call ebx
test eax, eax
je 0x401a22
push 0x410818
lea ecx, [esp + 0x38]
call ebx
test eax, eax
jne 0x4018ed
lea esi, [eax + 6]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x401ccd
lea ecx, [esp + 0x14]
call dword [0x410534]
mov byte [esp + 0x78], 0xa
mov ebx, dword [sym.imp.Ac1st19.dll_public:_wchar_t_const____thiscall_AcString::kwszPtr_void_const]
lea ecx, [esp + 0x3c]
call ebx
push eax
cmp esi, 3
jne 0x401ac8
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x78], 0xb
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x24]
call fcn.00403bc0
lea ecx, [esp + 0x24]
jmp 0x401aed
push 0x41081c
lea ecx, [esp + 0x38]
call ebx
test eax, eax
je 0x401a18
push 0x41081c
lea ecx, [esp + 0x50]
call ebx
test eax, eax
je 0x401a18
push 0x410824
lea ecx, [esp + 0x38]
call ebx
test eax, eax
jne 0x40192a
lea esi, [eax + 8]
jmp 0x40188d
push 0x41082c
lea ecx, [esp + 0x38]
call ebx
test eax, eax
jne 0x401941
lea esi, [eax + 9]
jmp 0x40188d
push 0x410834
lea ecx, [esp + 0x38]
call ebx
test eax, eax
jne 0x401958
lea esi, [eax + 0xa]
jmp 0x40188d
push 0x41083c
lea ecx, [esp + 0x38]
call ebx
test eax, eax
jne 0x40196f
lea esi, [eax + 0xb]
jmp 0x40188d
push 0x410844
lea ecx, [esp + 0x38]
call ebx
test eax, eax
je 0x401a0e
push 0x41084c
lea ecx, [esp + 0x38]
call ebx
test eax, eax
je 0x401a0e
push 0x410844
lea ecx, [esp + 0x50]
call ebx
test eax, eax
je 0x401a0e
push 0x41084c
lea ecx, [esp + 0x50]
call ebx
test eax, eax
je 0x401a0e
push str.sldprt
lea ecx, [esp + 0x38]
call ebx
test eax, eax
je 0x401a04
push str.sldasm
lea ecx, [esp + 0x38]
call ebx
test eax, eax
je 0x401a04
push 0x410874
lea ecx, [esp + 0x38]
call ebx
test eax, eax
je 0x4019fa
push 0x41087c
lea ecx, [esp + 0x38]
call ebx
test eax, eax
je 0x4019fa
push 0x410884
lea ecx, [esp + 0x38]
call ebx
test eax, eax
jne 0x401a4a
mov esi, 0xe
jmp 0x40188d
mov esi, 0xd
jmp 0x40188d
mov esi, 5
jmp 0x40188d
mov esi, 7
jmp 0x40188d
mov esi, 3
jmp 0x40188d
mov esi, 4
jmp 0x40188d
mov esi, 2
jmp 0x40188d
mov esi, 1
jmp 0x40188d
lea eax, [esp + 0x3c]
push 1
push eax
call fcn.00406400
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x80], 8
mov edx, dword [ecx]
mov eax, dword [edx]
add esp, 8
push 1
call eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 7
call edi
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 6
call edi
lea ecx, [esp + 0x64]
mov byte [esp + 0x78], 5
call edi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 1
call edi
lea ecx, [esp + 0x44]
mov byte [esp + 0x78], 0
call edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x78], 0xffffffff
call edi
or eax, 0xffffffff
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea eax, [esp + 0x14]
push eax
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 0xc
call fcn.00402ae0
lea ecx, [esp + 0x28]
add esp, 8
mov esi, eax
mov byte [esp + 0x78], 0xa
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
test esi, esi
js 0x401cc3
push 8
call dword [sym.imp.Ac1st19.dll_private:_static_void____stdcall_AcHeapOperators::allocRawMem_unsigned_int_]
mov dword [esp + 0x2c], eax
push 0
push 1
mov ecx, eax
mov byte [esp + 0x80], 0xd
call dword [sym.imp.acdb19.dll_public:_void___thiscall_AcDbDatabase::constructor_bool__bool_]
mov esi, eax
mov byte [esp + 0x78], 0xa
test esi, esi
jne 0x401ba6
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x78], 8
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 7
call edi
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 6
call edi
lea ecx, [esp + 0x64]
mov byte [esp + 0x78], 5
call edi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 1
call edi
lea ecx, [esp + 0x44]
mov byte [esp + 0x78], 0
call edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x78], 0xffffffff
call edi
lea eax, [esi + 6]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 4
mov ecx, esi
call dword [sym.imp.acdb19.dll_public:_enum_Acad::ErrorStatus___thiscall_AcDbDatabase::setInsunits_enum_AcDb::UnitsValue_]
push 0
mov ecx, esi
call dword [sym.imp.acdb19.dll_public:_enum_Acad::ErrorStatus___thiscall_AcDbDatabase::setSurfu_short_int_]
push 0
mov ecx, esi
call dword [sym.imp.acdb19.dll_public:_enum_Acad::ErrorStatus___thiscall_AcDbDatabase::setSurfv_short_int_]
push esi
call dword [sym.imp.acdb19.dll_class_AcDbHostApplicationServices____cdecl_acdbHostApplicationServices_void_]
mov ecx, eax
call dword [sym.imp.acdb19.dll_public:_void___thiscall_AcDbHostApplicationServices::setWorkingDatabase_class_AcDbDatabase__]
lea ecx, [esp + 0x1c]
call dword [sym.imp.acdb19.dll_public:_void___thiscall_AcDbPathname::constructor_void_]
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x7c], 0xe
call ebx
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.acdb19.dll_public:_enum_PathErr___thiscall_AcDbPathname::Parse_wchar_t_const___int_]
lea ecx, [esp + 0x54]
call dword [sym.imp.Ac1st19.dll_public:_void___thiscall_AcString::constructor_void_]
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x7c], 0xf
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], 0
call dword [sym.imp.acdb19.dll_public:_void___thiscall_AcDbPathname::GetBasename_wchar_t___const]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x401c2e
push eax
lea ecx, [esp + 0x58]
call dword [sym.imp.Ac1st19.dll_public:_class_AcString____thiscall_AcString::assign_wchar_t_const__]
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
call dword [sym.imp.Ac1st19.dll_public:_void___thiscall_AcString::constructor_wchar_t_const__]
lea eax, [esp + 0x54]
push eax
mov edx, esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 0x10
call fcn.004052f0
add esp, 4
test eax, eax
lea ecx, [esp + 0x2c]
sete byte [esp + 0x13]
mov byte [esp + 0x78], 0xf
call edi
cmp byte [esp + 0x13], 0
je 0x401c90
lea ecx, [esp + 0x44]
call ebx
push 0
push 0x1f
push 1
push eax
mov ecx, esi
call dword [sym.imp.acdb19.dll_public:_enum_Acad::ErrorStatus___thiscall_AcDbDatabase::saveAs_wchar_t_const___bool__enum_AcDb::AcDbDwgVersion__struct_SecurityParams_const__]
test eax, eax
jne 0x401c9f
push 6
lea ecx, [esp + 0x58]
push ecx
jmp 0x401c97
push 4
lea edx, [esp + 0x58]
push edx
call fcn.00406400
add esp, 8
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], 0xe
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 0xa
call dword [sym.imp.acdb19.dll_public:_void___thiscall_AcDbPathname::destructor_void_]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x78], 8
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
call dword [sym.imp.acdb19.dll_acdbCleanUp]
call fcn.00402a40
call dword [sym.imp.ole32.dll_CoUninitialize]
call dword [sym.imp.acdb19.dll_acdbIsModelerStarted]
test eax, eax
je 0x401cff
call dword [sym.imp.acdb19.dll_acdbModelerEnd]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 7
call edi
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 6
call edi
lea ecx, [esp + 0x64]
mov byte [esp + 0x78], 5
call edi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 1
call edi
lea ecx, [esp + 0x44]
mov byte [esp + 0x78], 0
call edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x78], 0xffffffff
call edi
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret