Function at 0x595e90
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af436
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x63434c]
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 eax, dword [ebp + 8]
xor esi, esi
mov ebx, dword [ebp + 0xc]
mov edi, 7
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2b4], eax
xor eax, eax
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x2b0], ebx
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x278], edi
mov word [ebp - 0x28c], ax
mov dword [ebp - 4], eax
cmp byte [ebp + 0x14], al
je 0x59602e
push 0x208
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.0055c530
add esp, 0xc
mov dword [ebp - 0x2ac], 0x208
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x25c]
push eax
push esi
push str.InfoHD2
push str.SoftwareKingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x595f60
mov dword [ebp - 0x2ac], esi
jmp 0x595fb2
mov eax, dword [ebp - 0x2ac]
lea ecx, [ebp - 0x274]
shr eax, 1
dec eax
mov dword [ebp - 0x274], 0
push eax
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x264], 0
push eax
mov dword [ebp - 0x260], 7
call fcn.0042e2d0
mov eax, dword [ebp - 0x274]
mov edi, dword [ebp - 0x260]
mov esi, dword [ebp - 0x264]
mov dword [ebp - 0x2ac], eax
mov edx, dword [ebp - 0x278]
cmp edx, 8
jb 0x595ff2
mov ecx, dword [ebp - 0x28c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x595fe8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59634c
push edx
push ecx
call fcn.00558004
add esp, 8
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x278], edi
mov byte [ebp - 0x2a5], 1
test esi, esi
jne 0x59628c
push 0x42
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0055c530
mov ecx, dword [ebp - 0x2b0]
mov eax, 0x7fffffff
add esp, 0xc
mov ebx, dword [ecx + 0x10]
sub eax, ebx
cmp eax, 1
jb 0x596342
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x2ac], ecx
jb 0x596079
mov eax, dword [ecx]
mov dword [ebp - 0x2ac], eax
lea eax, [ebx + 1]
mov dword [ebp - 0x274], 0
mov esi, 0xf
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
lea edi, [ebp - 0x274]
cmp eax, esi
jbe 0x5960e1
mov esi, eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x5960bd
mov esi, 0x7fffffff
jmp 0x5960c7
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x274]
call fcn.00438570
mov edi, eax
lea eax, [ebx + 1]
mov dword [ebp - 0x274], edi
push ebx
push dword [ebp - 0x2ac]
mov dword [ebp - 0x264], eax
push edi
mov dword [ebp - 0x260], esi
call fcn.0055bfb0
add esp, 0xc
mov word [edi + ebx], 0x7c
mov eax, dword [ebp - 0x2b4]
mov ecx, eax
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x596117
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x274]
call fcn.00449f00
mov ecx, eax
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
mov eax, dword [ecx]
mov dword [ebp - 0x2a4], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x29c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x298], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x294], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x290], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
cmp dword [ebp - 0x290], 0x10
lea ecx, [ebp - 0x54]
push 0
lea eax, [ebp - 0x2a4]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x2a4]
push ecx
push eax
call fcn.00524990
mov edx, dword [ebp - 0x290]
add esp, 0xc
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x5961f1
mov ecx, dword [ebp - 0x2a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5961e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x596347
push edx
push ecx
call fcn.00558004
add esp, 8
mov edx, dword [ebp - 0x260]
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0xf
mov byte [ebp - 0x2a4], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x59624a
mov ecx, dword [ebp - 0x274]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x596240
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x596347
push edx
push ecx
call fcn.00558004
add esp, 8
lea ecx, [ebp - 0x54]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x596250
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28c]
call fcn.0042e2d0
mov esi, dword [ebp - 0x27c]
mov ebx, dword [ebp - 0x2b0]
mov byte [ebp - 0x2a5], 0
test esi, esi
je 0x5962bc
mov edi, dword [ebp - 0x278]
cmp edi, 8
lea ecx, [esi*2 + 2]
push ecx
lea eax, [ebp - 0x28c]
cmovae eax, dword [ebp - 0x28c]
push eax
push 1
push str.InfoHD3_C
push str.SoftwareKingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [ebp - 0x2b4]
push ebx
call fcn.00596770
mov esi, dword [ebp - 0x2b8]
lea eax, [ebp - 0x28c]
add esp, 8
mov ecx, esi
push eax
call fcn.0043f9e0
mov al, byte [ebp - 0x2a5]
mov edx, dword [ebp - 0x278]
mov byte [esi + 0x18], al
cmp edx, 8
jb 0x596324
mov ecx, dword [ebp - 0x28c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x59631a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59634c
push edx
push ecx
call fcn.00558004
add esp, 8
mov eax, esi
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.00557e89
mov esp, ebp
pop ebp
ret
call fcn.0042e200
call fcn.00566a14
call fcn.00566a14
int3