Function at 0x404190
Capabilities:
Delete registry value
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 0x41d605
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1b0
mov eax, dword [0x429040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x4263a8
lea eax, [ebp - 0x1c0]
push eax
call fcn.00403d90
mov ecx, 0x25
lea edi, [ebp - 0x128]
mov esi, eax
xorps xmm0, xmm0
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x128]
add esp, 4
lea edx, [ecx + 2]
movsw word es:[edi], word [esi]
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404222
sub ecx, edx
lea eax, [ebp - 0x128]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.00409b10
push dword [ebp - 0x38]
lea edx, [ebp - 0x70]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00409730
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x404297
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40428d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4044d6
push ecx
push edx
call fcn.0040b482
add esp, 8
mov edi, dword [sym.imp.USER32.dll_CharLowerW]
xor eax, eax
push 0x41
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 4
call edi
movzx edx, ax
mov ecx, 0x426390
lea eax, [ebp - 0x90]
push eax
call fcn.00403e00
add esp, 4
cmp dword [ebp - 0x20], 7
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x54], xmm0
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x1c]
mov ax, word [eax + 0x14]
push ecx
lea ecx, [ebp - 0x18]
mov word [ebp - 0x40], ax
push ecx
push 0
push 0x20000010
lea ecx, [ebp - 0x54]
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov eax, dword [ebp - 0x18]
and eax, 0xfffffeff
mov dword [ebp - 0x18], eax
push 0x41
jne 0x40436f
call edi
movzx edx, ax
mov ecx, 0x426378
lea eax, [ebp - 0x90]
push eax
call fcn.00403e00
add esp, 4
cmp dword [ebp - 0x20], 7
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x54], xmm0
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x54]
mov ax, word [eax + 0x14]
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
jmp 0x4043c0
call edi
movzx edx, ax
mov ecx, 0x426360
lea eax, [ebp - 0x90]
push eax
call fcn.00403e00
add esp, 4
cmp dword [ebp - 0x20], 7
movups xmm0, xmmword [eax]
push 4
movups xmmword [ebp - 0x54], xmm0
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x18]
mov ax, word [eax + 0x14]
push ecx
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x54]
push 4
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
push 0x41
mov esi, eax
mov dword [ebp - 0x1c], 4
call edi
movzx edx, ax
mov ecx, 0x426348
lea eax, [ebp - 0x90]
push eax
call fcn.00403e00
add esp, 4
cmp dword [ebp - 0x20], 7
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x54], xmm0
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x1c]
mov ax, word [eax + 0x14]
push ecx
lea ecx, [ebp - 0x18]
mov word [ebp - 0x40], ax
push ecx
push 0
push 0x20000010
lea ecx, [ebp - 0x54]
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test dword [ebp - 0x18], 0x100
jne 0x404480
push 0x41
xor esi, esi
call edi
movzx edx, ax
mov ecx, 0x42632c
lea eax, [ebp - 0x58]
push eax
call fcn.00403e70
add esp, 4
lea ecx, [ebp - 0x90]
cmp dword [ebp - 0x20], 7
movups xmm0, xmmword [eax]
push ecx
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x80], xmm0
mov ax, word [eax + 0x18]
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
mov ecx, dword [ebp - 0x20]
cmp ecx, 7
jbe 0x4044b6
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4044ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4044db
push ecx
push edx
call fcn.0040b482
add esp, 8
mov eax, esi
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.0040b474
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040ecac
call fcn.0040ecac
int3