Function at 0x462dc0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a487
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x304
push esi
push edi
lea eax, [ebp - 0xc0]
mov esi, ecx
push eax
mov dword [ebp - 0x1c], esi
call fcn.0045e7e0
cmp dword [ebp - 0xac], 8
lea edx, [ebp - 0xc0]
push 0
cmovae edx, dword [ebp - 0xc0]
xor eax, eax
cmp byte [esi + 0xb5], al
push 0
sete al
mov dword [ebp - 4], 0
add eax, 0x80000001
push edx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00432520
add esp, 0x14
cmp byte [0x5cc2dc], 0
mov byte [ebp - 4], 1
je 0x462e79
mov dword [ebp - 0x10], 0x29f7fc8
lea eax, [ebp - 0xc0]
mov edx, dword [ebp - 0x10]
movzx ecx, byte [esi + 0xb5]
sub edx, 0x2498a90
cmp dword [ebp - 0xac], 8
push ecx
cmovae eax, dword [ebp - 0xc0]
push eax
movzx eax, word [0x5cc2dc]
push edx
push eax
call fcn.004bad80
add esp, 0x10
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor esi, esi
push esi
lea eax, [ebp - 0x5c]
push str.version_d
push eax
call fcn.004b99e0
add esp, 0xc
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x310]
mov byte [ebp - 4], 2
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x20], 0x208
push ecx
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push 0
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x462ef1
mov eax, dword [ebp - 0x60]
cmp eax, 1
je 0x462ed5
cmp eax, 2
jne 0x462ef1
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x462f61
test al, 1
jne 0x462ef1
shr eax, 1
cmp word [ebp + eax*2 - 0x312], 0
je 0x462f6a
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00416700
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
mov eax, dword [eax + 0x1e0]
mov esi, dword [eax]
cmp esi, eax
je 0x463445
cmp dword [esi + 0x1c], 0x10
lea edi, [esi + 8]
mov eax, dword [edi + 0x10]
mov ecx, 0x7fffffff
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x10], eax
jb 0x462f42
mov edi, dword [edi]
cmp eax, 0x10
jae 0x463000
movups xmm0, xmmword [edi]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
movups xmmword [ebp - 0x44], xmm0
jmp 0x46306e
xor eax, eax
mov word [ebp - 0x310], ax
cmp byte [0x5cc2dc], 0
je 0x462fa7
mov dword [ebp - 0x10], 0x2a17f20
lea edx, [ebp - 0x310]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x5c]
sub ecx, 0x24b89a0
cmp dword [ebp - 0x48], 8
push edx
cmovae eax, dword [ebp - 0x5c]
push eax
movzx eax, word [0x5cc2dc]
push ecx
push eax
call fcn.004bad80
add esp, 0x10
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
push dword [ebp - 0x2c]
call edi
mov edx, dword [ebp - 0x48]
inc esi
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x462e81
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x462ff1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4634b2
push edx
push ecx
call fcn.004b9160
add esp, 8
jmp 0x462e81
or eax, 0xf
cmp eax, 0x7fffffff
cmova eax, ecx
mov dword [ebp - 0x14], eax
inc eax
cmp eax, 0x1000
jb 0x46303d
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4634ad
push ecx
call fcn.004b9130
add esp, 4
test eax, eax
je 0x4634b2
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x463050
test eax, eax
je 0x46304e
push eax
call fcn.004b9130
add esp, 4
mov ecx, eax
jmp 0x463050
xor ecx, ecx
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x44], ecx
push eax
push edi
push ecx
call fcn.00518310
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.004b97c0
add esp, 8
mov edi, eax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
movzx ecx, byte [eax + 0xb5]
push ecx
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, eax
call fcn.00453100
push edi
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 5
call fcn.004154c0
mov edx, dword [ebp - 0xc4]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x4630fc
mov ecx, dword [ebp - 0xd8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4630f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4634b2
push edx
push ecx
call fcn.004b9160
add esp, 8
xor eax, eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
mov edx, dword [ebp - 0xdc]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x46315d
mov ecx, dword [ebp - 0xf0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x463153
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4634b2
push edx
push ecx
call fcn.004b9160
add esp, 8
xor eax, eax
mov dword [ebp - 0xe0], 0
cmp dword [ebp - 0x94], 8
mov word [ebp - 0xf0], ax
lea eax, [ebp - 0xa8]
cmovae eax, dword [ebp - 0xa8]
push eax
mov dword [ebp - 0xdc], 7
call fcn.0042e250
add esp, 4
test al, al
je 0x46339c
push dword [ebp - 0x18]
lea eax, [ebp - 0x90]
push str.version_d
push eax
call fcn.004b99e0
add esp, 0xc
cmp byte [0x5cc2dc], 0
mov byte [ebp - 4], 9
je 0x463202
mov dword [ebp - 0x14], 0x2a37e80
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x90]
sub edx, 0x24d88b0
cmp dword [ebp - 0x30], 0x10
cmovae ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x7c], 8
push ecx
cmovae eax, dword [ebp - 0x90]
push eax
movzx eax, word [0x5cc2dc]
push edx
push eax
call fcn.004bad80
add esp, 0x10
movq xmm0, qword [str.SetKeyFailed]
mov eax, dword [0x55f624]
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0xc
movq qword [ebp - 0x78], xmm0
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004b97c0
add esp, 8
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 0xb
jb 0x46324e
mov edx, dword [edx]
cmp dword [ebp - 0x7c], 8
lea edi, [ebp - 0x90]
cmovae edi, dword [ebp - 0x90]
test edx, edx
jne 0x463268
lea eax, [edx + 0xd]
jmp 0x463297
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x14], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x463270
sub ecx, dword [ebp - 0x14]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push edi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x78]
push ecx
push eax
call fcn.00437820
mov edx, dword [ebp - 0xf4]
add esp, 8
mov byte [ebp - 4], 0xa
cmp edx, 8
jb 0x4632e8
mov ecx, dword [ebp - 0x108]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4632de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4634b2
push edx
push ecx
call fcn.004b9160
add esp, 8
mov edx, dword [ebp - 0x64]
xor eax, eax
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 7
mov word [ebp - 0x108], ax
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x46333d
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x463333
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4634b2
push edx
push ecx
call fcn.004b9160
add esp, 8
push dword [ebp - 0x2c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
inc dword [ebp - 0x18]
mov edx, dword [ebp - 0x7c]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x46339c
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x463392
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4634b2
push edx
push ecx
call fcn.004b9160
add esp, 8
mov edx, dword [ebp - 0x94]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x4633e0
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4633d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4634b2
push edx
push ecx
call fcn.004b9160
add esp, 8
mov edx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x463435
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46342b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4634b2
push edx
push ecx
call fcn.004b9160
add esp, 8
mov eax, dword [ebp - 0x1c]
mov esi, dword [esi]
cmp esi, dword [eax + 0x1e0]
jmp 0x462f11
mov eax, dword [ebp - 0x2c]
pop edi
pop esi
test eax, eax
je 0x46345c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x28], 0
cmp edx, 8
jb 0x46349f
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x463495
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4634b2
push edx
push ecx
call fcn.004b9160
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0041fa60
call fcn.0051bb5f
int3