Function at 0x10022410
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e406b
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x10123068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.10002af0
movzx eax, al
test eax, eax
je 0x10022451
xor al, al
jmp 0x1002284b
mov dword [ebp - 0x114], 0
lea ecx, [ebp - 0x114]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10002b10
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
jne 0x10022487
xor al, al
jmp 0x1002284b
mov edx, dword [ebp - 0x104]
push edx
call fcn.100ba724
add esp, 4
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x100]
call fcn.1000ab70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x100]
call fcn.10009210
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x104]
push ecx
push 0
mov edx, dword [ebp - 0x10c]
push edx
call fcn.100bc780
add esp, 0xc
mov eax, dword [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 0x104]
push ecx
mov edx, dword [ebp - 0x114]
push edx
mov ecx, dword [ebp + 8]
call fcn.10002b10
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x1002252a
mov byte [ebp - 0xf9], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.10022870
mov al, byte [ebp - 0xf9]
jmp 0x1002284b
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x11c], 0
mov eax, 0x5c
mov word [ebp - 0x44], ax
mov ecx, 0x56
mov word [ebp - 0x42], cx
mov edx, 0x61
mov word [ebp - 0x40], dx
mov eax, 0x72
mov word [ebp - 0x3e], ax
mov ecx, 0x46
mov word [ebp - 0x3c], cx
mov edx, 0x69
mov word [ebp - 0x3a], dx
mov eax, 0x6c
mov word [ebp - 0x38], ax
mov ecx, 0x65
mov word [ebp - 0x36], cx
mov edx, 0x49
mov word [ebp - 0x34], dx
mov eax, 0x6e
mov word [ebp - 0x32], ax
mov ecx, 0x66
mov word [ebp - 0x30], cx
mov edx, 0x6f
mov word [ebp - 0x2e], dx
mov eax, 0x5c
mov word [ebp - 0x2c], ax
mov ecx, 0x54
mov word [ebp - 0x2a], cx
mov edx, 0x72
mov word [ebp - 0x28], dx
mov eax, 0x61
mov word [ebp - 0x26], ax
mov ecx, 0x6e
mov word [ebp - 0x24], cx
mov edx, 0x73
mov word [ebp - 0x22], dx
mov eax, 0x6c
mov word [ebp - 0x20], ax
mov ecx, 0x61
mov word [ebp - 0x1e], cx
mov edx, 0x74
mov word [ebp - 0x1c], dx
mov eax, 0x69
mov word [ebp - 0x1a], ax
mov ecx, 0x6f
mov word [ebp - 0x18], cx
mov edx, 0x6e
mov word [ebp - 0x16], dx
xor eax, eax
mov word [ebp - 0x14], ax
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp dword [ebp - 0x108], 0
jne 0x10022668
mov byte [ebp - 0xfa], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.10022870
mov al, byte [ebp - 0xfa]
jmp 0x1002284b
push 0x80
push 0
lea edx, [ebp - 0xf8]
push edx
call fcn.100bc780
add esp, 0xc
mov eax, 0x5c
mov word [ebp - 0x78], ax
mov ecx, 0x53
mov word [ebp - 0x76], cx
mov edx, 0x74
mov word [ebp - 0x74], dx
mov eax, 0x72
mov word [ebp - 0x72], ax
mov ecx, 0x69
mov word [ebp - 0x70], cx
mov edx, 0x6e
mov word [ebp - 0x6e], dx
mov eax, 0x67
mov word [ebp - 0x6c], ax
mov ecx, 0x46
mov word [ebp - 0x6a], cx
mov edx, 0x69
mov word [ebp - 0x68], dx
mov eax, 0x6c
mov word [ebp - 0x66], ax
mov ecx, 0x65
mov word [ebp - 0x64], cx
mov edx, 0x49
mov word [ebp - 0x62], dx
mov eax, 0x6e
mov word [ebp - 0x60], ax
mov ecx, 0x66
mov word [ebp - 0x5e], cx
mov edx, 0x6f
mov word [ebp - 0x5c], dx
mov eax, 0x5c
mov word [ebp - 0x5a], ax
mov ecx, 0x25
mov word [ebp - 0x58], cx
mov edx, 0x30
mov word [ebp - 0x56], dx
mov eax, 0x34
mov word [ebp - 0x54], ax
mov ecx, 0x78
mov word [ebp - 0x52], cx
mov edx, 0x25
mov word [ebp - 0x50], dx
mov eax, 0x30
mov word [ebp - 0x4e], ax
mov ecx, 0x34
mov word [ebp - 0x4c], cx
mov edx, 0x78
mov word [ebp - 0x4a], dx
mov eax, 0x5c
mov word [ebp - 0x48], ax
xor ecx, ecx
mov word [ebp - 0x46], cx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 0x108]
movzx edx, word [ecx + eax + 2]
push edx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x108]
movzx eax, word [edx + ecx]
push eax
lea ecx, [ebp - 0x78]
push ecx
push 0xffffffffffffffff
push 0x40
lea edx, [ebp - 0xf8]
push edx
call fcn.100222f0
add esp, 0x18
mov ecx, dword [ebp + 0xc]
call fcn.10002b10
push eax
lea eax, [ebp - 0xf8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x110], 0
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1002282c
cmp dword [ebp - 0x110], 0
je 0x1002282c
mov edx, dword [ebp - 0x110]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.10002b20
mov byte [ebp - 0xfb], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.10022870
mov al, byte [ebp - 0xfb]
jmp 0x1002284b
mov byte [ebp - 0xfc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.10022870
mov al, byte [ebp - 0xfc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret