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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445a8b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x168
mov eax, dword [0x459020]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x4c], 0
jne 0x41a950
mov al, 1
jmp 0x41abfc
mov edx, 0xc
lea ecx, [ebp - 0x178]
call fcn.00411db0
push str.Config
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004023f0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x154], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x144], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x164]
cmp edx, 0x10
jb 0x41a9f7
mov ecx, dword [ebp - 0x178]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a9ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ac1a
push edx
push ecx
call fcn.00423b44
add esp, 8
cmp dword [ebp - 0x140], 0x10
lea ecx, [ebp - 0x15c]
push ecx
push 0xf003f
lea eax, [ebp - 0x154]
mov dword [ebp - 0x168], 0
cmovae eax, dword [ebp - 0x154]
push 0
push eax
push 0x80000002
mov dword [ebp - 0x164], 0xf
mov byte [ebp - 0x178], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41abb9
cmp dword [edi + 0x50], 0x10
lea esi, [edi + 0x3c]
mov dword [ebp - 0x13c], 0x104
mov eax, esi
jb 0x41aa5f
mov eax, dword [esi]
lea ecx, [ebp - 0x13c]
push ecx
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push 0x45306c
push dword [ebp - 0x15c]
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x41aaa2
push dword [ebp - 0x15c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x15d], 1
jmp 0x41abc0
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
imul ecx
lea ecx, [ebp - 0x138]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41aac9
push dword [edi]
call fcn.00401430
jmp 0x41aaf3
push 0
push 0x45306c
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
call fcn.004018a0
cmp dword [ebp - 0x124], 0x10
lea eax, [ebp - 0x138]
cmovae eax, dword [ebp - 0x138]
cmp dword [esi + 0x14], 0x10
jb 0x41ab0f
mov esi, dword [esi]
push dword [ebp - 0x128]
push eax
push 1
push esi
push 0x45306c
push dword [ebp - 0x15c]
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
push dword [ebp - 0x15c]
test eax, eax
jne 0x41ab7d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x124]
cmp edx, 0x10
jb 0x41ab74
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ab6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ac1f
push edx
push ecx
call fcn.00423b44
add esp, 8
mov byte [ebp - 0x15d], 1
jmp 0x41abc0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x124]
cmp edx, 0x10
jb 0x41abb9
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41abaf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ac1f
push edx
push ecx
call fcn.00423b44
add esp, 8
mov byte [ebp - 0x15d], 0
mov edx, dword [ebp - 0x140]
cmp edx, 0x10
jb 0x41abf6
mov ecx, dword [ebp - 0x154]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41abec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ac24
push edx
push ecx
call fcn.00423b44
add esp, 8
mov al, byte [ebp - 0x15d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00423b13
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042823f
call fcn.0042823f
call fcn.0042823f
int3