Function at 0x42b5d0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c3fc
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x496d50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x49
xor eax, eax
xor esi, esi
push 0x48cc50
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], esi
mov word [ebp - 0x248], ax
call fcn.00401740
mov dword [ebp - 4], esi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x284], edi
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x27c], esi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x234], 8
mov eax, dword [ebp - 0x248]
jae 0x42b65d
lea eax, [ebp - 0x248]
lea ecx, [ebp - 0x268]
push ecx
push 0xf003f
push esi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42b8fc
mov ecx, dword [ebp - 0x268]
push esi
push esi
push esi
push esi
lea edx, [ebp - 0x294]
push edx
push esi
push esi
lea eax, [ebp - 0x270]
push eax
push esi
push esi
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x270]
cmp eax, esi
je 0x42b8b1
xor edi, edi
mov dword [ebp - 0x26c], edi
cmp eax, esi
jbe 0x42b856
lea ebx, [edi + 2]
mov ecx, dword [ebp - 0x268]
push esi
push esi
push esi
push esi
lea edx, [ebp - 0x290]
push edx
lea eax, [ebp - 0x210]
push eax
push edi
push ecx
mov dword [ebp - 0x290], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, esi
jne 0x42b83b
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x248]
xor edx, edx
push eax
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], esi
mov word [ebp - 0x22c], dx
call fcn.004015e0
push 1
mov eax, 0x4743e0
lea esi, [ebp - 0x22c]
mov byte [ebp - 4], bl
call fcn.00412040
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x42b741
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
lea esi, [ebp - 0x22c]
call fcn.00412040
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x22c]
jae 0x42b772
mov eax, esi
lea ecx, [ebp - 0x274]
push ecx
push 0xf003f
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42b81f
push eax
mov ecx, dword [ebp - 0x274]
push eax
push eax
push eax
lea edx, [ebp - 0x288]
push edx
push eax
push eax
lea eax, [ebp - 0x28c]
push eax
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x28c], 0
jne 0x42b80c
cmp dword [ebp - 0x288], 0
jne 0x42b80c
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x264]
call fcn.0040ead0
lea ecx, [ebp - 0x264]
lea edi, [ebp - 0x284]
mov byte [ebp - 4], 3
call fcn.0040ecc0
cmp dword [ebp - 0x250], 8
jb 0x42b80c
mov eax, dword [ebp - 0x264]
push eax
call fcn.0044e60d
add esp, 4
mov ecx, dword [ebp - 0x274]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x26c]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x218], 8
jb 0x42b83b
mov edx, dword [ebp - 0x22c]
push edx
call fcn.0044e60d
add esp, 4
inc edi
xor esi, esi
mov dword [ebp - 0x26c], edi
cmp edi, dword [ebp - 0x270]
jb 0x42b6c3
mov ebx, dword [ebp - 0x280]
mov ecx, ebx
sub ecx, dword [ebp - 0x284]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
xor edi, edi
add esi, edx
je 0x42b8ab
mov ebx, dword [ebp - 0x284]
cmp esi, edi
jbe 0x42b930
cmp dword [ebx + 0x14], 8
jb 0x42b88d
mov eax, dword [ebx]
jmp 0x42b88f
mov eax, ebx
push eax
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
inc edi
add ebx, 0x1c
cmp esi, edi
ja 0x42b883
mov ebx, dword [ebp - 0x280]
mov edi, dword [ebp - 0x284]
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x42b8fc
mov esi, edi
cmp edi, ebx
je 0x42b8f3
cmp dword [esi + 0x14], 8
jb 0x42b8d9
mov edx, dword [esi]
push edx
call fcn.0044e60d
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x1c
cmp esi, ebx
jne 0x42b8c8
push edi
call fcn.0044e60d
add esp, 4
cmp dword [ebp - 0x234], 8
jb 0x42b914
mov ecx, dword [ebp - 0x248]
push ecx
call fcn.0044e60d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044e488
mov esp, ebp
pop ebp
ret
push 0x48d254
call fcn.00439ea8
int3