Function at 0x1001c1b0
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1003b531
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x10048f54]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10048f54]
xor eax, esp
push eax
lea eax, [esp + 0x27c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x28c]
mov ebp, dword [esp + 0x298]
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x290]
mov ecx, dword [esi - 8]
mov eax, 1
mov dword [esp + 0x284], eax
sub eax, dword [esi - 4]
mov ebx, 0
or ecx, eax
jge 0x1001c233
push ebx
lea ecx, [esp + 0x294]
call fcn.10013ff0
mov esi, dword [esp + 0x290]
mov edi, 0xf
mov eax, esi
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001c250
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x64]
call fcn.10001fa0
mov esi, dword [esp + 0x294]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
mov byte [esp + 0x284], 2
or ecx, eax
jge 0x1001c296
push ebx
lea ecx, [esp + 0x298]
call fcn.10013ff0
mov esi, dword [esp + 0x294]
mov eax, esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001c2a7
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.10001fa0
mov eax, dword [ebp]
mov edi, 0x10
sub eax, edi
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
mov byte [esp + 0x284], 3
jge 0x1001c2e4
push ebx
mov ecx, ebp
call fcn.10013ff0
mov esi, dword [ebp]
mov eax, esi
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001c300
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x48]
call fcn.10001fa0
mov eax, dword [esp + 0x60]
mov byte [esp + 0x284], 4
cmp dword [esp + 0x74], edi
jae 0x1001c32a
lea eax, [esp + 0x60]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x1001c40f
push str.ppszsl:RegOpenKeyA_Failed_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esp + 0x58], edi
jb 0x1001c361
mov eax, dword [esp + 0x44]
push eax
call fcn.10022cad
add esp, 4
mov esi, 0xf
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
cmp dword [esp + 0x3c], edi
jb 0x1001c385
mov ecx, dword [esp + 0x28]
push ecx
call fcn.10022cad
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp dword [esp + 0x74], edi
jb 0x1001c3a4
mov edx, dword [esp + 0x60]
push edx
call fcn.10022cad
add esp, 4
mov eax, dword [esp + 0x290]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x284], bl
mov byte [esp + 0x60], bl
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001c3da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x294]
add eax, 0xfffffff0
mov dword [esp + 0x284], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001c408
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x1001c69c
mov eax, dword [esp + 0x29c]
cmp eax, 4
jne 0x1001c4fd
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x3c], edi
jae 0x1001c435
lea eax, [esp + 0x28]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2a4]
push ecx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1001c4ba
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x58], edi
jb 0x1001c476
mov ecx, dword [esp + 0x44]
push ecx
call fcn.10022cad
add esp, 4
mov esi, 0xf
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
cmp dword [esp + 0x3c], edi
jb 0x1001c49a
mov edx, dword [esp + 0x28]
push edx
call fcn.10022cad
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp dword [esp + 0x74], edi
jb 0x1001c3a4
mov eax, dword [esp + 0x60]
push eax
jmp 0x1001c39c
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x7c]
push 0x1003fd00
push edx
call fcn.1001c190
lea eax, [esp + 0x84]
add esp, 0xc
lea edx, [eax + 1]
jmp 0x1001c4e0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001c4e0
sub eax, edx
push eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x48]
call fcn.10002080
jmp 0x1001c5a3
cmp eax, 1
jne 0x1001c5a3
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], 0x100
cmp dword [esp + 0x3c], edi
jae 0x1001c51c
lea eax, [esp + 0x28]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x17c]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2a4]
push ecx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1001c592
push str.ppszsl:RegQueryValueExA_Failed_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x40]
call fcn.10014480
lea ecx, [esp + 0x24]
call fcn.10014480
lea ecx, [esp + 0x5c]
call fcn.10014480
lea ecx, [esp + 0x290]
call fcn.10012eb0
lea ecx, [esp + 0x294]
call fcn.10012eb0
xor eax, eax
jmp 0x1001c69c
lea ecx, [esp + 0x178]
push ecx
lea ecx, [esp + 0x44]
call fcn.10002b00
cmp dword [esp + 0x58], edi
jb 0x1001c5b7
mov eax, dword [esp + 0x44]
mov edx, eax
cmp eax, ebx
jne 0x1001c5bb
xor eax, eax
jmp 0x1001c5c9
lea edx, [esp + 0x44]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001c5c0
sub eax, esi
push eax
push edx
mov ecx, ebp
call fcn.10014c10
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x58], edi
jb 0x1001c5f0
mov eax, dword [esp + 0x44]
push eax
call fcn.10022cad
add esp, 4
mov esi, 0xf
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
cmp dword [esp + 0x3c], edi
jb 0x1001c614
mov ecx, dword [esp + 0x28]
push ecx
call fcn.10022cad
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp dword [esp + 0x74], edi
jb 0x1001c633
mov edx, dword [esp + 0x60]
push edx
call fcn.10022cad
add esp, 4
mov eax, dword [esp + 0x290]
add eax, 0xfffffff0
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
mov byte [esp + 0x284], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001c669
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x294]
add eax, 0xfffffff0
mov dword [esp + 0x284], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001c697
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x27c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.100234f7
add esp, 0x274
ret