Function at 0x10836ad
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0x120]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], 6
mov dword [ebp - 0x118], 1
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x138]
push eax
push edi
push edi
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
test eax, eax
je 0x108391a
cmp dword [ebp - 0x138], 0xabcdabcd
je 0x108391a
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0108b1f3
test eax, eax
jl 0x108391a
lea eax, [ebp - 0x134]
push eax
push edi
push dword [ebp - 0x130]
call fcn.0108b0e9
test eax, eax
jl 0x108389f
call fcn.010800cd
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
xor eax, eax
xor ecx, ecx
push ebx
xor esi, esi
lea edx, [eax + 1]
inc esi
cmp edx, 0x3a
je 0x10837a2
mov ebx, dword [ecx + 0x10839b0]
cmp ebx, dword [ecx + 0x1083928]
je 0x10837a4
xor esi, esi
mov ebx, dword [ecx + 0x1083928]
cmp ebx, dword [ebp - 0x138]
jne 0x10837c4
mov ebx, dword [ebp - 0x124]
cmp ebx, dword [ecx + 0x108392c]
je 0x10837da
cmp esi, edi
je 0x10837da
add ecx, 0x88
mov eax, edx
cmp ecx, 0x1ed0
jae 0x1083892
jmp 0x1083789
xor ebx, ebx
imul eax, eax, 0x88
lea eax, [eax + 0x1083930]
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x140], eax
jmp 0x10837f8
xor edi, edi
push edi
push edi
push dword [ebp - 0x140]
lea ecx, [ebp - 0x13c]
call fcn.010804b9
mov edi, eax
test edi, edi
je 0x1083888
push 0xa
pop eax
sub eax, ebx
mov dword [ebp - 0x12c], eax
fild dword [ebp - 0x12c]
test eax, eax
jge 0x108382c
fadd dword [0x1085808]
fmul qword [0x1085800]
mov esi, dword [ebp - 0x134]
lea eax, [ebp - 0x124]
push eax
fadd qword [0x10857f8]
push 0x100f584
push edi
fstp dword [ebp - 0x12c]
call dword [sym.imp.SHELL32.dll_SHCreateItemFromIDList]
test eax, eax
jl 0x1083881
mov eax, dword [esi]
lea ecx, [ebp - 0x148]
push ecx
lea ecx, [ebp - 0x12c]
push ecx
push dword [ebp - 0x124]
push esi
call dword [eax + 0x28]
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.SHELL32.dll_ILFree]
inc ebx
cmp ebx, 0xa
jb 0x10837f6
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop ebx
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x130]
call fcn.0108b145
test eax, eax
jl 0x108390e
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
lea edx, [ebp - 0x12c]
push edx
push 0x10662f0
lea edx, [ebp - 0x13c]
push edx
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x1083902
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x10838f6
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x130]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0100204d
leave
ret