Function at 0x473e00
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6257
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x64b9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1dc], ebx
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x473e4b
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c8], esi
push 0x110
lea eax, [ebp - 0x1c0]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005949a0
add esp, 0xc
mov dword [ebp - 0x1c4], 0x114
lea eax, [ebp - 0x1c4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
or edi, 0xffffffff
cmp dword [ebp - 0x1c0], 5
je 0x474025
movups xmm0, xmmword [str.SoftwareClasses_]
mov eax, dword [0x629ed4]
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
movups xmmword [ebp - 0x34], xmm0
push eax
movups xmm0, xmmword [0x629ec4]
mov dword [ebp - 0x1d4], 0
movups xmmword [ebp - 0x24], xmm0
call fcn.004032f0
push ebx
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1cc]
call fcn.00407900
add esp, 4
push eax
lea ecx, [ebp - 0x1c8]
mov byte [ebp - 4], 2
call fcn.00404320
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x1cc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x473f1a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x1d0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x473f3b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1c8]
lea eax, [ebp - 0x1d4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x2003f
push 0
push esi
push reloc.WS2_32.dll_accept
call ebx
test eax, eax
je 0x474025
mov ecx, 0x1e
lea edi, [ebp - 0xb0]
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
lea eax, [ebp - 0xb0]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x1cc]
movsw word es:[edi], word [esi]
call fcn.004032f0
push dword [ebp - 0x1dc]
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1d0]
call fcn.00407900
add esp, 4
push eax
lea ecx, [ebp - 0x1c8]
mov byte [ebp - 4], 4
call fcn.00404320
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov edx, dword [ebp - 0x1d0]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x473fd9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x1cc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x473ffa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1d4]
push eax
push 0x2003f
push 0
lea eax, [ebp - 0x1d8]
push eax
push reloc.WS2_32.dll_accept
call ebx
mov esi, dword [ebp - 0x1c8]
xor ebx, ebx
test eax, eax
setne bl
jmp 0x474027
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x474043
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057b967
mov esp, ebp
pop ebp
ret