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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101404fd
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x101ba518]
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 eax, ecx
mov dword [ebp - 0xbc], eax
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc4], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x104], ecx
cmp eax, edx
jbe 0x10093ef9
jmp 0x10093850
movzx eax, word [edx + 1]
lea edi, [edx + 1]
add eax, dword [edx + 3]
lea ecx, [edx + 3]
mov esi, edx
mov dword [ebp - 0x30], 0
mov ebx, edx
mov dword [ebp - 0x2c], 0
add edx, 7
mov dword [ebp - 0xfc], esi
add edx, eax
mov dword [ebp - 0x100], edi
mov dword [ebp - 0xc0], edx
xor eax, eax
lea edx, [ebx + 7]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [edx], ax
jne 0x100938ac
xor ecx, ecx
jmp 0x100938c6
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100938b1
sub ecx, esi
mov esi, dword [ebp - 0xfc]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10009290
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0xbc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10093f20
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 8
jb 0x100938ff
push dword [ebp - 0x40]
call fcn.10115284
add esp, 4
mov ecx, dword [ebp - 0x104]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
test ecx, ecx
je 0x10093941
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x10093eb8
movzx esi, byte [esi]
mov eax, esi
dec eax
je 0x10093d7d
dec eax
je 0x10093d7d
sub eax, 5
je 0x100939a5
mov eax, dword [ebp - 0x100]
lea edi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0xc8]
cmovae edi, dword [ebp - 0x28]
movzx eax, word [eax]
add eax, 7
push dword [edx]
add eax, ebx
push eax
push esi
push 0
push edi
push dword [ebp - 0xc4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10093eb8
push eax
mov edx, esi
mov ecx, edi
call fcn.100964b0
add esp, 4
jmp 0x10093eb8
mov eax, dword [ebp - 0xbc]
cmp dword [eax + 0x18], 0
jne 0x10093a69
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0xe0]
movzx ecx, word [edi]
mov edx, dword [ebp - 0xc8]
add ecx, 7
push eax
add ecx, ebx
mov edx, dword [edx]
call fcn.10095fc0
add esp, 4
lea eax, [ebp - 0xe0]
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
push eax
push ecx
mov ecx, dword [ebp - 0xc4]
call fcn.100965a0
add esp, 8
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0xe0]
test esi, esi
je 0x10093eb8
push dword [ebp - 0xc0]
mov edx, dword [ebp - 0xdc]
push ecx
mov ecx, esi
call fcn.100162a0
push esi
call fcn.10115284
add esp, 0xc
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
jmp 0x10093eb8
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov byte [ebp - 4], 4
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov byte [ebp - 4], 5
lea eax, [ebp - 0xf8]
mov edx, dword [ebp - 0xc8]
lea ecx, [ebx + 7]
push eax
movzx eax, word [edi]
add ecx, eax
mov edx, dword [edx]
call fcn.10095fc0
mov ebx, dword [ebp - 0xf8]
add esp, 4
mov edi, dword [ebp - 0xf4]
mov esi, ebx
cmp ebx, edi
je 0x10093bb6
mov ebx, dword [ebp - 0xbc]
jmp 0x10093af0
xor eax, eax
mov dword [ebp - 0x48], 0
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x58]
push esi
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.10009170
mov byte [ebp - 4], 6
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xb8]
mov ecx, ebx
push eax
call fcn.10093f20
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xec]
push eax
call fcn.10014bd0
mov byte [ebp - 4], 6
cmp dword [ebp - 0xa4], 8
jb 0x10093b5f
push dword [ebp - 0xb8]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x44], 8
jb 0x10093b91
push dword [ebp - 0x58]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
add esi, 0x18
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp esi, edi
jne 0x10093af0
mov ebx, dword [ebp - 0xf8]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x60], 0
cmovae edx, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
cmp word [edx], ax
jne 0x10093c0e
xor ecx, ecx
jmp 0x10093c22
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10093c13
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.10009290
mov byte [ebp - 4], 9
lea eax, [ebp - 0xd4]
mov esi, dword [ebp - 0xc4]
lea edx, [ebp - 0x70]
push eax
mov ecx, esi
call fcn.10096960
add esp, 4
mov byte [ebp - 4], 8
cmp dword [ebp - 0x5c], 8
jb 0x10093c5f
push dword [ebp - 0x70]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xd4]
mov dword [ebp - 0x60], 0
push eax
call fcn.100941e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0xd4]
push eax
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
push ecx
mov ecx, esi
call fcn.100965a0
add esp, 8
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0xd4]
test esi, esi
je 0x10093cec
push dword [ebp - 0xc0]
mov edx, dword [ebp - 0xd0]
push ecx
mov ecx, esi
call fcn.100162a0
push esi
call fcn.10115284
add esp, 0xc
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov byte [ebp - 4], 4
test ebx, ebx
je 0x10093d2b
push dword [ebp - 0xc0]
mov edx, edi
push ecx
mov ecx, ebx
call fcn.100162a0
push ebx
call fcn.10115284
add esp, 0xc
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0xec]
test esi, esi
je 0x10093eb8
push dword [ebp - 0xc0]
mov edx, dword [ebp - 0xe8]
push ecx
mov ecx, esi
call fcn.100162a0
push esi
call fcn.10115284
add esp, 0xc
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
jmp 0x10093eb8
movzx eax, word [edi]
lea edx, [ebx + 7]
add edx, eax
mov dword [ebp - 0x78], 0
xor eax, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
cmp word [edx], ax
jne 0x10093db3
xor ecx, ecx
jmp 0x10093dcf
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x10093dc0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10093dc0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.10009290
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x88]
mov ecx, dword [ebp - 0xbc]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.10093f20
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x74], 8
jb 0x10093e11
push dword [ebp - 0x88]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0xa0]
mov word [ebp - 0x88], ax
lea esi, [ebp - 0x28]
mov eax, dword [ebp - 0xfc]
cmovae ecx, dword [ebp - 0xa0]
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x78], 0
movzx edi, byte [eax]
mov eax, dword [ebp - 0x90]
cmovae esi, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
push eax
push ecx
push edi
push 0
push esi
push dword [ebp - 0xc4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10093e80
push eax
mov edx, edi
mov ecx, esi
call fcn.100964b0
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x8c], 8
jb 0x10093e9b
push dword [ebp - 0xa0]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x10093ed0
push dword [ebp - 0x28]
call fcn.10115284
add esp, 4
mov ecx, dword [ebp - 0xbc]
xor eax, eax
mov edx, dword [ebp - 0xc0]
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
add eax, dword [ecx + 4]
mov dword [ebp - 0x14], 7
cmp eax, edx
ja 0x10093850
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.10115289
mov esp, ebp
pop ebp
ret 8