Function at 0x10105ab
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 0x1010603
push esi
push 0x54f
push 0x10042bc
push 0xd5
jmp 0x10108e3
test ebx, ebx
jne 0x101061c
push esi
push 0x54f
push 0x10042b4
push 0xd6
jmp 0x10108e3
test eax, eax
jne 0x1010635
push esi
push 0x54f
push 0x10042ac
push 0xd7
jmp 0x10108e3
test ecx, ecx
jne 0x101064e
push esi
push 0x54f
push 0x10042a4
push 0xd8
jmp 0x10108e3
mov ecx, dword [ebx]
cmp ecx, 0xbb8
je 0x10108d3
cmp ecx, 0xbb9
je 0x10108d3
test edi, edi
jne 0x1010681
push esi
push 0x54f
push 0x100429c
push 0xda
jmp 0x10108e3
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x10106ac
test dword [eax + 0x1c], 0x200000
je 0x10106ac
push dword [ebx + 4]
push ecx
push 0x1004130
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101023d
and dword [edi], 0
cmp dword [ebx + 0xc], 0x32
mov dword [ebp - 0x808], 1
je 0x1010765
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 0x1010765
mov eax, dword [ebp - 0x820]
cmp eax, dword [ebp + 0x14]
jne 0x1010765
mov ecx, dword [ebp + 0x1c]
cmp dword [ebp - 0x814], ecx
jne 0x1010765
mov edi, dword [ebp - 0x810]
lea esi, [ebp - 0x804]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x1010724
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x101075f
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x10108cb
test dword [eax + 0x1c], 0x200000
je 0x10108a0
push dword [ebx + 4]
push 0x1004130
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100aa26
jmp 0x101089b
mov esi, dword [ebp - 0x818]
mov ecx, dword [ebx]
mov eax, 0x7e0
cmp ecx, eax
je 0x1010874
cmp ecx, 0x7e1
je 0x1010870
cmp ecx, 0x3ea
jne 0x10107a2
push 0x1004274
mov eax, dword [esi]
push 0x4033c4e4
push 0x803381ae
push esi
call dword [eax + 0x1c]
jmp 0x1010891
cmp ecx, 0x7d0
jne 0x10107b1
push 0x1004244
jmp 0x101078d
cmp ecx, 0xbc3
jne 0x10107c0
push 0x1004224
jmp 0x101078d
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 0x1010838
mov eax, dword [esi]
and dword [ebp - 0x808], 0
push edi
push 0x1004208
push 0x4033c360
push 0x65b
push esi
call dword [eax + 0x1c]
add esp, 0x14
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x10108cb
test dword [eax + 0x1c], 0x400000
je 0x10108a0
push dword [ebx + 4]
push edi
push 0x1004130
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101023d
jmp 0x101089b
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x1010862
test dword [eax + 0x1c], 0x200000
je 0x1010862
push dword [ebx + 4]
push 0x1004130
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100aa26
mov eax, dword [ebp - 0x81c]
mov dword [eax], 1
jmp 0x101089b
cmp ecx, eax
jne 0x101087b
mov eax, 0x1002980
jmp 0x1010880
mov eax, 0x100295c
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 0x10108cb
test dword [eax + 0x1c], 0x200000
je 0x10108cb
push dword [ebp - 0x808]
push dword [ebx + 4]
push 0x1004130
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100e6a0
mov eax, dword [ebp - 0x808]
jmp 0x10108ef
push esi
push 0x54f
push 0x1004200
push 0xd9
push 0x1004190
call fcn.0100a8b1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100a16f
leave
ret 0x1c