Function at 0x1006d380
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bca82
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x100e50d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x224], 0
push 0x100d73a0
lea ecx, [ebp + 8]
mov dword [ebp - 4], 3
call fcn.10012330
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0x104
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x23c]
mov eax, dword [ebp + 0x18]
add eax, dword [ebp + 0x30]
push eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
mov dword [ebp - 0x224], 1
call fcn.100133d0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x23c]
call fcn.100123a0
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x23c]
call fcn.100123a0
cmp dword [ebp - 0x228], 0x10
lea ecx, [ebp - 0x220]
push ecx
push 0xf003f
lea eax, [ebp - 0x23c]
cmovae eax, dword [ebp - 0x23c]
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [ebp - 0x228]
mov esi, eax
cmp edx, 0x10
jb 0x1006d4a5
mov ecx, dword [ebp - 0x23c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d49b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d68e
push edx
push ecx
call fcn.10097faf
add esp, 8
test esi, esi
jne 0x1006d566
cmp dword [ebp + 0x4c], 0x10
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push esi
lea eax, [ebp + 0x38]
cmovae eax, dword [ebp + 0x38]
push esi
push eax
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1006d566
mov eax, dword [ebp + 0x50]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test al, 8
je 0x1006d50a
cmp dword [ebp + 0x4c], 0x10
lea ecx, [ebp + 0x58]
push 4
push ecx
push edi
lea eax, [ebp + 0x38]
cmovae eax, dword [ebp + 0x38]
push 0
push eax
push dword [ebp - 0x220]
call esi
mov eax, dword [ebp + 0x50]
test al, 0x10
je 0x1006d566
test eax, 0x88020
je 0x1006d535
cmp dword [ebp + 0x4c], 0x10
lea ecx, [ebp + 0x5c]
push 4
push ecx
push edi
lea eax, [ebp + 0x38]
cmovae eax, dword [ebp + 0x38]
push 0
push eax
push dword [ebp - 0x220]
call esi
mov eax, dword [ebp + 0x50]
test eax, 0x40000
je 0x1006d566
mov edx, dword [ebp + 0x7c]
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006d544
sub ecx, ebx
lea eax, [ebp + 0x38]
cmp dword [ebp + 0x4c], 0x10
push ecx
cmovae eax, dword [ebp + 0x38]
push edx
push edi
push 0
push eax
push dword [ebp - 0x220]
call esi
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1006d5a6
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d59c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d693
push edx
push ecx
call fcn.10097faf
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x1006d5ec
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d5e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d698
push edx
push ecx
call fcn.10097faf
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x1006d62e
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d624
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d69d
push edx
push ecx
call fcn.10097faf
add esp, 8
mov edx, dword [ebp + 0x78]
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0xf
mov byte [ebp + 0x38], 0
cmp edx, 0x10
jb 0x1006d670
mov ecx, dword [ebp + 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d666
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d6a2
push edx
push ecx
call fcn.10097faf
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10097f9e
mov esp, ebp
pop ebp
ret
call fcn.1009d41c
call fcn.1009d41c
call fcn.1009d41c
call fcn.1009d41c
call fcn.1009d41c
int3