Function at 0x430270
Capabilities:
Get file version info
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x443f8b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0xfe1c
call fcn.0043fce0
mov eax, dword [0x45d018]
xor eax, esp
mov dword [esp + 0xfe18], eax
push ebx
push esi
push edi
mov eax, dword [0x45d018]
xor eax, esp
push eax
lea eax, [esp + 0xfe30]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
mov edi, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], edi
jbe 0x4302cf
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
mov dword [esp + 0x10], eax
jbe 0x4302e5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x10]
push ebx
push esi
push eax
push esi
lea eax, [esp + 0x44]
push eax
push esi
call fcn.004215f0
mov esi, dword [edi + 8]
cmp dword [edi + 4], esi
jbe 0x430302
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [edi + 4]
cmp ebx, dword [edi + 8]
jbe 0x430310
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
push edi
push ebx
push edi
lea ecx, [esp + 0x44]
push ecx
push edi
call fcn.004215f0
push str.SoftwareAutodeskHardcopy
xor edi, edi
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0x44d7f0
mov dword [esp + 0x28], edi
call dword [0x44d7f4]
mov dword [esp + 0xfe38], edi
cmp dword [esp + 0x20], edi
jne 0x430355
xor al, al
jmp 0x4308c2
lea ecx, [esp + 0x1e0]
mov dword [esp + 0x10], edi
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_void_
push edi
lea edx, [esp + 0x20]
push edx
lea esi, [esp + 0x1e8]
mov byte [esp + 0xfe40], 1
call fcn.0042fb30
test al, al
je 0x430895
add dword [esp + 0x10], 1
push str.Software_
lea ecx, [esp + 0xf4]
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_wchar_t_const__
mov byte [esp + 0xfe38], 2
mov edx, dword [esp + 0xf0]
lea eax, [esp + 0x1e0]
push eax
mov eax, dword [edx + 0x78]
lea ecx, [esp + 0xf4]
call eax
push 0x44d6e0
lea ecx, [esp + 0xb8]
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_wchar_t_const__
mov byte [esp + 0xfe38], 3
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov edx, dword [ecx]
push edx
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0xf8]
call sub.acdb17.dll_public_virtual:_int___thiscall_AdString::ReverseFind_class_AdString_const___int_const
lea ecx, [esp + 0xb4]
mov esi, eax
mov byte [esp + 0xfe38], 2
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
push 0x4487ac
lea ecx, [esp + 0xb8]
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_wchar_t_const__
mov byte [esp + 0xfe38], 4
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov edx, dword [ecx]
push edx
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0xf8]
call sub.acdb17.dll_public_virtual:_int___thiscall_AdString::ReverseFind_class_AdString_const___int_const
lea ecx, [esp + 0xb4]
mov edi, eax
mov byte [esp + 0xfe38], 2
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
sub esi, edi
sub esi, 1
push esi
add edi, 1
push edi
lea ecx, [esp + 0x170]
push ecx
lea ecx, [esp + 0xfc]
call sub.acdb17.dll_public_virtual:_class_AdString___thiscall_AdString::Mid_int__int_
push str..EXE
lea ecx, [esp + 0xb8]
mov byte [esp + 0xfe3c], 5
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_wchar_t_const__
mov byte [esp + 0xfe38], 6
mov eax, dword [esp + 0x168]
lea edx, [esp + 0xb4]
push edx
mov edx, dword [eax + 0x78]
lea ecx, [esp + 0x16c]
call edx
lea ecx, [esp + 0xb4]
mov byte [esp + 0xfe38], 5
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
push str.ACADLT.EXE
lea ecx, [esp + 0xb8]
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_wchar_t_const__
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x16c]
mov byte [esp + 0xfe3c], 7
call sub.acdb17.dll_public_virtual:_int___thiscall_AdString::CollateNoCase_class_AdString_const__const
test eax, eax
sete bl
mov byte [esp + 0xfe38], 5
lea ecx, [esp + 0xb4]
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
test bl, bl
jne 0x43084d
lea ecx, [esp + 0xf0]
call sub.acdb17.dll_public:_wchar_t_const____thiscall_AdString::operator_wchar_t_const__void_const
push eax
mov ebx, 0x44d7f0
xor edi, edi
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
call dword [0x44d7f4]
mov byte [esp + 0xfe38], 8
cmp dword [esp + 0x18], edi
jne 0x430556
mov dword [esp + 0x14], ebx
jmp 0x43084d
lea ecx, [esp + 0x1a4]
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_void_
push str.AcadLocation
lea ecx, [esp + 0x7c]
mov byte [esp + 0xfe3c], 9
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_wchar_t_const__
lea ecx, [esp + 0x12c]
push ecx
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x18]
mov byte [esp + 0xfe3c], 0xa
call fcn.0042fc40
lea ecx, [esp + 0x78]
mov byte [esp + 0xfe38], 0xc
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
lea ecx, [esp + 0x12c]
call sub.acdb17.dll_public_virtual:_bool___thiscall_AdString::IsEmpty_void_const
test al, al
je 0x43061e
push str.Location
lea ecx, [esp + 0xb8]
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_wchar_t_const__
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0xb8]
lea edx, [esp + 0x18]
mov byte [esp + 0xfe3c], 0xd
call fcn.0042fc40
push eax
lea ecx, [esp + 0x130]
mov byte [esp + 0xfe3c], 0xe
call sub.acdb17.dll_public:_class_AdString_const____thiscall_AdString::operator_class_AdString_const__
lea ecx, [esp + 0x3c]
mov byte [esp + 0xfe38], 0xd
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
lea ecx, [esp + 0xb4]
mov byte [esp + 0xfe38], 0xc
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
lea ecx, [esp + 0x12c]
call sub.acdb17.dll_public_virtual:_bool___thiscall_AdString::IsEmpty_void_const
test al, al
jne 0x43080e
push 0x4487ac
lea ecx, [esp + 0xb8]
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_wchar_t_const__
mov byte [esp + 0xfe38], 0xf
mov edx, dword [esp + 0x12c]
lea eax, [esp + 0xb4]
push eax
mov eax, dword [edx + 0x78]
lea ecx, [esp + 0x130]
call eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0xfe38], 0xc
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
mov edx, dword [esp + 0x12c]
mov eax, dword [edx + 0x78]
lea ecx, [esp + 0x168]
push ecx
lea ecx, [esp + 0x130]
call eax
lea ecx, [esp + 0x12c]
call sub.acdb17.dll_public:_wchar_t_const____thiscall_AdString::operator_wchar_t_const__void_const
lea edx, [esp + 0x21c]
jmp 0x4306b0
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, di
jne 0x4306b0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x220]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x220]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x430751
lea edx, [esp + 0x424]
push edx
push 0xfa00
push edi
lea eax, [esp + 0x228]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x430751
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0x4487ac
lea eax, [esp + 0x430]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x430751
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x10]
movzx ecx, word [ecx + 0x16]
movzx edx, ax
push ecx
push edx
shr eax, 0x10
push eax
lea eax, [esp + 0x1b0]
push 0x4487b0
push eax
call sub.acdb17.dll_public_virtual:_void___cdecl_AdString::Format_wchar_t_const__
add esp, 0x14
lea ecx, [esp + 0x1a4]
call sub.acdb17.dll_public_virtual:_bool___thiscall_AdString::IsEmpty_void_const
test al, al
jne 0x43080e
lea ecx, [esp + 0x1a4]
call sub.acdb17.dll_public:_wchar_t_const____thiscall_AdString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.MSVCR80.dll__wtof]
fcomp qword [0x44de90]
add esp, 4
fnstsw ax
test ah, 1
jne 0x43080e
push 0x448870
lea ecx, [esp + 0x40]
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_wchar_t_const__
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0x40]
lea edx, [esp + 0x18]
mov byte [esp + 0xfe3c], 0x10
call fcn.0042fc40
lea ecx, [esp + 0x3c]
mov byte [esp + 0xfe38], 0x12
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
lea ecx, [esp + 0xb4]
call sub.acdb17.dll_public_virtual:_bool___thiscall_AdString::IsEmpty_void_const
test al, al
jne 0x4307fa
mov esi, dword [esp + 0x24]
lea edx, [esp + 0xf0]
push edx
call fcn.004124d0
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0xb4]
push eax
call fcn.004124d0
lea ecx, [esp + 0xb4]
mov byte [esp + 0xfe38], 0xc
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
lea ecx, [esp + 0x12c]
mov byte [esp + 0xfe38], 9
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
lea ecx, [esp + 0x1a4]
mov byte [esp + 0xfe38], 8
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
mov eax, dword [esp + 0x18]
cmp eax, edi
mov dword [esp + 0x14], ebx
je 0x43084d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x168]
mov byte [esp + 0xfe38], 2
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
lea ecx, [esp + 0xf0]
mov byte [esp + 0xfe38], 1
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
lea esi, [esp + 0x1e8]
call fcn.0042fb30
test al, al
jne 0x430387
xor edi, edi
lea ecx, [esp + 0x1e0]
mov byte [esp + 0xfe38], 0
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
mov eax, dword [esp + 0x20]
cmp eax, edi
mov dword [esp + 0x1c], 0x44d7f0
je 0x4308c0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [esp + 0xfe30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xfe18]
xor ecx, esp
call fcn.0043f41f
mov esp, ebp
pop ebp
ret