Function at 0x452e30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de45f
mov eax, dword fs:[0]
push eax
sub esp, 0xa50
mov eax, dword [0x527064]
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 edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xa44]
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcincludeMcVi2Util.h
push 0x502bdc
push 0x466
push 3
mov dword [ebp - 0xa50], eax
call fcn.00431610
mov dword [ebp - 4], 0
mov edx, str.Entering_GetDllModuleVersion
mov ecx, dword [eax]
call fcn.004333c0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0xa44]
call fcn.004327d0
mov eax, dword [ebp - 0xa44]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add eax, 0x14
push eax
call ebx
push 0x800
lea eax, [ebp - 0xa10]
push 0
push eax
call fcn.00496490
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00496490
add esp, 0x18
mov dword [ebp - method.CMcVI2Cfg.virtual_0], vtable.CMcVI2Cfg.0
mov dword [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0xa14], 7
mov dword [ebp - 0xa18], 0
mov word [ebp - 0xa28], ax
lea eax, [ebp - 0xa28]
mov byte [ebp - 4], 3
push eax
call fcn.0046b340
mov esi, eax
test esi, esi
jne 0x453137
cmp dword [ebp - 0xa18], eax
je 0x453137
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], eax
cmp dword [ecx + 0x14], 8
jb 0x452f52
mov eax, dword [ecx]
jmp 0x452f54
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0xa28]
push edx
push eax
call fcn.00409030
lea ecx, [ebp - 0xa40]
call fcn.00452d00
add esp, 0x18
mov byte [ebp - 4], 6
mov dword [ebp - 0xa18], 0
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x452f8f
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xa28]
call fcn.00408f30
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xa2c]
cmp eax, 8
jb 0x452fbd
inc eax
push 2
push eax
push dword [ebp - 0xa40]
call fcn.00402ff0
add esp, 0xc
push 0x400
lea eax, [ebp - 0xa10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x452ff1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xa28]
mov byte [edi], 0
mov dword [edi + 8], eax
call fcn.00408d60
jmp 0x4531b0
cmp dword [ebp - 0xa14], 8
lea ecx, [ebp - 0xa58]
lea eax, [ebp - 0xa28]
cmovae eax, dword [ebp - 0xa28]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x452fd5
push ebx
call fcn.004a3e8e
mov esi, eax
add esp, 4
mov dword [ebp - 0xa44], esi
push esi
mov byte [ebp - 4], 7
lea eax, [ebp - 0xa28]
cmp dword [ebp - 0xa14], 8
push ebx
cmovae eax, dword [ebp - 0xa28]
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x453078
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 8], eax
mov byte [edi], 0
lea ecx, [ebp - 0xa44]
call fcn.0042fc80
lea ecx, [ebp - 0xa28]
call fcn.00408d60
jmp 0x4531b0
lea eax, [ebp - 0xa5c]
push eax
lea eax, [ebp - 0xa4c]
push eax
push 0x4f8180
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x453051
mov eax, dword [ebp - 0xa4c]
test eax, eax
jne 0x4530a9
mov dword [edi + 8], 0x65b
jmp 0x45305a
movzx eax, word [eax + 0xe]
lea ecx, [ebp - 0x210]
push 0xa
push 0x100
push ecx
push eax
call fcn.004a2e0a
mov ecx, dword [ebp - 0xa50]
lea eax, [ebp - 0x210]
add esp, 0x10
push eax
call fcn.00408ee0
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcincludeMcVi2Util.h
push 0x502bdc
push 0x49c
push 3
lea ecx, [ebp - 0xa48]
call fcn.00431610
mov byte [ebp - 4], 8
mov edx, str.Leaving_GetDllModuleVersion
mov ecx, dword [eax]
call fcn.004333c0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xa48]
call fcn.004327d0
mov eax, dword [ebp - 0xa48]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [edi], 1
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp 0x45305d
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcincludeMcVi2Util.h
push 0x502bdc
push 0x471
push 4
lea ecx, [ebp - 0xa48]
call fcn.00431610
mov byte [ebp - 4], 4
mov edx, str.GetDllModuleVersion::_Error_in_reading_Res_Language_DLL_path._Error:
mov ecx, dword [eax]
push esi
call fcn.004333c0
mov ecx, eax
call fcn.0043a770
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xa48]
call fcn.004327d0
mov eax, dword [ebp - 0xa48]
add eax, 0x14
push eax
call ebx
mov eax, dword [ebp - 0xa14]
mov byte [edi], 1
mov dword [edi + 4], esi
mov dword [edi + 8], 0
cmp eax, 8
jb 0x4531b0
push 2
inc eax
push eax
push dword [ebp - 0xa28]
call fcn.00402ff0
add esp, 0xc
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.004908ad
mov esp, ebp
pop ebp
ret