Function at 0x42ceb0
Capabilities:
Check os version
Create directory
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af97b
mov eax, dword fs:[0]
push eax
sub esp, 0x370
mov eax, dword [0x620024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x34c], edi
mov dword [ebp - 0x350], edi
call fcn.00449b3d
mov ecx, eax
test ecx, ecx
je 0x42d885
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x344], eax
push str.CJEDEFS.TMP
lea esi, [edi + 0x9c]
mov dword [ebp - 4], 0
push esi
lea eax, [ebp - 0x344]
mov byte [ebp - 4], 1
push str._s_s
push eax
mov dword [ebp - 0x378], esi
call fcn.00402b00
mov ecx, dword [ebp - 0x344]
add esp, 0x10
mov edx, dword [ecx - 0xc]
push 1
push 1
call fcn.0041bb00
add esp, 8
push 0
push dword [ebp - 0x344]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42d7aa
mov byte [ebp - 4], 2
cmp byte [0x62b64e], 0
je 0x42d015
push 0
push 0x2000000
push 3
push 0
push 0
push 0xc0000000
push dword [ebp - 0x344]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42d015
push 0
lea eax, [ebp - 0x340]
mov dword [ebp - 0x33c], 0
push eax
push 2
lea eax, [ebp - 0x33c]
mov dword [ebp - 0x340], 0
push eax
push 0
push 0
push 0x9003c
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x42d00e
cmp word [ebp - 0x33c], 0
je 0x42d00e
push 0
lea eax, [ebp - 0x340]
mov dword [ebp - 0x33c], 0
push eax
push 0
push 0
push 2
lea eax, [ebp - 0x33c]
push eax
push 0x9c040
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi + 0x88]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
mov ecx, esi
call fcn.0041bd60
add esp, 4
test eax, eax
setns bl
test eax, eax
js 0x42d685
call fcn.00449b3d
mov ecx, eax
test ecx, ecx
je 0x42d88f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x35c], eax
mov byte [ebp - 4], 3
mov eax, 0x200
mov edx, dword [edi + 0xac]
cmp edx, eax
mov ecx, dword [edi + 0xa8]
cmova eax, edx
cmp ecx, eax
ja 0x42d081
mov ecx, 0x200
cmp edx, ecx
cmova ecx, edx
lea eax, [ecx + 0x77fffff]
mov dword [ebp - 0x334], 0x114
neg ecx
and eax, ecx
mov dword [ebp - 0x33c], eax
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42d0f4
cmp dword [ebp - 0x324], 2
jne 0x42d0f4
cmp dword [ebp - 0x330], 6
jb 0x42d0f4
mov edx, dword [edi + 0xac]
mov eax, 0x200
mov ecx, dword [edi + 0xa8]
cmp edx, eax
cmova eax, edx
cmp ecx, eax
ja 0x42d0e2
mov ecx, 0x200
cmp edx, ecx
cmova ecx, edx
lea edx, [ecx + 0x7bfffff]
neg ecx
and edx, ecx
mov dword [ebp - 0x33c], edx
jmp 0x42d0fa
mov edx, dword [ebp - 0x33c]
mov ecx, dword [edi + 0x8c]
mov eax, dword [edi + 0x88]
mov dword [ebp - 0x36c], 0x20000080
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x348], ecx
test ecx, ecx
jb 0x42d144
ja 0x42d126
cmp eax, edx
jbe 0x42d144
push 0
push edx
push ecx
push eax
call fcn.005ab9c0
mov ecx, dword [ebp - 0x348]
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x360]
jmp 0x42d14e
mov dword [ebp - 0x358], 1
cmp byte [0x62b64e], 0
movzx edx, word [esi]
jne 0x42d28d
push edx
mov dword [ebp - 0x360], 0
call fcn.0059100d
add esp, 4
mov dword [ebp - 0x348], 0
mov edx, 1
lea ecx, [eax - 0x41]
lea eax, [ebp - 0x348]
shl edx, cl
push eax
lea eax, [ebp - 0x354]
mov dword [ebp - 0x364], edx
push eax
push 0
push 0xf003f
push 0
push 0x5f3770
push 0
push str.SystemCurrentControlSetControlFileSystem
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
jne 0x42d273
lea eax, [ebp - 0x348]
mov dword [ebp - 0x348], esi
push eax
push esi
lea eax, [ebp - 0x340]
mov dword [ebp - 0x340], esi
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.DisableLowDiskSpaceBroadcast
push dword [ebp - 0x354]
call esi
test eax, eax
jne 0x42d22a
cmp dword [ebp - 0x340], 4
jne 0x42d22a
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x340]
push eax
push 0
push str.DisableLowDiskSpaceBroadcast
push dword [ebp - 0x354]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x364]
push 4
mov dword [ebp - 0x364], eax
lea eax, [ebp - 0x364]
push eax
push 4
push 0
push str.DisableLowDiskSpaceBroadcast
push dword [ebp - 0x354]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x354]
test eax, eax
je 0x42d273
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x360]
mov ecx, dword [edi + 0x8c]
mov dword [ebp - 0x368], eax
mov eax, dword [edi + 0x88]
jmp 0x42d295
xor edx, edx
mov dword [ebp - 0x368], edx
mov dword [edi + 0x1d0], 0
mov dword [edi + 0x1d4], 0
mov dword [edi + 0x1c8], eax
mov dword [edi + 0x1cc], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x1f4], eax
mov esi, 1
mov eax, dword [ebp - 0x33c]
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], 0
mov dword [edi + 0x98], 0
nop word [eax + eax]
cmp esi, dword [ebp - 0x358]
ja 0x42d56b
push 0
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42d322
xor bl, bl
jmp 0x42d5ae
push esi
push ecx
lea ecx, [ebp - 0x220]
call fcn.0042bbf0
add esp, 8
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x344]
lea eax, [ebp - 0x35c]
push 0x5f4448
push eax
call fcn.00402b00
mov ebx, dword [ebp - 0x358]
add esp, 0x10
mov eax, dword [ebp - 0x36c]
cmp esi, ebx
mov ecx, 0x80000080
cmove eax, ecx
mov ecx, 3
push 0
push eax
mov dword [ebp - 0x36c], eax
xor eax, eax
cmp byte [edi + 0x206], al
push 4
push 0
cmovne eax, ecx
push eax
push 0x40000000
push dword [ebp - 0x35c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi + 0x84], eax
cmp eax, 0xffffffff
je 0x42d55b
mov byte [ebp - 4], 4
cmp esi, ebx
jne 0x42d420
lea eax, [edi + 0x88]
push eax
lea ebx, [edi + 0x9c]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
mov ecx, ebx
call fcn.0041bd60
add esp, 4
test eax, eax
js 0x42d460
mov eax, dword [ebp - 0x358]
mov ecx, dword [edi + 0x88]
dec eax
mul dword [ebp - 0x33c]
push 0
add eax, ecx
mov dword [edi + 0x1c8], eax
lea eax, [edi + 0x8c]
adc edx, dword [edi + 0x8c]
push eax
push ecx
push dword [edi + 0x84]
mov dword [edi + 0x1cc], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [edi + 0x84]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [edi + 0xb4]
push edi
mov eax, dword [eax + 0xa5]
call eax
mov bl, al
add esp, 4
mov dword [ebp - 4], 3
mov ecx, dword [edi + 0x84]
call fcn.004266b0
push dword [edi + 0x84]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x42d535
inc esi
jmp 0x42d300
lea eax, [edi + 0x9c]
mov edx, 0xd5
push eax
mov ecx, edi
xor bl, bl
call fcn.004237f0
add esp, 4
lea eax, [edi + 0x50]
lea ecx, [edi + 0x18c]
push eax
push dword [ecx + 8]
call fcn.0044c8e6
jmp 0x42d434
push 0
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42d5ae
lea eax, [ebp - 0x35c]
lea ecx, [edi + 0x18c]
push eax
push dword [ecx + 8]
call fcn.0044c8e6
jmp 0x42d5ae
mov edx, 0xd9
mov ecx, edi
call fcn.00417ab0
xor bl, bl
jmp 0x42d5ae
test bl, bl
je 0x42d5ae
cmp byte [0x62b64e], 0
je 0x42d5bb
cmp byte [edi + 0xa4], 5
jne 0x42d5ae
mov al, byte [edi + 0x1f1]
cmp al, 1
jbe 0x42d59d
movzx ecx, al
xor edx, edx
mov eax, 0x64
div ecx
add byte [edi + 0x1f0], al
mov ecx, edi
call fcn.00432370
xor ecx, ecx
movzx ebx, bl
test al, al
cmove ebx, ecx
cmp byte [0x62b64e], 0
jne 0x42d658
lea eax, [ebp - 0x350]
mov dword [ebp - 0x350], 0
push eax
lea eax, [ebp - 0x340]
push eax
push 0
push 0xf003f
push 0
push 0x5f3770
push 0
push str.SystemCurrentControlSetControlFileSystem
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
jne 0x42d658
mov eax, dword [ebp - 0x368]
test eax, eax
je 0x42d62f
push 4
mov dword [ebp - 0x350], eax
lea eax, [ebp - 0x350]
push eax
push 4
push esi
push str.DisableLowDiskSpaceBroadcast
push dword [ebp - 0x340]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x42d640
push str.DisableLowDiskSpaceBroadcast
push dword [ebp - 0x340]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x340]
test eax, eax
je 0x42d658
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp - 0x35c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d738
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42d738
push esi
mov edx, 0xd5
mov ecx, edi
call fcn.004237f0
add esp, 4
lea eax, [edi + 0x50]
lea ecx, [edi + 0x18c]
push eax
push dword [ecx + 8]
call fcn.0044c8e6
jmp 0x42d735
or esi, 0xffffffff
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x344]
push 1
push 1
mov edx, dword [ecx - 0xc]
call fcn.0041bb00
add esp, 8
test eax, eax
jns 0x42d784
push dword [ebp - 0x378]
mov edx, 0xd0
mov ecx, edi
call fcn.004237f0
add esp, 4
lea eax, [ebp - 0x344]
lea ecx, [edi + 0x18c]
push eax
push dword [ecx + 8]
call fcn.0044c8e6
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x344]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x42d7a6
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
jmp 0x42d7f3
push esi
mov edx, 0xcf
mov ecx, edi
call fcn.004237f0
add esp, 4
lea eax, [edi + 0x50]
lea ecx, [edi + 0x18c]
push eax
push dword [ecx + 8]
call fcn.0044c8e6
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x344]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d7f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00586281
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403300
push 0x80004005
call fcn.00403300
int3