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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x102b01c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x818], esi
mov dword [ebp - 0x80c], eax
mov dword [ebp - 0x810], ecx
mov dword [ebp - 0x81c], edi
test esi, esi
jne 0x10107bf
push esi
push 0x54f
push 0x1004200
push 0xd5
jmp 0x1010a9f
test ebx, ebx
jne 0x10107d8
push esi
push 0x54f
push 0x10041f8
push 0xd6
jmp 0x1010a9f
test eax, eax
jne 0x10107f1
push esi
push 0x54f
push 0x10041f0
push 0xd7
jmp 0x1010a9f
test ecx, ecx
jne 0x101080a
push esi
push 0x54f
push 0x10041e8
push 0xd8
jmp 0x1010a9f
mov ecx, dword [ebx]
cmp ecx, 0xbb8
je 0x1010a8f
cmp ecx, 0xbb9
je 0x1010a8f
test edi, edi
jne 0x101083d
push esi
push 0x54f
push 0x10041e0
push 0xda
jmp 0x1010a9f
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x1010868
test dword [eax + 0x1c], 0x200000
je 0x1010868
push dword [ebx + 4]
push ecx
push 0x1004080
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010103f9
and dword [edi], 0
cmp dword [ebx + 0xc], 0x32
mov dword [ebp - 0x808], 1
je 0x1010921
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x820]
push eax
push 0
push dword [ebx + 4]
mov dword [ebp - 0x814], 0x800
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1010921
mov eax, dword [ebp - 0x820]
cmp eax, dword [ebp + 0x14]
jne 0x1010921
mov ecx, dword [ebp + 0x1c]
cmp dword [ebp - 0x814], ecx
jne 0x1010921
mov edi, dword [ebp - 0x810]
lea esi, [ebp - 0x804]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10108e0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x101091b
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x1010a87
test dword [eax + 0x1c], 0x200000
je 0x1010a5c
push dword [ebx + 4]
push 0x1004080
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a963
jmp 0x1010a57
mov esi, dword [ebp - 0x818]
mov ecx, dword [ebx]
mov eax, 0x7e0
cmp ecx, eax
je 0x1010a30
cmp ecx, 0x7e1
je 0x1010a2c
cmp ecx, 0x3ea
jne 0x101095e
push 0x10041b8
mov eax, dword [esi]
push 0x4033c4e4
push 0x803381ae
push esi
call dword [eax + 0x1c]
jmp 0x1010a4d
cmp ecx, 0x7d0
jne 0x101096d
push 0x1004188
jmp 0x1010949
cmp ecx, 0xbc3
jne 0x101097c
push 0x1004168
jmp 0x1010949
push dword [ebp + 0x1c]
push dword [ebp - 0x810]
push dword [ebp + 0x14]
push 0
push dword [ebx + 4]
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
je 0x10109f4
mov eax, dword [esi]
and dword [ebp - 0x808], 0
push edi
push 0x100414c
push 0x4033c360
push 0x65b
push esi
call dword [eax + 0x1c]
add esp, 0x14
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x1010a87
test dword [eax + 0x1c], 0x400000
je 0x1010a5c
push dword [ebx + 4]
push edi
push 0x1004080
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010103f9
jmp 0x1010a57
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x1010a1e
test dword [eax + 0x1c], 0x200000
je 0x1010a1e
push dword [ebx + 4]
push 0x1004080
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a963
mov eax, dword [ebp - 0x81c]
mov dword [eax], 1
jmp 0x1010a57
cmp ecx, eax
jne 0x1010a37
mov eax, 0x1002968
jmp 0x1010a3c
mov eax, 0x1002944
mov ecx, dword [esi]
push eax
push 0x4033c494
push 0x8033813f
push esi
call dword [ecx + 0x1c]
add esp, 0x10
and dword [ebp - 0x808], 0
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x1010a87
test dword [eax + 0x1c], 0x200000
je 0x1010a87
push dword [ebp - 0x808]
push dword [ebx + 4]
push 0x1004080
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100e867
mov eax, dword [ebp - 0x808]
jmp 0x1010aab
push esi
push 0x54f
push 0x1004144
push 0xd9
push 0x10040e0
call fcn.0100a7c1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100a07f
leave
ret 0x1c