Function at 0x42d980
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5c7b3a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x884
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov dword [esp + 0x89c], ebp
lea eax, [esp + 0x8a4]
push eax
lea ecx, [esp + 0x38]
call fcn.00438190
mov byte [esp + 0x89c], 1
lea ecx, [esp + 0x34]
push ecx
call fcn.00427470
add esp, 4
lea ecx, [esp + 0x4c]
call fcn.0042c480
mov byte [esp + 0x89c], 2
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUserAssist_
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], ebp
call fcn.0043bf90
mov byte [esp + 0x89c], 3
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [esp + 0x14]
push edx
push 0xf003f
push ebp
push eax
push reloc.WSOCK32.dll_accept
call esi
cmp eax, ebp
jne 0x42dd10
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x42dd10
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
lea ecx, [esp + 0x38]
push ecx
push ebp
push ebp
push ebp
push eax
mov dword [esp + 0x4c], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebp
je 0x42da99
mov byte [esp + 0x89c], 2
lea ecx, [esp + 0x28]
call fcn.004381e0
mov byte [esp + 0x89c], 1
lea ecx, [esp + 0x4c]
call fcn.0042c840
mov byte [esp + 0x89c], 0
lea ecx, [esp + 0x34]
call fcn.004381e0
mov dword [esp + 0x89c], 0xffffffff
lea ecx, [esp + 0x8a4]
call fcn.004381e0
xor eax, eax
jmp 0x42de37
xor edi, edi
mov dword [esp + 0x30], edi
cmp dword [esp + 0x1c], ebp
jbe 0x42dd05
mov bl, 4
jmp 0x42dab0
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x58]
push eax
xor edx, edx
lea ecx, [esp + 0x498]
push ecx
mov word [esp + 0x49c], dx
mov edx, dword [esp + 0x2c]
push edi
push edx
mov dword [esp + 0x68], 0x208
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebp
jne 0x42da48
lea eax, [esp + 0x484]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.00406610
add esp, 0xc
mov byte [esp + 0x89c], bl
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
push 0xf003f
push ebp
push ecx
push reloc.WSOCK32.dll_accept
mov dword [esp + 0x34], ebp
call esi
cmp eax, ebp
jne 0x42dce5
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x42dce5
lea edx, [esp + 0x10]
push edx
push 0xf003f
push ebp
push str.count
push eax
mov dword [esp + 0x24], ebp
call esi
cmp eax, ebp
jne 0x42dcda
mov ecx, dword [esp + 0x10]
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x34]
push eax
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ecx
mov dword [esp + 0x54], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebp
jne 0x42dcc5
mov esi, dword [esp + 0x24]
cmp esi, ebp
je 0x42dcc5
push 0x40e
lea eax, [esp + 0x7a]
xor edx, edx
push ebp
push eax
mov word [esp + 0x80], dx
call fcn.0051d400
add esp, 0xc
xor edi, edi
cmp esi, ebp
jbe 0x42dcc5
nop
push ebp
push ebp
push ebp
push ebp
lea edx, [esp + 0x28]
push edx
xor ecx, ecx
lea eax, [esp + 0x88]
push eax
mov word [esp + 0x8c], cx
mov ecx, dword [esp + 0x28]
push edi
push ecx
mov dword [esp + 0x38], 0x208
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebp
jne 0x42dcba
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x42dcba
lea eax, [esp + 0x74]
push 0x5c
push eax
call fcn.0051f736
add esp, 8
cmp eax, ebp
je 0x42dcba
add eax, 2
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00413c80
add esp, 8
test al, al
je 0x42dcba
push 0x66e6dc
push 8
call fcn.0051de11
add esp, 8
cmp eax, ebp
je 0x42dcba
mov ecx, eax
call fcn.00427560
mov esi, eax
cmp esi, ebp
je 0x42dcba
push 0x5e0748
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x74]
push eax
call fcn.00406610
add esp, 0xc
mov byte [esp + 0x89c], 5
push eax
mov ecx, esi
call fcn.00403b90
mov byte [esp + 0x89c], bl
lea ecx, [esp + 0x6c]
call fcn.004381e0
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esi + 4]
call fcn.00404330
push esi
lea ecx, [esp + 0x68]
call fcn.0042b410
mov byte [esp + 0x89c], 6
push eax
lea ecx, [esp + 0x50]
call fcn.0042c8c0
mov byte [esp + 0x89c], bl
lea ecx, [esp + 0x64]
call fcn.00427610
inc edi
cmp edi, dword [esp + 0x24]
jb 0x42dbb0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x89c], 3
lea ecx, [esp + 0x40]
call fcn.004381e0
inc edi
mov dword [esp + 0x30], edi
cmp edi, dword [esp + 0x1c]
jb 0x42dab0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x18], ecx
cmp eax, ecx
jbe 0x42dd2d
call fcn.0051d2bd
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x4c]
mov esi, eax
cmp eax, ecx
jbe 0x42dd3c
call fcn.0051d2bd
mov edi, dword [esp + 0x4c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test edi, edi
je 0x42dd4e
cmp edi, ebx
je 0x42dd53
call fcn.0051d2bd
cmp esi, dword [esp + 0x18]
jae 0x42dde8
test edi, edi
jne 0x42dddc
call fcn.0051d2bd
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x42dd72
call fcn.0051d2bd
mov edx, dword [esi]
mov eax, dword [edx]
lea ecx, [esp + 0x3c]
push ecx
push 0xf003f
push 0
push eax
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42ddbf
test edi, edi
jne 0x42dde0
call fcn.0051d2bd
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x42dda7
call fcn.0051d2bd
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call ebp
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x42dde4
call fcn.0051d2bd
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x42ddd4
call fcn.0051d2bd
add esi, 8
jmp 0x42dd46
mov eax, dword [edi]
jmp 0x42dd68
mov eax, dword [edi]
jmp 0x42dd9d
mov eax, dword [edi]
jmp 0x42ddca
mov byte [esp + 0x89c], 2
lea ecx, [esp + 0x28]
call fcn.004381e0
mov byte [esp + 0x89c], 1
lea ecx, [esp + 0x4c]
call fcn.0042c840
mov byte [esp + 0x89c], 0
lea ecx, [esp + 0x34]
call fcn.004381e0
mov dword [esp + 0x89c], 0xffffffff
lea ecx, [esp + 0x8a4]
call fcn.004381e0
mov eax, 1
mov ecx, dword [esp + 0x894]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x890
ret