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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x102a0ec]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
push dword [0x102a0f4]
mov dword [ebp - 4], eax
push 0x10072e0
lea eax, [ebp - 0x20c]
xor esi, esi
push 0x103
push eax
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x424], esi
call fcn.0100d4d1
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x14
lea eax, [ebp - 0x420]
push eax
push 0x2001f
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x80000002
call ebx
test eax, eax
jne 0x101d606
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x418]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x10077f0
push dword [ebp - 0x420]
mov dword [ebp - 0x41c], 0x208
mov dword [ebp - 0x418], 1
call esi
test eax, eax
jne 0x101d2c0
cmp dword [ebp - 0x418], 1
jne 0x101d2c0
lea eax, [ebp - 0x20c]
push 0x1001780
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x101d2c0
mov dword [edi + 0x400], 1
jmp 0x101d2c7
and dword [edi + 0x400], 0
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push 0x10077e0
push dword [ebp - 0x420]
mov dword [ebp - 0x41c], 0x208
call esi
test eax, eax
jne 0x101d3a3
cmp dword [ebp - 0x418], 1
jne 0x101d3a3
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
push eax
push dword [0x102a0f4]
lea eax, [ebp - 0x39c]
push 0x10072e0
push 0xc7
push eax
call fcn.0100d4d1
add esp, 0x14
lea eax, [ebp - 0x420]
push eax
push 0x2001f
push 0
lea eax, [ebp - 0x39c]
push eax
push 0x80000002
call ebx
test eax, eax
je 0x101d3a3
push edi
push dword [0x102a0f4]
lea eax, [ebp - 0x20c]
push 0x10072e0
push 0x103
push eax
call fcn.0100d4d1
add esp, 0x14
lea eax, [ebp - 0x420]
push eax
push 0x2001f
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x80000002
call ebx
test eax, eax
je 0x101d3a3
xor eax, eax
jmp 0x101d60c
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push 0x10077c4
push dword [ebp - 0x420]
mov ebx, 0x208
mov dword [ebp - 0x41c], ebx
call esi
test eax, eax
jne 0x101d424
cmp dword [ebp - 0x418], 1
jne 0x101d424
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
cmp eax, 5
pop ecx
jbe 0x101d424
push 1
push 0x104
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.01028ba7
test eax, eax
jl 0x101d424
lea eax, [ebp - 0x414]
push eax
call fcn.01016f8a
test eax, eax
je 0x101d5fa
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x418]
push eax
mov dword [ebp - 0x41c], ebx
push 0
mov ebx, 0x10077a8
push ebx
push dword [ebp - 0x420]
call esi
test eax, eax
jne 0x101d486
cmp dword [ebp - 0x418], 1
jne 0x101d486
lea eax, [ebp - 0x20c]
push 0x1001780
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x101d486
push ebx
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x101d5fa
lea eax, [ebp - 0x41c]
push eax
lea eax, [edi + 0x3e8]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push 0x100778c
push dword [ebp - 0x420]
mov dword [ebp - 0x41c], 0x14
call esi
test eax, eax
jne 0x101d5fa
cmp dword [ebp - 0x418], 1
jne 0x101d5fa
lea eax, [ebp - 0x41c]
push eax
lea eax, [edi + 0xc8]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push 0x1007764
push dword [ebp - 0x420]
mov ebx, 0x12c
mov dword [ebp - 0x41c], ebx
call esi
test eax, eax
jne 0x101d5fa
cmp dword [ebp - 0x418], 1
jne 0x101d5fa
lea ecx, [ebp - 0x41c]
push ecx
lea eax, [edi + 0x320]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push 0x100158c
push dword [ebp - 0x420]
mov dword [ebp - 0x41c], 0xc8
call esi
test eax, eax
jne 0x101d548
cmp dword [ebp - 0x418], 1
je 0x101d55b
push 0x1003c14
push 0x64
lea eax, [edi + 0x320]
push eax
call fcn.0100c535
lea eax, [ebp - 0x41c]
push eax
lea eax, [edi + 0x1f4]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push 0x100773c
push dword [ebp - 0x420]
mov dword [ebp - 0x41c], ebx
call esi
test eax, eax
jne 0x101d5fa
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x418], ebx
jne 0x101d5fa
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push 0x1007728
push dword [ebp - 0x420]
mov dword [ebp - 0x41c], 0x208
call esi
test eax, eax
jne 0x101d5ee
cmp dword [ebp - 0x418], ebx
jne 0x101d5ee
lea eax, [ebp - 0x20c]
push 0x1003320
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x101d5ee
and dword [edi + 0x3fc], eax
jmp 0x101d5f4
mov dword [edi + 0x3fc], ebx
mov dword [ebp - 0x424], ebx
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0101672d
leave
ret 4