Function at 0x403db0
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 0x41c315
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x198
mov eax, dword [0x428014]
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]
push 0x96
movzx edi, ax
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.0040cde0
add esp, 0xc
xor esi, esi
mov ecx, edi
test esi, esi
je 0x403e31
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x425a28]
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0x110], ax
inc esi
cmp esi, 0x4b
jb 0x403e17
mov ecx, 0x25
mov dword [ebp - 0x78], 0
lea esi, [ebp - 0x110]
mov dword [ebp - 0x68], 0
lea edi, [ebp - 0x1a8]
mov dword [ebp - 0x64], 7
rep movsd dword es:[edi], dword [esi]
xor eax, eax
lea ecx, [ebp - 0x1a8]
mov word [ebp - 0x78], ax
lea edx, [ecx + 2]
movsw word es:[edi], word [esi]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403e86
sub ecx, edx
lea eax, [ebp - 0x1a8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.004096e0
push dword [ebp - 0x38]
lea edx, [ebp - 0x78]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00409380
add esp, 4
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x403ef7
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403eed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404243
push edx
push ecx
call fcn.0040b069
add esp, 8
push 0x41
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 4
call dword [sym.imp.USER32.dll_CharLowerW]
xorps xmm0, xmm0
movzx edi, ax
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
xor esi, esi
mov word [ebp - 0x44], 0
mov ecx, edi
test esi, esi
je 0x403f40
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x425a10]
xor ax, cx
mov word [ebp + esi*2 - 0x58], ax
inc esi
cmp esi, 0xb
jb 0x403f26
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x1c]
cmp dword [ebp - 0x20], 8
movups xmm0, xmmword [ebp - 0x58]
push ecx
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x18]
mov ax, word [ebp - 0x44]
push ecx
push 0
mov word [ebp - 0x60], ax
lea ecx, [ebp - 0x74]
push 0x20000010
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
movups xmmword [ebp - 0x74], xmm0
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
and dword [ebp - 0x18], 0xfffffeff
push 0x41
jne 0x40402a
call dword [sym.imp.USER32.dll_CharLowerW]
xorps xmm0, xmm0
movzx edi, ax
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
xor esi, esi
mov word [ebp - 0x44], 0
mov ecx, edi
test esi, esi
je 0x403fde
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x425a10]
xor ax, cx
mov word [ebp + esi*2 - 0x58], ax
inc esi
cmp esi, 0xb
jb 0x403fc4
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x74]
cmp dword [ebp - 0x20], 8
movups xmm0, xmmword [ebp - 0x58]
mov dword [ebp - 0x64], eax
mov ax, word [ebp - 0x44]
mov word [ebp - 0x60], ax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
movups xmmword [ebp - 0x74], xmm0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
jmp 0x4040b9
call dword [sym.imp.USER32.dll_CharLowerW]
xorps xmm0, xmm0
movzx edi, ax
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
xor esi, esi
mov word [ebp - 0x44], 0
nop dword [eax]
mov ecx, edi
test esi, esi
je 0x40406a
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x425a10]
xor ax, cx
mov word [ebp + esi*2 - 0x58], ax
inc esi
cmp esi, 0xb
jb 0x404050
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x20], 8
movups xmm0, xmmword [ebp - 0x58]
push 4
mov dword [ebp - 0x64], eax
mov ax, word [ebp - 0x44]
push ecx
mov word [ebp - 0x60], ax
lea ecx, [ebp - 0x74]
push 4
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
movups xmmword [ebp - 0x74], xmm0
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
push 0x41
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], 4
call dword [sym.imp.USER32.dll_CharLowerW]
xorps xmm0, xmm0
movzx edi, ax
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
xor esi, esi
mov word [ebp - 0x44], 0
mov ecx, edi
test esi, esi
je 0x4040fe
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x425a10]
xor ax, cx
mov word [ebp + esi*2 - 0x58], ax
inc esi
cmp esi, 0xb
jb 0x4040e4
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x1c]
cmp dword [ebp - 0x20], 8
movups xmm0, xmmword [ebp - 0x58]
push ecx
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x18]
mov ax, word [ebp - 0x44]
push ecx
push 0
mov word [ebp - 0x60], ax
lea ecx, [ebp - 0x74]
push 0x20000010
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
movups xmmword [ebp - 0x74], xmm0
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test dword [ebp - 0x18], 0x100
jne 0x4041ec
push 0x41
mov dword [ebp - 0x38], 0
call dword [sym.imp.USER32.dll_CharLowerW]
xorps xmm0, xmm0
movzx edi, ax
movups xmmword [ebp - 0x78], xmm0
xor esi, esi
mov word [ebp - 0x60], 0
movq qword [ebp - 0x68], xmm0
mov ecx, edi
test esi, esi
je 0x4041a1
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x4259f4]
xor ax, cx
mov word [ebp + esi*2 - 0x78], ax
inc esi
cmp esi, 0xd
jb 0x404187
mov ax, word [ebp - 0x60]
lea ecx, [ebp - 0x58]
movups xmm0, xmmword [ebp - 0x78]
cmp dword [ebp - 0x20], 8
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
movups xmmword [ebp - 0x58], xmm0
push eax
movq xmm0, qword [ebp - 0x68]
push reloc.OLEAUT32.dll_SysReAllocString
movq qword [ebp - 0x48], xmm0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x404222
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404218
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404248
push edx
push ecx
call fcn.0040b069
add esp, 8
mov eax, dword [ebp - 0x38]
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.0040b05b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040e6bc
call fcn.0040e6bc
int3