Function at 0x4469e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49aee0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4c606c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], edx
mov edi, ecx
cmp dword [edi + 0x14], 8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, edi
mov dword [ebp - 0x18], 0
jb 0x446a33
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x446af5
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.0044b850
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x446a66
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4ca1e0
call fcn.0040b1e0
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetup_setuputils.cpp
mov ecx, eax
call fcn.0040a3c0
mov edx, 0x4adac4
mov ecx, eax
call fcn.0040a3c0
push 0xf
mov ecx, eax
call fcn.00408a40
mov edx, str.:_Error_calling_GetFileVersionInfoSize:
mov ecx, eax
call fcn.0040a3c0
push esi
mov ecx, eax
call fcn.004138e0
push eax
call fcn.0040a730
mov edx, dword [ebp - 0x20]
add esp, 4
cmp edx, 8
jb 0x446aee
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x446ae4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446cec
push edx
push ecx
call fcn.0045a3a4
add esp, 8
xor al, al
jmp 0x446cd0
push ecx
lea eax, [ebp - 0x39]
mov dword [ebp - 0x20], 0
push eax
xorps xmm0, xmm0
mov byte [ebp - 0x39], 0
push ebx
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.00447420
mov dword [ebp - 4], 1
cmp dword [edi + 0x14], 8
jb 0x446b25
mov edi, dword [edi]
mov esi, dword [ebp - 0x28]
push esi
push ebx
push dword [ebp - 0x18]
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x446be6
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x64]
mov edi, eax
call fcn.0044b850
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x446b5b
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4ca1e0
call fcn.0040b1e0
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetup_setuputils.cpp
mov ecx, eax
call fcn.0040a3c0
mov edx, 0x4adac4
mov ecx, eax
call fcn.0040a3c0
push 0x18
mov ecx, eax
call fcn.00408a40
mov edx, str.:_Error_calling_GetFileVersionInfo:
mov ecx, eax
call fcn.0040a3c0
push edi
mov ecx, eax
call fcn.004138e0
push eax
call fcn.0040a730
mov edx, dword [ebp - 0x50]
add esp, 4
cmp edx, 8
jb 0x446c70
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x446c66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446cf1
jmp 0x446c66
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x38], 0
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x1c], 0
push eax
push 0x4b2e84
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x446c74
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x64]
mov edi, eax
call fcn.0044b850
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x446c2b
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4ca1e0
call fcn.0040b1e0
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetup_setuputils.cpp
mov ecx, eax
call fcn.0040a3c0
mov edx, 0x4adac4
mov ecx, eax
call fcn.0040a3c0
push 0x22
mov ecx, eax
call fcn.00408a40
mov edx, str.:_Error_calling_VerQueryValue:
jmp 0x446b91
push edx
push ecx
call fcn.0045a3a4
add esp, 8
xor bl, bl
jmp 0x446ca1
mov ecx, dword [ebp - 0x38]
mov bl, 1
mov edx, dword [ebp - 0x40]
movzx eax, word [ecx + 0xa]
mov word [edx], ax
movzx eax, word [ecx + 8]
mov edx, dword [ebp - 0x44]
mov word [edx], ax
movzx eax, word [ecx + 0xe]
mov edx, dword [ebp - 0x48]
mov word [edx], ax
movzx eax, word [ecx + 0xc]
mov ecx, dword [ebp - 0x4c]
mov word [ecx], ax
test esi, esi
je 0x446cce
mov ecx, dword [ebp - 0x20]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x446cc4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446cf1
push ecx
push esi
call fcn.0045a3a4
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00459e83
mov esp, ebp
pop ebp
ret
call fcn.004750dc
call fcn.004750dc
int3