Function at 0x456ed7
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2108]
mov eax, 0x2108
call fcn.004db9c0
push 0xffffffffffffffff
push 0x5116fb
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x57d074]
xor eax, ebp
mov dword [ebp + 0x2104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], ecx
mov esi, dword [ebp + 0x2110]
mov dword [ebp - 0x24], esi
mov edi, dword [ebp + 0x2114]
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 0x2118]
mov dword [ebp - 0x34], eax
xor ebx, ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp + 0x104]
push eax
call fcn.00457548
test eax, eax
js 0x45728e
lea edx, [ebp - 0x14]
lea ecx, [ebp + 0x104]
call fcn.00456e31
test eax, eax
jne 0x456f6d
mov eax, 0x80020009
jmp 0x45728e
mov ecx, dword [ebp - 0x20]
call fcn.00457c8d
lea eax, [ebp + 0x104]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.00457548
test eax, eax
js 0x45728e
movzx eax, word [ebp - 0x14]
sub eax, 8
je 0x457243
sub eax, 9
je 0x4570fc
push 2
pop edi
sub eax, edi
je 0x4570ac
sub eax, 0x3ff5
jne 0x45727a
lea eax, [ebp + 0x104]
push eax
call fcn.004e07a4
pop ecx
add eax, edi
mov dword [ebp], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
mul edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
cmp edx, ebx
ja 0x4572b3
jb 0x456fec
cmp eax, 0xffffffff
ja 0x4572b3
cmp eax, 0x100
jbe 0x456ffe
push eax
lea ecx, [ebp]
call fcn.004506dd
jmp 0x457004
lea eax, [ebp + 4]
mov dword [ebp], eax
mov dword [ebp - 4], ebx
jmp 0x45701d
mov esi, dword [ebp]
test esi, esi
je 0x45708c
lea eax, [ebp + 0x104]
cmp word [ebp + 0x104], 0
mov dword [ebp - 0x14], eax
je 0x457071
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
mov eax, dword [ebp - 0x14]
movzx edx, word [eax]
cmp edx, 0x5c
jne 0x457064
push 0x30
pop eax
cmp word [ecx], ax
mov eax, dword [ebp - 0x14]
jne 0x457064
xor eax, eax
mov word [esi], ax
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
jmp 0x457069
mov word [esi], dx
add eax, edi
add esi, 2
cmp word [eax], bx
jmp 0x457032
xor eax, eax
mov word [esi], ax
mov word [esi + edi], ax
push dword [ebp]
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
call fcn.00456e91
mov esi, eax
jmp 0x45708f
push 0xe
pop esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x45726d
lea ecx, [ebp]
call fcn.004506d4
jmp 0x45726d
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], 3
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
lea eax, [ebp + 0x104]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
jns 0x4570d6
or dword [ebp - 4], 0xffffffff
jmp 0x45728e
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
push 4
pop edi
push edi
lea eax, [ebp - 0x18]
push eax
push edi
push ebx
push dword [ebp - 0x1c]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
jmp 0x45726d
lea eax, [ebp + 0x104]
push eax
call fcn.004e07a4
pop ecx
mov dword [ebp - 0x18], eax
test al, 1
je 0x45711a
mov eax, 0x80004005
jmp 0x45728e
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x14], esi
mov dword [ebp], ebx
push 4
pop edi
mov dword [ebp - 4], edi
mov byte [ebp - 4], 5
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], ebx
cmp esi, 0x100
jbe 0x45714d
push esi
lea ecx, [ebp]
call fcn.004506dd
jmp 0x457153
lea eax, [ebp + 4]
mov dword [ebp], eax
mov dword [ebp - 4], edi
jmp 0x457172
cmp dword [ebp], 0
jne 0x45718e
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x457110
lea ecx, [ebp]
call fcn.004506d4
jmp 0x457110
push esi
push ebx
push dword [ebp]
call fcn.004de4e0
add esp, 0xc
mov ecx, ebx
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x18], 0
jle 0x457216
mov esi, dword [ebp - 0x18]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp]
mov dword [ebp - 0x18], eax
movzx ecx, word [ebp + ecx*2 + 0x104]
mov eax, ecx
mov edx, ecx
push 0x30
pop ecx
cmp ax, cx
jb 0x4571f2
cmp eax, 0x39
jbe 0x4571ed
cmp eax, 0x40
jbe 0x4571f2
cmp eax, 0x46
jbe 0x4571e8
cmp eax, 0x60
jbe 0x4571f2
cmp edx, 0x66
ja 0x4571f2
sub dl, 0x57
jmp 0x4571f4
sub dl, 0x37
jmp 0x4571f4
sub dl, 0x30
jmp 0x4571f4
mov dl, bl
mov eax, dword [ebp - 0x14]
and eax, 1
shl eax, 2
mov ecx, edi
sub ecx, eax
shl dl, cl
mov eax, dword [ebp - 0x18]
or byte [eax], dl
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, esi
jl 0x4571a9
mov esi, dword [ebp - 0x2c]
push esi
push dword [ebp]
push 3
push ebx
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x45726d
lea ecx, [ebp]
call fcn.004506d4
jmp 0x45726d
lea eax, [ebp + 0x104]
push eax
call fcn.004e07a4
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp + 0x104]
push eax
push 1
push ebx
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x45727a
mov ecx, esi
call fcn.0045753a
jmp 0x45728e
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
call fcn.00457548
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2104]
xor ecx, ebp
call fcn.004da696
lea esp, [ebp + 0x2108]
pop ebp
ret 0xc
push 0x80070216
call fcn.0040d795
int3