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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af491
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2e8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push eax
call fcn.0043f9e0
push 0x208
lea eax, [ebp - 0x2a0]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0055c530
add esp, 0xc
mov dword [ebp - 0x304], 0x208
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x2a0]
push eax
push 0
push str.InfoCurHardInfo
push str.SoftwareKingsoftOffice6.0Commonkhdinfo
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 7
test eax, eax
je 0x59641b
xor eax, eax
mov word [ebp - 0x2b8], ax
jmp 0x596440
mov eax, dword [ebp - 0x304]
xor ecx, ecx
shr eax, 1
dec eax
mov word [ebp - 0x2b8], cx
push eax
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.0042e2d0
push 0x42
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0055c530
push 0x42
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.0055c530
add esp, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x59646c
mov esi, dword [esi]
push 0
lea eax, [ebp - 0x54]
push eax
push esi
call fcn.00524990
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x596483
mov edi, dword [edi]
push 0
lea eax, [ebp - 0x98]
push eax
push edi
call fcn.00524990
add esp, 0xc
mov dword [ebp - 0x2d0], 0
xor eax, eax
mov dword [ebp - 0x2c0], 0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x2bc], 7
mov word [ebp - 0x2d0], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5964c2
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2d0]
call fcn.0042e2d0
push 1
push 0x5bd8c0
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 2
call fcn.0043ee20
lea ecx, [ebp - 0x98]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x596500
sub ecx, edx
lea eax, [ebp - 0x98]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2d0]
call fcn.0043ee20
push 1
push 0x5bd8c0
lea ecx, [ebp - 0x2e8]
call fcn.0043ee20
mov esi, eax
lea eax, [ebp - 0x300]
push eax
call fcn.00595080
add esp, 4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 3
jb 0x596554
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.0043ee20
mov edx, dword [ebp - 0x2ec]
cmp edx, 8
jb 0x59659d
mov ecx, dword [ebp - 0x300]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x596593
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x596756
push edx
push ecx
call fcn.00558004
add esp, 8
mov eax, dword [ebp - 0x2a8]
cmp dword [ebp - 0x2a4], 8
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [eax*2 + 2]
push ecx
lea eax, [ebp - 0x2b8]
cmovae eax, dword [ebp - 0x2b8]
push eax
push 1
push str.InfoLastHardInfo
push str.SoftwareKingsoftOffice6.0Commonkhdinfo
push 0x80000001
call esi
mov eax, dword [ebp - 0x2c0]
cmp dword [ebp - 0x2bc], 8
lea ecx, [eax*2 + 2]
push ecx
lea eax, [ebp - 0x2d0]
cmovae eax, dword [ebp - 0x2d0]
push eax
push 1
push str.InfoCurHardInfo
push str.SoftwareKingsoftOffice6.0Commonkhdinfo
push 0x80000001
call esi
mov eax, dword [ebp - 0x2d8]
cmp dword [ebp - 0x2d4], 8
lea ecx, [eax*2 + 2]
push ecx
lea eax, [ebp - 0x2e8]
cmovae eax, dword [ebp - 0x2e8]
push eax
push 1
push str.InfoHDModifiedType
push str.SoftwareKingsoftOffice6.0Commonkhdinfo
push 0x80000001
call esi
mov edx, dword [ebp - 0x2bc]
cmp edx, 8
jb 0x596685
mov ecx, dword [ebp - 0x2d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x59667b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59675b
push edx
push ecx
call fcn.00558004
add esp, 8
mov edx, dword [ebp - 0x2a4]
xor eax, eax
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 7
mov word [ebp - 0x2d0], ax
cmp edx, 8
jb 0x5966e2
mov ecx, dword [ebp - 0x2b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5966d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59675b
push edx
push ecx
call fcn.00558004
add esp, 8
mov edx, dword [ebp - 0x2d4]
xor eax, eax
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 7
mov word [ebp - 0x2b8], ax
cmp edx, 8
jb 0x59673b
mov ecx, dword [ebp - 0x2e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x596731
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59675b
push edx
push ecx
call fcn.00558004
add esp, 8
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.00557e89
mov esp, ebp
pop ebp
ret
call fcn.00566a14
call fcn.00566a14
int3