Function at 0x1006d2e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017966e
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x10207514]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov esi, dword [ebp + 8]
call fcn.1006dce0
push esi
call fcn.100fd570
add esp, 4
test al, al
je 0x1006dcaa
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1006d344
mov eax, dword [esi]
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
mov dword [ebp - 0x180], edi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1006dcaa
push 0x10211cb8
push edi
call fcn.10162982
add esp, 8
mov dword [ebp - 0x170], eax
test eax, eax
je 0x1006dcaa
cmp dword [esi + 0x14], 8
jb 0x1006d38a
mov esi, dword [esi]
push eax
push edi
push dword [ebp - 0x44]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x1006d3ad
push dword [ebp - 0x170]
call fcn.1016297d
add esp, 4
jmp 0x1006dcaa
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
push 0x101bdfc4
mov esi, dword [ebp - 0x170]
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1006d3fb
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x1006d3fb
cmp dword [ebp - 0x1c], 0x34
jne 0x1006d3fb
push 0x34
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
xor edx, edx
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x28], edx
xor edi, edi
mov dword [ebp - 0x24], edi
xor eax, eax
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x16c]
push eax
push str.VarFileInfoTranslation
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1006dc9a
cmp dword [ebp - 0x16c], edi
je 0x1006dc9a
xor esi, esi
test dword [ebp - 0x1c], 0xfffffffc
jbe 0x1006d517
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x16c]
lea eax, [eax + esi*4]
cmp ecx, edi
je 0x1006d48c
mov eax, dword [eax]
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x24], edi
jmp 0x1006d4ab
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.1006de90
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x17c], ecx
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x178], edx
mov eax, dword [ebp - 0x16c]
cmp word [eax + esi*4], 0
jne 0x1006d506
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x174], eax
mov eax, 0x409
mov word [ebp - 0x174], ax
cmp ecx, edi
je 0x1006d4e1
mov eax, dword [ebp - 0x174]
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x24], edi
jmp 0x1006d506
lea eax, [ebp - 0x174]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.1006de90
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x17c], ecx
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x178], edx
inc esi
mov eax, dword [ebp - 0x1c]
shr eax, 2
cmp esi, eax
jb 0x1006d473
jmp 0x1006d519
xor edx, edx
mov ecx, edx
mov dword [ebp - 0x174], edx
cmp ecx, edi
je 0x1006dc2d
nop dword [eax]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
xor eax, eax
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 3
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04x_
lea eax, [ebp - 0x40]
push eax
call fcn.101002c0
push 0x101be518
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.10044dd0
add esp, 0x1c
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x170]
cmp dword [ebx + 0x44], 0
jne 0x1006d5ef
lea eax, [ebp - 0x164]
cmp dword [ebp - 0x150], 8
cmovae eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x168]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1006d5ef
mov edx, dword [ebp - 0x168]
test edx, edx
je 0x1006d5ef
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006d5d0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x34]
call fcn.100094b0
mov esi, dword [ebp - 0x170]
push 0x101be4f8
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.10044dd0
add esp, 0xc
mov byte [ebp - 4], 5
cmp dword [ebx + 0x5c], 0
jne 0x1006d669
lea eax, [ebp - 0x14c]
cmp dword [ebp - 0x138], 8
cmovae eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x168]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1006d669
mov edx, dword [ebp - 0x168]
test edx, edx
je 0x1006d669
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006d650
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x4c]
call fcn.100094b0
push 0x101be5f8
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.10044dd0
add esp, 0xc
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x170]
cmp dword [ebx + 0x74], 0
jne 0x1006d6ef
lea eax, [ebp - 0x134]
cmp dword [ebp - 0x120], 8
cmovae eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x168]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1006d6ef
mov edx, dword [ebp - 0x168]
test edx, edx
je 0x1006d6ef
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006d6d0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x64]
call fcn.100094b0
mov esi, dword [ebp - 0x170]
push 0x101be5dc
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.10044dd0
add esp, 0xc
mov byte [ebp - 4], 7
cmp dword [ebx + 0x8c], 0
jne 0x1006d769
lea eax, [ebp - 0x11c]
cmp dword [ebp - 0x108], 8
cmovae eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x168]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1006d769
mov edx, dword [ebp - 0x168]
test edx, edx
je 0x1006d769
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006d750
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x7c]
call fcn.100094b0
push 0x101be5bc
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.10044dd0
add esp, 0xc
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x170]
cmp dword [ebx + 0xa4], 0
jne 0x1006d7f2
lea eax, [ebp - 0x104]
cmp dword [ebp - 0xf0], 8
cmovae eax, dword [ebp - 0x104]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x168]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1006d7f2
mov edx, dword [ebp - 0x168]
test edx, edx
je 0x1006d7f2
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006d7d0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x94]
call fcn.100094b0
mov esi, dword [ebp - 0x170]
push str.OriginalFileName
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.10044dd0
add esp, 0xc
mov byte [ebp - 4], 9
cmp dword [ebx + 0xbc], 0
jne 0x1006d86d
lea eax, [ebp - 0xec]
cmp dword [ebp - 0xd8], 8
cmovae eax, dword [ebp - 0xec]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x168]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1006d86d
mov edx, dword [ebp - 0x168]
test edx, edx
je 0x1006d86d
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006d851
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xac]
call fcn.100094b0
push 0x101be664
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.10044dd0
add esp, 0xc
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x170]
cmp dword [ebx + 0xd4], 0
jne 0x1006d8f4
lea eax, [ebp - 0xd4]
cmp dword [ebp - 0xc0], 8
cmovae eax, dword [ebp - 0xd4]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x168]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1006d8f4
mov edx, dword [ebp - 0x168]
test edx, edx
je 0x1006d8f4
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006d8d2
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xc4]
call fcn.100094b0
mov esi, dword [ebp - 0x170]
push 0x101be644
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.10044dd0
add esp, 0xc
mov byte [ebp - 4], 0xb
cmp dword [ebx + 0xec], 0
jne 0x1006d96f
lea eax, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 8
cmovae eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x168]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1006d96f
mov edx, dword [ebp - 0x168]
test edx, edx
je 0x1006d96f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006d953
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xdc]
call fcn.100094b0
push 0x101be630
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10044dd0
add esp, 0xc
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x170]
cmp dword [ebx + 0x104], 0
jne 0x1006d9f6
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x90], 8
cmovae eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x168]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1006d9f6
mov edx, dword [ebp - 0x168]
test edx, edx
je 0x1006d9f6
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006d9d4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xf4]
call fcn.100094b0
mov esi, dword [ebp - 0x170]
push 0x101be610
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.10044dd0
add esp, 0xc
mov byte [ebp - 4], 0xd
cmp dword [ebx + 0x11c], 0
jne 0x1006da6e
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x168]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1006da6e
mov edx, dword [ebp - 0x168]
test edx, edx
je 0x1006da6e
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006da52
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x10c]
call fcn.100094b0
push str.PrivateBuild
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.10044dd0
add esp, 0xc
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0x170]
cmp dword [ebx + 0x134], 0
jne 0x1006dae9
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
cmovae eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x168]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1006dae9
mov edx, dword [ebp - 0x168]
test edx, edx
je 0x1006dae9
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006dac7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x124]
call fcn.100094b0
mov esi, dword [ebp - 0x170]
push 0x101be67c
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.10044dd0
add esp, 0xc
mov byte [ebp - 4], 0xf
cmp dword [ebx + 0x14c], 0
jne 0x1006db5c
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
cmovae eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x168]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1006db5c
mov edx, dword [ebp - 0x168]
test edx, edx
je 0x1006db5c
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006db40
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x13c]
call fcn.100094b0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x5c]
call fcn.10009450
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x74]
call fcn.10009450
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x8c]
call fcn.10009450
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa4]
call fcn.10009450
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xbc]
call fcn.10009450
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd4]
call fcn.10009450
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xec]
call fcn.10009450
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x104]
call fcn.10009450
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x11c]
call fcn.10009450
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x134]
call fcn.10009450
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14c]
call fcn.10009450
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x164]
call fcn.10009450
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.10009450
mov ecx, dword [ebp - 0x174]
add ecx, 4
mov dword [ebp - 0x174], ecx
cmp ecx, edi
jne 0x1006d530
push dword [ebp - 0x170]
call fcn.1016297d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x178]
test edx, edx
je 0x1006dc96
mov ecx, dword [ebp - 0x17c]
sub ecx, edx
and ecx, 0xfffffffc
mov eax, edx
cmp ecx, 0x1000
jb 0x1006dc77
add ecx, 0x23
mov edx, dword [edx - 4]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006dc77
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10161fa4
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov al, 1
jmp 0x1006dcac
push esi
call fcn.1016297d
add esp, 4
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10161f63
mov esp, ebp
pop ebp
ret 4