Function at 0x100099f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x101b100c]
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.1000d180
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.1000d180
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009a80
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 0x10009aef
push str._BaseGetFileVersion__pi64Version__NULL
push edi
call fcn.10009180
push eax
call fcn.100095e0
add esp, 0xc
push eax
push str.UPDATEFILEREPAIR::BaseGetFileVersion
push str.....projectUpdaterCoreLibUpdateFileRepair.cpp
push 0x35
call fcn.10009180
mov ecx, eax
call fcn.10009350
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000a89d
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 0x10009b43
push str._BaseGetFileVersion__dwVerInfoSize__0
push eax
call fcn.10009180
push eax
call fcn.100095e0
add esp, 0xc
push eax
push str.UPDATEFILEREPAIR::BaseGetFileVersion
push str.....projectUpdaterCoreLibUpdateFileRepair.cpp
push 0x3d
call fcn.10009180
mov ecx, eax
call fcn.10009350
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000a89d
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 0x10009b96
push str.error_GlobalAlloc_hMem
push eax
call fcn.10009180
push eax
call fcn.100095e0
add esp, 0xc
push eax
push str.UPDATEFILEREPAIR::BaseGetFileVersion
push str.....projectUpdaterCoreLibUpdateFileRepair.cpp
push 0x45
call fcn.10009180
mov ecx, eax
call fcn.10009350
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000a89d
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
jne 0x10009bd5
push str._BaseGetFileVersion__pMem__NULL
push eax
call fcn.10009180
push eax
call fcn.100095e0
add esp, 0xc
push eax
push str.UPDATEFILEREPAIR::BaseGetFileVersion
push str.....projectUpdaterCoreLibUpdateFileRepair.cpp
push 0x4d
call fcn.10009180
mov ecx, eax
call fcn.10009350
jmp 0x10009d7e
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 0x10009c20
push str._BaseGetFileVersion__GetFileVersionInfoA_Error
push eax
call fcn.10009180
push eax
call fcn.100095e0
add esp, 0xc
push eax
push str.UPDATEFILEREPAIR::BaseGetFileVersion
push str.....projectUpdaterCoreLibUpdateFileRepair.cpp
push 0x53
call fcn.10009180
mov ecx, eax
call fcn.10009350
jmp 0x10009d7e
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 0x10009d7e
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.10009870
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 0x10009d7e
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x10009d7e
push eax
push str._BaseGetFileVersion__BaseGetFileVersion__s
push 0
call fcn.10009180
push eax
call fcn.100095e0
add esp, 0x10
push eax
push str.UPDATEFILEREPAIR::BaseGetFileVersion
push str.....projectUpdaterCoreLibUpdateFileRepair.cpp
push 0x6b
call fcn.10009180
mov ecx, eax
call fcn.10009350
mov ecx, dword [ebp - 0x230]
mov edi, 0x30
mov esi, dword [ebp - 0x218]
mov ebx, dword [ebp - 0x22c]
mov dword [ebp - 0x220], ecx
nop word [eax + eax]
push esi
call fcn.10012105
add esp, 4
cdq
mov ecx, edi
call fcn.1001cf00
add dword [ebp - 0x220], eax
push 0x101ad864
adc ebx, edx
mov dword [ebp - 0x22c], ebx
mov ebx, esi
push esi
call fcn.1000d340
mov esi, eax
add esp, 8
test esi, esi
jne 0x10009d49
push 0x101ad868
push ebx
call fcn.1000d340
mov esi, eax
add esp, 8
test esi, esi
je 0x10009d78
mov ebx, dword [ebp - 0x22c]
sub edi, 0x10
inc esi
test edi, edi
jg 0x10009d00
push esi
call fcn.10012105
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 0x10009d7e
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.1000a89d
mov esp, ebp
pop ebp
ret