Function at 0x44c900
Capabilities:
Check os version
Create directory
Get disk information
Set file attributes
Set registry value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x46b378]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x248], eax
cmp dword [esi + 8], 0xa
push edi
je 0x44c938
xor eax, eax
mov ecx, dword [esp + 0x24c]
call fcn.004225d1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x461c04]
mov cx, word [0x461c08]
mov edx, dword [0x461c0c]
mov dword [esp + 0x18], eax
mov ax, word [0x461c10]
mov word [esp + 0x1c], cx
mov ecx, dword [0x461bfc]
mov dword [esp + 0x1e], edx
mov dx, word [0x461c00]
mov word [esp + 0x22], ax
mov eax, dword [0x461bf4]
mov dword [esp + 0x24], ecx
mov cx, word [0x461bf8]
mov word [esp + 0x28], dx
mov edx, dword [0x461bec]
mov dword [esp + 0x2a], eax
mov ax, word [0x461bf0]
mov word [esp + 0x2e], cx
lea ecx, [esp + 0x18]
or ebx, 0xffffffff
mov dword [esp + 0x30], edx
mov word [esp + 0x34], ax
xor edi, edi
mov dword [esp + 0x14], ecx
nop
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x44c9d3
mov ecx, dword [esp + 0x14]
inc edi
add ecx, 6
cmp edi, 5
mov dword [esp + 0x14], ecx
jl 0x44c9b0
jmp 0x44c9d5
mov ebx, edi
lea eax, [esp + 0x13]
push eax
mov ecx, esi
mov byte [esp + 0x17], 5
call fcn.0044b8d0
mov ecx, dword [eax + 0x64]
test ecx, ecx
jne 0x44ca82
lea ecx, [esp + 0x14]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionPICheck
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x44ca77
push 0x30
lea edx, [esp + 0x17]
push edx
mov ecx, esi
mov byte [esp + 0x1b], 5
call fcn.0044b8d0
add eax, 0x31
push eax
mov eax, dword [esp + 0x1c]
push 3
push 0
push 0x461a74
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esp + 0x13]
push ecx
mov ecx, esi
mov byte [esp + 0x17], 5
call fcn.0044b8d0
lea edx, [esp + 0x13]
push edx
mov ecx, esi
mov dword [eax + 0x64], 1
mov byte [esp + 0x17], 5
call fcn.0044b8d0
lea eax, [esp + 0x13]
push eax
mov ecx, esi
mov byte [esp + 0x17], 5
call fcn.0044b8d0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x13]
push edx
mov ecx, esi
mov byte [esp + 0x17], 2
call fcn.0044b8d0
mov ecx, dword [eax + 0x64]
test ecx, ecx
jne 0x44cb2d
push 0
push 0
push 4
push 0
push 3
push 0xc0000000
push str.C:Documents_and_SettingsDefault_UserLocal_SettingsTempTemppc.bak
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44cb2d
push 0
lea eax, [esp + 0x18]
push eax
push 0x30
lea ecx, [esp + 0x1f]
push ecx
mov ecx, esi
mov dword [esp + 0x24], 0
mov byte [esp + 0x23], 2
call fcn.0044b8d0
add eax, 0x31
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x13]
push edx
mov ecx, esi
mov byte [esp + 0x17], 2
call fcn.0044b8d0
mov dword [eax + 0x64], 1
lea eax, [esp + 0x13]
push eax
mov ecx, esi
mov byte [esp + 0x17], 2
call fcn.0044b8d0
lea ecx, [esp + 0x13]
push ecx
mov ecx, esi
mov byte [esp + 0x17], 2
call fcn.0044b8d0
lea edx, [esp + 0x13]
push edx
mov ecx, esi
mov byte [esp + 0x17], 3
call fcn.0044b8d0
mov ecx, dword [eax + 0x64]
test ecx, ecx
jne 0x44cc41
xor eax, eax
test ebx, ebx
mov ecx, 0x82
lea edi, [esp + 0x3a]
mov word [esp + 0x38], 0
rep stosd dword es:[edi], eax
jl 0x44cc41
lea eax, [ebx + ebx*2]
push str.MSOCache_
lea ecx, [esp + eax*2 + 0x1c]
push ecx
lea edx, [esp + 0x40]
push 0x456a30
push edx
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x10
push 0
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 2
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [esp + 0x38]
push str.ms0.dat
push edx
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
push 0
push 2
push 4
push 0
push 3
push 0xc0000000
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44cc41
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x30
lea edx, [esp + 0x1f]
push edx
mov ecx, esi
mov dword [esp + 0x24], 0
mov byte [esp + 0x23], 3
call fcn.0044b8d0
add eax, 0x31
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x13]
push eax
mov ecx, esi
mov byte [esp + 0x17], 3
call fcn.0044b8d0
lea ecx, [esp + 0x13]
push ecx
mov ecx, esi
mov dword [eax + 0x64], 1
mov byte [esp + 0x17], 3
call fcn.0044b8d0
lea edx, [esp + 0x13]
push edx
mov ecx, esi
mov byte [esp + 0x17], 3
call fcn.0044b8d0
lea eax, [esp + 0x13]
push eax
mov ecx, esi
mov byte [esp + 0x17], 1
call fcn.0044b8d0
mov ecx, dword [eax + 0x64]
test ecx, ecx
jne 0x44ccee
lea ecx, [esp + 0x14]
push ecx
push str.SOFTWAREBaDuPcd
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x44cce3
push 0x30
lea edx, [esp + 0x17]
push edx
mov ecx, esi
mov byte [esp + 0x1b], 1
call fcn.0044b8d0
add eax, 0x31
push eax
mov eax, dword [esp + 0x1c]
push 3
push 0
push str.PCode
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esp + 0x13]
push ecx
mov ecx, esi
mov byte [esp + 0x17], 1
call fcn.0044b8d0
lea edx, [esp + 0x13]
push edx
mov ecx, esi
mov dword [eax + 0x64], 1
mov byte [esp + 0x17], 1
call fcn.0044b8d0
lea eax, [esp + 0x13]
push eax
mov ecx, esi
mov byte [esp + 0x17], 1
call fcn.0044b8d0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x13]
push edx
mov ecx, esi
mov byte [esp + 0x17], 4
call fcn.0044b8d0
mov ecx, dword [eax + 0x64]
test ecx, ecx
jne 0x44cd99
push 0
push 0
push 4
push 0
push 3
push 0xc0000000
push str.C:WINDOWSgsyspd.log
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44cd99
push 0
lea eax, [esp + 0x18]
push eax
push 0x30
lea ecx, [esp + 0x1f]
push ecx
mov ecx, esi
mov dword [esp + 0x24], 0
mov byte [esp + 0x23], 4
call fcn.0044b8d0
add eax, 0x31
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x13]
push edx
mov ecx, esi
mov byte [esp + 0x17], 4
call fcn.0044b8d0
mov dword [eax + 0x64], 1
lea eax, [esp + 0x13]
push eax
mov ecx, esi
mov byte [esp + 0x17], 4
call fcn.0044b8d0
lea ecx, [esp + 0x13]
push ecx
mov ecx, esi
mov byte [esp + 0x17], 4
call fcn.0044b8d0
lea edx, [esp + 0x13]
push edx
mov ecx, esi
mov byte [esp + 0x17], 6
call fcn.0044b8d0
mov ecx, dword [eax + 0x64]
test ecx, ecx
jne 0x44cead
xor eax, eax
test ebx, ebx
mov ecx, 0x82
lea edi, [esp + 0x3a]
mov word [esp + 0x38], 0
rep stosd dword es:[edi], eax
jl 0x44cead
lea eax, [ebx + ebx*2]
push str.ghos_
lea ecx, [esp + eax*2 + 0x1c]
push ecx
lea edx, [esp + 0x40]
push 0x456a30
push edx
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x10
push 0
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 2
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [esp + 0x38]
push str.giex
push edx
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
push 0
push 2
push 4
push 0
push 3
push 0xc0000000
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44cead
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x30
lea edx, [esp + 0x1f]
push edx
mov ecx, esi
mov dword [esp + 0x24], 0
mov byte [esp + 0x23], 6
call fcn.0044b8d0
add eax, 0x31
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x13]
push eax
mov ecx, esi
mov byte [esp + 0x17], 6
call fcn.0044b8d0
lea ecx, [esp + 0x13]
push ecx
mov ecx, esi
mov dword [eax + 0x64], 1
mov byte [esp + 0x17], 6
call fcn.0044b8d0
lea edx, [esp + 0x13]
push edx
mov ecx, esi
mov byte [esp + 0x17], 6
call fcn.0044b8d0
lea eax, [esp + 0x13]
push eax
mov ecx, esi
mov byte [esp + 0x17], 7
call fcn.0044b8d0
mov ecx, dword [eax + 0x64]
test ecx, ecx
jne 0x44cfd6
xor eax, eax
test ebx, ebx
mov ecx, 0x82
lea edi, [esp + 0x3a]
mov word [esp + 0x38], 0
rep stosd dword es:[edi], eax
jl 0x44cfd6
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x44cefa
test ah, ah
jbe 0x44cefa
push str._Recycle.Bin_hf_mig__
jmp 0x44ceff
push str.RECYCLER_hf_mig__
lea ecx, [ebx + ebx*2]
lea edx, [esp + ecx*2 + 0x1c]
push edx
lea eax, [esp + 0x40]
push 0x456a30
push eax
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x10
push 0
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 2
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x38]
push str.update.dat
push eax
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
push 0
push 2
push 4
push 0
push 3
push 0xc0000000
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44cfd6
push 0
lea edx, [esp + 0x18]
push edx
push 0x30
lea eax, [esp + 0x1f]
push eax
mov ecx, esi
mov dword [esp + 0x24], 0
mov byte [esp + 0x23], 7
call fcn.0044b8d0
add eax, 0x31
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x13]
push ecx
mov ecx, esi
mov byte [esp + 0x17], 7
call fcn.0044b8d0
lea edx, [esp + 0x13]
push edx
mov ecx, esi
mov dword [eax + 0x64], 1
mov byte [esp + 0x17], 7
call fcn.0044b8d0
lea eax, [esp + 0x13]
push eax
mov ecx, esi
mov byte [esp + 0x17], 7
call fcn.0044b8d0
lea ecx, [esp + 0x13]
push ecx
mov ecx, esi
mov byte [esp + 0x17], 8
call fcn.0044b8d0
mov ecx, dword [eax + 0x64]
test ecx, ecx
jne 0x44d081
push 0
push 0
push 4
push 0
push 3
push 0xc0000000
push str.C:WINDOWSmsgpi.log
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44d081
push 0
lea edx, [esp + 0x18]
push edx
push 0x30
lea eax, [esp + 0x1f]
push eax
mov ecx, esi
mov dword [esp + 0x24], 0
mov byte [esp + 0x23], 8
call fcn.0044b8d0
add eax, 0x31
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x13]
push ecx
mov ecx, esi
mov byte [esp + 0x17], 8
call fcn.0044b8d0
lea edx, [esp + 0x13]
push edx
mov ecx, esi
mov dword [eax + 0x64], 1
mov byte [esp + 0x17], 8
call fcn.0044b8d0
lea eax, [esp + 0x13]
push eax
mov ecx, esi
mov byte [esp + 0x17], 8
call fcn.0044b8d0
lea ecx, [esp + 0x13]
push ecx
mov ecx, esi
mov byte [esp + 0x17], 9
call fcn.0044b8d0
mov ecx, dword [eax + 0x64]
test ecx, ecx
jne 0x44d195
xor eax, eax
test ebx, ebx
mov ecx, 0x82
lea edi, [esp + 0x3a]
mov word [esp + 0x38], 0
rep stosd dword es:[edi], eax
jl 0x44d195
lea edx, [ebx + ebx*2]
push str.MSOCache_
lea eax, [esp + edx*2 + 0x1c]
push eax
lea ecx, [esp + 0x40]
push 0x456a30
push ecx
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x10
push 0
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 2
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x38]
push str.wcods.dat
push ecx
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
push 0
push 2
push 4
push 0
push 3
push 0xc0000000
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44d195
push 0
lea eax, [esp + 0x18]
push eax
push 0x30
lea ecx, [esp + 0x1f]
push ecx
mov ecx, esi
mov dword [esp + 0x24], 0
mov byte [esp + 0x23], 9
call fcn.0044b8d0
add eax, 0x31
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x13]
push edx
mov ecx, esi
mov byte [esp + 0x17], 9
call fcn.0044b8d0
mov dword [eax + 0x64], 1
lea eax, [esp + 0x13]
push eax
mov ecx, esi
mov byte [esp + 0x17], 9
call fcn.0044b8d0
lea ecx, [esp + 0x13]
push ecx
mov ecx, esi
mov byte [esp + 0x17], 9
call fcn.0044b8d0
lea edx, [esp + 0x13]
push edx
mov ecx, esi
mov byte [esp + 0x17], 0xa
call fcn.0044b8d0
mov ecx, dword [eax + 0x64]
test ecx, ecx
jne 0x44d242
lea eax, [esp + 0x14]
push eax
push str.SOFTWAREG2Pd
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x44d237
push 0x30
lea ecx, [esp + 0x17]
push ecx
mov ecx, esi
mov byte [esp + 0x1b], 0xa
call fcn.0044b8d0
mov edx, dword [esp + 0x18]
add eax, 0x31
push eax
push 3
push 0
push 0x46195c
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [esp + 0x13]
push eax
mov ecx, esi
mov byte [esp + 0x17], 0xa
call fcn.0044b8d0
lea ecx, [esp + 0x13]
push ecx
mov ecx, esi
mov dword [eax + 0x64], 1
mov byte [esp + 0x17], 0xa
call fcn.0044b8d0
lea edx, [esp + 0x13]
push edx
mov ecx, esi
mov byte [esp + 0x17], 0xa
call fcn.0044b8d0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x24c]
mov eax, 1
call fcn.004225d1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret