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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov dword [ebp - 4], ebx
je 0x275bfb93
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x6c]
shl edi, 2
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x275bfb89
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x275bfb80
cmp dword [esi + 0x6c], ebx
mov dword [ebp + 0x14], ebx
jle 0x275bfb59
mov edx, dword [ebp + 8]
lea eax, [esi + 0xf0]
mov ecx, dword [eax]
cmp ecx, ebx
je 0x275e4029
inc dword [ebp + 0x14]
mov dword [edx], ecx
mov ecx, dword [ebp + 0x14]
add eax, 0x14
add edx, 4
cmp ecx, dword [esi + 0x6c]
jl 0x275bfb3c
push edi
push dword [ebp + 8]
push 3
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x275bfb77
mov dword [ebp - 4], 1
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x14
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x275bfb89
lea eax, [ebp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0x18]
mov dword [ebp + 0xc], ebx
push dword [ebp + 0x10]
call esi
test eax, eax
jne 0x275bfbcf
mov edi, dword [ebp + 0xc]
cmp edi, 4
ja 0x275e403c
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x275bfb89
mov cl, byte [eax + 4]
not cl
movzx ecx, cl
shr ecx, 3
or ecx, 0xfffffffe
jmp 0x275bfb46
cmp edi, 0x800
jae 0x275bfbcf
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x275bfbcf
lea ecx, [ebp - 8]
mov dword [ebp - 8], edi
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call esi
test eax, eax
jne 0x275e42b5
cmp dword [ebp - 0x10], 3
jne 0x275e42b5
cmp dword [ebp - 8], edi
jne 0x275e42b5
shr edi, 2
mov esi, edi
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x275e40e4
cmp dword [edi + 0x28], ebx
je 0x275e40e4
mov eax, dword [edi]
cmp dword [edi + 0x6c], ebx
mov dword [ebp - 0x50], 0x2c
mov dword [ebp - 0x48], eax
mov dword [ebp + 0x18], ebx
jle 0x275e40e4
lea ebx, [edi + 0xf0]
test byte [ebx + 5], 1
jne 0x275e40d6
mov eax, dword [ebx]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0x405
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_SendMessageA]
inc dword [ebp + 0x18]
add ebx, 0x14
mov eax, dword [ebp + 0x18]
cmp eax, dword [edi + 0x6c]
jl 0x275e40b7
lea eax, [esi + esi*4]
push 2
lea eax, [eax*4 + 0xec]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov ebx, eax
test ebx, ebx
je 0x275e42b5
push ebx
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [ebx + 0x6c]
cmp edx, esi
jge 0x275e4138
mov eax, esi
sub eax, edx
lea edx, [edx + edx*4]
lea ecx, [eax + eax*4]
lea edi, [ebx + edx*4 + 0xec]
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
mov dword [ebx + 0x6c], esi
test esi, esi
jle 0x275e417d
mov esi, dword [ebp - 0xc]
lea eax, [ebx + 0xf4]
mov ecx, dword [esi]
test ecx, ecx
jge 0x275e42c3
mov byte [eax + 1], 1
mov ecx, dword [0x2758a9c4]
mov dword [eax - 8], ecx
and dword [eax - 4], 0
mov ecx, dword [esi]
inc ecx
neg ecx
sbb cl, cl
and ecx, 8
mov byte [eax], cl
inc edi
add esi, 4
add eax, 0x14
cmp edi, dword [ebx + 0x6c]
jl 0x275e414a
push 0
push 0xfffffd41
push ebx
call fcn.27582d58
lea eax, [ebp - 0xd0]
push pe_nt_image_headers32
push eax
lea eax, [ebp - 0x24]
lea esi, [ebx + 0xf0]
push eax
xor edi, edi
push dword [esi]
mov dword [ebp + 0x14], edi
mov dword [ebp - 0x20], edi
push edi
push ebx
call fcn.275be2a9
test eax, eax
je 0x275e4251
mov dword [ebp + 0x18], esi
test byte [ebp - 0x1b], 1
je 0x275e41c7
cmp dword [ebp - 0x20], edi
je 0x275e421f
push dword [ebp - 0x20]
push ebx
call fcn.275895fc
cmp eax, edi
jl 0x275e421f
lea ecx, [eax + eax*4]
push 5
lea esi, [ebp - 0x24]
lea edi, [ebx + ecx*4 + 0xec]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x275e421f
add eax, 0xc
mov edx, dword [ebx]
and dword [ebp - 0x4c], 0
or dword [ebp - 0x2c], 0xffffffff
lea eax, [eax + eax*4]
mov dword [ebp - 0x50], 0x2c
mov dword [ebp - 0x48], edx
mov eax, dword [ebx + eax*4]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0x404
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
add dword [ebp + 0x18], 0x14
lea eax, [ebp - 0xd0]
push pe_nt_image_headers32
inc dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 0x18]
xor edi, edi
push dword [eax]
mov dword [ebp - 0x20], edi
push dword [ebp + 0x14]
push ebx
call fcn.275be2a9
test eax, eax
jne 0x275e41bc
push edi
push 0xfffffd40
push ebx
call fcn.27582d58
mov edi, dword [ebx + 0x6c]
dec edi
js 0x275e42cf
lea eax, [edi + edi*4]
lea eax, [ebx + eax*4 + 0xec]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x18]
xor esi, esi
cmp dword [eax], esi
jge 0x275e4281
push esi
push edi
push ebx
call fcn.275a76c3
sub dword [ebp + 0x18], 0x14
dec edi
cmp edi, esi
jge 0x275e4270
xor eax, eax
cmp dword [ebx + 0x6c], esi
push esi
push esi
push 0x421
push dword [ebx]
setne al
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebx
call fcn.27587991
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x275bfbcf
mov dword [eax - 4], ecx
or dword [eax - 8], 0xffffffff
jmp 0x275e4171
xor esi, esi
jmp 0x275e428a