Function at 0x10004689
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push 0x21c
mov eax, 0x10006e38
call fcn.100069da
push 0x61
pop ebx
push 0x66
pop eax
push 0x6e
pop ecx
push 0x7b
pop edi
mov esi, dword [ebp + 0xc]
push 0x73
pop edx
push 0x71
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 0x1c0], ecx
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 0x1a4], ecx
pop ecx
push 0x5e
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1bc], eax
pop eax
sub esp, 0xc
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x184], ecx
mov ecx, esp
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], eax
lea eax, [ebp - 0x168]
push ecx
mov dword [ebp - 0x1ac], edx
mov dword [ebp - 0x16c], edx
lea edx, [ebp - 0x1e8]
push eax
push edx
mov dword [ebp - 0x1e8], 0x65
mov dword [ebp - 0x1e4], 0x12
mov dword [ebp - 0x1e0], ebx
mov dword [ebp - 0x1dc], 0x58
mov dword [ebp - 0x1d4], 0x69
mov dword [ebp - 0x1d0], 0x53
mov dword [ebp - 0x1cc], 0x64
mov dword [ebp - 0x1c8], 0x57
mov dword [ebp - 0x1b8], edi
mov dword [ebp - 0x1b4], 0x74
mov dword [ebp - 0x1b0], edi
mov dword [ebp - 0x1a0], 0x8c
mov dword [ebp - 0x19c], 0x63
mov dword [ebp - 0x198], 0x86
mov dword [ebp - 0x190], 0x56
mov dword [ebp - 0x180], ebx
mov dword [ebp - 0x17c], 0x76
mov dword [ebp - 0x178], 0x77
mov dword [ebp - 0x174], 0x80
mov dword [ebp - 0x170], edi
call fcn.10004a8d
lea ecx, [ebp - 0x200]
call fcn.10004f21
add esp, 0xc
xor ebx, ebx
push 0x10
pop edi
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], edi
jb 0x100047e2
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x140]
call fcn.10001a9c
lea ecx, [ebp - 0x200]
mov byte [ebp - 4], 2
call fcn.10001541
push 0x75
pop ecx
push 0x7d
pop eax
sub esp, 0xc
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x154], ecx
mov edx, 0x82
mov dword [ebp - 0x148], ecx
mov ecx, esp
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x140]
push ecx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x144], edx
lea edx, [ebp - 0x164]
push eax
push edx
mov dword [ebp - 0x160], edi
mov dword [ebp - 0x14c], 0x72
call fcn.10004a8d
lea ecx, [ebp - 0x218]
call fcn.10004f21
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jb 0x10004874
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x128]
call fcn.10001a9c
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 5
call fcn.10001541
mov eax, dword [ebp + 8]
mov dword [ebp - 0x224], 0xff
mov dword [ebp - 0x220], ebx
test eax, eax
jne 0x1000494d
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x12c], edi
jb 0x100048be
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x21c]
push ecx
push 0x20019
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10004a44
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x114], edi
jb 0x100048f3
mov eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x220]
push ecx
push ebx
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10004a38
cmp dword [ebp - 0x220], 1
jne 0x10004a38
lea eax, [ebp - 0x110]
mov byte [0x1000a4bc], 1
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
pop ecx
push eax
lea eax, [ebp - 0x110]
push eax
jmp 0x10004a2e
cmp eax, 1
jne 0x100049c7
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x12c], edi
jb 0x10004966
mov eax, dword [ebp - 0x140]
push ebx
lea ecx, [ebp - 0x21c]
push ecx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10004a44
cmp dword [ebp - 0x114], 0x10
lea edi, [ebp - 0x128]
jb 0x100049a0
mov edi, dword [ebp - 0x128]
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
push esi
call ebx
pop ecx
inc eax
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x10004a38
push esi
call ebx
jmp 0x10004a2b
cmp eax, 2
jne 0x10004a44
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x12c], edi
jb 0x100049e0
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x21c]
push ecx
push 2
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10004a44
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x114], edi
jb 0x10004a0e
mov eax, dword [ebp - 0x128]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x10004a38
mov esi, 0x100072ec
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
pop ecx
push eax
push esi
mov ecx, 0x1000a4c0
call fcn.100015f4
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x128]
call fcn.10001541
lea ecx, [ebp - 0x140]
call fcn.10001541
call fcn.10006998
ret 8