Function at 0x414430
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xfffffffffffffffe
push 0x489ba8
push 0x441f50
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x48e050]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, edx
xor eax, eax
cmp esi, eax
je 0x414770
cmp ebx, eax
je 0x414770
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
push 0xa28
push eax
push esi
call fcn.004416b0
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x414745
push edi
call fcn.0043e739
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
test eax, eax
je 0x414745
push eax
push edi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x414745
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x24]
push edx
push str.VarFileInfoTranslation
mov edi, dword [ebp - 0x2c]
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x414745
cmp dword [ebp - 0x1c], 0
je 0x414745
push 0x47ecbc
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 2]
push ecx
movzx edx, word [eax]
push edx
push str.StringFileInfo_04X_04X_s
push 0x104
lea eax, [ebp]
push eax
call fcn.0043ed50
add esp, 0x18
test eax, eax
jle 0x414745
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp]
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x414575
mov eax, dword [ebp - 0x1c]
cmp eax, 0x104
jae 0x414575
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0x104
push esi
call fcn.0043e9ba
add esp, 0x10
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov word [esi + eax*2], dx
push 0x47ed0c
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 2]
push ecx
movzx edx, word [eax]
push edx
push str.StringFileInfo_04X_04X_s
push 0x104
lea eax, [ebp]
push eax
call fcn.0043ed50
add esp, 0x18
test eax, eax
jle 0x414745
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp]
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4145ea
mov eax, dword [ebp - 0x1c]
cmp eax, 0x104
jae 0x4145ea
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0x104
lea edx, [esi + 0x208]
push edx
call fcn.0043e9ba
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov word [esi + ecx*2 + 0x208], ax
push 0x47ed2c
mov eax, dword [ebp - 0x24]
movzx edx, word [eax + 2]
push edx
movzx eax, word [eax]
push eax
push str.StringFileInfo_04X_04X_s
push 0x104
lea ecx, [ebp]
push ecx
call fcn.0043ed50
add esp, 0x18
test eax, eax
jle 0x414745
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp]
push ecx
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41465f
mov eax, dword [ebp - 0x1c]
cmp eax, 0x104
jae 0x41465f
push eax
mov edx, dword [ebp - 0x20]
push edx
push 0x104
lea eax, [esi + 0x410]
push eax
call fcn.0043e9ba
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov word [esi + edx*2 + 0x410], cx
push 0x47ed44
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 2]
push ecx
movzx edx, word [eax]
push edx
push str.StringFileInfo_04X_04X_s
push 0x104
lea eax, [ebp]
push eax
call fcn.0043ed50
add esp, 0x18
test eax, eax
jle 0x414745
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp]
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4146d4
mov eax, dword [ebp - 0x1c]
cmp eax, 0x104
jae 0x4146d4
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0x104
lea edx, [esi + 0x618]
push edx
call fcn.0043e9ba
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov word [esi + ecx*2 + 0x618], ax
push 0x47e0ac
mov eax, dword [ebp - 0x24]
movzx edx, word [eax + 2]
push edx
movzx eax, word [eax]
push eax
push str.StringFileInfo_04X_04X_s
push 0x104
lea ecx, [ebp]
push ecx
call fcn.0043ed50
add esp, 0x18
test eax, eax
jle 0x414745
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp]
push ecx
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x414745
mov eax, dword [ebp - 0x1c]
cmp eax, 0x104
jae 0x414745
push eax
mov edx, dword [ebp - 0x20]
push edx
push 0x104
lea eax, [esi + 0x820]
push eax
call fcn.0043e9ba
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov word [esi + edx*2 + 0x820], cx
mov dword [ebp - 4], 0xfffffffe
call fcn.00414758
mov eax, 1
jmp 0x414772
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0043e4c7
add ebp, 0x20c
mov esp, ebp
pop ebp
ret