Function at 0x43a290
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578e28
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5fb61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [edi]
push eax
mov eax, dword [str.SoftwareKingsoftOffice6.0]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 4], ebx
call fcn.00443050
add esp, 0xc
mov edx, dword [0x5fcb00]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcb00
mov byte [ebp - 4], 1
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x43a306
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push esi
push edx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [ebp - 0x18]
push eax
push 0x59562c
lea ecx, [ebp - 0x10]
call fcn.00439630
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x43a337
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x5fcb00]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcb00
mov dword [ebp - 0x10], ebx
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp dword [ecx - 0xc], ebx
jne 0x43a3f0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [edi]
push eax
push ecx
lea edx, [ebp - 0x14]
push str.res__s_s.kui
push edx
call fcn.004237a0
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
add esp, 0x10
cmp eax, ebx
je 0x43a38b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push esi
push ecx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
cmp edx, ebx
je 0x43a3e8
mov eax, esi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43a3b6
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push ebx
push 0x59562c
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x43a3e8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
jmp 0x43a4db
mov edx, dword [0x5fcb00]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcb00
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov ecx, dword [edi]
push ecx
lea edx, [ebp - 0x20]
push str.res__sribbon.kui
push edx
mov byte [ebp - 4], 4
call fcn.004237a0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.004388f0
add esp, 0x14
test al, al
je 0x43a4b8
mov edx, dword [edi]
push edx
lea eax, [ebp - 0x14]
push str.res__songmani.kui
push eax
call fcn.004237a0
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
add esp, 0xc
cmp eax, ebx
je 0x43a458
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 8]
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push esi
push edx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
cmp edx, ebx
je 0x43a4b5
mov eax, esi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43a483
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push ebx
push 0x59562c
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x43a4b5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a4db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a4fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a51e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a540
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x43a54e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret