Function at 0x1002e870
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101598a8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x101bd00c]
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 0x10185ca0
call fcn.10003600
lea eax, [ebx + 0x18]
push 0
push 0x10185ca0
mov ecx, eax
mov dword [ebp - 0x44], eax
call fcn.10003600
lea eax, [ebx + 0x30]
push 0
push 0x10185ca0
mov ecx, eax
mov dword [ebp - 0x48], eax
call fcn.10003600
lea eax, [ebx + 0x48]
push 0
push 0x10185ca0
mov ecx, eax
mov dword [ebp - 0x4c], eax
call fcn.10003600
lea eax, [ebx + 0x60]
push 0
push 0x10185ca0
mov ecx, eax
mov dword [ebp - 0x50], eax
call fcn.10003600
lea eax, [ebx + 0x78]
push 0
push 0x10185ca0
mov ecx, eax
mov dword [ebp - 0x54], eax
call fcn.10003600
lea eax, [ebx + 0x90]
push 0
push 0x10185ca0
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.10003600
lea eax, [ebx + 0xa8]
push 0
push 0x10185ca0
mov ecx, eax
mov dword [ebp - 0x5c], eax
call fcn.10003600
lea eax, [ebx + 0xc0]
push 0
push 0x10185ca0
mov ecx, eax
mov dword [ebp - 0x60], eax
call fcn.10003600
lea eax, [ebx + 0xd8]
push 0
push 0x10185ca0
mov ecx, eax
mov dword [ebp - 0x64], eax
call fcn.10003600
lea eax, [ebx + 0xf0]
push 0
push 0x10185ca0
mov ecx, eax
mov dword [ebp - 0x68], eax
call fcn.10003600
lea eax, [ebx + 0x108]
push 0
push 0x10185ca0
mov ecx, eax
mov dword [ebp - 0x6c], eax
call fcn.10003600
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 0x30], 0
jb 0x1002e9ae
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 0x1002e9f4
push 0x101c0ea0
push ebx
call fcn.1010d563
mov esi, eax
add esp, 8
test esi, esi
je 0x1002e9f4
cmp dword [edi + 0x14], 8
jb 0x1002e9db
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 0x1002e9fb
push esi
call fcn.1010d017
add esp, 4
xor al, al
jmp 0x1002ef35
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 0x1002e9eb
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 0x1018c9f0
push ecx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x2c]
push str.StringFileInfo_08lx_s
push eax
call fcn.10077fe0
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 0x1002eab9
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1002eab9
mov edx, edi
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1002eaa0
sub edx, ecx
mov ecx, dword [ebp - 0x40]
sar edx, 1
push edx
push edi
call fcn.10003600
push 0x1018ca38
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.10077fe0
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 0x1002eb19
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1002eb19
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1002eb00
sub edx, ecx
mov ecx, dword [ebp - 0x44]
sar edx, 1
push edx
push edi
call fcn.10003600
push 0x1018caa0
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.10077fe0
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 0x1002eb79
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1002eb79
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1002eb60
sub edx, ecx
mov ecx, dword [ebp - 0x48]
sar edx, 1
push edx
push edi
call fcn.10003600
push 0x1018ca88
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.10077fe0
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 0x1002ebd9
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1002ebd9
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1002ebc0
sub edx, ecx
mov ecx, dword [ebp - 0x4c]
sar edx, 1
push edx
push edi
call fcn.10003600
push 0x1018cad8
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.10077fe0
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 0x1002ec39
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1002ec39
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1002ec20
sub edx, ecx
mov ecx, dword [ebp - 0x50]
sar edx, 1
push edx
push edi
call fcn.10003600
push 0x1018cab8
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.10077fe0
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 0x1002ec99
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1002ec99
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1002ec80
sub edx, ecx
mov ecx, dword [ebp - 0x54]
sar edx, 1
push edx
push edi
call fcn.10003600
push 0x1018cb18
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.10077fe0
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 0x1002ecf9
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1002ecf9
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1002ece0
sub edx, ecx
mov ecx, dword [ebp - 0x58]
sar edx, 1
push edx
push edi
call fcn.10003600
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.10077fe0
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 0x1002ed59
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1002ed59
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1002ed40
sub edx, ecx
mov ecx, dword [ebp - 0x5c]
sar edx, 1
push edx
push edi
call fcn.10003600
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.10077fe0
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 0x1002edb9
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1002edb9
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1002eda0
sub edx, ecx
mov ecx, dword [ebp - 0x60]
sar edx, 1
push edx
push edi
call fcn.10003600
push 0x1018cb38
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.10077fe0
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 0x1002ee19
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1002ee19
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1002ee00
sub edx, ecx
mov ecx, dword [ebp - 0x64]
sar edx, 1
push edx
push edi
call fcn.10003600
push 0x1018cb88
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.10077fe0
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 0x1002ee79
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1002ee79
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1002ee60
sub edx, ecx
mov ecx, dword [ebp - 0x68]
sar edx, 1
push edx
push edi
call fcn.10003600
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.10077fe0
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 0x1002eed9
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1002eed9
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1002eec0
sub edx, ecx
mov ecx, dword [ebp - 0x6c]
sar edx, 1
push edx
push edi
call fcn.10003600
push esi
call fcn.1010d017
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x1002ef1f
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ef15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ef53
push edx
push ecx
call fcn.1010cf95
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov al, 1
mov dword [ebp - 0x18], 7
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.1010cbf1
mov esp, ebp
pop ebp
ret 4
call fcn.1012cb39
int3