Function at 0x450090
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2bc0
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4c6180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x6c]
push eax
push dword [0x4cc2cc]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x98], vtable.std::_Func_impl_no_alloc_class__lambda_962c1c3b0e9cddc7f14f4feff788ef9c___void___.0
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.00458280
mov esi, dword [ebp - 0x74]
mov ecx, eax
mov dword [ebp - 0x14], ecx
test esi, esi
je 0x45013d
mov eax, dword [esi]
mov ecx, esi
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x98]
cmp esi, eax
setne al
push eax
call edx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 2
test ecx, ecx
je 0x4505c1
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x450168
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x4cc418]
cmp dword [eax - 0xc], 0
jne 0x4501dc
push 5
push str.2.352
mov ecx, 0x4cc418
call fcn.00409a50
mov eax, dword [0x4cc418]
cmp dword [eax - 0xc], 0
jne 0x4501ac
push 0xb
push str.LostVersion
mov ecx, 0x4cc418
call fcn.00409a50
mov eax, dword [0x4cc418]
cmp dword [eax - 4], 1
mov ecx, dword [eax - 0xc]
lea esi, [ecx + ecx]
jle 0x4501c8
push ecx
mov ecx, 0x4cc418
call fcn.00409bb0
mov eax, dword [0x4cc418]
push esi
push eax
push 1
push 0
push str.DisplayVersion
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x24
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
call fcn.00474a76
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 3
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
push eax
push 0x10
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x4c], 8
mov dword [ebp - 0x68], 0x3f800000
call fcn.00406380
mov dword [ebp - 4], 5
mov eax, dword [0x4cc420]
cmp dword [eax - 0xc], 0
jne 0x450273
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], str.cpu_name
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], 0x4cc420
push eax
lea ecx, [ebp - 0x68]
call fcn.00455780
mov eax, dword [0x4cc424]
cmp dword [eax - 0xc], 0
jne 0x45029c
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], str.gpu_name
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], 0x4cc424
push eax
lea ecx, [ebp - 0x68]
call fcn.00455780
mov eax, dword [0x4cc428]
cmp dword [eax - 0xc], 0
je 0x4502e3
mov ecx, 0x4b43b4
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4502d6
test dx, dx
je 0x4502d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4502d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4502b0
xor eax, eax
jmp 0x4502db
sbb eax, eax
or eax, 1
mov byte [ebp - 4], 5
test eax, eax
jne 0x450301
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], str.gpu_ram
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], 0x4cc428
push eax
lea ecx, [ebp - 0x68]
call fcn.00455780
mov eax, dword [0x4cc42c]
cmp dword [eax - 0xc], 0
jne 0x45032a
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], str.os_architecture
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], 0x4cc42c
push eax
lea ecx, [ebp - 0x68]
call fcn.00455780
mov eax, dword [0x4cc430]
cmp dword [eax - 0xc], 0
jne 0x450353
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], str.os_installdate
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], 0x4cc430
push eax
lea ecx, [ebp - 0x68]
call fcn.00455780
mov eax, dword [0x4cc434]
cmp dword [eax - 0xc], 0
jne 0x45037c
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], str.os_name
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], 0x4cc434
push eax
lea ecx, [ebp - 0x68]
call fcn.00455780
mov eax, dword [0x4cc438]
cmp dword [eax - 0xc], 0
je 0x4503c3
mov ecx, 0x4b43b4
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4503b6
test dx, dx
je 0x4503b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4503b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x450390
xor eax, eax
jmp 0x4503bb
sbb eax, eax
or eax, 1
mov byte [ebp - 4], 5
test eax, eax
jne 0x4503e1
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], str.os_mem
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], 0x4cc438
push eax
lea ecx, [ebp - 0x68]
call fcn.00455780
mov eax, dword [0x4cc43c]
cmp dword [eax - 0xc], 0
je 0x450424
mov ecx, 0x4b43b4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x450417
test dx, dx
je 0x450413
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x450417
add eax, 4
add ecx, 4
test dx, dx
jne 0x4503f1
xor eax, eax
jmp 0x45041c
sbb eax, eax
or eax, 1
mov byte [ebp - 4], 5
test eax, eax
jne 0x450442
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], str.os_virtmem
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], 0x4cc43c
push eax
lea ecx, [ebp - 0x68]
call fcn.00455780
mov eax, dword [0x4cc440]
cmp dword [eax - 0xc], 0
jne 0x45046b
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], str.pc_vendor
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], 0x4cc440
push eax
lea ecx, [ebp - 0x68]
call fcn.00455780
mov eax, dword [0x4cc444]
cmp dword [eax - 0xc], 0
jne 0x450494
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], str.pc_version
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], 0x4cc444
push eax
lea ecx, [ebp - 0x68]
call fcn.00455780
mov eax, dword [0x4cc448]
cmp dword [eax - 0xc], 0
je 0x4504d7
mov ecx, 0x4b43b4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4504ca
test dx, dx
je 0x4504c6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4504ca
add eax, 4
add ecx, 4
test dx, dx
jne 0x4504a4
xor eax, eax
jmp 0x4504cf
sbb eax, eax
or eax, 1
mov byte [ebp - 4], 5
test eax, eax
jne 0x4504f5
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], str.dsk_iosec
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], 0x4cc448
push eax
lea ecx, [ebp - 0x68]
call fcn.00455780
mov eax, dword [0x4cc44c]
cmp dword [eax - 0xc], 0
je 0x450538
mov ecx, 0x4b43b4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45052b
test dx, dx
je 0x450527
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45052b
add eax, 4
add ecx, 4
test dx, dx
jne 0x450505
xor eax, eax
jmp 0x450530
sbb eax, eax
or eax, 1
mov byte [ebp - 4], 5
test eax, eax
jne 0x450556
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], str.dsk_mbsec
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], 0x4cc44c
push eax
lea ecx, [ebp - 0x68]
call fcn.00455780
lea eax, [ebp - 0x68]
mov ecx, 0x4cc418
push eax
call fcn.00450650
mov edi, dword [ebp - 0x64]
mov esi, dword [edi]
cmp esi, edi
je 0x45059e
nop dword [eax]
cmp dword [esi + 0x1c], 7
lea eax, [esi + 8]
mov ecx, dword [eax + 0x18]
jbe 0x45057e
mov eax, dword [eax]
mov edx, dword [0x4cc2cc]
push ecx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], reloc.OLEAUT32.dll_SysReAllocString
call fcn.004283d0
mov esi, dword [esi]
add esp, 8
cmp esi, edi
jne 0x450570
lea ecx, [ebp - 0x68]
call fcn.004505e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00474a5a
mov esp, ebp
pop ebp
ret
call fcn.0045bc5c
int3