Function at 0x10104ab
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 0x1010503
push esi
push 0x54f
push 0x1004238
push 0xd5
jmp 0x10107e3
test ebx, ebx
jne 0x101051c
push esi
push 0x54f
push 0x1004230
push 0xd6
jmp 0x10107e3
test eax, eax
jne 0x1010535
push esi
push 0x54f
push 0x1004228
push 0xd7
jmp 0x10107e3
test ecx, ecx
jne 0x101054e
push esi
push 0x54f
push 0x1004220
push 0xd8
jmp 0x10107e3
mov ecx, dword [ebx]
cmp ecx, 0xbb8
je 0x10107d3
cmp ecx, 0xbb9
je 0x10107d3
test edi, edi
jne 0x1010581
push esi
push 0x54f
push 0x1004218
push 0xda
jmp 0x10107e3
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x10105ac
test dword [eax + 0x1c], 0x200000
je 0x10105ac
push dword [ebx + 4]
push ecx
push 0x10040b8
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101013d
and dword [edi], 0
cmp dword [ebx + 0xc], 0x32
mov dword [ebp - 0x808], 1
je 0x1010665
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 0x1010665
mov eax, dword [ebp - 0x820]
cmp eax, dword [ebp + 0x14]
jne 0x1010665
mov ecx, dword [ebp + 0x1c]
cmp dword [ebp - 0x814], ecx
jne 0x1010665
mov edi, dword [ebp - 0x810]
lea esi, [ebp - 0x804]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x1010624
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x101065f
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x10107cb
test dword [eax + 0x1c], 0x200000
je 0x10107a0
push dword [ebx + 4]
push 0x10040b8
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a926
jmp 0x101079b
mov esi, dword [ebp - 0x818]
mov ecx, dword [ebx]
mov eax, 0x7e0
cmp ecx, eax
je 0x1010774
cmp ecx, 0x7e1
je 0x1010770
cmp ecx, 0x3ea
jne 0x10106a2
push 0x10041f0
mov eax, dword [esi]
push 0x4033c4e4
push 0x803381ae
push esi
call dword [eax + 0x1c]
jmp 0x1010791
cmp ecx, 0x7d0
jne 0x10106b1
push 0x10041c0
jmp 0x101068d
cmp ecx, 0xbc3
jne 0x10106c0
push 0x10041a0
jmp 0x101068d
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 0x1010738
mov eax, dword [esi]
and dword [ebp - 0x808], 0
push edi
push 0x1004184
push 0x4033c360
push 0x65b
push esi
call dword [eax + 0x1c]
add esp, 0x14
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x10107cb
test dword [eax + 0x1c], 0x400000
je 0x10107a0
push dword [ebx + 4]
push edi
push 0x10040b8
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101013d
jmp 0x101079b
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x1010762
test dword [eax + 0x1c], 0x200000
je 0x1010762
push dword [ebx + 4]
push 0x10040b8
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a926
mov eax, dword [ebp - 0x81c]
mov dword [eax], 1
jmp 0x101079b
cmp ecx, eax
jne 0x101077b
mov eax, 0x1002968
jmp 0x1010780
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 0x10107cb
test dword [eax + 0x1c], 0x200000
je 0x10107cb
push dword [ebp - 0x808]
push dword [ebx + 4]
push 0x10040b8
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100e5a0
mov eax, dword [ebp - 0x808]
jmp 0x10107ef
push esi
push 0x54f
push 0x100417c
push 0xd9
push 0x1004118
call fcn.0100a7b1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100a071
leave
ret 0x1c