Function at 0x42d180
Capabilities:
Delete registry value
Query or enumerate registry value
Resolve function by parsing pe exports
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44850c
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x45a028]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push esi
push edi
mov eax, dword [0x45a028]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push ebx
push ebx
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x38]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov dword [esp + 0x148], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
jne 0x42d3bf
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], ax
mov byte [esp + 0x118], 1
mov ecx, dword [esp + 0x2c]
inc ecx
cmp ecx, ebx
ja 0x42d236
or eax, 0xffffffff
lea esi, [esp + 0x4c]
call fcn.004060a0
jmp 0x42d241
mov ebx, ecx
lea edi, [esp + 0x4c]
call fcn.0041f4f0
xor edi, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov byte [esp + 0x118], 2
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x38]
call fcn.0041ef00
xor esi, esi
jmp 0x42d270
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
inc ecx
cmp dword [esp + 0x60], 8
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
jae 0x42d290
lea eax, [esp + 0x4c]
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x34]
push ecx
push edi
lea edx, [esp + 0x50]
push edx
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x40]
push ecx
push eax
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, eax
test ebx, ebx
jne 0x42d32c
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x7c], eax
mov word [esp + 0x6c], ax
push ecx
or eax, 0xffffffff
lea edi, [esp + 0x70]
mov dword [esp + 0x84], 7
call fcn.00405d60
mov ecx, edi
lea ebx, [esp + 0x14]
mov byte [esp + 0x118], 3
call fcn.00417ef0
mov byte [esp + 0x118], 2
cmp dword [esp + 0x7c], 8
jb 0x42d30f
mov edx, dword [esp + 0x68]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
xor eax, eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
inc esi
jmp 0x42d270
cmp ebx, 0x103
jne 0x42d406
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
cmp edi, ebx
je 0x42d36b
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ebx, [ebx]
cmp dword [edi + 0x14], 8
jb 0x42d35a
mov eax, dword [edi]
jmp 0x42d35c
mov eax, edi
mov ecx, dword [esp + 0x10]
push eax
push ecx
call esi
add edi, 0x1c
cmp edi, ebx
jne 0x42d350
mov byte [esp + 0x118], 1
mov eax, dword [esp + 0x38]
test eax, eax
je 0x42d385
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov byte [esp + 0x118], 0
cmp dword [esp + 0x60], 8
jb 0x42d3a2
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov esi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
xor ebx, ebx
lea eax, [esp + 0x84]
push 0x4507a0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [esi + 0x44]
add esp, 8
cmp edi, dword [esi + 0x48]
je 0x42d4b8
push ebx
lea ecx, [esp + 0x90]
push 0x44fdec
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [edi + 0x10]
add esp, 0xc
inc ebx
cmp dword [edi + 0x14], 8
jb 0x42d47f
mov ecx, dword [edi]
jmp 0x42d481
mov byte [esp + 0x118], 1
test edi, edi
je 0x42d41c
push edi
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov byte [esp + 0x118], 0
cmp dword [esp + 0x60], 8
jb 0x42d439
mov ecx, dword [esp + 0x4c]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov dword [esp + 0x118], 0xffffffff
mov esi, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], dx
test esi, esi
je 0x42d478
mov edi, dword [esp + 0x18]
mov eax, esi
call fcn.004097f0
push esi
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov eax, ebx
jmp 0x42d50d
mov ecx, edi
lea edx, [eax + eax + 2]
push edx
push ecx
mov ecx, dword [esp + 0x18]
push 1
push 0
lea eax, [esp + 0x94]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0x42d533
mov edx, dword [esp + 0x28]
add edi, 0x1c
cmp edi, dword [edx + 0x48]
jne 0x42d3e1
mov dword [esp + 0x118], 0xffffffff
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x42d50b
mov esi, dword [esp + 0x18]
mov edi, ebx
cmp ebx, esi
je 0x42d501
cmp dword [edi + 0x14], 8
jb 0x42d4e7
mov edx, dword [edi]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
add edi, 0x1c
cmp edi, esi
jne 0x42d4d5
push ebx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.00441db6
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x118], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42d58a
mov ebx, dword [esp + 0x18]
mov edi, eax
cmp eax, ebx
je 0x42d580
cmp dword [edi + 0x14], 8
jb 0x42d566
mov eax, dword [edi]
push eax
call dword [sym.imp.mfc100u.dll_delete]
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
add edi, 0x1c
cmp edi, ebx
jne 0x42d550
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov eax, esi
jmp 0x42d50d