Function at 0x1006caa0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101739e8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10200854]
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 ebx, ecx
mov dword [ebp - 0x40], ebx
mov edi, dword [ebp + 8]
push 0
push 0x101ad73c
call fcn.10004820
lea eax, [ebx + 0x18]
push 0
push 0x101ad73c
mov ecx, eax
mov dword [ebp - 0x44], eax
call fcn.10004820
lea eax, [ebx + 0x30]
push 0
push 0x101ad73c
mov ecx, eax
mov dword [ebp - 0x48], eax
call fcn.10004820
lea eax, [ebx + 0x48]
push 0
push 0x101ad73c
mov ecx, eax
mov dword [ebp - 0x4c], eax
call fcn.10004820
lea eax, [ebx + 0x60]
push 0
push 0x101ad73c
mov ecx, eax
mov dword [ebp - 0x50], eax
call fcn.10004820
lea eax, [ebx + 0x78]
push 0
push 0x101ad73c
mov ecx, eax
mov dword [ebp - 0x54], eax
call fcn.10004820
lea eax, [ebx + 0x90]
push 0
push 0x101ad73c
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.10004820
lea eax, [ebx + 0xa8]
push 0
push 0x101ad73c
mov ecx, eax
mov dword [ebp - 0x5c], eax
call fcn.10004820
lea eax, [ebx + 0xc0]
push 0
push 0x101ad73c
mov ecx, eax
mov dword [ebp - 0x60], eax
call fcn.10004820
lea eax, [ebx + 0xd8]
push 0
push 0x101ad73c
mov ecx, eax
mov dword [ebp - 0x64], eax
call fcn.10004820
lea eax, [ebx + 0xf0]
push 0
push 0x101ad73c
mov ecx, eax
mov dword [ebp - 0x68], eax
call fcn.10004820
lea eax, [ebx + 0x108]
push 0
push 0x101ad73c
mov ecx, eax
mov dword [ebp - 0x6c], eax
call fcn.10004820
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 0x30], 0
jb 0x1006cbde
mov eax, dword [edi]
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x1006cc24
push 0x102087ec
push ebx
call fcn.101616aa
mov esi, eax
add esp, 8
test esi, esi
je 0x1006cc24
cmp dword [edi + 0x14], 8
jb 0x1006cc0b
mov edi, dword [edi]
push esi
push ebx
push dword [ebp - 0x30]
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x1006cc2b
push esi
call fcn.1016168e
add esp, 4
xor al, al
jmp 0x1006d123
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
push str.VarFileInfoTranslation
push esi
mov dword [ebp - 0x14], 0
call ebx
test eax, eax
je 0x1006cc1b
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
push 0x101bb360
push ecx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x2c]
push str.StringFileInfo_08lx_s
push eax
call fcn.100f1dd0
add esp, 0x10
lea ecx, [ebp - 0x14]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x1006cce9
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1006cce9
mov edx, edi
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1006ccd0
sub edx, ecx
mov ecx, dword [ebp - 0x40]
sar edx, 1
push edx
push edi
call fcn.10004820
push 0x101bb2cc
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100f1dd0
add esp, 0x10
lea ecx, [ebp - 0x14]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x1006cd49
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1006cd49
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1006cd30
sub edx, ecx
mov ecx, dword [ebp - 0x44]
sar edx, 1
push edx
push edi
call fcn.10004820
push 0x101bb398
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100f1dd0
add esp, 0x10
lea ecx, [ebp - 0x14]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x1006cda9
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1006cda9
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1006cd90
sub edx, ecx
mov ecx, dword [ebp - 0x48]
sar edx, 1
push edx
push edi
call fcn.10004820
push 0x101bb280
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100f1dd0
add esp, 0x10
lea ecx, [ebp - 0x14]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x1006ce09
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1006ce09
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1006cdf0
sub edx, ecx
mov ecx, dword [ebp - 0x4c]
sar edx, 1
push edx
push edi
call fcn.10004820
push 0x101bb2e8
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100f1dd0
add esp, 0x10
lea ecx, [ebp - 0x14]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x1006ce69
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1006ce69
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1006ce50
sub edx, ecx
mov ecx, dword [ebp - 0x50]
sar edx, 1
push edx
push edi
call fcn.10004820
push 0x101bb340
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100f1dd0
add esp, 0x10
lea ecx, [ebp - 0x14]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x1006cec9
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1006cec9
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1006ceb0
sub edx, ecx
mov ecx, dword [ebp - 0x54]
sar edx, 1
push edx
push edi
call fcn.10004820
push 0x101bb308
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100f1dd0
add esp, 0x10
lea ecx, [ebp - 0x14]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x1006cf29
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1006cf29
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1006cf10
sub edx, ecx
mov ecx, dword [ebp - 0x58]
sar edx, 1
push edx
push edi
call fcn.10004820
push str.LegalTrademarks
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100f1dd0
add esp, 0x10
lea ecx, [ebp - 0x14]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x1006cf89
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1006cf89
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1006cf70
sub edx, ecx
mov ecx, dword [ebp - 0x5c]
sar edx, 1
push edx
push edi
call fcn.10004820
push str.PrivateBuild
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100f1dd0
add esp, 0x10
lea ecx, [ebp - 0x14]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x1006cfe9
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1006cfe9
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1006cfd0
sub edx, ecx
mov ecx, dword [ebp - 0x60]
sar edx, 1
push edx
push edi
call fcn.10004820
push 0x101bb328
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100f1dd0
add esp, 0x10
lea ecx, [ebp - 0x14]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x1006d049
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1006d049
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1006d030
sub edx, ecx
mov ecx, dword [ebp - 0x64]
sar edx, 1
push edx
push edi
call fcn.10004820
push 0x101bba1c
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100f1dd0
add esp, 0x10
lea ecx, [ebp - 0x14]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x1006d0a9
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1006d0a9
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1006d090
sub edx, ecx
mov ecx, dword [ebp - 0x68]
sar edx, 1
push edx
push edi
call fcn.10004820
push str.SpecialBuild
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100f1dd0
add esp, 0x10
lea ecx, [ebp - 0x14]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x1006d109
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1006d109
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1006d0f0
sub edx, ecx
mov ecx, dword [ebp - 0x6c]
sar edx, 1
push edx
push edi
call fcn.10004820
push esi
call fcn.1016168e
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100047b0
mov al, 1
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.101611d3
mov esp, ebp
pop ebp
ret 4