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

Disassembly:
push 0xffffffffffffffff
push 0x1003b401
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x10048ff4]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10048ff4]
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 0x1001bfb3
push ebx
lea ecx, [esp + 0x294]
call fcn.10013dd0
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 0x1001bfd0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x64]
call fcn.10001f40
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 0x1001c016
push ebx
lea ecx, [esp + 0x298]
call fcn.10013dd0
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 0x1001c027
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.10001f40
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 0x1001c064
push ebx
mov ecx, ebp
call fcn.10013dd0
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 0x1001c080
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x48]
call fcn.10001f40
mov eax, dword [esp + 0x60]
mov byte [esp + 0x284], 4
cmp dword [esp + 0x74], edi
jae 0x1001c0aa
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 0x1001c18f
push str.ppszsl:RegOpenKeyA_Failed_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esp + 0x58], edi
jb 0x1001c0e1
mov eax, dword [esp + 0x44]
push eax
call fcn.10022b6d
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 0x1001c105
mov ecx, dword [esp + 0x28]
push ecx
call fcn.10022b6d
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp dword [esp + 0x74], edi
jb 0x1001c124
mov edx, dword [esp + 0x60]
push edx
call fcn.10022b6d
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 0x1001c15a
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 0x1001c188
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x1001c41c
mov eax, dword [esp + 0x29c]
cmp eax, 4
jne 0x1001c27d
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x3c], edi
jae 0x1001c1b5
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 0x1001c23a
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x58], edi
jb 0x1001c1f6
mov ecx, dword [esp + 0x44]
push ecx
call fcn.10022b6d
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 0x1001c21a
mov edx, dword [esp + 0x28]
push edx
call fcn.10022b6d
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp dword [esp + 0x74], edi
jb 0x1001c124
mov eax, dword [esp + 0x60]
push eax
jmp 0x1001c11c
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x7c]
push 0x1003fcd8
push edx
call fcn.1001bf10
lea eax, [esp + 0x84]
add esp, 0xc
lea edx, [eax + 1]
jmp 0x1001c260
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001c260
sub eax, edx
push eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x48]
call fcn.10002020
jmp 0x1001c323
cmp eax, 1
jne 0x1001c323
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], 0x100
cmp dword [esp + 0x3c], edi
jae 0x1001c29c
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 0x1001c312
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.10014260
lea ecx, [esp + 0x24]
call fcn.10014260
lea ecx, [esp + 0x5c]
call fcn.10014260
lea ecx, [esp + 0x290]
call fcn.10012c90
lea ecx, [esp + 0x294]
call fcn.10012c90
xor eax, eax
jmp 0x1001c41c
lea ecx, [esp + 0x178]
push ecx
lea ecx, [esp + 0x44]
call fcn.10002a50
cmp dword [esp + 0x58], edi
jb 0x1001c337
mov eax, dword [esp + 0x44]
mov edx, eax
cmp eax, ebx
jne 0x1001c33b
xor eax, eax
jmp 0x1001c349
lea edx, [esp + 0x44]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001c340
sub eax, esi
push eax
push edx
mov ecx, ebp
call fcn.10014a00
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x58], edi
jb 0x1001c370
mov eax, dword [esp + 0x44]
push eax
call fcn.10022b6d
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 0x1001c394
mov ecx, dword [esp + 0x28]
push ecx
call fcn.10022b6d
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp dword [esp + 0x74], edi
jb 0x1001c3b3
mov edx, dword [esp + 0x60]
push edx
call fcn.10022b6d
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 0x1001c3e9
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 0x1001c417
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.100233b7
add esp, 0x274
ret