Function at 0x44398c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x443994
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call sub.rtl170.bpl__System__UStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x443b52
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call sub.rtl170.bpl__System__UStrClr_qqrpv
mov word [0x5e576c], 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call sub.rtl170.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x418ccc]
call sub.rtl170.bpl__System__DynArraySetLength_qqrv
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call sub.rtl170.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x443b09
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x443b60
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x443a96
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov ecx, 4
call sub.rtl170.bpl__System_Move_qqrpxvpvi
mov eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x20]
mov eax, 8
call sub.rtl170.bpl__System_Sysutils_IntToHex_qqrji
lea eax, [ebp - 0x24]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x20]
call sub.rtl170.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, 4
mov edx, 5
mov eax, dword [ebp - 0x20]
call sub.rtl170.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
pop ecx
call sub.rtl170.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
jmp 0x443aa3
lea eax, [ebp - 0x20]
mov edx, 0x443b88
call sub.rtl170.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x443ba8
push dword [ebp - 0x20]
push 0x443bd8
lea eax, [ebp - 0x30]
mov edx, 3
call sub.rtl170.bpl__System__UStrCatN_qqrv
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov ecx, 0
call sub.rtl170.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x2c]
call sub.rtl170.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x443b09
lea eax, [ebp - 0x34]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [sym.imp.dac170.bpl__Clrclasses_Marshal_]
call sub.dac170.bpl__Clrclasses_Marshal_PtrToStringAnsi_qqrpvi
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
call sub.rtl170.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443b59
lea eax, [ebp - 0x34]
call sub.rtl170.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x30]
call sub.rtl170.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0x2c]
call sub.rtl170.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x28]
mov edx, 3
call sub.rtl170.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0xc]
mov edx, dword [0x418ccc]
call sub.rtl170.bpl__System__DynArrayClear_qqrrpvpv
lea eax, [ebp - 4]
call sub.rtl170.bpl__System__UStrClr_qqrpv
ret