Function at 0x10090e30
Capabilities:
Check os version

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fcb06
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a0
mov eax, dword [0x1013c014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x258], ecx
mov esi, dword [ebx + 8]
mov edi, dword [esi + 0x10]
cmp dword [edi - 0xc], 0
je 0x10090eb6
cmp byte [ebx + 0xc], 0
mov ecx, 0x31
mov eax, 0xb
cmovne eax, ecx
push eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x258]
mov edx, edi
add ecx, 0x40
push ecx
mov ecx, eax
call fcn.100aefb0
add esp, 4
jmp 0x10091584
mov dword [ebp - 0x254], 0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x18]
cmp eax, 0x21
ja 0x10090fc6
lea eax, [eax + eax*4]
mov esi, dword [eax*8 + 0x1013f318]
test esi, esi
je 0x10090f11
cmp byte [ebx + 0xc], 0
mov ecx, 0x31
mov eax, 0xb
cmovne eax, ecx
push eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x258]
mov edx, esi
add ecx, 0x40
push ecx
mov ecx, eax
call fcn.100aefb0
add esp, 4
jmp 0x10090f5b
mov ecx, dword [eax*8 + 0x1013f31c]
test ecx, ecx
je 0x10090f75
lea edx, [ebp - 0x254]
call fcn.100348d0
cmp dword [ebp - 0x254], 0
je 0x10091582
cmp byte [ebx + 0xc], 0
mov ecx, 0x31
mov esi, dword [ebp - 0x254]
mov eax, 0xb
cmovne eax, ecx
push eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, esi
mov ecx, eax
call fcn.100af130
mov edi, eax
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x10090f6e
push eax
call dword [sym.imp.SHELL32.dll_ILFree]
mov eax, edi
jmp 0x10091584
mov esi, dword [eax*8 + 0x1013f320]
test esi, esi
je 0x10091582
push esi
mov dword [ebp - 0x254], 0
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
je 0x10090faa
push esi
call dword [sym.imp.SHELL32.dll_SHSimpleIDListFromPath]
mov dword [ebp - 0x254], eax
test eax, eax
jmp 0x10090f2e
push 0
push 0x20410000
lea edx, [ebp - 0x254]
mov ecx, esi
call fcn.100b09d0
add esp, 8
jmp 0x10090f27
mov eax, dword [esi + 4]
cmp dword [eax - 0xc], 0
je 0x10091582
push 0x7c
push eax
call fcn.100d61ed
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x10090ffb
add ecx, 2
cmp word [ecx], 0x20
jne 0x10090ffe
nop dword [eax]
add ecx, 2
cmp word [ecx], 0x20
je 0x10090ff0
jmp 0x10090ffe
mov ecx, dword [esi + 4]
mov esi, ecx
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10091003
sub esi, edx
sar esi, 1
cmp esi, 0x103
jle 0x10091021
mov esi, 0x103
jmp 0x10091025
test esi, esi
jle 0x1009103e
movzx eax, word [ecx + esi*2]
mov edx, 0xdc00
cmp ax, dx
jb 0x1009103e
mov edx, 0xdfff
cmp ax, dx
ja 0x1009103e
dec esi
add esi, esi
lea eax, [ebp - 0x220]
push esi
push ecx
push eax
call fcn.100d7080
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x220], ax
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.SHELL32.dll_DoEnvironmentSubstW]
lea eax, [ebp - 0x220]
push 0x3b
push eax
call fcn.100d61ed
add esp, 8
test eax, eax
je 0x100910a8
lea ecx, [ebp - 0x220]
cmp eax, ecx
jbe 0x100910a8
nop dword [eax]
xor ecx, ecx
mov word [eax], cx
sub eax, 2
cmp word [eax], 0x20
jne 0x100910a8
lea ecx, [ebp - 0x220]
cmp eax, ecx
ja 0x10091090
lea eax, [ebp - 0x220]
mov dword [ebp - 0x254], 0
push eax
xor edi, edi
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x10091180
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHELL32.dll_SHSimpleIDListFromPath]
mov dword [ebp - 0x254], eax
test eax, eax
je 0x10091582
lea eax, [ebp - 0x220]
push eax
call esi
cmp word [eax], di
jne 0x1009116e
mov ax, word [ebp - 0x21e]
cmp ax, 0x3a
jne 0x10091126
cmp word [ebp - 0x21c], 0x5c
jne 0x1009111f
cmp word [ebp - 0x21a], di
je 0x1009111f
mov edi, 4
jmp 0x1009119b
mov edi, 3
jmp 0x1009119b
cmp word [ebp - 0x220], 0x5c
jne 0x10091118
cmp ax, 0x5c
jne 0x10091118
lea eax, [ebp - 0x21c]
push 0x5c
push eax
call fcn.100d61ed
add esp, 8
test eax, eax
je 0x10091167
add eax, 4
push 0x5c
push eax
call fcn.100d61ed
add esp, 8
mov edi, eax
neg edi
sbb edi, edi
and edi, 2
add edi, 2
jmp 0x1009119b
mov edi, 1
jmp 0x1009119b
push str..lnk
push eax
call fcn.100dc721
mov edi, 5
jmp 0x10091198
push 0
push 0x20410000
lea edx, [ebp - 0x254]
lea ecx, [ebp - 0x220]
call fcn.100b09d0
add esp, 8
cmp dword [ebp - 0x254], 0
je 0x10091535
mov cx, word [0x10159320]
test cx, cx
jne 0x100911d3
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
movzx eax, al
shr ecx, 8
movzx ecx, cl
shl ax, 8
or cx, ax
mov word [0x10159320], cx
mov eax, 0x602
cmp cx, ax
jb 0x10091535
push str..lnk
lea eax, [ebp - 0x220]
push eax
call esi
push eax
call fcn.100dc721
add esp, 8
test eax, eax
jne 0x10091535
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 1
push eax
push 0x10103e10
push dword [ebp - 0x254]
call dword [sym.imp.SHELL32.dll_SHCreateItemFromIDList]
test eax, eax
js 0x1009151d
push 0
push 3
push dword [ebp - 0x254]
mov ecx, 0x1014be70
push dword [ebp - 0x268]
call fcn.1002ac30
mov esi, eax
test esi, esi
je 0x1009151d
push 0x1014be70
mov dword [ebp - 0x274], 0x1014be70
mov byte [ebp - 0x270], 0
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov al, byte [esi + 0x2b]
lea ecx, [ebp - 0x274]
mov byte [ebp - 0x24d], al
call fcn.100233f0
cmp byte [ebp - 0x24d], 0
je 0x1009151d
movzx eax, byte [ebx + 0xc]
mov ecx, 0x1014be70
xor eax, 1
inc eax
shl eax, 4
push 0
or eax, 0x8000
push eax
push esi
call fcn.1002b890
mov cl, byte [ebx + 0xc]
test cl, cl
je 0x100912b5
mov esi, dword [esi + 4]
jmp 0x100912b8
mov esi, dword [esi + 8]
mov dword [ebp - 0x260], esi
test esi, esi
je 0x1009151d
cmp dword [esi + 0x10], 0
je 0x1009151d
test cl, cl
mov edx, 0x31
mov eax, 0xb
cmovne eax, edx
push eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
lea eax, [ebp - 0x2ac]
push eax
push 0x18
push dword [esi + 0x10]
mov dword [ebp - 0x270], edi
call dword [sym.imp.GDI32.dll_GetObjectW]
push ecx
lea eax, [ebp - 0x24d]
mov byte [ebp - 0x24d], 0xff
push eax
lea eax, [edi + 1]
imul eax, edi
lea ecx, [ebp - 0x280]
push eax
call fcn.1009a2d0
mov esi, dword [ebp - 0x280]
push esi
push 8
push 1
push edi
push edi
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x26c], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x2a8], edi
jne 0x1009135d
cmp dword [ebp - 0x2a4], edi
je 0x10091469
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0
call esi
mov edi, eax
push edi
mov dword [ebp - 0x258], edi
call esi
mov ecx, dword [ebp - 0x270]
xorps xmm0, xmm0
push 0
push 0
movups xmmword [ebp - 0x248], xmm0
push 0
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x248], ecx
lea ecx, [ebp - 0x24c]
push 0
push ecx
push eax
mov dword [ebp - 0x25c], eax
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x24c], 0x28
movq qword [ebp - 0x228], xmm0
mov dword [ebp - 0x240], 0x200001
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x260]
push dword [eax + 0x10]
push edi
call esi
mov ecx, dword [ebp - 0x264]
mov edi, eax
push ecx
push dword [ebp - 0x25c]
call esi
push 0xcc0020
push dword [ebp - 0x2a4]
mov esi, eax
push dword [ebp - 0x2a8]
push 0
push 0
push dword [ebp - 0x258]
push dword [ebp - 0x244]
push dword [ebp - 0x248]
push 0
push 0
push dword [ebp - 0x25c]
call dword [sym.imp.GDI32.dll_StretchBlt]
push edi
push dword [ebp - 0x258]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
call edi
push esi
push dword [ebp - 0x25c]
call edi
push dword [ebp - 0x258]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push dword [ebp - 0x25c]
call esi
mov esi, dword [ebp - 0x280]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x284], eax
lea eax, [ebp - 0x294]
push eax
mov dword [ebp - 0x294], 1
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], ecx
call dword [sym.imp.USER32.dll_CreateIconIndirect]
push dword [ebp - 0x26c]
mov edi, eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x264]
cmp ecx, dword [eax + 0x10]
je 0x100914cc
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x10091500
mov ecx, dword [ebp - 0x278]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x100914f6
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100915a4
push ecx
push esi
call fcn.100d4917
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x10090f5d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10090f5d
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x10091531
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
test edi, edi
je 0x10090f27
cmp edi, 5
je 0x10090f27
cmp byte [ebx + 0xc], 0
mov ecx, 0x31
mov eax, 0xb
cmovne eax, ecx
push eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [ebp - 0x258]
mov ecx, edi
add edx, 0x40
mov esi, eax
push edx
call fcn.10034270
mov edx, eax
mov ecx, esi
call fcn.100aefb0
add esp, 4
jmp 0x10090f5b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100d4906
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.100dca69
int3