Function at 0x10088290
Capabilities:
Get file version info
Impersonate file version information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c9126
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x100fc03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x424]
push eax
mov ecx, dword [ebp + 8]
call fcn.10002cb0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x458], 0
jne 0x100882f0
xor al, al
jmp 0x100887d9
push 4
lea ecx, [ebp - 0x414]
call fcn.10021530
mov ecx, dword [ebp - 0x458]
push ecx
call fcn.10088fec
add esp, 4
mov dword [ebp - 0x46c], eax
mov edx, dword [ebp - 0x46c]
push edx
lea ecx, [ebp - 0x414]
call fcn.100339d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x458]
push eax
push 0
lea ecx, [ebp - 0x414]
call fcn.10005f90
push eax
call fcn.1008bb90
add esp, 0xc
lea ecx, [ebp - 0x414]
call fcn.10005f90
push eax
mov ecx, dword [ebp - 0x458]
push ecx
mov edx, dword [ebp - 0x424]
push edx
mov ecx, dword [ebp + 8]
call fcn.10002cb0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x10088398
mov byte [ebp - 0x44d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x414]
call fcn.1000a6d0
mov al, byte [ebp - 0x44d]
jmp 0x100887d9
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x440], 0
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x440]
push ecx
push 0x100cbe20
lea ecx, [ebp - 0x414]
call fcn.10005f90
push eax
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 0x440], 0
jne 0x100883fd
mov byte [ebp - 0x44e], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x414]
call fcn.1000a6d0
mov al, byte [ebp - 0x44e]
jmp 0x100887d9
mov dword [ebp - 0x494], str.Comments
mov dword [ebp - 0x490], 0x100cbe68
mov dword [ebp - 0x48c], 0x100cbe80
mov dword [ebp - 0x488], 0x100cbe98
mov dword [ebp - 0x484], 0x100cbeb4
mov dword [ebp - 0x480], 0x100cbed4
mov dword [ebp - 0x47c], 0x100cbef8
mov dword [ebp - 0x478], 0x100cbf10
mov dword [ebp - 0x470], 8
mov dword [ebp - 0x45c], 0
jmp 0x10088472
mov edx, dword [ebp - 0x45c]
add edx, 1
mov dword [ebp - 0x45c], edx
mov eax, dword [ebp - 0x45c]
cmp eax, dword [ebp - 0x470]
jge 0x10088545
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x41c], 0
push 0x200
push 0
lea ecx, [ebp - 0x210]
push ecx
call fcn.1008bb90
add esp, 0xc
mov edx, dword [ebp - 0x45c]
mov eax, dword [ebp + edx*4 - 0x494]
push eax
mov ecx, dword [ebp - 0x440]
movzx edx, word [ecx + 2]
push edx
mov eax, dword [ebp - 0x440]
movzx ecx, word [eax]
push ecx
push 0x100cbf30
push 0xffffffffffffffff
push 0x100
lea edx, [ebp - 0x210]
push edx
call fcn.100021f0
add esp, 0x1c
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x448]
push ecx
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x414]
call fcn.10005f90
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10088540
cmp dword [ebp - 0x41c], 0
jbe 0x10088540
cmp dword [ebp - 0x448], 0
je 0x10088540
mov eax, dword [ebp - 0x41c]
push eax
push 0
mov ecx, dword [ebp - 0x448]
push ecx
call fcn.1008bb90
add esp, 0xc
jmp 0x10088463
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x444], 0
push 0x200
push 0
lea edx, [ebp - 0x410]
push edx
call fcn.1008bb90
add esp, 0xc
mov eax, dword [ebp - 0x440]
movzx ecx, word [eax + 2]
push ecx
mov edx, dword [ebp - 0x440]
movzx eax, word [edx]
push eax
push str.StringFileInfo_04x_04xFileDescription
push 0xffffffffffffffff
push 0x100
lea ecx, [ebp - 0x410]
push ecx
call fcn.100021f0
add esp, 0x18
lea edx, [ebp - 0x418]
push edx
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp - 0x414]
call fcn.10005f90
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100886c5
mov edx, dword [ebp - 0x418]
push edx
push 0
mov eax, dword [ebp - 0x444]
push eax
call fcn.1008bb90
add esp, 0xc
mov ecx, dword [ebp - 0x418]
shr ecx, 1
mov dword [ebp - 0x460], ecx
cmp dword [ebp - 0x460], 5
jbe 0x10088606
mov dword [ebp - 0x460], 5
lea edx, [ebp - 0x43c]
push edx
call fcn.100888c0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x43c]
call fcn.10002ca0
cmp eax, dword [ebp - 0x460]
jbe 0x1008866a
mov eax, dword [ebp - 0x460]
push eax
push 0
lea ecx, [ebp - 0x4ac]
push ecx
lea ecx, [ebp - 0x43c]
call fcn.1000cc10
mov dword [ebp - 0x474], eax
mov edx, dword [ebp - 0x474]
push edx
lea ecx, [ebp - 0x43c]
call fcn.10005ef0
lea ecx, [ebp - 0x4ac]
call fcn.10002d10
lea ecx, [ebp - 0x43c]
call fcn.10002ca0
shl eax, 1
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x468]
cmp eax, dword [ebp - 0x418]
ja 0x100886b6
cmp dword [ebp - 0x444], 0
je 0x100886b6
mov ecx, dword [ebp - 0x468]
push ecx
lea ecx, [ebp - 0x43c]
call fcn.10002cb0
push eax
mov edx, dword [ebp - 0x444]
push edx
call fcn.1008b090
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x43c]
call fcn.10002d10
mov dword [ebp - 0x44c], 0
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x44c]
push ecx
push 0x100cbfbc
lea ecx, [ebp - 0x414]
call fcn.10005f90
push eax
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 0x44c], 0
je 0x10088714
mov edx, dword [ebp - 0x420]
push edx
push 0
mov eax, dword [ebp - 0x44c]
push eax
call fcn.1008bb90
add esp, 0xc
push 0
mov ecx, dword [ebp + 8]
call fcn.10002cb0
push eax
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0
jne 0x10088758
mov byte [ebp - 0x44f], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x414]
call fcn.1000a6d0
mov al, byte [ebp - 0x44f]
jmp 0x100887d9
mov ecx, dword [ebp - 0x458]
push ecx
lea ecx, [ebp - 0x414]
call fcn.10005f90
push eax
mov edx, dword [ebp - 0x440]
movzx eax, word [edx]
push eax
push 1
push 0x10
mov ecx, dword [ebp - 0x464]
push ecx
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
test eax, eax
jne 0x100887ab
mov byte [ebp - 0x450], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x414]
call fcn.1000a6d0
mov al, byte [ebp - 0x450]
jmp 0x100887d9
push 0
mov edx, dword [ebp - 0x464]
push edx
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
mov byte [ebp - 0x451], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x414]
call fcn.1000a6d0
mov al, byte [ebp - 0x451]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10088f98
mov esp, ebp
pop ebp
ret