Function at 0x41a8fc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov dword [ebp - 0xc], 0
call fcn.0043a900
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.0043a960
sub esp, 8
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp + 0xc]
mov dword [esp], eax
call fcn.0043a960
sub esp, 8
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
lea eax, [ebp + 0x10]
mov dword [esp], eax
call fcn.0043a960
sub esp, 8
mov eax, dword [ebp + 0x18]
mov dword [esp + 4], eax
lea eax, [ebp + 0x18]
mov dword [esp], eax
call fcn.0043a960
sub esp, 8
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0041b123
sub esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0x8d646c
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.0043aca0
test eax, eax
je 0x41aab4
mov eax, dword [0x8e035c]
test eax, eax
je 0x41aa70
mov eax, dword [0x8e034c]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x8dff74]
mov dword [ebp - 0x40], eax
mov eax, dword [0x8e0374]
or eax, 0xf003f
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call sub.ADVAPI32.dll_RegOpenKeyExW
sub esp, 0x14
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
nop
jmp 0x41ab8d
nop
mov eax, dword [0x8e034c]
mov dword [ebp - 0x50], eax
mov eax, dword [0x8dff74]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call sub.ADVAPI32.dll_RegOpenKeyW
sub esp, 0xc
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
jmp 0x41ab8d
nop
mov eax, dword [0x8e034c]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x18]
mov edx, eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.ADVAPI32.dll_RegConnectRegistryW
sub esp, 0xc
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x28], eax
mov eax, dword [0x8e035c]
test eax, eax
je 0x41ab4d
mov eax, dword [0x8dff74]
mov dword [ebp - 0x6c], eax
mov eax, dword [0x8e0374]
or eax, 0xf003f
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xfc]
mov edx, dword [ebp - 0x74]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x70]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov edx, dword [ebp - 0x6c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegOpenKeyExW
sub esp, 0x14
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x14], eax
jmp 0x41ab8d
nop
mov eax, dword [0x8dff74]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xfc]
mov edx, dword [ebp - 0x80]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x7c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegOpenKeyW
sub esp, 0xc
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41af7b
mov dword [ebp - 0x1c], 0x400
call fcn.0043a9b0
call fcn.0043a9b0
call fcn.0043aa00
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.00438990
sub esp, 8
call fcn.0043aa00
mov dword [esp + 4], eax
lea eax, [ebp - 0xf4]
mov dword [esp], eax
call fcn.0043ab80
sub esp, 8
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 2
jne 0x41ac6f
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00438ac0
sub esp, 4
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xdc]
add eax, eax
add eax, 1
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov eax, dword [ebp - 0xf8]
mov edx, dword [ebp - 0xe4]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0xe0]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegSetValueExW
sub esp, 0x18
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x14], eax
jmp 0x41af55
cmp dword [ebp - 0x88], 1
jne 0x41acfc
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00438ac0
sub esp, 4
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xcc]
add eax, eax
add eax, 1
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov eax, dword [ebp - 0xf8]
mov edx, dword [ebp - 0xd4]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0xd0]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegSetValueExW
sub esp, 0x18
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x14], eax
jmp 0x41af55
cmp dword [ebp - 0x88], 4
jne 0x41ad8b
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00438850
sub esp, 4
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov eax, dword [ebp - 0xf8]
mov dword [esp + 0x14], 4
mov edx, dword [ebp - 0xc4]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegSetValueExW
sub esp, 0x18
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x14], eax
jmp 0x41af55
cmp dword [ebp - 0x88], 3
jne 0x41af54
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00438ac0
sub esp, 4
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0043a3d0
sub esp, 4
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jle 0x41aede
call fcn.0043a9b0
call fcn.0043a9b0
mov eax, dword [ebp - 0x10]
add eax, eax
add eax, 1
mov dword [ebp - 0x94], eax
call fcn.0043aa00
mov edx, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov eax, dword [ebp - 0x94]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00438af0
sub esp, 0x10
call fcn.0043aa00
mov dword [esp + 4], eax
lea eax, [ebp - 0x100]
mov dword [esp], eax
call fcn.0043ab80
sub esp, 8
call fcn.0043a9b0
call fcn.0043a9b0
mov dword [esp], 0x8d63ec
call fcn.0043ac10
sub esp, 4
mov eax, dword [ebp - 0x100]
mov dword [esp], eax
call fcn.0043ac10
sub esp, 4
call fcn.0043ab00
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call fcn.00438850
sub esp, 4
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
call fcn.0043aa60
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
call fcn.0043a720
sub esp, 8
mov dword [ebp - 0xa8], eax
add dword [ebp - 0x10], 1
jmp 0x41ade2
nop
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov eax, dword [ebp - 0xf8]
mov edx, dword [ebp - 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0xac]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegSetValueExW
sub esp, 0x18
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [esp], eax
call fcn.0043a5b0
sub esp, 4
mov dword [ebp - 0xb8], eax
jmp 0x41af55
nop
mov eax, dword [ebp - 0xf8]
mov dword [esp], eax
call sub.ADVAPI32.dll_RegCloseKey
sub esp, 4
mov dword [ebp - 0xec], eax
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
jmp 0x41afa1
nop
mov eax, dword [ebp - 0xf8]
mov dword [esp], eax
call sub.ADVAPI32.dll_RegCloseKey
sub esp, 4
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
nop
mov eax, dword [ebp + 0x18]
mov dword [esp], eax
call fcn.0043ac70
sub esp, 4
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call fcn.0043ac70
sub esp, 4
mov eax, dword [ebp - 0x100]
mov dword [esp], eax
call fcn.0043ac70
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0043ac70
sub esp, 4
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0043ac70
sub esp, 4
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.0043ac70
sub esp, 4
mov eax, dword [ebp - 0xc]
leave
ret 0x14