Function at 0x4479d0
Capabilities:
Check os version
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x617918
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push edi
cmp eax, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
je 0x447e19
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x34], bx
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 1
push eax
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x104], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x447c1f
cmp dword [ebp - 0xf4], 2
jne 0x447c1f
cmp dword [ebp - 0x100], 6
jb 0x447c1f
push str.shell32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x1c], edi
je 0x447c1f
push str.SHGetKnownFolderPath
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x447c0d
push ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x58], 0xb4bfcc3a
mov word [ebp - 0x54], 0xdb2c
mov word [ebp - 0x52], 0x424c
mov byte [ebp - 0x50], 0xb0
mov byte [ebp - 0x4f], 0x29
mov byte [ebp - 0x4e], 0x7f
mov byte [ebp - 0x4d], 0xe9
mov byte [ebp - 0x4c], 0x9a
mov byte [ebp - 0x4b], 0x87
mov byte [ebp - 0x4a], 0xc6
mov byte [ebp - 0x49], 0x41
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x58]
push ecx
push ebx
push ebx
push edx
call esi
cmp eax, ebx
jne 0x447c07
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x447c07
push eax
call fcn.005e519b
mov ecx, eax
mov eax, dword [ebp - 0x18]
add esp, 4
mov edi, 0x6f5cbc
cmp word [eax + ecx*2 - 2], 0x5c
je 0x447af8
mov edi, 0x6c5154
mov edx, 0x6c5124
mov esi, eax
test edx, edx
je 0x447bf9
cmp eax, ebx
je 0x447bf9
cmp edi, ebx
je 0x447bf9
push edx
lea ecx, [ebp - 0x64]
call fcn.00402330
push esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0040e5b0
push edi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.0040e5b0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00401070
mov edi, dword [ebp - 0x44]
cmp edi, ebx
jne 0x447b50
lea edi, [ebp - 0x40]
mov esi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x70]
call fcn.004023b0
push eax
call fcn.005e519b
mov edx, eax
push edi
mov dword [ebp - 0x2c], edx
call fcn.005e519b
mov ecx, dword [ebp - 0x2c]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005fdccd
mov edx, eax
add esp, 0xc
cmp edx, ebx
mov dword [ebp - 0x38], edx
je 0x447bd2
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x70]
call fcn.004023b0
push eax
lea ecx, [ebp - 0x44]
call fcn.004023b0
push eax
lea ecx, [ebp - 0x64]
call fcn.004023b0
push eax
mov eax, dword [ebp - 0x38]
push esi
push eax
call fcn.005e512b
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005e519b
add esp, 0x18
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 0x11], 1
call dword [sym.imp.ole32.dll_CoUninitialize]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, byte [ebp - 0x11]
test al, al
jne 0x447d15
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
push edx
push 0xf003f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders_
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x447e0d
mov ecx, dword [ebp - 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push str.Desktop
push ecx
call edi
test eax, eax
jne 0x447d00
mov edx, dword [0x6f175c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x18]
mov bl, 5
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00601c99
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
mov esi, eax
push ecx
push esi
push 0
push 0
push str.Desktop
push edx
call edi
test eax, eax
jne 0x447cf2
mov eax, dword [0x6f175c]
mov dword [ebp - 0x48], eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 6
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, byte [ecx + esi - 1]
cmp al, 0x5c
mov eax, 0x6f5cb8
je 0x447cc2
mov eax, 0x6c6bb4
push eax
push esi
lea ecx, [ebp - 0x48]
push 0x6c5124
push ecx
call fcn.005fa6fb
mov edx, dword [ebp - 0x48]
add esp, 0x10
lea ecx, [ebp - 0x38]
push 0
push edx
call fcn.00402ce0
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], bl
call fcn.006018cc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.006018cc
xor ebx, ebx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x11]
test al, al
je 0x447e0d
xor eax, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], eax
mov word [ebp - 0x24], bx
mov ecx, 0x6c5098
mov byte [ebp - 4], 7
test ecx, ecx
je 0x447deb
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x44]
push edx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x40], bx
call fcn.004023c0
mov bl, 8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00401070
push 0x6c5098
lea ecx, [ebp - 0x64]
call fcn.00402330
mov esi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.004023b0
push eax
call fcn.005e519b
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005fdccd
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x28], edx
je 0x447dcf
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x44]
call fcn.004023b0
push eax
lea ecx, [ebp - 0x64]
call fcn.004023b0
push eax
mov eax, dword [ebp - 0x28]
push esi
push eax
call fcn.005e512b
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.005e519b
add esp, 0x14
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.00401070
mov eax, dword [ebp - 0x28]
xor ebx, ebx
cmp eax, ebx
jne 0x447df2
lea eax, [ebp - 0x24]
push 0x5c
push eax
call fcn.005e50eb
add esp, 8
cmp eax, ebx
jne 0x447e2c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00401070
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add eax, 2
mov word [eax], bx
mov eax, dword [ebp - 0x38]
cmp eax, ebx
jne 0x447e3c
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
jne 0x447e46
lea ecx, [ebp - 0x24]
push eax
push ecx
call fcn.005e783c
add esp, 8
test eax, eax
jne 0x447e01
mov edx, dword [0x6f6b40]
mov eax, dword [0x6f6b44]
push 0x1030
push edx
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret