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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov dword [ebp - 0x14], 0x400
mov eax, dword [ebp - 0x14]
push eax
call fcn.0040db27
add esp, 4
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x10], 1
lea ecx, [ebp - 0xc]
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x418008]
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
je 0x404c6d
jmp 0x404e9b
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x418014]
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
je 0x404c93
jmp 0x404e9b
push 0x420adc
lea ecx, [ebp - 0x42c]
push ecx
call dword [0x4181cc]
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x10]
and edx, 0xff
test edx, edx
jne 0x404cf4
cmp dword [ebp - 0x434], 0xffffffff
jne 0x404cd0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x434]
push edx
push 0
lea eax, [ebp - 0x42c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x418020]
jmp 0x404cf8
mov byte [ebp - 0x10], 0
mov dword [ebp - 0x28], 0x400
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x434]
push edx
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x42c]
push ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x440], edx
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
call dword [0x418040]
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0xea
jne 0x404daf
mov eax, dword [ebp - 0x18]
add eax, 0x400
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.0040e61f
add esp, 8
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x434]
push eax
push 0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x42c]
push edx
mov eax, dword [ebp - 8]
sub eax, 1
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x418040]
mov dword [ebp - 0x430], eax
jmp 0x404d4a
cmp dword [ebp - 0x430], 0
je 0x404cb3
mov edx, dword [ebp + 0xc]
push edx
call dword [0x4181d0]
mov ecx, dword [ebp + 0xc]
add ecx, eax
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov byte [edx], 0x5c
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [0x4181d0]
mov edx, dword [ebp + 0x10]
add edx, eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov byte [eax], 0x5c
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], 0
jmp 0x404e10
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov dword [ebp - 4], 0x400
lea eax, [ebp - 0x43c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x41803c]
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0x103
jne 0x404e4e
jmp 0x404e81
cmp dword [ebp - 0x430], 0
je 0x404e59
jmp 0x404e81
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call dword [0x4181cc]
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404c1d
add esp, 0x10
jmp 0x404e07
mov edx, dword [ebp - 0x1c]
mov byte [edx], 0
mov eax, dword [ebp - 0xc]
push eax
call dword [0x41800c]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x41800c]
mov esp, ebp
pop ebp
ret