Function at 0x4728c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534b85
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x599850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x28]
mov edi, dword [ebp + 8]
push ebx
push eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], ebx
call fcn.00470c50
add esp, 8
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x4c], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x4729ca
call fcn.0045aa70
mov esi, eax
lea eax, [ebp - 0x40]
push eax
call fcn.00470d30
add esp, 4
push eax
push ebx
push 0x2f
push str.cannot_determine_version_info_size_for_:_
push 4
sub esp, 0xc
mov dword [ebp - 0x58], 0
mov eax, esp
mov dword [ebp - 0x54], 0
movq xmm0, qword [ebp - 0x58]
mov ecx, esi
mov byte [ebp - 4], 1
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.00418610
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4729b1
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4729a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x472b22
push ecx
push edx
call fcn.004ff746
add esp, 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp 0x472afc
xor ecx, ecx
mov edx, 2
mul edx
push 0x57aa50
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005003d5
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x472a2a
call fcn.0045aa70
push dword [ebp - 0x44]
mov ecx, eax
mov dword [ebp - 0x58], ebx
push 0x34
push str.cannot_allocate_storage_for_version_info_size_for_
push 4
sub esp, 0xc
mov dword [ebp - 0x54], ebx
movq xmm0, qword [ebp - 0x58]
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], ebx
call fcn.00418350
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
jmp 0x472afc
mov dword [ebp - 0x60], ebx
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push esi
push dword [ebp - 0x4c]
mov byte [ebp - 4], 2
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x472a9d
call fcn.0045aa70
mov esi, eax
lea eax, [ebp - 0x40]
push eax
call fcn.00470d30
add esp, 4
push eax
push dword [ebp - 0x44]
mov ecx, esi
mov byte [ebp - 4], 3
sub esp, 8
mov eax, esp
mov dword [eax], str.cannot_read_file_version_for_:_
mov dword [eax + 4], 0x23
call fcn.00446a40
lea ecx, [ebp - 0x40]
call fcn.004089c0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp 0x472af3
lea eax, [esi + esi]
mov dword [edi], 0
mov dword [ebp - 0x48], eax
sar eax, 1
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x44], eax
je 0x472af3
cmp eax, 0x7fffffff
ja 0x472b27
push eax
mov ecx, edi
call fcn.00407bd0
push dword [ebp - 0x48]
mov esi, eax
mov eax, dword [ebp - 0x44]
mov dword [edi], esi
push ebx
mov dword [edi + 4], esi
lea ecx, [esi + eax*2]
push esi
mov dword [edi + 8], ecx
call fcn.00504640
mov eax, dword [ebp - 0x44]
add esp, 0xc
lea eax, [esi + eax*2]
mov dword [edi + 4], eax
push ebx
call fcn.004ff7c7
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00407777
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ff754
mov esp, ebp
pop ebp
ret
call fcn.00508363
call fcn.00408db0
int3