Function at 0x459a80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8387
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x516108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0xb4], edi
mov ebx, ecx
mov dword [ebp - 0xac], ebx
push ebx
lea ecx, [ebp - 0xa4]
call fcn.00404470
push eax
mov edx, str.SoftwareClasses_
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.00432630
add esp, 4
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0xa4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x459b07
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459b10
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edi
push 1
push 0x4f47e0
push dword [ebp - 0xa8]
push SysReAllocString
call esi
mov ecx, ebx
call fcn.00459750
test eax, eax
je 0x459b52
mov edx, edi
mov ecx, ebx
call fcn.00459990
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459b57
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edi
push 1
push 0x4f47e0
push dword [ebp - 0xa8]
push SysReAllocString
call esi
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 3
test ebx, ebx
je 0x459baf
test edi, edi
je 0x459baf
lea eax, [ebp - 0x28]
mov edx, edi
push eax
mov ecx, ebx
call fcn.00476c00
add esp, 4
call fcn.004049b0
mov ecx, eax
test ecx, ecx
jne 0x459bc4
push 0x80004005
call fcn.00404710
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 4
mov ebx, 0x4f10d0
nop dword [eax + eax]
push dword [ebp - 0xac]
lea eax, [ebp - 0xa4]
push dword [ebx]
push eax
call fcn.004140d0
mov esi, dword [ebp - 0xa4]
lea eax, [ebp - 0xb0]
add esp, 0xc
push 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x459c2f
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
mov edx, esi
call fcn.00455b30
xor eax, eax
mov dword [ebp - 0x8c], 7
add esp, 4
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
cmp word [edi], ax
jne 0x459c60
xor ecx, ecx
jmp 0x459c74
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459c65
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0xa0]
call fcn.004251b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
push 6
xor eax, eax
mov dword [ebp - 0x74], 7
push str.ProgId
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
call fcn.004251b0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x5c], 7
cmovae edx, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
cmp word [edx], ax
jne 0x459cda
xor ecx, ecx
jmp 0x459cf5
mov ecx, edx
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459ce0
sub ecx, edi
mov edi, dword [ebp - 0xb4]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.004251b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
push 4
xor eax, eax
mov dword [ebp - 0x44], 7
push str.Hash
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.004251b0
mov byte [ebp - 4], 8
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [esi], ax
jne 0x459d47
xor ecx, ecx
jmp 0x459d5f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459d50
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.004251b0
push ecx
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0x40]
call fcn.00455ed0
mov byte [ebp - 4], 8
add esp, 0x14
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x459de6
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x7fffffff
ja 0x45a051
add eax, eax
cmp eax, 0x1000
jb 0x459ddd
test cl, 0x1f
jne 0x45a051
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x45a051
sub ecx, eax
cmp ecx, 4
jb 0x45a051
cmp ecx, 0x23
ja 0x45a051
mov ecx, eax
push ecx
call fcn.0048e356
add esp, 4
xor eax, eax
mov byte [ebp - 4], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x459e51
mov ecx, dword [ebp - 0x58]
inc eax
cmp eax, 0x7fffffff
ja 0x45a051
add eax, eax
cmp eax, 0x1000
jb 0x459e48
test cl, 0x1f
jne 0x45a051
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x45a051
sub ecx, eax
cmp ecx, 4
jb 0x45a051
cmp ecx, 0x23
ja 0x45a051
mov ecx, eax
push ecx
call fcn.0048e356
add esp, 4
xor eax, eax
mov byte [ebp - 4], 6
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x459ebc
mov ecx, dword [ebp - 0x70]
inc eax
cmp eax, 0x7fffffff
ja 0x45a051
add eax, eax
cmp eax, 0x1000
jb 0x459eb3
test cl, 0x1f
jne 0x45a051
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x45a051
sub ecx, eax
cmp ecx, 4
jb 0x45a051
cmp ecx, 0x23
ja 0x45a051
mov ecx, eax
push ecx
call fcn.0048e356
add esp, 4
xor eax, eax
mov byte [ebp - 4], 5
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x459f2a
mov ecx, dword [ebp - 0x88]
inc eax
cmp eax, 0x7fffffff
ja 0x45a051
add eax, eax
cmp eax, 0x1000
jb 0x459f21
test cl, 0x1f
jne 0x45a051
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x45a051
sub ecx, eax
cmp ecx, 4
jb 0x45a051
cmp ecx, 0x23
ja 0x45a051
mov ecx, eax
push ecx
call fcn.0048e356
add esp, 4
xor eax, eax
mov byte [ebp - 4], 4
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
cmp eax, 8
jb 0x459f9e
mov ecx, dword [ebp - 0xa0]
inc eax
cmp eax, 0x7fffffff
ja 0x45a051
add eax, eax
cmp eax, 0x1000
jb 0x459f95
test cl, 0x1f
jne 0x45a051
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x45a051
sub ecx, eax
cmp ecx, 4
jb 0x45a051
cmp ecx, 0x23
ja 0x45a051
mov ecx, eax
push ecx
call fcn.0048e356
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], 7
add ebx, 4
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
cmp ebx, 0x4f10e0
jl 0x459be0
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x459fe8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x459ffd
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00425320
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x14], 7
add edx, 0xfffffff0
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45a033
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e923
mov esp, ebp
pop ebp
ret
call fcn.004aa471
int3