Function at 0x100166b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10031008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x44], ebx
mov edi, dword [ebp + 8]
push 0
push 0x10028744
call fcn.10007130
lea eax, [ebx + 0x18]
push 0
push 0x10028744
mov ecx, eax
mov dword [ebp - 0x48], eax
call fcn.10007130
lea eax, [ebx + 0x30]
push 0
push 0x10028744
mov ecx, eax
mov dword [ebp - 0x4c], eax
call fcn.10007130
lea eax, [ebx + 0x48]
push 0
push 0x10028744
mov ecx, eax
mov dword [ebp - 0x50], eax
call fcn.10007130
lea eax, [ebx + 0x60]
push 0
push 0x10028744
mov ecx, eax
mov dword [ebp - 0x54], eax
call fcn.10007130
lea eax, [ebx + 0x78]
push 0
push 0x10028744
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.10007130
lea eax, [ebx + 0x90]
push 0
push 0x10028744
mov ecx, eax
mov dword [ebp - 0x5c], eax
call fcn.10007130
lea eax, [ebx + 0xa8]
push 0
push 0x10028744
mov ecx, eax
mov dword [ebp - 0x60], eax
call fcn.10007130
lea eax, [ebx + 0xc0]
push 0
push 0x10028744
mov ecx, eax
mov dword [ebp - 0x64], eax
call fcn.10007130
lea eax, [ebx + 0xd8]
push 0
push 0x10028744
mov ecx, eax
mov dword [ebp - 0x68], eax
call fcn.10007130
lea eax, [ebx + 0xf0]
push 0
push 0x10028744
mov ecx, eax
mov dword [ebp - 0x6c], eax
call fcn.10007130
lea eax, [ebx + 0x108]
push 0
push 0x10028744
mov ecx, eax
mov dword [ebp - 0x70], eax
call fcn.10007130
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 0x34], 0
jb 0x100167ee
mov eax, dword [edi]
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x10016834
push 0x100313c0
push ebx
call fcn.10022cdc
mov esi, eax
add esp, 8
test esi, esi
je 0x10016834
cmp dword [edi + 0x14], 8
jb 0x1001681b
mov edi, dword [edi]
push esi
push ebx
push dword [ebp - 0x34]
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x1001683b
push esi
call fcn.10022cd7
add esp, 4
xor al, al
jmp 0x10016d7b
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
push eax
push str.VarFileInfoTranslation
push esi
mov dword [ebp - 0x18], 0
call ebx
test eax, eax
je 0x1001682b
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 4], eax
push 0x1002a5bc
push ecx
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x30]
push str.StringFileInfo_08lx_s
push eax
call fcn.100178e0
add esp, 0x10
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x100168f9
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x100168f9
mov edx, edi
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100168e0
sub edx, ecx
mov ecx, dword [ebp - 0x44]
sar edx, 1
push edx
push edi
call fcn.10007130
push 0x1002a524
push dword [ebp - 0x40]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100178e0
add esp, 0x10
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x10016959
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x10016959
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10016940
sub edx, ecx
mov ecx, dword [ebp - 0x48]
sar edx, 1
push edx
push edi
call fcn.10007130
push 0x1002a584
push dword [ebp - 0x40]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100178e0
add esp, 0x10
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x100169b9
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x100169b9
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100169a0
sub edx, ecx
mov ecx, dword [ebp - 0x4c]
sar edx, 1
push edx
push edi
call fcn.10007130
push 0x1002a4d4
push dword [ebp - 0x40]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100178e0
add esp, 0x10
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x10016a19
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x10016a19
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10016a00
sub edx, ecx
mov ecx, dword [ebp - 0x50]
sar edx, 1
push edx
push edi
call fcn.10007130
push 0x1002a540
push dword [ebp - 0x40]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100178e0
add esp, 0x10
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x10016a79
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x10016a79
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10016a60
sub edx, ecx
mov ecx, dword [ebp - 0x54]
sar edx, 1
push edx
push edi
call fcn.10007130
push 0x1002a59c
push dword [ebp - 0x40]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100178e0
add esp, 0x10
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x10016ad9
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x10016ad9
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10016ac0
sub edx, ecx
mov ecx, dword [ebp - 0x58]
sar edx, 1
push edx
push edi
call fcn.10007130
push 0x1002a4ec
push dword [ebp - 0x40]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100178e0
add esp, 0x10
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x10016b39
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x10016b39
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10016b20
sub edx, ecx
mov ecx, dword [ebp - 0x5c]
sar edx, 1
push edx
push edi
call fcn.10007130
push str.LegalTrademarks
push dword [ebp - 0x40]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100178e0
add esp, 0x10
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x10016b99
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x10016b99
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10016b80
sub edx, ecx
mov ecx, dword [ebp - 0x60]
sar edx, 1
push edx
push edi
call fcn.10007130
push str.PrivateBuild
push dword [ebp - 0x40]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100178e0
add esp, 0x10
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x10016bf9
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x10016bf9
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10016be0
sub edx, ecx
mov ecx, dword [ebp - 0x64]
sar edx, 1
push edx
push edi
call fcn.10007130
push 0x1002a50c
push dword [ebp - 0x40]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100178e0
add esp, 0x10
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x10016c59
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x10016c59
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10016c40
sub edx, ecx
mov ecx, dword [ebp - 0x68]
sar edx, 1
push edx
push edi
call fcn.10007130
push 0x1002a680
push dword [ebp - 0x40]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100178e0
add esp, 0x10
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x10016cb9
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x10016cb9
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10016ca0
sub edx, ecx
mov ecx, dword [ebp - 0x6c]
sar edx, 1
push edx
push edi
call fcn.10007130
push str.SpecialBuild
push dword [ebp - 0x40]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], 0
push str.StringFileInfo_08lx_s
push eax
call fcn.100178e0
add esp, 0x10
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x10016d19
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x10016d19
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10016d00
sub edx, ecx
mov ecx, dword [ebp - 0x70]
sar edx, 1
push edx
push edi
call fcn.10007130
push esi
call fcn.10022cd7
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x10016d65
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10016d5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10016d5b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov al, 1
mov dword [ebp - 0x1c], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100224d9
mov esp, ebp
pop ebp
ret 4