Function at 0x423e00
Capabilities:
Delete registry key
Query or enumerate registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b4d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x5f0a00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x250], edi
xor esi, esi
lea ecx, [ebp - 0x228]
push esi
xorps xmm0, xmm0
mov dword [ebp - 0x218], esi
push 0x59a304
movups xmmword [ebp - 0x228], xmm0
mov dword [ebp - 0x214], esi
call fcn.0040b6c0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jne 0x423fe8
mov esi, dword [edi + 0x388]
xor ecx, ecx
mov dword [ebp - 0x24c], ecx
mov eax, 0x2aaaaaab
mov ecx, dword [edi + 0x38c]
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x423fde
xor edi, edi
mov dword [ebp - 0x248], edi
mov ecx, dword [esi + edi + 0x14]
add esi, edi
mov eax, esi
mov edi, dword [esi + 0x10]
cmp ecx, 7
jbe 0x423eb3
mov eax, dword [esi]
cmp edi, 0x11
jne 0x423ed5
push edi
push 0x59a5d4
push eax
call fcn.00424b70
add esp, 0xc
test eax, eax
jne 0x423ed2
mov ecx, reloc.WS2_32.dll_accept
jmp 0x423f01
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x423edc
mov esi, dword [esi]
cmp edi, 0x12
jne 0x423f98
push edi
push str.HKEY_LOCAL_MACHINE
push esi
call fcn.00424b70
add esp, 0xc
test eax, eax
jne 0x423f98
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x244], 0
lea esi, [edx + 0x48]
mov eax, dword [eax + 0x388]
lea edi, [edx + 0x30]
add esi, eax
add edi, eax
add eax, 0x18
add eax, edx
cmp dword [eax + 0x14], 7
jbe 0x423f34
mov eax, dword [eax]
lea edx, [ebp - 0x244]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x423f98
lea eax, [ebp - 0x240]
push esi
push eax
call fcn.004389e0
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 7
jbe 0x423f61
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
add eax, eax
cmp dword [edi + 0x14], 7
jbe 0x423f6e
mov edi, dword [edi]
push eax
push ecx
push 1
push 0
push edi
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x240]
call fcn.0040ddb0
mov eax, dword [ebp - 0x250]
mov edi, dword [ebp - 0x248]
inc dword [ebp - 0x24c]
add edi, 0x60
mov dword [ebp - 0x248], edi
mov ecx, dword [eax + 0x38c]
mov esi, dword [eax + 0x388]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x24c], eax
jb 0x423ea1
mov esi, 1
jmp 0x424163
cmp eax, 0xffffffff
jne 0x424163
mov esi, dword [edi + 0x388]
xor ecx, ecx
mov dword [ebp - 0x248], ecx
mov eax, 0x2aaaaaab
mov ecx, dword [edi + 0x38c]
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x424161
xor edi, edi
mov dword [ebp - 0x254], edi
add edi, esi
push edi
call fcn.00421090
mov esi, eax
add esp, 4
mov dword [ebp - 0x258], esi
test esi, esi
je 0x42411b
add edi, 0x18
mov dword [ebp - 0x244], 0
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x424058
mov eax, dword [edi]
lea ecx, [ebp - 0x244]
push ecx
push 0xf003f
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42411b
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x24c]
push eax
push 0
push 0
push 0
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x42410b
push 0x200
xor esi, esi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00557d70
add esp, 0xc
cmp dword [ebp - 0x24c], esi
jbe 0x4240f9
nop
push 0x100
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x4240f0
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
inc esi
cmp esi, dword [ebp - 0x24c]
jb 0x4240c0
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x258]
cmp dword [edi + 0x14], 7
jbe 0x424113
mov edi, dword [edi]
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [ebp - 0x250]
mov edi, dword [ebp - 0x254]
inc dword [ebp - 0x248]
add edi, 0x60
mov dword [ebp - 0x254], edi
mov ecx, dword [eax + 0x38c]
mov esi, dword [eax + 0x388]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x248], eax
jb 0x424026
xor esi, esi
mov ecx, dword [ebp - 0x214]
cmp ecx, 7
jbe 0x42419f
mov edx, dword [ebp - 0x228]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x424195
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4241be
push ecx
push edx
call fcn.0055241f
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 - 0x10]
xor ecx, ebp
call fcn.00551e44
mov esp, ebp
pop ebp
ret 4
call fcn.0055bf8b
int3