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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x125c3fc
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x1286d50]
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 0x127cc50
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], esi
mov word [ebp - 0x248], ax
call fcn.011f1740
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 0x121b65d
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 0x121b8fc
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 0x121b8b1
xor edi, edi
mov dword [ebp - 0x26c], edi
cmp eax, esi
jbe 0x121b856
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 0x121b83b
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.011f15e0
push 1
mov eax, 0x12643e0
lea esi, [ebp - 0x22c]
mov byte [ebp - 4], bl
call fcn.01202040
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x121b741
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
lea esi, [ebp - 0x22c]
call fcn.01202040
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x22c]
jae 0x121b772
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 0x121b81f
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 0x121b80c
cmp dword [ebp - 0x288], 0
jne 0x121b80c
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x264]
call fcn.011fead0
lea ecx, [ebp - 0x264]
lea edi, [ebp - 0x284]
mov byte [ebp - 4], 3
call fcn.011fecc0
cmp dword [ebp - 0x250], 8
jb 0x121b80c
mov eax, dword [ebp - 0x264]
push eax
call fcn.0123e60d
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 0x121b83b
mov edx, dword [ebp - 0x22c]
push edx
call fcn.0123e60d
add esp, 4
inc edi
xor esi, esi
mov dword [ebp - 0x26c], edi
cmp edi, dword [ebp - 0x270]
jb 0x121b6c3
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 0x121b8ab
mov ebx, dword [ebp - 0x284]
cmp esi, edi
jbe 0x121b930
cmp dword [ebx + 0x14], 8
jb 0x121b88d
mov eax, dword [ebx]
jmp 0x121b88f
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 0x121b883
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 0x121b8fc
mov esi, edi
cmp edi, ebx
je 0x121b8f3
cmp dword [esi + 0x14], 8
jb 0x121b8d9
mov edx, dword [esi]
push edx
call fcn.0123e60d
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 0x121b8c8
push edi
call fcn.0123e60d
add esp, 4
cmp dword [ebp - 0x234], 8
jb 0x121b914
mov ecx, dword [ebp - 0x248]
push ecx
call fcn.0123e60d
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.0123e488
mov esp, ebp
pop ebp
ret
push 0x127d254
call fcn.01229ea8
int3