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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3f81
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x639354]
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.0043f520
push 0x208
lea eax, [ebp - 0x2a0]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00560a80
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 0x59a98b
xor eax, eax
mov word [ebp - 0x2b8], ax
jmp 0x59a9b0
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.0042e330
push 0x42
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00560a80
push 0x42
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.00560a80
add esp, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x59a9dc
mov esi, dword [esi]
push 0
lea eax, [ebp - 0x54]
push eax
push esi
call fcn.0052a350
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x59a9f3
mov edi, dword [edi]
push 0
lea eax, [ebp - 0x98]
push eax
push edi
call fcn.0052a350
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 0x59aa32
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2d0]
call fcn.0042e330
push 1
push 0x5c2820
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 2
call fcn.0043ec10
lea ecx, [ebp - 0x98]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x59aa70
sub ecx, edx
lea eax, [ebp - 0x98]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2d0]
call fcn.0043ec10
push 1
push 0x5c2820
lea ecx, [ebp - 0x2e8]
call fcn.0043ec10
mov esi, eax
lea eax, [ebp - 0x300]
push eax
call fcn.005995f0
add esp, 4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 3
jb 0x59aac4
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.0043ec10
mov edx, dword [ebp - 0x2ec]
cmp edx, 8
jb 0x59ab0d
mov ecx, dword [ebp - 0x300]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x59ab03
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59acc6
push edx
push ecx
call fcn.0055c524
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 0x59abf5
mov ecx, dword [ebp - 0x2d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x59abeb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59accb
push edx
push ecx
call fcn.0055c524
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 0x59ac52
mov ecx, dword [ebp - 0x2b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x59ac48
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59accb
push edx
push ecx
call fcn.0055c524
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 0x59acab
mov ecx, dword [ebp - 0x2e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x59aca1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59accb
push edx
push ecx
call fcn.0055c524
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.0055c3a9
mov esp, ebp
pop ebp
ret
call fcn.0056af64
call fcn.0056af64
int3