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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x870
mov eax, dword [0x1049108]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov ebx, 0x208
cmp dword [ebp + 0xc], edi
jne 0x101eb75
xor eax, eax
push 0x40e
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x834], ebx
mov dword [ebp - 0x82c], edi
mov dword [ebp - 0x830], edi
cmp dword [0x1049eac], edi
jne 0x101ec2f
cmp dword [esi + 0x18], edi
je 0x101a8f9
lea eax, [esi + 0x436]
mov dword [ebp - 0x828], eax
cmp eax, edi
je 0x10113f3
mov ebx, dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
lea eax, [esi + 0x436]
cmp eax, edi
je 0x101ab35
push 0xffffffffffffffff
push dword [ebp - 0x828]
push 0xffffffffffffffff
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x101ab35
cmp dword [ebp - 0x82c], edi
jne 0x101ac5e
cmp dword [esi + 0x18], edi
je 0x101ac5e
mov ecx, dword [0x1049eac]
cmp ecx, edi
jne 0x101eca0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01003279
leave
ret 8
cmp dword [esi + 0x1c], edi
je 0x10113f3
lea eax, [esi + 0x24]
jmp 0x1011394
mov eax, dword [ebp - 0x828]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x101ab3e
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x828]
push 1
push edi
push 0x1011218
push dword [esi + 4]
call ebx
push 0x100e6fc
push edi
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendNotifyMessageW]
mov eax, dword [0x1049104]
cmp eax, 0x1049104
je 0x101ab8d
test byte [eax + 0x1c], 2
jne 0x101ec83
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 4
mov dword [ebp - 0x84c], eax
pop eax
push edi
push 0x101a8c8
lea ecx, [ebp - 0x870]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x844], edi
mov dword [ebp - 0x840], 1
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x838], edi
call fcn.0101ac1a
push eax
lea eax, [ebp - 0x84c]
push eax
push dword [ebp - 0x828]
lea ecx, [ebp - 0x864]
call fcn.0101ac1a
push eax
lea eax, [esi + 0x436]
push eax
lea ecx, [ebp - 0x858]
call fcn.0101ac1a
push eax
lea eax, [ebp - 0x840]
push eax
push 0x101a8b8
call fcn.0101a9e7
add esp, 0x1c
jmp 0x10113d0
xor eax, eax
cmp dword [ebp - 0x830], edi
push 4
setne al
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x82c]
push eax
push 4
push edi
push 0x101ac90
push dword [esi + 4]
call ebx
jmp 0x10113e5
lea ecx, [ebp - 0x828]
push ecx
lea eax, [esi + 0x436]
push eax
push edi
push edi
push 0x1011218
push dword [esi + 4]
mov dword [ebp - 0x828], 0x410
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x101ebb6
cmp word [esi + 0x436], di
je 0x101ebb6
mov dword [esi + 0x18], 1
jmp 0x1011349
mov dword [esi + 0x18], edi
cmp dword [esi + 0x1c], edi
jne 0x1011349
lea ecx, [ebp - 0x82c]
push ecx
lea ecx, [ebp - 0x824]
push ecx
push edi
push edi
lea ecx, [ebp - 0x828]
push ecx
lea eax, [esi + 0x24]
push eax
push edi
push dword [esi + 8]
mov dword [ebp - 0x82c], 0x410
mov dword [ebp - 0x828], ebx
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegEnumValueW]
test eax, eax
jne 0x101ec27
push 0x101ecc0
push ebx
lea eax, [esi + 0x24]
push eax
call fcn.010105ee
lea eax, [ebp - 0x824]
push eax
push ebx
lea eax, [esi + 0x24]
push eax
call fcn.010105ee
mov dword [esi + 0x1c], 1
jmp 0x1011349
mov dword [esi + 0x1c], edi
jmp 0x1011349
push dword [esi]
call fcn.0103ef91
test eax, eax
je 0x1011385
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x414]
push eax
push dword [esi]
mov dword [ebp - 0x82c], 1
call fcn.0103f36d
xor ecx, ecx
test eax, eax
setge cl
mov dword [ebp - 0x830], ecx
cmp ecx, edi
je 0x1011385
lea eax, [ebp - 0x414]
mov dword [ebp - 0x828], eax
jmp 0x101139e
push dword [ebp - 0x828]
push 0x101ecb0
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010332f4
jmp 0x101ab8d
push edi
push dword [esi]
call fcn.0103f5ed
jmp 0x10113f3