Function at 0x426fb0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a3e38
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4d16b0]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d16b0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor ebp, ebp
mov edi, ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x60], ebp
call fcn.004262f0
test eax, eax
jne 0x42708b
call fcn.00426390
test eax, eax
jne 0x42708b
lea eax, [esp + 0x14]
push eax
push 0x2001f
push ebp
push str.SOFTWARETencentQQPinyin
push connect
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x427031
mov esi, dword [esp + 0x14]
jmp 0x427052
push str.SOFTWARETencentQQPinyin
push connect
xor edx, edx
lea esi, [esp + 0x20]
call fcn.00418a90
test eax, eax
jne 0x42717a
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x68]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebp
push edi
push esi
mov dword [esp + 0x2c], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
je 0x42707d
push esi
call ebx
xor esi, esi
xor eax, eax
cmp edi, ebp
sete al
mov edi, eax
jmp 0x4271ea
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
mov ebx, 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], bl
call fcn.00426410
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 2
call fcn.00409800
mov esi, 8
mov byte [esp + 0x60], bl
cmp dword [esp + 0x34], esi
jb 0x4270db
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0047f45b
add esp, 4
push ebx
push 0x4ba834
lea ecx, [esp + 0x40]
call fcn.0041c6c0
mov eax, str.SOFTWARETencentQQPinyin
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4270f2
sub eax, edx
sar eax, 1
push eax
push str.SOFTWARETencentQQPinyin
lea ecx, [esp + 0x40]
call fcn.0041c6c0
cmp dword [esp + 0x50], esi
mov eax, dword [esp + 0x3c]
jae 0x42711e
lea eax, [esp + 0x3c]
lea edx, [esp + 0x14]
push edx
push 0x2001f
push ebp
push eax
push reloc.WS2_32.dll_closesocket
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x427143
mov esi, dword [esp + 0x14]
jmp 0x427191
cmp dword [esp + 0x50], esi
mov eax, dword [esp + 0x3c]
jae 0x427151
lea eax, [esp + 0x3c]
push eax
push reloc.WS2_32.dll_closesocket
xor edx, edx
lea esi, [esp + 0x20]
call fcn.00418a90
test eax, eax
je 0x42718d
cmp dword [esp + 0x50], 8
jb 0x42717a
mov eax, dword [esp + 0x3c]
push eax
call fcn.0047f45b
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x427189
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4271f3
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x68]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebp
push edi
push esi
mov dword [esp + 0x2c], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
je 0x4271bc
push esi
call ebx
xor esi, esi
xor eax, eax
cmp edi, ebp
sete al
cmp dword [esp + 0x50], 8
mov edi, eax
jb 0x4271d9
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0047f45b
add esp, 4
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
cmp esi, ebp
je 0x4271f1
push esi
call ebx
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0047f460
add esp, 0x50
ret