Function at 0x10005360
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 - 0x110]
mov edi, edx
push 0
xor bl, bl
mov dword [ebp - 0x224], edi
push eax
mov esi, ecx
mov byte [ebp - 0x211], bl
call fcn.100106a0
add esp, 0xc
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x21c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x22c], 0
push 0x100
push 0
push eax
movlpd qword [ebp - 0x238], xmm0
call fcn.100106a0
add esp, 0xc
test edi, edi
jne 0x10005471
mov esi, dword [0x101b7488]
test esi, esi
jne 0x1000543f
push 0x124
call fcn.1000da7d
add esp, 4
mov esi, eax
mov dword [ebp - 0x23c], esi
push 0x104
lea eax, [esi + 4]
mov dword [esi], edi
push edi
push eax
mov dword [esi + 0x108], 0xffffffff
call fcn.100106a0
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x101b7488], esi
push str.error_parameter
push 0
push str.BaseGetFileVersion
push str.................utilitycompany_liboutincludecommon_base_proc.cpp
push 0x2fa
push esi
call fcn.10002fc0
add esp, 0x18
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
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005476
push 0
push 0
push 0x104
sub ecx, edx
lea eax, [ebp - 0x110]
push eax
sar ecx, 1
push ecx
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
test edi, edi
jne 0x100054f8
lea eax, [ebp - 0x110]
push eax
push str.error_fnGetFileVersionInfoSizeA__s
push edi
push str.BaseGetFileVersion
push str.................utilitycompany_liboutincludecommon_base_proc.cpp
push 0x309
call fcn.10002d70
push eax
call fcn.10002fc0
add esp, 0x1c
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 - 0x23c], eax
test eax, eax
jne 0x10005541
push str.error_GlobalAlloc_hMem
push eax
push str.BaseGetFileVersion
push str.................utilitycompany_liboutincludecommon_base_proc.cpp
push 0x311
call fcn.10002d70
push eax
call fcn.10002fc0
add esp, 0x18
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 0x10005635
mov esi, dword [0x101b7488]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
test esi, esi
jne 0x100055a9
push 0x124
call fcn.1000da7d
add esp, 4
mov esi, eax
mov dword [ebp - 0x224], esi
push 0x104
lea ecx, [esi + 4]
mov dword [esi], 0
push 0
push ecx
mov dword [esi + 0x108], 0xffffffff
call fcn.100106a0
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call edi
mov dword [0x101b7488], esi
push str.error_GlobalLock_pMem
push 0
push str.BaseGetFileVersion
push str.................utilitycompany_liboutincludecommon_base_proc.cpp
push 0x319
push esi
call fcn.10002fc0
mov esi, dword [0x101b7488]
add esp, 0x18
test esi, esi
jne 0x10005619
push 0x124
call fcn.1000da7d
add esp, 4
mov esi, eax
mov dword [ebp - 0x224], esi
push 0x104
lea eax, [esi + 4]
mov dword [esi], 0
push 0
push eax
mov dword [esi + 0x108], 0xffffffff
call fcn.100106a0
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call edi
mov dword [0x101b7488], esi
push str.BaseGetFileVersion
push str.................utilitycompany_liboutincludecommon_base_proc.cpp
push 0x319
push ecx
mov ecx, esi
call fcn.100033f0
jmp 0x100057fb
push esi
push edi
push dword [ebp - 0x228]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
jne 0x10005676
push str.error_fnGetFileVersionInfoA
push eax
push str.BaseGetFileVersion
push str.................utilitycompany_liboutincludecommon_base_proc.cpp
push 0x31f
call fcn.10002d70
push eax
call fcn.10002fc0
add esp, 0x18
jmp 0x100057fb
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueA]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x22c]
push eax
push str.VarFileInfoTranslation
push esi
call edi
test eax, eax
jne 0x100056be
push str.error_fnVerQueryValueA
push eax
push str.BaseGetFileVersion
push str.................utilitycompany_liboutincludecommon_base_proc.cpp
push 0x325
call fcn.10002d70
push eax
call fcn.10002fc0
add esp, 0x18
jmp 0x100057fb
mov ecx, dword [ebp - 0x22c]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xProductVersion
lea eax, [ebp - 0x210]
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 - 0x210]
push eax
push esi
call edi
test eax, eax
jne 0x1000573e
push str.error_fnVerQueryValueA
push eax
push str.BaseGetFileVersion
push str.................utilitycompany_liboutincludecommon_base_proc.cpp
push 0x330
call fcn.10002d70
push eax
call fcn.10002fc0
add esp, 0x18
jmp 0x100057fb
mov esi, dword [ebp - 0x218]
test esi, esi
jne 0x10005770
push str.error_NULL__pVerValue
push esi
push str.BaseGetFileVersion
push str.................utilitycompany_liboutincludecommon_base_proc.cpp
push 0x336
call fcn.10002d70
push eax
call fcn.10002fc0
add esp, 0x18
jmp 0x100057fb
mov ecx, dword [ebp - 0x238]
mov edi, 0x30
mov dword [ebp - 0x220], ecx
mov ebx, dword [ebp - 0x234]
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 - 0x234], ebx
mov ebx, esi
push esi
call fcn.1000fe30
mov esi, eax
add esp, 8
test esi, esi
jne 0x100057d0
push 0x1002802c
push ebx
call fcn.1000fe30
mov esi, eax
add esp, 8
test esi, esi
je 0x10005822
sub edi, 0x10
inc esi
test edi, edi
jg 0x10005781
push esi
call fcn.10015212
mov ecx, dword [ebp - 0x224]
add esp, 4
cdq
mov bl, 1
add eax, dword [ebp - 0x220]
adc edx, dword [ebp - 0x234]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov esi, dword [ebp - 0x23c]
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
push dword [ebp - 0x218]
push str.error_pVerValue:_s
push 0
push str.BaseGetFileVersion
push str.................utilitycompany_liboutincludecommon_base_proc.cpp
push 0x345
call fcn.10002d70
push eax
call fcn.10002fc0
mov bl, byte [ebp - 0x211]
add esp, 0x1c
jmp 0x100057fb