Function at 0x48b3d0
Capabilities:
Check os version
Get disk information
Query or enumerate registry value
Read file on windows

Disassembly:
sub esp, 0x248
mov eax, dword [0x4d757c]
mov edx, dword [0x4c3f54]
mov dword [esp + 0x244], eax
mov eax, dword [0x4c3f4c]
push ebp
mov ebp, ecx
mov cx, word [0x4c3f50]
mov dword [esp + 0x1c], eax
mov ax, word [0x4c3f58]
mov word [esp + 0x20], cx
mov ecx, dword [0x4c3f44]
mov word [esp + 0x26], ax
mov eax, dword [0x4c3f3c]
mov dword [esp + 0x28], ecx
mov cx, word [0x4c3f40]
mov dword [esp + 0x2e], eax
mov ax, word [0x4c3f38]
push esi
mov dword [esp + 0x26], edx
mov dx, word [0x4c3f48]
mov word [esp + 0x36], cx
push edi
xor esi, esi
mov word [esp + 0x40], ax
xor eax, eax
mov word [esp + 0x34], dx
mov edx, dword [0x4c3f34]
mov word [esp + 0x44], si
mov ecx, 0x82
lea edi, [esp + 0x46]
rep stosd dword es:[edi], eax
mov ecx, ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x3c], edx
call fcn.0048af80
cmp dword [ebp + 8], 0xa
je 0x48b494
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x244]
call fcn.0045a4fd
add esp, 0x248
ret 4
mov esi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push ebx
mov dword [esp + 0x20], 0xffffffff
xor edi, edi
lea ebx, [esp + 0x28]
lea esp, [esp]
push ebx
call esi
cmp eax, 3
je 0x48b4c3
inc edi
add ebx, 6
cmp edi, 5
jl 0x48b4b0
jmp 0x48b4c7
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x1c]
push ecx
push str.SOFTWAREBaDuPcd
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x48b5b9
mov eax, dword [esp + 0x25c]
test eax, eax
je 0x48b59e
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x17]
push eax
mov ecx, ebp
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 3
mov byte [esp + 0x1b], 1
call fcn.0048ae70
mov edx, dword [esp + 0x20]
add eax, 0x31
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.PCode
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x30
push str._4792_7625_80AB52DF1A79
lea eax, [esp + 0x1b]
push eax
mov ecx, ebp
mov byte [esp + 0x1f], 1
call fcn.0048ae70
add eax, 0x31
push eax
mov ecx, ebp
call fcn.00488620
lea ecx, [esp + 0x13]
push ecx
mov ecx, ebp
mov byte [esp + 0x17], 1
call fcn.0048ae70
lea esi, [eax + 0x31]
lea edi, [eax + 0x10]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax + 0x51]
mov dword [eax + 8], edx
mov ecx, dword [eax + 0x55]
mov dword [eax + 0xc], ecx
mov dl, byte [eax + 0x59]
mov byte [eax], dl
lea eax, [esp + 0x13]
push eax
mov ecx, ebp
mov byte [esp + 0x17], 1
call fcn.0048ae70
mov dword [eax + 0x64], 1
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 1
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str.C:Documents_and_SettingsDefault_UserLocal_SettingsTempTemppc.bak
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48b693
mov eax, dword [esp + 0x25c]
test eax, eax
je 0x48b684
push 0
lea edx, [esp + 0x1c]
push edx
push 0x30
lea eax, [esp + 0x1f]
push eax
mov ecx, ebp
mov dword [esp + 0x28], 0
mov byte [esp + 0x23], 2
call fcn.0048ae70
add eax, 0x31
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x30
push str._4792_7625_80AB52DF1A79
lea ecx, [esp + 0x1b]
push ecx
mov ecx, ebp
mov byte [esp + 0x1f], 2
call fcn.0048ae70
add eax, 0x31
push eax
mov ecx, ebp
call fcn.00488620
lea edx, [esp + 0x13]
push edx
mov ecx, ebp
mov byte [esp + 0x17], 2
call fcn.0048ae70
lea esi, [eax + 0x31]
lea edi, [eax + 0x10]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x51]
mov dword [eax + 8], ecx
mov edx, dword [eax + 0x55]
mov dword [eax + 0xc], edx
mov cl, byte [eax + 0x59]
lea edx, [esp + 0x13]
mov byte [eax], cl
push edx
mov ecx, ebp
mov byte [esp + 0x17], 2
call fcn.0048ae70
mov dword [eax + 0x64], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], 1
mov esi, dword [esp + 0x20]
test esi, esi
jl 0x48b7a2
push str.ms0.dat
lea eax, [esi + esi*2]
push str.MSOCache_
lea ecx, [esp + eax*2 + 0x30]
push ecx
lea edx, [esp + 0x54]
push str._s_s_s
push edx
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x14
push 0
push 2
push 3
push 0
push 3
push 0xc0000000
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48b79e
mov eax, dword [esp + 0x25c]
test eax, eax
je 0x48b78f
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x30
lea edx, [esp + 0x1f]
push edx
mov ecx, ebp
mov dword [esp + 0x28], 0
mov byte [esp + 0x23], 3
call fcn.0048ae70
add eax, 0x31
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x30
push str._4792_7625_80AB52DF1A79
lea eax, [esp + 0x1b]
push eax
mov ecx, ebp
mov byte [esp + 0x1f], 3
call fcn.0048ae70
add eax, 0x31
push eax
mov ecx, ebp
call fcn.00488620
lea ecx, [esp + 0x13]
push ecx
mov ecx, ebp
mov byte [esp + 0x17], 3
call fcn.0048ae70
lea esi, [eax + 0x31]
lea edi, [eax + 0x10]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax + 0x51]
mov dword [eax + 8], edx
mov ecx, dword [eax + 0x55]
mov dword [eax + 0xc], ecx
mov dl, byte [eax + 0x59]
mov byte [eax], dl
lea eax, [esp + 0x13]
push eax
mov ecx, ebp
mov byte [esp + 0x17], 3
call fcn.0048ae70
mov dword [eax + 0x64], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], 1
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionPICheck
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x48b898
mov eax, dword [esp + 0x25c]
test eax, eax
je 0x48b87d
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x17]
push eax
mov ecx, ebp
mov dword [esp + 0x20], 0x30
mov dword [esp + 0x1c], 3
mov byte [esp + 0x1b], 5
call fcn.0048ae70
mov edx, dword [esp + 0x20]
add eax, 0x31
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x4c3dc0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x30
push str._40AE_46CD_23176EF35361
lea eax, [esp + 0x1b]
push eax
mov ecx, ebp
mov byte [esp + 0x1f], 5
call fcn.0048ae70
add eax, 0x31
push eax
mov ecx, ebp
call fcn.00488620
lea ecx, [esp + 0x13]
push ecx
mov ecx, ebp
mov byte [esp + 0x17], 5
call fcn.0048ae70
lea esi, [eax + 0x31]
lea edi, [eax + 0x10]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax + 0x51]
mov dword [eax + 8], edx
mov ecx, dword [eax + 0x55]
mov dword [eax + 0xc], ecx
mov dl, byte [eax + 0x59]
mov byte [eax], dl
lea eax, [esp + 0x13]
push eax
mov ecx, ebp
mov byte [esp + 0x17], 5
call fcn.0048ae70
mov esi, dword [esp + 0x20]
mov dword [eax + 0x64], 1
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 1
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str.C:WINDOWSgsyspd.log
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48b976
mov eax, dword [esp + 0x25c]
test eax, eax
je 0x48b967
push 0
lea edx, [esp + 0x1c]
push edx
push 0x30
lea eax, [esp + 0x1f]
push eax
mov ecx, ebp
mov dword [esp + 0x28], 0
mov byte [esp + 0x23], 4
call fcn.0048ae70
add eax, 0x31
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x30
push str._40AE_46CD_23176EF35361
lea ecx, [esp + 0x1b]
push ecx
mov ecx, ebp
mov byte [esp + 0x1f], 4
call fcn.0048ae70
add eax, 0x31
push eax
mov ecx, ebp
call fcn.00488620
lea edx, [esp + 0x13]
push edx
mov ecx, ebp
mov byte [esp + 0x17], 4
call fcn.0048ae70
lea esi, [eax + 0x31]
lea edi, [eax + 0x10]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x51]
mov dword [eax + 8], ecx
mov edx, dword [eax + 0x55]
mov dword [eax + 0xc], edx
mov cl, byte [eax + 0x59]
lea edx, [esp + 0x13]
mov byte [eax], cl
push edx
mov ecx, ebp
mov byte [esp + 0x17], 4
call fcn.0048ae70
mov esi, dword [esp + 0x20]
mov dword [eax + 0x64], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], 1
test esi, esi
jl 0x48bba6
push str.giex
lea edi, [esi + esi*2]
push str.ghos_
lea edi, [esp + edi*2 + 0x30]
push edi
lea eax, [esp + 0x54]
push str._s_s_s
push eax
mov dword [esp + 0x38], edi
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x14
push 0
push 2
push 3
push 0
push 3
push 0xc0000000
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48ba85
mov eax, dword [esp + 0x25c]
test eax, eax
je 0x48ba76
push 0
lea edx, [esp + 0x1c]
push edx
push 0x30
lea eax, [esp + 0x1f]
push eax
mov ecx, ebp
mov dword [esp + 0x28], 0
mov byte [esp + 0x23], 6
call fcn.0048ae70
add eax, 0x31
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x30
push str._40AE_46CD_23176EF35361
lea ecx, [esp + 0x1b]
push ecx
mov ecx, ebp
mov byte [esp + 0x1f], 6
call fcn.0048ae70
add eax, 0x31
push eax
mov ecx, ebp
call fcn.00488620
lea edx, [esp + 0x13]
push edx
mov ecx, ebp
mov byte [esp + 0x17], 6
call fcn.0048ae70
lea esi, [eax + 0x31]
lea edi, [eax + 0x10]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x51]
mov dword [eax + 8], ecx
mov edx, dword [eax + 0x55]
mov dword [eax + 0xc], edx
mov cl, byte [eax + 0x59]
lea edx, [esp + 0x13]
mov byte [eax], cl
push edx
mov ecx, ebp
mov byte [esp + 0x17], 6
call fcn.0048ae70
mov edi, dword [esp + 0x24]
mov dword [eax + 0x64], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x48baaa
test ah, ah
jbe 0x48baaa
push str.update.dat
push str._Recycle.Bin_hf_mig__
push edi
push str._s_s_s
lea eax, [esp + 0x58]
push eax
jmp 0x48babf
push str.update.dat
push str.RECYCLER_hf_mig__
push edi
push str._s_s_s
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x14
push 0
push 2
push 3
push 0
push 3
push 0xc0000000
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48bba2
mov eax, dword [esp + 0x25c]
test eax, eax
je 0x48bb93
push 0
lea eax, [esp + 0x28]
push eax
push 0x30
lea ecx, [esp + 0x1f]
push ecx
mov ecx, ebp
mov dword [esp + 0x34], 0
mov byte [esp + 0x23], 7
call fcn.0048ae70
add eax, 0x31
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x30
push str._40AE_46CD_23176EF35361
lea edx, [esp + 0x1b]
push edx
mov ecx, ebp
mov byte [esp + 0x1f], 7
call fcn.0048ae70
add eax, 0x31
push eax
mov ecx, ebp
call fcn.00488620
lea eax, [esp + 0x13]
push eax
mov ecx, ebp
mov byte [esp + 0x17], 7
call fcn.0048ae70
lea esi, [eax + 0x31]
lea edi, [eax + 0x10]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x51]
mov dword [eax + 8], ecx
mov edx, dword [eax + 0x55]
mov dword [eax + 0xc], edx
mov cl, byte [eax + 0x59]
lea edx, [esp + 0x13]
mov byte [eax], cl
push edx
mov ecx, ebp
mov byte [esp + 0x17], 7
call fcn.0048ae70
mov dword [eax + 0x64], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], 1
mov esi, dword [esp + 0x20]
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str.C:WINDOWSmsgpi.log
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48bc84
mov eax, dword [esp + 0x25c]
test eax, eax
je 0x48bc75
push 0
lea eax, [esp + 0x28]
push eax
push 0x30
lea ecx, [esp + 0x1f]
push ecx
mov ecx, ebp
mov dword [esp + 0x34], 0
mov byte [esp + 0x23], 8
call fcn.0048ae70
add eax, 0x31
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x30
push str._3F07_51AB_A8D53F476C3C
lea edx, [esp + 0x1b]
push edx
mov ecx, ebp
mov byte [esp + 0x1f], 8
call fcn.0048ae70
add eax, 0x31
push eax
mov ecx, ebp
call fcn.00488620
lea eax, [esp + 0x13]
push eax
mov ecx, ebp
mov byte [esp + 0x17], 8
call fcn.0048ae70
lea esi, [eax + 0x31]
lea edi, [eax + 0x10]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x51]
mov dword [eax + 8], ecx
mov edx, dword [eax + 0x55]
mov dword [eax + 0xc], edx
mov cl, byte [eax + 0x59]
lea edx, [esp + 0x13]
mov byte [eax], cl
push edx
mov ecx, ebp
mov byte [esp + 0x17], 8
call fcn.0048ae70
mov esi, dword [esp + 0x20]
mov dword [eax + 0x64], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], 1
test esi, esi
jl 0x48bd8b
push str.wcods.dat
lea eax, [esi + esi*2]
push str.MSOCache_
lea ecx, [esp + eax*2 + 0x30]
push ecx
lea edx, [esp + 0x54]
push str._s_s_s
push edx
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x14
push 0
push 2
push 3
push 0
push 3
push 0xc0000000
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48bd8b
mov eax, dword [esp + 0x25c]
test eax, eax
je 0x48bd7c
push 0
lea ecx, [esp + 0x28]
push ecx
push 0x30
lea edx, [esp + 0x1f]
push edx
mov ecx, ebp
mov dword [esp + 0x34], 0
mov byte [esp + 0x23], 9
call fcn.0048ae70
add eax, 0x31
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x30
push str._3F07_51AB_A8D53F476C3C
lea eax, [esp + 0x1b]
push eax
mov ecx, ebp
mov byte [esp + 0x1f], 9
call fcn.0048ae70
add eax, 0x31
push eax
mov ecx, ebp
call fcn.00488620
lea ecx, [esp + 0x13]
push ecx
mov ecx, ebp
mov byte [esp + 0x17], 9
call fcn.0048ae70
lea esi, [eax + 0x31]
lea edi, [eax + 0x10]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax + 0x51]
mov dword [eax + 8], edx
mov ecx, dword [eax + 0x55]
mov dword [eax + 0xc], ecx
mov dl, byte [eax + 0x59]
mov byte [eax], dl
lea eax, [esp + 0x13]
push eax
mov ecx, ebp
mov byte [esp + 0x17], 9
call fcn.0048ae70
mov dword [eax + 0x64], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x1c]
push ecx
push str.SOFTWAREG2Pd
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
pop ebx
jne 0x48be76
mov eax, dword [esp + 0x258]
test eax, eax
je 0x48be63
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x13]
push eax
mov ecx, ebp
mov dword [esp + 0x28], 0x30
mov dword [esp + 0x1c], 3
mov byte [esp + 0x17], 0xa
call fcn.0048ae70
mov edx, dword [esp + 0x1c]
add eax, 0x31
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x4c3c78
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x30
push str._3F07_51AB_A8D53F476C3C
lea eax, [esp + 0x17]
push eax
mov ecx, ebp
mov byte [esp + 0x1b], 0xa
call fcn.0048ae70
add eax, 0x31
push eax
mov ecx, ebp
call fcn.00488620
lea ecx, [esp + 0xf]
push ecx
mov ecx, ebp
mov byte [esp + 0x13], 0xa
call fcn.0048ae70
lea esi, [eax + 0x31]
lea edi, [eax + 0x10]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax + 0x51]
mov dword [eax + 8], edx
mov ecx, dword [eax + 0x55]
mov dword [eax + 0xc], ecx
mov dl, byte [eax + 0x59]
mov byte [eax], dl
lea eax, [esp + 0xf]
push eax
mov ecx, ebp
mov byte [esp + 0x13], 0xa
call fcn.0048ae70
mov dword [eax + 0x64], 1
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x250]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
call fcn.0045a4fd
add esp, 0x248
ret 4