Function at 0x411c2e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x1c], 0
jne 0x411c72
mov dword [ebp + 0x18], 1
push dword [ebp + 8]
call fcn.004030b1
mov dword [ebp - 4], eax
cmp dword [ebp + 0x20], 1
jne 0x411cbd
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x411ca3
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0042c743
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x411cb4
push ebx
call fcn.0042c749
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x411cef
push 0x4507bd
mov ebx, dword [ebp + 0x14]
push dword [ebx]
mov ecx, 2
call fcn.00410906
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x411ceb
push ebx
call fcn.0042c749
add esp, 4
pop eax
mov dword [ebp - 8], eax
call fcn.00403370
test eax, eax
je 0x411f27
lea eax, [ebp - 0xc]
push eax
call fcn.004034dd
test eax, eax
je 0x411f22
push 0x80000301
push 0
push 0x100
push 0x80000301
push 0
push 0x20006
push 0x80000301
push 0
push 0x20019
push 3
mov ebx, 0xc8
call fcn.0042d900
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x1c]
push 0
push 0x45035b
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x411d83
push 0x1d8
push 0x4010133
push 6
call fcn.0042c74f
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x411f1a
push dword [ebp - 0x14]
call fcn.00403657
push 0x80000301
push 0
push 0x100
push 0x80000301
push 0
push 0x20006
push 0x80000301
push 0
push 0x20019
push 3
mov ebx, 0xc8
call fcn.0042d900
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x1c]
push 0
push 0
push 0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x411e29
push 0x292
push 0x4010133
push 6
call fcn.0042c74f
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x411ee6
push 0x80000005
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x411e49
mov eax, 0x4503f8
push eax
push 1
mov ebx, 0x194
call fcn.0042e070
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
test eax, eax
je 0x411e6f
add eax, 8
push eax
push dword [ebp + 0x18]
push 0
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x411ea6
push 0x340
push 0x4010133
push 6
call fcn.0042c74f
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x411eba
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x411ee6
push 0x385
push 0x4010133
push 6
call fcn.0042c74f
add esp, 0xc
push dword [ebp - 0x14]
call fcn.00403749
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x411f1a
push 0x3bb
push 0x4010133
push 6
call fcn.0042c74f
add esp, 0xc
push dword [ebp - 0xc]
call fcn.0040383b
jmp 0x41210c
push 0x80000301
push 0
push 0x20006
push 0x80000301
push 0
push 0x20019
push 2
mov ebx, 0xc8
call fcn.0042d900
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x1c]
push 0
push 0x45035b
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x411f91
push 0x466
push 0x4010133
push 6
call fcn.0042c74f
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x41210c
push 0x80000301
push 0
push 0x20006
push 0x80000301
push 0
push 0x20019
push 2
mov ebx, 0xc8
call fcn.0042d900
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x1c]
push 0
push 0
push 0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x412023
push 0x4fd
push 0x4010133
push 6
call fcn.0042c74f
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4120e0
push 0x80000005
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x412043
mov eax, 0x4503f8
push eax
push 1
mov ebx, 0x194
call fcn.0042e070
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
test eax, eax
je 0x412069
add eax, 8
push eax
push dword [ebp + 0x18]
push 0
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4120a0
push 0x5a2
push 0x4010133
push 6
call fcn.0042c74f
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4120b4
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4120e0
push 0x5e7
push 0x4010133
push 6
call fcn.0042c74f
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x41210c
push 0x603
push 0x4010133
push 6
call fcn.0042c74f
add esp, 0xc
mov eax, dword [ebp - 0x18]
jmp 0x412114
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x412125
push ebx
call fcn.0042c749
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x20