Function at 0x412bd0
Capabilities:
Set registry value

Disassembly:
push 0x24
mov eax, 0x4481de
call fcn.004329d0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0x26
jne 0x412dfa
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403f51
mov byte [ebp - 4], 1
mov esi, 0x4513ec
push esi
push 0x453838
lea eax, [ebp - 0x10]
push eax
call fcn.00403d76
push esi
push 0x45383c
lea eax, [ebp - 0x10]
push eax
call fcn.00403d76
lea ecx, [ebp - 0x30]
call fcn.0042412d
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x453840
lea edi, [ebp - 0x30]
call fcn.0040153f
mov byte [ebp - 4], 3
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00403f51
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
call fcn.0040a3e5
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x10]
call fcn.00401648
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
jle 0x412d48
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.004060fa
push eax
lea ecx, [ebp - 0x14]
call fcn.00403f51
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], 3
mov eax, dword [ebp - 0x14]
jge 0x412cd2
mov esi, dword [eax - 0xc]
cmp esi, ebx
jle 0x412d2d
lea edi, [esi - 1]
jmp 0x412cab
mov eax, dword [ebp - 0x14]
cmp edi, ebx
jl 0x412e0e
cmp edi, dword [eax - 0xc]
jg 0x412e0e
movzx eax, word [eax + esi*2 - 2]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403fb4
dec esi
dec edi
cmp esi, ebx
jg 0x412ca8
jmp 0x412d2d
mov ecx, dword [eax - 0xc]
xor esi, esi
cmp ecx, ebx
jle 0x412d2d
lea edx, [esi + 1]
cmp ecx, edx
jle 0x412d03
cmp edx, ebx
jl 0x412e0e
cmp edx, ecx
jg 0x412e0e
movzx eax, word [eax + esi*2 + 2]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403fb4
mov eax, dword [ebp - 0x14]
cmp esi, ebx
jl 0x412e0e
cmp esi, dword [eax - 0xc]
jg 0x412e0e
movzx eax, word [eax + esi*2]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403fb4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
inc esi
inc esi
cmp esi, ecx
jl 0x412cdb
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004088d8
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jl 0x412c77
lea ecx, [ebp - 0x1c]
call fcn.00401b04
mov byte [ebp - 4], 6
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push 0x453844
push eax
call fcn.004026de
add esp, 0xc
call fcn.0040a39e
neg al
mov dword [ebp - 0x18], ebx
sbb eax, eax
and eax, 0x200
add eax, 0x20006
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
push ecx
push eax
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
push Ordinal_4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x412dcb
lea ecx, [ebp - 0x18]
call fcn.0040329b
cmp eax, ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
jne 0x412dcb
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push ebx
push str.DeploymentFlags
push ecx
mov dword [ebp - 0x14], 2
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.0040329b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.004088d8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004242de
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.004088d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004088d8
call fcn.00432aa8
ret 4
push 0x80070057
call fcn.004017d0
int3