Function at 0x100d5630
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011fba7
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
add ecx, 4
call fcn.1000c670
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0xc
call fcn.10002370
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
add ecx, 0x24
call fcn.100d5a50
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
add ecx, 0xcc
call fcn.10002370
mov byte [ebp - 4], 4
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0xcc
call fcn.10001c80
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], 0
push 0
lea ecx, [ebp + 8]
call fcn.10001710
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x100d570a
lea ecx, [ebp + 8]
call fcn.10001710
push eax
push str.ERR:_not_find_version_info___s
push 1
push 0x20
push 0x1013dd00
push 0x1013dcd0
call fcn.1010dc80
add esp, 0x18
jmp 0x100d5a18
push 0x1016a470
mov edx, dword [ebp - 0x30]
push edx
call fcn.10117f95
add esp, 8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x2c]
cmp dword [edx], 0
jne 0x100d5757
push 0x1013dd78
mov eax, dword [ebp - 0x30]
push eax
push str.ERR:fail_new__d_bytes__s
push 1
push 0x26
push 0x1013dda8
push str.CExeDetail::CExeDetail
call fcn.1010d8f0
add esp, 0x1c
jmp 0x100d5a18
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x30]
push eax
push 0
lea ecx, [ebp + 8]
call fcn.10001710
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x100d577b
jmp 0x100d5a18
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x38]
push edx
push 0x1013de0c
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x100d57c1
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 8]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x40], 0
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x34]
push eax
push str.VarFileInfoTranslation
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov eax, 2
shl eax, 0
mov ecx, dword [ebp - 0x34]
movzx edx, word [ecx + eax]
push edx
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp - 0x34]
movzx eax, word [edx + ecx]
push eax
push str.StringFileInfo_04x_04x_
lea ecx, [ebp - 0x28]
push ecx
call fcn.1004df00
add esp, 0x10
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0xc
call fcn.10001c40
lea ecx, [ebp - 0x28]
call fcn.10002300
mov eax, dword [ebp - 0x2c]
add eax, 0x24
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x70], esp
push 0x1013de10
call fcn.10002200
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100d5b00
mov ecx, dword [ebp - 0x2c]
add ecx, 0x3c
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x1013de70
call fcn.10002200
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100d5b00
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push str.Comments
call fcn.10002200
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100d5b00
mov edx, dword [ebp - 0x2c]
add edx, 0x54
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x1013dea0
call fcn.10002200
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100d5b00
mov eax, dword [ebp - 0x2c]
add eax, 0x6c
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x1013de88
call fcn.10002200
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100d5b00
mov ecx, dword [ebp - 0x2c]
add ecx, 0x84
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x78], esp
push 0x1013dedc
call fcn.10002200
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100d5b00
mov edx, dword [ebp - 0x2c]
add edx, 0x9c
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0x1013debc
call fcn.10002200
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100d5b00
mov eax, dword [ebp - 0x2c]
add eax, 0xb4
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x1013df18
call fcn.10002200
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100d5b00
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.PrivateBuild
call fcn.10002200
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100d5b00
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.LegalTrademarks
call fcn.10002200
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100d5b00
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0x1013df38
call fcn.10002200
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100d5b00
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x94], esp
push str.SpecialBuild
call fcn.10002200
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100d5b00
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa4], esp
push str.Language
call fcn.10002200
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100d5b00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002300
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret 0x18