Function at 0x4022d0
Capabilities:
Accept command line arguments
Check os version
Create directory
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x40a004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x44b890], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x44b894], eax
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa8]
mov dword [0x44b898], ecx
mov dword [0x44b89c], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x44b8a0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x44b894
push 0x44b8a4
mov dword [0x44b8a4], eax
mov dword [0x44b8a8], 0
call fcn.00401170
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x9c]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov edx, dword [ebp - 0x9c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0xa0]
push ecx
push 0x44c130
push 0
push 0
push str.Common_AppData
push edx
mov dword [ebp - 0xa0], 0x200
call edi
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [0x44c130], 0
mov eax, 0x44c130
je 0x4023c0
add eax, 2
cmp word [eax], 0
jne 0x4023b7
cmp word [eax - 2], 0x5c
je 0x4023d2
mov ecx, 0x5c
mov word [eax], cx
add eax, 2
mov esi, str.Mozilla_
mov edx, 0x4d
sub esi, eax
movzx ecx, word [esi + eax + 2]
mov word [eax], dx
add eax, 2
mov edx, ecx
test cx, cx
jne 0x4023de
xor edx, edx
push edx
push 0x44c130
mov word [eax], dx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x200
push 0x44c130
push 0x44c130
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea eax, [ebp - 0x9c]
push eax
push 0x101
push 0
push str.SOFTWAREMicrosoftCryptography
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x402669
push 0x80
push eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.00405cd0
mov ecx, dword [ebp - 0x9c]
add esp, 0xc
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x98]
push eax
push 0
push 0
push str.MachineGuid
push ecx
mov dword [ebp - 0xa0], 0x80
call edi
xor eax, eax
xor ebx, ebx
lea esi, [ebp - 0x98]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
cmp word [ebp - 0x98], ax
je 0x4024e9
movzx eax, word [esi]
lea edx, [eax - 0x30]
add esi, 2
cmp dx, 9
ja 0x4024aa
lea ecx, [eax - 0x30]
jmp 0x4024c3
cmp eax, 0x61
jb 0x4024b4
cmp eax, 0x66
jbe 0x4024bd
lea ecx, [eax - 0x41]
cmp cx, 5
ja 0x4024e3
and eax, 0xf
lea ecx, [eax + 9]
mov eax, ebx
cdq
sub eax, edx
test bl, 1
je 0x4024d9
sar eax, 1
or byte [ebp + eax - 0x14], cl
lea eax, [ebp + eax - 0x14]
jmp 0x4024e2
shl cl, 4
sar eax, 1
mov byte [ebp + eax - 0x14], cl
inc ebx
cmp word [esi], 0
jne 0x402496
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 0xa
jmp 0x402500
push 0x408948
lea eax, [ebp - 0x14]
push eax
call fcn.00401170
push 0x408948
lea ecx, [ebp - 0x10]
push ecx
call fcn.00401170
push 0x408948
lea edx, [ebp - 0xc]
push edx
call fcn.00401170
dec esi
jne 0x402500
mov ax, word [0x44c130]
mov ecx, 0x44bd30
test ax, ax
je 0x402562
mov esi, 0x44c130
movzx edx, ax
sub esi, ecx
jmp 0x402550
movzx eax, word [esi + ecx + 2]
mov word [ecx], dx
add ecx, 2
mov edx, eax
test ax, ax
jne 0x402550
xor eax, eax
mov word [ecx], ax
mov eax, dword [ebp - 0x14]
call fcn.004012d0
mov esi, str..dll
mov edx, 0x2e
sub esi, eax
jmp 0x402580
mov word [eax], dx
movzx ecx, word [esi + eax + 2]
add eax, 2
mov edx, ecx
test cx, cx
jne 0x402580
xor ecx, ecx
mov word [eax], cx
mov ax, word [0x44c130]
mov ecx, 0x44b930
test ax, ax
je 0x4025c3
mov esi, 0x44c130
movzx edx, ax
sub esi, ecx
movzx eax, word [esi + ecx + 2]
mov word [ecx], dx
add ecx, 2
mov edx, eax
test ax, ax
jne 0x4025b1
mov eax, dword [ebp - 0x10]
xor edx, edx
mov word [ecx], dx
jmp 0x45b700
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040281c
mov esp, ebp
pop ebp
ret