Function at 0x41dcd0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x466868
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x485300]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485300]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x6c]
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x64], ebx
call fcn.0041d2d0
test eax, eax
jne 0x41ddbf
call fcn.0041d370
test eax, eax
jne 0x41ddbf
lea eax, [esp + 0x14]
push eax
push 0x2001f
push ebx
push str.SOFTWARETencentQQPinyin
push closesocket
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41dd59
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], esi
jmp 0x41dd78
push closesocket
mov edx, str.SOFTWARETencentQQPinyin
lea esi, [esp + 0x1c]
call fcn.00406000
test eax, eax
jne 0x41dec2
mov esi, dword [esp + 0x18]
cmp edi, ebx
jne 0x41dd86
push 0x80004005
call fcn.00404c70
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, 1
lea ecx, [eax + eax]
push ecx
push edi
push 1
push ebx
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
je 0x41ddb1
push esi
call ebp
xor esi, esi
xor edx, edx
cmp edi, ebx
sete dl
mov edi, edx
jmp 0x41df55
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 1
call fcn.0041d3f0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 2
call fcn.00403b80
mov esi, 8
mov byte [esp + 0x64], 1
cmp dword [esp + 0x38], esi
jb 0x41de0c
mov eax, dword [esp + 0x24]
push eax
call fcn.00442665
add esp, 4
push 1
push 0x46aecc
lea ecx, [esp + 0x44]
call fcn.00408230
mov eax, str.SOFTWARETencentQQPinyin
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41de24
sub eax, edx
sar eax, 1
push eax
push str.SOFTWARETencentQQPinyin
lea ecx, [esp + 0x44]
call fcn.00408230
cmp dword [esp + 0x54], esi
mov eax, dword [esp + 0x40]
jae 0x41de50
lea eax, [esp + 0x40]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push ebx
push eax
push reloc.WS2_32.dll_closesocket
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x41ded8
cmp dword [esp + 0x54], esi
mov eax, dword [esp + 0x40]
jae 0x41de7d
lea eax, [esp + 0x40]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
push reloc.WS2_32.dll_closesocket
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
je 0x41ded8
mov byte [esp + 0x64], bl
cmp dword [esp + 0x54], esi
jb 0x41ded1
mov edx, dword [esp + 0x40]
push edx
call fcn.00442665
add esp, 4
xor eax, eax
jmp 0x41df5e
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41ded1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x41df5e
mov esi, dword [esp + 0x14]
xor eax, eax
cmp edi, ebx
setne al
mov dword [esp + 0x18], esi
cmp eax, ebx
jne 0x41def5
push 0x80004005
call fcn.00404c70
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, 1
add eax, eax
push eax
push edi
push 1
push ebx
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
je 0x41df23
push esi
call ebp
xor esi, esi
mov dword [esp + 0x18], esi
xor ecx, ecx
cmp edi, ebx
sete cl
mov byte [esp + 0x64], bl
cmp dword [esp + 0x54], 8
mov edi, ecx
jb 0x41df44
mov edx, dword [esp + 0x40]
push edx
call fcn.00442665
add esp, 4
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
cmp esi, ebx
je 0x41df5c
push esi
call ebp
mov eax, edi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0044266a
add esp, 0x54
ret