Function at 0x1000cee0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x101b600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x210]
mov edi, edx
push 0
xor bl, bl
mov dword [ebp - 0x234], edi
push eax
mov esi, ecx
mov byte [ebp - 0x211], bl
call fcn.100106a0
add esp, 0xc
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x21c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x228], 0
push 0x100
push 0
push eax
movlpd qword [ebp - 0x230], xmm0
call fcn.100106a0
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000cf70
push 0
push 0
push 0x104
sub ecx, edx
lea eax, [ebp - 0x210]
push eax
sar ecx, 1
push ecx
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test edi, edi
jne 0x1000cfe2
push str._BaseGetFileVersion__pi64Version__NULL
push edi
call fcn.1000c7b0
push eax
call fcn.1000cbc0
add esp, 0xc
push eax
push str.UPDATEFILEREPAIR::BaseGetFileVersion
push str.....projectUpdaterCoreLibUpdateFileRepair.cpp
push 0x13a3f
call fcn.1000c7b0
mov ecx, eax
call fcn.1000c930
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000da67
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x224]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x1000d039
push str._BaseGetFileVersion__dwVerInfoSize__0
push eax
call fcn.1000c7b0
push eax
call fcn.1000cbc0
add esp, 0xc
push eax
push str.UPDATEFILEREPAIR::BaseGetFileVersion
push str.....projectUpdaterCoreLibUpdateFileRepair.cpp
push 0x13a47
call fcn.1000c7b0
mov ecx, eax
call fcn.1000c930
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000da67
mov esp, ebp
pop ebp
ret
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x238], eax
test eax, eax
jne 0x1000d08f
push str.error_GlobalAlloc_hMem
push eax
call fcn.1000c7b0
push eax
call fcn.1000cbc0
add esp, 0xc
push eax
push str.UPDATEFILEREPAIR::BaseGetFileVersion
push str.....projectUpdaterCoreLibUpdateFileRepair.cpp
push 0x13a4f
call fcn.1000c7b0
mov ecx, eax
call fcn.1000c930
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000da67
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
jne 0x1000d0d1
push str._BaseGetFileVersion__pMem__NULL
push eax
call fcn.1000c7b0
push eax
call fcn.1000cbc0
add esp, 0xc
push eax
push str.UPDATEFILEREPAIR::BaseGetFileVersion
push str.....projectUpdaterCoreLibUpdateFileRepair.cpp
push 0x13a57
call fcn.1000c7b0
mov ecx, eax
call fcn.1000c930
jmp 0x1000d27e
push esi
push edi
push dword [ebp - 0x224]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
jne 0x1000d11f
push str._BaseGetFileVersion__GetFileVersionInfoA_Error
push eax
call fcn.1000c7b0
push eax
call fcn.1000cbc0
add esp, 0xc
push eax
push str.UPDATEFILEREPAIR::BaseGetFileVersion
push str.....projectUpdaterCoreLibUpdateFileRepair.cpp
push 0x13a5d
call fcn.1000c7b0
mov ecx, eax
call fcn.1000c930
jmp 0x1000d27e
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueA]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x228]
push eax
push str.VarFileInfoTranslation
push esi
call edi
test eax, eax
je 0x1000d27e
mov ecx, dword [ebp - 0x228]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xProductVersion
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.100058a0
add esp, 0x14
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x218], 0
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x108]
push eax
push esi
call edi
test eax, eax
je 0x1000d27e
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x1000d27e
push eax
push str._BaseGetFileVersion__BaseGetFileVersion__s
push 0
call fcn.1000c7b0
push eax
call fcn.1000cbc0
add esp, 0x10
push eax
push str.UPDATEFILEREPAIR::BaseGetFileVersion
push str.....projectUpdaterCoreLibUpdateFileRepair.cpp
push 0x13a75
call fcn.1000c7b0
mov ecx, eax
call fcn.1000c930
mov ecx, dword [ebp - 0x230]
mov edi, 0x30
mov esi, dword [ebp - 0x218]
mov ebx, dword [ebp - 0x22c]
mov dword [ebp - 0x220], ecx
nop dword [eax]
push esi
call fcn.10015212
add esp, 4
cdq
mov ecx, edi
call fcn.100203b0
add dword [ebp - 0x220], eax
push 0x10028028
adc ebx, edx
mov dword [ebp - 0x22c], ebx
mov ebx, esi
push esi
call fcn.1000fe30
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000d249
push 0x1002802c
push ebx
call fcn.1000fe30
mov esi, eax
add esp, 8
test esi, esi
je 0x1000d278
mov ebx, dword [ebp - 0x22c]
sub edi, 0x10
inc esi
test edi, edi
jg 0x1000d200
push esi
call fcn.10015212
mov ecx, dword [ebp - 0x234]
add esp, 4
cdq
add eax, dword [ebp - 0x220]
adc edx, ebx
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov bl, 1
jmp 0x1000d27e
mov bl, byte [ebp - 0x211]
mov esi, dword [ebp - 0x238]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000da67
mov esp, ebp
pop ebp
ret