Function at 0x59ace0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3fd5
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x639354]
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, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp dword [edi + 0x14], 0x10
jb 0x59ad19
mov edi, dword [edi]
test edi, edi
je 0x59ad63
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x59ad22
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x74], eax
cmp eax, 0x3fffffff
jg 0x59ad63
add eax, eax
call fcn.0055cb90
mov esi, esp
test esi, esi
je 0x59ad63
push dword [ebp - 0x74]
xor eax, eax
push esi
push 0xffffffffffffffff
push edi
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x59ad65
xor esi, esi
mov ecx, esi
mov dword [ebp - 0x58], 0
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x59ad85
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x58]
call fcn.0042e330
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 4], 0
jb 0x59adad
mov ebx, dword [ebx]
test ebx, ebx
je 0x59adf4
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x59adb6
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x59adf4
lea eax, [edi + edi]
call fcn.0055cb90
mov esi, esp
test esi, esi
je 0x59adf4
push edi
push esi
push 0xffffffffffffffff
xor eax, eax
push ebx
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x59adf6
xor esi, esi
mov ecx, esi
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x59ae16
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.0042e330
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
call fcn.005995f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
call fcn.0043ec10
push 1
push 0x5c2820
lea ecx, [ebp - 0x28]
call fcn.0043ec10
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x28]
push eax
call fcn.0043ec10
push 1
push 0x5c2820
lea ecx, [ebp - 0x28]
call fcn.0043ec10
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.0043ec10
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
lea ecx, [eax*2 + 2]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 3
push str.InfoHD3Verify_C
push str.SoftwareKingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x59af29
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x59af1f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59b005
push edx
push ecx
call fcn.0055c524
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x59af77
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x59af6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59b005
push edx
push ecx
call fcn.0055c524
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x59afad
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x59afa3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59b005
push edx
push ecx
call fcn.0055c524
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x59afe3
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x59afd9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59b005
push edx
push ecx
call fcn.0055c524
add esp, 8
lea esp, [ebp - 0x84]
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.0055c3a9
mov esp, ebp
pop ebp
ret
call fcn.0056af64
int3