Function at 0x447540
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4e6a19
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x512054]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x28], esi
mov eax, dword [0x51a22c]
mov dword [esp + 0x18], esi
cmp eax, esi
je 0x447583
lea ecx, [esp + 0x18]
push ecx
push 0x16
call eax
mov dword [esp + 0x4c], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx eax, al
cmp eax, 5
jle 0x4477da
lea edx, [esp + 0x1c]
push edx
mov ecx, str.http
call fcn.00406bd0
mov dword [esp + 0x14], esi
mov byte [esp + 0x4c], 2
mov eax, dword [0x5195ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x5195ac
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
push str.HKCUSoftwareMicrosoftWindowsShellAssociationsUrlAssociations_
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 3
call fcn.0041d660
push eax
lea ecx, [esp + 0x30]
push ecx
mov ebx, 0x4f9ddc
mov byte [esp + 0x5c], 4
call fcn.0040ab10
add esp, 0x10
lea edi, [esp + 0x20]
mov byte [esp + 0x4c], 5
call fcn.00405e00
mov byte [esp + 0x4c], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44762a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4c], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44764f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x2c]
lea eax, [esp + 0x18]
call fcn.0044b590
mov byte [esp + 0x4c], 6
mov esi, dword [eax]
mov eax, dword [esp + 0x14]
xor edi, edi
mov dword [esp + 0x28], 1
cmp eax, edi
je 0x447681
mov dword [esp + 0x14], edi
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ebp, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
push edi
mov dword [esp + 0x1c], edi
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push ebp
push esi
call edx
test eax, eax
je 0x4476b4
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4476b4
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push eax
call edx
cmp eax, edi
jle 0x4476b4
mov bl, 1
jmp 0x4476b6
xor bl, bl
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 3
call fcn.00409540
test bl, bl
je 0x44777d
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4476e1
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
jmp 0x4476e6
mov eax, 0x4f05c4
mov edi, dword [esp + 0x54]
mov edx, eax
call fcn.00406b90
lea eax, [ebp - 0x10]
mov byte [esp + 0x4c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447712
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4c], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x447727
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44774c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x447764
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
lea eax, [ebp - 0x10]
mov byte [esp + 0x4c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44779e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4c], 1
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4477b3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4477d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x4477f2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret