Function at 0x411690
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x44d080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x130], esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x12c], 0
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
push 0x44263c
mov word [esi], ax
call fcn.0040b840
mov eax, 1
mov dword [ebp - 4], 0
push pe_nt_image_headers32
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0041bd40
add esp, 0xc
mov dword [ebp - 0x124], 0x114
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x411787
cmp dword [ebp - 0x120], 5
je 0x411787
lea ecx, [ebp - 0x14c]
call fcn.00410ca0
mov ecx, eax
mov eax, 3
mov dword [ebp - 0x12c], eax
mov edi, ecx
cmp dword [ecx + 0x14], 8
jb 0x411768
mov edi, dword [ecx]
cmp dword [ecx + 0x10], eax
jne 0x4117d9
mov ecx, 0x443c88
mov edx, eax
sub edi, ecx
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x4117d9
add ecx, 2
sub edx, 1
jne 0x411776
mov byte [ebp - 0x125], 1
mov eax, dword [ebp - 0x12c]
test al, 2
je 0x4117ec
mov edx, dword [ebp - 0x138]
and eax, 0xfffffffd
mov dword [ebp - 0x12c], eax
cmp edx, 8
jb 0x4117ec
mov ecx, dword [ebp - 0x14c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4117e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411955
jmp 0x4117e2
mov byte [ebp - 0x125], 0
jmp 0x41178e
push edx
push ecx
call fcn.00419f4a
add esp, 8
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
mov word [ecx], ax
cmp byte [ebp - 0x125], al
je 0x4118cb
mov dword [ebp - 0x130], esp
push eax
push 0x44263c
call fcn.0040b840
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
xor eax, eax
push 0x17
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.http_shellopencommand
mov word [ecx], ax
call fcn.0040b840
mov edx, SysReAllocStringLen
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14c]
call fcn.004114a0
mov edi, eax
add esp, 0x30
cmp esi, edi
je 0x41188f
mov ecx, esi
call fcn.004014b0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x138]
cmp edx, 8
jb 0x411938
mov ecx, dword [ebp - 0x14c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41192e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41195a
jmp 0x41192e
mov dword [ebp - 0x134], esp
push 6
push str.ProgId
call fcn.0040b840
sub esp, 0x18
mov dword [ebp - 4], 2
mov ecx, esp
xor eax, eax
push 0x4d
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.SOFTWAREMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov word [ecx], ax
call fcn.0040b840
mov edx, SysReAllocStringLen
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14c]
call fcn.004114a0
mov edi, eax
add esp, 0x30
cmp esi, edi
je 0x41188f
jmp 0x411865
push edx
push ecx
call fcn.00419f4a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419c6a
mov esp, ebp
pop ebp
ret
call fcn.0042045f
call fcn.0042045f
int3