Function at 0x14ca04
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x27
push 0
push 0
dec ecx
jne 0x14ca0d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x14d325
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00013c3c
push ebp
lea edx, [ebp - 0x28]
mov eax, 0x14d334
call fcn.00031d88
lea eax, [ebp - 0x28]
mov edx, esi
call fcn.00013ed4
mov eax, dword [ebp - 0x28]
call fcn.0014c808
pop ecx
xor eax, eax
mov dword [ebp - 8], eax
mov eax, 0x400
call fcn.00019220
mov dword [ebp - 0xc], eax
mov eax, 0x2800
call fcn.00019220
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x14d2db
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
mov eax, ebx
call fcn.00014090
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov esi, eax
test esi, esi
jne 0x14d26c
mov eax, dword [ebp - 0xc]
call fcn.00018998
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
call fcn.00018994
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
mov esi, eax
test esi, esi
jne 0x14d22d
mov ebx, dword [ebp - 0x10]
cmp ebx, 0x3e8
jl 0x14cb47
push ebp
lea edx, [ebp - 0x2c]
mov eax, 0x14d344
call fcn.00031d88
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.0002b0cc
mov edx, dword [ebp - 0x30]
pop eax
call fcn.00013ed4
mov eax, dword [ebp - 0x2c]
call fcn.0014c898
pop ecx
mov ebx, 0x3e8
jmp 0x14d1d5
push ebp
lea edx, [ebp - 0x34]
mov eax, 0x14d344
call fcn.00031d88
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x38]
call fcn.0002b0cc
mov edx, dword [ebp - 0x38]
pop eax
call fcn.00013ed4
mov eax, dword [ebp - 0x34]
call fcn.0014c808
pop ecx
jmp 0x14d1d5
cmp dword [ebp - 0x24], 4
jne 0x14d1a9
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0001899c
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x18]
call fcn.0002b058
lea edx, [ebp - 0x40]
mov eax, 0x14d358
call fcn.0002b058
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea edx, [ebp - 0x44]
mov eax, 0x14d370
call fcn.0002b058
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea edx, [ebp - 0x48]
mov eax, 0x14d388
call fcn.0002b058
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea eax, [ebp - 0x50]
call fcn.000ad288
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.0002b058
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea eax, [ebp - 0x58]
call fcn.000ad128
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.0002b058
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea eax, [ebp - 0x60]
call fcn.00029400
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.0002b058
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea eax, [ebp - 0x68]
call fcn.000ad304
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.0002b058
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea eax, [ebp - 0x70]
call fcn.000ad0b4
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.0002b058
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea eax, [ebp - 0x78]
call fcn.000acfd8
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x74]
call fcn.0002b058
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea eax, [ebp - 0x80]
call fcn.000ad214
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.0002b058
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea eax, [ebp - 0x88]
call fcn.00029474
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.0002b058
mov eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea eax, [ebp - 0x90]
call fcn.000294e4
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
call fcn.0002b058
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea eax, [ebp - 0x98]
call fcn.00029558
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call fcn.0002b058
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea eax, [ebp - 0xa0]
call fcn.000292a4
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x9c]
call fcn.0002b058
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea eax, [ebp - 0xa8]
call fcn.0014c928
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa4]
call fcn.0002b058
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jle 0x14ce43
lea edx, [ebp - 0xb0]
mov eax, 0x14d398
call fcn.00031d88
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xac]
call fcn.0002b058
mov eax, dword [ebp - 0xac]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
mov esi, eax
mov eax, dword [ebp - 0x18]
call fcn.00013ecc
sub eax, 3
cmp esi, eax
je 0x14d0e1
lea eax, [ebp - 0xb8]
call fcn.00029318
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xb4]
call fcn.0002b058
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea eax, [ebp - 0xc0]
call fcn.0014c94c
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0xbc]
call fcn.0002b058
mov eax, dword [ebp - 0xbc]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jle 0x14cee7
lea edx, [ebp - 0xc8]
mov eax, 0x14d398
call fcn.00031d88
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc4]
call fcn.0002b058
mov eax, dword [ebp - 0xc4]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
mov esi, eax
mov eax, dword [ebp - 0x18]
call fcn.00013ecc
sub eax, 3
cmp esi, eax
je 0x14d0e1
lea eax, [ebp - 0xd0]
call fcn.0002938c
mov eax, dword [ebp - 0xd0]
lea edx, [ebp - 0xcc]
call fcn.0002b058
mov eax, dword [ebp - 0xcc]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea eax, [ebp - 0xd8]
call fcn.0014c970
mov eax, dword [ebp - 0xd8]
lea edx, [ebp - 0xd4]
call fcn.0002b058
mov eax, dword [ebp - 0xd4]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jle 0x14cf8b
lea edx, [ebp - 0xe0]
mov eax, 0x14d398
call fcn.00031d88
mov eax, dword [ebp - 0xe0]
lea edx, [ebp - 0xdc]
call fcn.0002b058
mov eax, dword [ebp - 0xdc]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
mov esi, eax
mov eax, dword [ebp - 0x18]
call fcn.00013ecc
sub eax, 3
cmp esi, eax
je 0x14d0e1
lea eax, [ebp - 0xe8]
call fcn.000ace74
mov eax, dword [ebp - 0xe8]
lea edx, [ebp - 0xe4]
call fcn.0002b058
mov eax, dword [ebp - 0xe4]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea eax, [ebp - 0xf0]
call fcn.000aceec
mov eax, dword [ebp - 0xf0]
lea edx, [ebp - 0xec]
call fcn.0002b058
mov eax, dword [ebp - 0xec]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea eax, [ebp - 0xf8]
call fcn.00029230
mov eax, dword [ebp - 0xf8]
lea edx, [ebp - 0xf4]
call fcn.0002b058
mov eax, dword [ebp - 0xf4]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea edx, [ebp - 0xfc]
mov eax, 0x14d3a8
call fcn.0002b058
mov eax, dword [ebp - 0xfc]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea edx, [ebp - 0x100]
mov eax, dword [0x2a9390]
mov eax, dword [eax]
call fcn.0002b058
mov eax, dword [ebp - 0x100]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jg 0x14d0e1
lea eax, [ebp - 0x108]
call fcn.0014c994
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
call fcn.0002b058
mov eax, dword [ebp - 0x104]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
test eax, eax
jle 0x14d1a9
lea edx, [ebp - 0x110]
mov eax, 0x14d3b8
call fcn.00031d88
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x10c]
call fcn.0002b058
mov eax, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x18]
call fcn.000141b8
mov esi, eax
mov eax, dword [ebp - 0x18]
call fcn.00013ecc
sub eax, 3
cmp esi, eax
jne 0x14d1a9
mov eax, dword [ebp - 0xc]
call fcn.000189b0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov esi, eax
test esi, esi
jne 0x14d139
push ebp
lea edx, [ebp - 0x114]
mov eax, 0x14d3c0
call fcn.00031d88
lea eax, [ebp - 0x114]
push eax
lea edx, [ebp - 0x118]
mov eax, dword [ebp - 0xc]
call fcn.0001899c
mov edx, dword [ebp - 0x118]
pop eax
call fcn.00013ed4
mov eax, dword [ebp - 0x114]
call fcn.0014c808
pop ecx
jmp 0x14d1a9
push ebp
lea edx, [ebp - 0x120]
mov eax, 0x14d3c0
call fcn.00031d88
push dword [ebp - 0x120]
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 0xc]
call fcn.0001899c
push dword [ebp - 0x124]
lea edx, [ebp - 0x128]
mov eax, 0x14d3cc
call fcn.00031d88
push dword [ebp - 0x128]
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.0002b100
push dword [ebp - 0x12c]
lea eax, [ebp - 0x11c]
mov edx, 4
call fcn.00013f8c
mov eax, dword [ebp - 0x11c]
call fcn.0014c898
pop ecx
dec ebx
mov eax, dword [ebp - 0xc]
call fcn.00018998
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
call fcn.00018994
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
call fcn.00018980
mov eax, dword [ebp - 0x20]
call fcn.00018980
test ebx, ebx
jl 0x14d2a9
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.000189b0
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumValueA
cmp eax, 0x103
jne 0x14cb7f
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [ebp - 0x10]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x14d223
cmp eax, dword [esp]
pop edx
pop eax
je 0x14cb7f
jmp 0x14d2a9
push ebp
lea edx, [ebp - 0x130]
mov eax, 0x14d3d0
call fcn.00031d88
lea eax, [ebp - 0x130]
push eax
lea edx, [ebp - 0x134]
mov eax, esi
call fcn.0002b100
mov edx, dword [ebp - 0x134]
pop eax
call fcn.00013ed4
mov eax, dword [ebp - 0x130]
call fcn.0014c898
pop ecx
jmp 0x14d2a9
push ebp
lea edx, [ebp - 0x138]
mov eax, 0x14d3e0
call fcn.00031d88
lea eax, [ebp - 0x138]
push eax
lea edx, [ebp - 0x13c]
mov eax, esi
call fcn.0002b100
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00013ed4
mov eax, dword [ebp - 0x138]
call fcn.0014c898
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x14d2e2
cmp dword [ebp - 8], 0
je 0x14d2c5
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
call fcn.00019230
lea eax, [ebp - 0xc]
call fcn.00019230
ret