Function at 0x6f1850
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7387f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x334
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0x158c]
push esi
mov eax, dword [ebx + 0x1590]
lea esi, [ebx + 0x1588]
push edi
push eax
push ecx
mov ecx, esi
call fcn.0041f820
mov al, byte [ebp - 0x15]
push 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x40], al
call fcn.00420200
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0041f800
cmp eax, 0xa
jae 0x6f18d1
mov edi, dword [esi + 8]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, esi
call fcn.0041f800
mov edx, 0xa
mov ecx, esi
sub edx, eax
push edx
push edi
call fcn.00421020
jmp 0x6f18f2
mov ecx, esi
call fcn.0041f800
cmp eax, 0xa
jbe 0x6f18f2
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
add ecx, 0xa0
push eax
push ecx
mov ecx, esi
call fcn.0041f820
push 1
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.00420200
mov esi, dword [ebx + 0x158c]
push 0x220
call fcn.00581bb0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0042f5e0
mov esi, dword [ebx + 0x158c]
push 0x221
call fcn.00581bb0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esi + 0x10]
call fcn.0042f5e0
mov esi, dword [ebx + 0x158c]
push 0x222
call fcn.00581bb0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esi + 0x20]
call fcn.0042f5e0
mov esi, dword [ebx + 0x158c]
push 0x223
call fcn.00581bb0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esi + 0x30]
call fcn.0042f5e0
mov esi, dword [ebx + 0x158c]
push 0x225
call fcn.00581bb0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esi + 0x40]
call fcn.0042f5e0
mov esi, dword [ebx + 0x158c]
push 0x226
call fcn.00581bb0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esi + 0x50]
call fcn.0042f5e0
mov esi, dword [ebx + 0x158c]
push 0x227
call fcn.00581bb0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esi + 0x60]
call fcn.0042f5e0
mov esi, dword [ebx + 0x158c]
push 0x228
call fcn.00581bb0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esi + 0x70]
call fcn.0042f5e0
mov esi, dword [ebx + 0x158c]
push 0x229
call fcn.00581bb0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esi + 0x80]
call fcn.0042f5e0
mov esi, dword [ebx + 0x158c]
push 0x22a
call fcn.00581bb0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esi + 0x90]
call fcn.0042f5e0
mov edi, dword [0x770b48]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x340]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea edx, [ebp - 0x340]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [0x76af68]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x340]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x76a664
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x24]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor edi, edi
push 1
lea ecx, [ebp - 0x340]
push edi
push ecx
push reloc.ijl15.dll_Ordinal_2
call esi
test eax, eax
jne 0x6f1ca3
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x340]
push eax
push 0xf003f
push edi
push ecx
push reloc.ijl15.dll_Ordinal_2
call esi
test eax, eax
jne 0x6f1ca3
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x30]
push 0xa
push edx
push eax
mov dword [ebp - 0x20], 0x32
call fcn.00716fde
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [ebp - 0x140]
add esp, 0xc
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x140]
push ecx
lea eax, [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x30]
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, 0x7c1a4c
lea edi, [ebp - 0x140]
mov cl, byte [edi]
mov dl, byte [esi]
mov al, cl
cmp cl, dl
jne 0x6f1c14
test al, al
je 0x6f1c10
mov dl, byte [edi + 1]
mov cl, byte [esi + 1]
mov al, dl
cmp dl, cl
jne 0x6f1c14
add edi, 2
add esi, 2
test al, al
jne 0x6f1bec
xor eax, eax
jmp 0x6f1c19
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x6f1c7e
lea edi, [ebp - 0x140]
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [ebp - 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x140]
push ecx
mov ecx, dword [ebx + 0x158c]
push eax
add ecx, esi
call fcn.0042f5e0
mov eax, dword [ebx + 0x158c]
add eax, esi
mov eax, dword [eax + 4]
test eax, eax
jne 0x6f1c59
mov eax, 0x73a7f4
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x140]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
add eax, 0x10
inc esi
cmp eax, 0xa0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], eax
jl 0x6f1b9a
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x788908
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx + 0x158c]
repne scasb al, byte es:[edi]
mov eax, dword [edx + 8]
not ecx
dec ecx
push ecx
push 0x788908
push eax
push 0
mov ecx, edx
call fcn.00430490
test eax, eax
jne 0x6f1cf9
mov esi, dword [ebx + 0x158c]
push 0x220
call fcn.00581bb0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0042f5e0
mov edx, dword [ebx + 0x158c]
mov edi, 0x788904
or ecx, 0xffffffff
xor eax, eax
add edx, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [edx + 8]
push 0x788904
push ecx
push eax
mov ecx, edx
call fcn.00430490
test eax, eax
jne 0x6f1d52
mov esi, dword [ebx + 0x158c]
push 0x221
call fcn.00581bb0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esi + 0x10]
call fcn.0042f5e0
mov edx, dword [ebx + 0x158c]
mov edi, 0x7888fc
or ecx, 0xffffffff
xor eax, eax
add edx, 0x20
repne scasb al, byte es:[edi]
mov eax, dword [edx + 8]
not ecx
dec ecx
push ecx
push 0x7888fc
push eax
push 0
mov ecx, edx
call fcn.00430490
test eax, eax
jne 0x6f1dac
mov esi, dword [ebx + 0x158c]
push 0x222
call fcn.00581bb0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esi + 0x20]
call fcn.0042f5e0
mov edx, dword [ebx + 0x158c]
mov edi, 0x7888f4
or ecx, 0xffffffff
xor eax, eax
add edx, 0x30
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [edx + 8]
push 0x7888f4
push ecx
push eax
mov ecx, edx
call fcn.00430490
test eax, eax
jne 0x6f1e05
mov esi, dword [ebx + 0x158c]
push 0x223
call fcn.00581bb0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esi + 0x30]
call fcn.0042f5e0
mov edx, dword [ebx + 0x158c]
mov edi, 0x7888e8
or ecx, 0xffffffff
xor eax, eax
add edx, 0x40
repne scasb al, byte es:[edi]
mov eax, dword [edx + 8]
not ecx
dec ecx
push ecx
push 0x7888e8
push eax
push 0
mov ecx, edx
call fcn.00430490
test eax, eax
jne 0x6f1e8e
mov edi, dword [ebx + 0x158c]
push 0x225
call fcn.00581bb0
mov esi, eax
lea edx, [edi + 0x40]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
mov ecx, edx
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
call fcn.004219e0
test al, al
je 0x6f1e8e
mov eax, dword [ebp - 0x10]
mov ecx, edi
mov edx, ecx
mov edi, dword [eax + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
push ecx
mov ecx, eax
call fcn.004219c0
mov edx, dword [ebx + 0x158c]
mov edi, 0x7888e0
or ecx, 0xffffffff
xor eax, eax
add edx, 0x50
repne scasb al, byte es:[edi]
mov eax, dword [edx + 8]
not ecx
dec ecx
push ecx
push 0x7888e0
push eax
push 0
mov ecx, edx
call fcn.00430490
test eax, eax
jne 0x6f1f17
mov edi, dword [ebx + 0x158c]
push 0x226
call fcn.00581bb0
mov esi, eax
lea edx, [edi + 0x50]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
mov ecx, edx
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
call fcn.004219e0
test al, al
je 0x6f1f17
mov eax, dword [ebp - 0x10]
mov ecx, edi
mov edx, ecx
mov edi, dword [eax + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
push ecx
mov ecx, eax
call fcn.004219c0
mov edx, dword [ebx + 0x158c]
mov edi, 0x7888d8
or ecx, 0xffffffff
xor eax, eax
add edx, 0x60
repne scasb al, byte es:[edi]
mov eax, dword [edx + 8]
not ecx
dec ecx
push ecx
push 0x7888d8
push eax
push 0
mov ecx, edx
call fcn.00430490
test eax, eax
jne 0x6f1fa0
mov edi, dword [ebx + 0x158c]
push 0x227
call fcn.00581bb0
mov esi, eax
lea edx, [edi + 0x60]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
mov ecx, edx
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
call fcn.004219e0
test al, al
je 0x6f1fa0
mov eax, dword [ebp - 0x10]
mov ecx, edi
mov edx, ecx
mov edi, dword [eax + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
push ecx
mov ecx, eax
call fcn.004219c0
mov edx, dword [ebx + 0x158c]
mov edi, 0x7888d4
or ecx, 0xffffffff
xor eax, eax
add edx, 0x70
repne scasb al, byte es:[edi]
mov eax, dword [edx + 8]
not ecx
dec ecx
push ecx
push 0x7888d4
push eax
push 0
mov ecx, edx
call fcn.00430490
test eax, eax
jne 0x6f202b
mov edi, dword [ebx + 0x158c]
push 0x228
call fcn.00581bb0
mov esi, eax
lea edx, [edi + 0x70]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
mov ecx, edx
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
call fcn.004219e0
test al, al
je 0x6f202b
mov eax, dword [ebp - 0x10]
mov ecx, edi
mov edx, ecx
mov edi, dword [eax + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
mov dword [eax + 8], ecx
mov eax, dword [eax + 4]
mov byte [ecx + eax], 0
mov edx, dword [ebx + 0x158c]
mov edi, 0x7888d0
or ecx, 0xffffffff
xor eax, eax
add edx, 0x80
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [edx + 8]
push 0x7888d0
push ecx
push eax
mov ecx, edx
call fcn.00430490
test eax, eax
jne 0x6f20bb
mov edi, dword [ebx + 0x158c]
push 0x229
call fcn.00581bb0
mov esi, eax
lea edx, [edi + 0x80]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
mov ecx, edx
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
call fcn.004219e0
test al, al
je 0x6f20bb
mov eax, dword [ebp - 0x10]
mov ecx, edi
mov edx, ecx
mov edi, dword [eax + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
mov dword [eax + 8], ecx
mov eax, dword [eax + 4]
mov byte [eax + ecx], 0
mov edi, 0x7888c8
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [ebx + 0x158c]
repne scasb al, byte es:[edi]
mov eax, dword [ebx + 0x98]
not ecx
dec ecx
cmp eax, ecx
mov dword [ebp - 0x10], ecx
jae 0x6f20df
mov ecx, eax
mov esi, dword [ebx + 0x94]
mov edi, 0x7888c8
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x6f20f5
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
jne 0x6f21d4
mov esi, dword [ebp - 0x10]
cmp eax, esi
jb 0x6f21d4
cmp eax, esi
setne dl
test edx, edx
jne 0x6f21d4
push 0x22a
call fcn.00581bb0
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
add esp, 4
add ebx, 0x90
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
cmp edi, 0xfffffffd
mov dword [ebp - 0x10], edi
jbe 0x6f2145
call fcn.00704fbb
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x6f2179
mov al, byte [ecx - 1]
test al, al
je 0x6f2179
cmp al, 0xff
je 0x6f2179
test edi, edi
jne 0x6f21ac
dec al
push edi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00420200
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x6f2197
push 1
mov ecx, ebx
call fcn.00420200
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x6f21a3
cmp eax, edi
jae 0x6f21b4
push 1
mov ecx, ebx
call fcn.00420200
push edi
mov ecx, ebx
call fcn.00421d90
mov ecx, edi
mov edi, dword [ebx + 4]
mov edx, ecx
mov eax, dword [ebp - 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov byte [ecx + eax], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret