Function at 0x10007f70
Capabilities:
Query or enumerate registry value
Set registry value
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1001bcd8
push eax
mov eax, dword [esp + 0x20]
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, str.ok668ok_E11E4F4B38DACC9566C010F0192779DAD5C926FFE24A0BAA2DE61E9E3C382E52E6FE7D6D17940668
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x10007fbb
test cl, cl
je 0x10007fb7
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x10007fbb
add eax, 2
add esi, 2
test cl, cl
jne 0x10007f93
xor eax, eax
jmp 0x10007fc0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10007fcb
push 0
call fcn.1000a70c
push ebp
push edi
push str.Shiyan
lea ecx, [esp + 0x14]
call fcn.10012996
mov ebp, dword [esp + 0x34]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], ecx
jne 0x10008042
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push str.SoftwareMicrosoftCaiTong_
push ecx
call fcn.10012bf0
push str.UserInfo_
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x34], 1
call fcn.10012b7c
mov ebp, dword [eax]
lea ecx, [esp + 0x30]
call fcn.10012928
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call fcn.10012928
mov ebx, 0x80000001
jmp 0x10008046
mov ebx, dword [esp + 0x30]
push 0x104
call fcn.10012669
mov esi, eax
mov ecx, 0x41
xor eax, eax
mov edi, esi
add esp, 4
rep stosd dword es:[edi], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x1c], 1
push eax
push ebp
push ebx
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
mov ebx, dword [esp + 0x3c]
je 0x100080ac
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x1000809b
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x100080ac
lea ecx, [esp + 0x40]
push ecx
push ebp
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x100080d7
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x38]
mov esi, ebx
not ecx
dec ecx
push ecx
push ebx
push 1
push eax
mov eax, dword [esp + 0x50]
push edx
push eax
jmp 0x1000810d
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push esi
push edx
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10008113
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x10008113
mov ecx, dword [esp + 0x40]
push 1
push esi
push 1
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [0x1002512c]
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], edx
call fcn.10012ab1
lea eax, [esp + 0x38]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x2c], 2
call fcn.10012a61
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 0
call fcn.10012928
push esi
call fcn.10012692
mov ecx, dword [esp + 0x44]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
push eax
call fcn.10012d17
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.10012928
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x14