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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x102a0ec]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
push dword [0x102a0f4]
mov dword [ebp - 0x438], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x434], ecx
mov ecx, dword [ebp + 0x1c]
push 0x10072c0
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x424], ecx
mov ecx, dword [ebp + 0x24]
lea eax, [ebp - 0x20c]
xor esi, esi
push 0x103
push eax
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x41c], esi
mov dword [ebp - 0x428], esi
call fcn.0100d4d1
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x14
lea eax, [ebp - 0x41c]
push eax
push 0x2001f
push esi
lea eax, [ebp - 0x20c]
push eax
mov ebx, 0x80000002
push ebx
call edi
test eax, eax
jne 0x101d9bf
lea eax, [ebp - 0x420]
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 - 0x41c]
mov dword [ebp - 0x420], 0x208
mov dword [ebp - 0x418], 1
call esi
test eax, eax
jne 0x101d720
cmp dword [ebp - 0x418], 1
jne 0x101d720
lea eax, [ebp - 0x20c]
push 0x1001780
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x101d720
inc eax
jmp 0x101d722
xor eax, eax
mov ecx, dword [ebp - 0x42c]
mov dword [ecx], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push 0x10077e0
push dword [ebp - 0x41c]
mov dword [ebp - 0x420], 0x208
call esi
test eax, eax
jne 0x101d803
cmp dword [ebp - 0x418], 1
jne 0x101d803
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
push eax
push dword [0x102a0f4]
lea eax, [ebp - 0x39c]
push 0x10072c0
push 0xc7
push eax
call fcn.0100d4d1
add esp, 0x14
lea eax, [ebp - 0x41c]
push eax
push 0x2001f
push 0
lea eax, [ebp - 0x39c]
push eax
push ebx
call edi
test eax, eax
je 0x101d803
push dword [ebp - 0x430]
lea eax, [ebp - 0x20c]
push dword [0x102a0f4]
push 0x10072c0
push 0x103
push eax
call fcn.0100d4d1
add esp, 0x14
lea eax, [ebp - 0x41c]
push eax
push 0x2001f
push 0
lea eax, [ebp - 0x20c]
push eax
push ebx
call edi
test eax, eax
je 0x101d803
xor eax, eax
jmp 0x101d9c5
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x418]
push eax
xor ebx, ebx
push ebx
push 0x10077c4
push dword [ebp - 0x41c]
mov edi, 0x208
mov dword [ebp - 0x420], edi
call esi
test eax, eax
jne 0x101d885
cmp dword [ebp - 0x418], 1
jne 0x101d885
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
cmp eax, 5
pop ecx
jbe 0x101d885
push 1
push 0x104
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.01028ba7
test eax, eax
jl 0x101d885
lea eax, [ebp - 0x414]
push eax
call fcn.01016f8a
test eax, eax
je 0x101d9b3
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x418]
push eax
mov dword [ebp - 0x420], edi
push ebx
mov edi, 0x10077a8
push edi
push dword [ebp - 0x41c]
call esi
test eax, eax
jne 0x101d8e6
cmp dword [ebp - 0x418], 1
jne 0x101d8e6
lea eax, [ebp - 0x20c]
push 0x1001780
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x101d8e6
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x101d9b3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x438]
lea eax, [ebp - 0x418]
push eax
push ebx
push 0x1004d04
push dword [ebp - 0x41c]
call esi
test eax, eax
jne 0x101d9b3
cmp dword [ebp - 0x418], 1
jne 0x101d9b3
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x434]
lea eax, [ebp - 0x418]
push eax
push ebx
push 0x1007820
push dword [ebp - 0x41c]
call esi
test eax, eax
jne 0x101d9b3
cmp dword [ebp - 0x418], 1
jne 0x101d9b3
mov edi, dword [ebp + 0x20]
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x424]
lea eax, [ebp - 0x418]
push eax
push ebx
push 0x1007814
push dword [ebp - 0x41c]
mov dword [ebp - 0x420], edi
call esi
test eax, eax
jne 0x101d996
cmp dword [ebp - 0x418], 1
je 0x101d9a9
push 0x1003c14
shr edi, 1
push edi
push dword [ebp - 0x424]
call fcn.0100d4af
mov dword [ebp - 0x428], 1
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x428]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0101672d
leave
ret 0x20