Function at 0x10242bb
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6b4
mov eax, dword [0x102a0ec]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push dword [edi]
mov dword [ebp - 4], eax
push dword [0x102a0f4]
lea eax, [ebp - 0x20c]
push 0x1007378
xor esi, esi
push 0x103
push eax
mov dword [ebp - 0x6a8], esi
mov dword [ebp - 0x6b4], esi
call fcn.0100d4d1
add esp, 0x14
lea eax, [ebp - 0x6a8]
push eax
push 0x2001f
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1024a3b
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x6a0]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x10077f0
push dword [ebp - 0x6a8]
mov ebx, 0x208
mov dword [ebp - 0x6a4], ebx
mov dword [ebp - 0x6a0], 1
call esi
test eax, eax
jne 0x1024396
cmp dword [ebp - 0x6a0], 1
jne 0x1024396
lea eax, [ebp - 0x20c]
push 0x1001780
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x1024396
mov dword [edi + 0x3c], 1
jmp 0x102439a
and dword [edi + 0x3c], 0
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x6a0]
push eax
push 0
push 0x10077e0
push dword [ebp - 0x6a8]
mov dword [ebp - 0x6a4], ebx
call esi
test eax, eax
jne 0x102447b
cmp dword [ebp - 0x6a0], 1
jne 0x102447b
push dword [ebp - 0x6a8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
push eax
push dword [0x102a0f4]
lea eax, [ebp - 0x39c]
push 0x1007378
push 0xc7
push eax
call fcn.0100d4d1
add esp, 0x14
lea eax, [ebp - 0x6a8]
push eax
push 0x2001f
push 0
lea eax, [ebp - 0x39c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x102447b
push dword [edi]
lea eax, [ebp - 0x20c]
push dword [0x102a0f4]
push 0x1007378
push 0x103
push eax
call fcn.0100d4d1
add esp, 0x14
lea eax, [ebp - 0x6a8]
push eax
push 0x2001f
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x102447b
xor eax, eax
jmp 0x1024a41
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x6a0]
push eax
push 0
push 0x10077c4
push dword [ebp - 0x6a8]
mov dword [ebp - 0x6a4], ebx
call esi
test eax, eax
jne 0x10244f7
cmp dword [ebp - 0x6a0], 1
jne 0x10244f7
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
cmp eax, 5
pop ecx
jbe 0x10244f7
push 1
push 0x104
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.01028ba7
test eax, eax
jl 0x10244f7
lea eax, [ebp - 0x414]
push eax
call fcn.01016f8a
test eax, eax
je 0x1024a2f
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x6a0]
push eax
push 0
push 0x10077a8
push dword [ebp - 0x6a8]
mov dword [ebp - 0x6a4], ebx
call esi
test eax, eax
jne 0x102455c
cmp dword [ebp - 0x6a0], 1
jne 0x102455c
lea eax, [ebp - 0x20c]
push 0x1001780
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x102455c
push 0x10077a8
push dword [ebp - 0x6a8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x1024a2f
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x6a0]
push eax
push 0
push 0x100995c
push dword [ebp - 0x6a8]
mov dword [ebp - 0x6a4], ebx
call esi
test eax, eax
jne 0x10245a3
cmp dword [ebp - 0x6a0], 1
jne 0x10245a3
lea eax, [ebp - 0x20c]
push eax
lea eax, [edi + 0x20]
push eax
call fcn.010182f8
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x6a0]
push eax
push 0
push 0x100993c
push dword [ebp - 0x6a8]
mov dword [ebp - 0x6a4], ebx
call esi
test eax, eax
jne 0x10245fb
cmp dword [ebp - 0x6a0], 1
jne 0x10245fb
lea eax, [ebp - 0x20c]
push 0x1001780
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x10245fb
mov dword [edi + 0x34], 1
jmp 0x10245ff
and dword [edi + 0x34], 0
lea eax, [ebp - 0x6a4]
push eax
push dword [edi + 4]
lea eax, [ebp - 0x6a0]
push eax
push 0
push 0x100158c
push dword [ebp - 0x6a8]
mov dword [ebp - 0x6a4], ebx
call esi
test eax, eax
jne 0x1024642
cmp dword [ebp - 0x6a0], 1
jne 0x1024642
lea eax, [ebp - 0x20c]
push eax
lea eax, [edi + 4]
push eax
call fcn.010182f8
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x6a0]
push eax
push 0
push 0x100991c
push dword [ebp - 0x6a8]
mov dword [ebp - 0x6a4], ebx
call esi
test eax, eax
jne 0x1024a2f
cmp dword [ebp - 0x6a0], 1
jne 0x1024a2f
lea eax, [ebp - 0x20c]
push eax
lea eax, [edi + 0x1c]
push eax
call fcn.010182f8
test eax, eax
jne 0x1024a2f
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x6a0]
push eax
push 0
push 0x10098f0
push dword [ebp - 0x6a8]
mov dword [ebp - 0x6a4], ebx
call esi
test eax, eax
jne 0x1024a2f
cmp dword [ebp - 0x6a0], 1
jne 0x1024a2f
lea eax, [ebp - 0x20c]
push eax
lea eax, [edi + 0x14]
push eax
call fcn.010182f8
test eax, eax
jne 0x1024a2f
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x6a0]
push eax
push 0
push 0x10098c0
push dword [ebp - 0x6a8]
mov dword [ebp - 0x6a4], ebx
call esi
test eax, eax
jne 0x1024784
cmp dword [ebp - 0x6a0], 1
jne 0x1024784
push 0x103
lea eax, [ebp - 0x412]
push eax
mov word [ebp - 0x414], 0x40
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x1024784
push 0x1009898
push 0x104
lea eax, [ebp - 0x414]
push eax
call fcn.0100d4ff
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x414]
push eax
call fcn.0100d4ff
lea eax, [ebp - 0x414]
push eax
lea eax, [edi + 0x18]
push eax
call fcn.010182f8
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x6a0]
push eax
push 0
push 0x1009878
push dword [ebp - 0x6a8]
mov dword [ebp - 0x6a4], ebx
call esi
test eax, eax
jne 0x10247cb
cmp dword [ebp - 0x6a0], 1
jne 0x10247cb
lea eax, [ebp - 0x20c]
push eax
lea eax, [edi + 0xc]
push eax
call fcn.010182f8
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x6a0]
push eax
push 0
push 0x1004230
push dword [ebp - 0x6a8]
mov dword [ebp - 0x6a4], ebx
call esi
test eax, eax
jne 0x1024812
cmp dword [ebp - 0x6a0], 1
jne 0x1024812
lea eax, [ebp - 0x20c]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.010182f8
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x6a0]
push eax
push 0
push 0x10097c8
push dword [ebp - 0x6a8]
mov dword [ebp - 0x6a4], 0x100
call esi
test eax, eax
jne 0x102488a
cmp dword [ebp - 0x6a0], 1
jne 0x102488a
lea eax, [ebp - 0x30c]
push eax
push 0x102be58
push 0x10066e8
lea eax, [ebp - 0x69c]
push 0x143
push eax
call fcn.0100d4d1
add esp, 0x14
lea eax, [ebp - 0x69c]
push eax
lea eax, [edi + 0x30]
push eax
call fcn.010182f8
test eax, eax
jne 0x1024a2f
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x6a0]
push eax
push 0
push 0x1009854
push dword [ebp - 0x6a8]
mov dword [ebp - 0x6a4], 0x100
call esi
test eax, eax
jne 0x1024911
cmp dword [ebp - 0x6a0], 1
jne 0x1024911
lea eax, [ebp - 0x30c]
push eax
call fcn.0101b431
test eax, eax
je 0x1024903
lea eax, [ebp - 0x30c]
push eax
push 0x102be58
push 0x10066e8
lea eax, [ebp - 0x69c]
push 0x143
push eax
call fcn.0100d4d1
add esp, 0x14
lea eax, [ebp - 0x69c]
push eax
jmp 0x1024908
push 0x1003c14
lea eax, [edi + 0x2c]
push eax
call fcn.010182f8
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x6a0]
push eax
push 0
push 0x100732c
push dword [ebp - 0x6a8]
mov dword [ebp - 0x6a4], ebx
call esi
test eax, eax
jne 0x1024962
cmp dword [ebp - 0x6a0], 1
jne 0x1024962
lea eax, [ebp - 0x20c]
push eax
lea eax, [edi + 8]
push eax
call fcn.010182f8
test eax, eax
jne 0x1024a2f
jmp 0x10249cf
push dword [edi]
call dword [sym.imp.msvcrt.dll_wcslen]
add eax, 0xb
mov dword [ebp - 0x6b0], eax
add eax, eax
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x6ac], eax
je 0x1024a2f
mov ecx, dword [edi]
inc ecx
inc ecx
push ecx
push dword [ebp - 0x6b0]
push eax
call fcn.0100d4af
push 0x1009848
push dword [ebp - 0x6b0]
push dword [ebp - 0x6ac]
call fcn.0100dd4f
push dword [ebp - 0x6ac]
mov ecx, edi
call fcn.0101b343
test eax, eax
jne 0x1024a2f
push dword [ebp - 0x6ac]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x6a0]
push eax
push 0
push 0x1009834
push dword [ebp - 0x6a8]
mov dword [ebp - 0x6a4], ebx
call esi
xor esi, esi
inc esi
test eax, eax
jne 0x1024a25
cmp dword [ebp - 0x6a0], esi
jne 0x1024a25
lea eax, [ebp - 0x20c]
push 0x1001780
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x1024a25
mov dword [edi + 0x38], esi
jmp 0x1024a29
and dword [edi + 0x38], 0
mov dword [ebp - 0x6b4], esi
push dword [ebp - 0x6a8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x6b4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0101672d
leave
ret 4