Function at 0x481f68
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e43e6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2124
call fcn.005933d0
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 0x14], 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 - 0x2124], ecx
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2134], eax
lea eax, [ebp - 0x2014]
push eax
mov dword [ebp - 0x212c], ecx
mov dword [ebp - 0x2128], esi
mov dword [ebp - 0x2120], edi
mov dword [ebp - 0x211c], ebx
call fcn.00482470
test eax, eax
js 0x482372
lea edx, [ebp - 0x211c]
lea ecx, [ebp - 0x2014]
call fcn.00481eef
test eax, eax
jne 0x482000
mov eax, 0x80020009
jmp 0x482372
mov ecx, dword [ebp - 0x2124]
call fcn.00482beb
mov ecx, dword [ebp - 0x2124]
lea eax, [ebp - 0x2014]
push eax
call fcn.00482470
test eax, eax
js 0x482372
movzx eax, word [ebp - 0x211c]
sub eax, 8
je 0x482321
sub eax, 9
je 0x4821bf
push 2
pop edi
sub eax, edi
je 0x48217e
sub eax, 0x3ff5
jne 0x482358
lea eax, [ebp - 0x2014]
push eax
call fcn.005baec0
pop ecx
add eax, edi
mov dword [ebp - 0x2118], ebx
mul edi
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp edx, ebx
ja 0x48238e
jb 0x482085
cmp eax, 0xffffffff
ja 0x48238e
cmp eax, 0x100
jbe 0x48209a
push eax
lea ecx, [ebp - 0x2118]
call fcn.004819d4
jmp 0x4820bc
lea esi, [ebp - 0x2114]
mov dword [ebp - 0x2118], esi
jmp 0x4820c2
mov esi, dword [ebp - 0x2118]
test esi, esi
je 0x48215d
cmp word [ebp - 0x2014], 0
lea edi, [ebp - 0x2014]
je 0x48210f
push edi
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [edi]
cmp ecx, 0x5c
jne 0x482101
push 0x30
pop edx
cmp word [eax], dx
jne 0x482101
xor ecx, ecx
push eax
mov word [esi], cx
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
jmp 0x482107
mov word [esi], cx
add edi, 2
add esi, 2
cmp word [edi], bx
jne 0x4820da
xor eax, eax
mov dword [esi], eax
mov esi, dword [ebp - 0x2118]
test esi, esi
jne 0x482121
push 0xd
jmp 0x48215f
mov edi, ebx
mov ebx, esi
push ebx
call fcn.005baec0
inc eax
pop ecx
lea ebx, [ebx + eax*2]
lea edi, [edi + eax*2]
cmp eax, 1
jne 0x482125
mov eax, dword [ebp - 0x2128]
xor ebx, ebx
push edi
push esi
push 7
push ebx
push dword [ebp - 0x2120]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [ebp - 0x2118]
mov edi, eax
jmp 0x482160
push 0xe
pop edi
lea eax, [ebp - 0x2114]
cmp esi, eax
je 0x48234b
lea ecx, [ebp - 0x2118]
call fcn.004819bf
jmp 0x48234b
lea eax, [ebp - 0x212c]
push eax
push ebx
push ebx
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
js 0x482372
mov eax, dword [ebp - 0x212c]
push 4
mov dword [ebp - 0x211c], eax
lea eax, [ebp - 0x211c]
push eax
push 4
push ebx
push dword [ebp - 0x2120]
jmp 0x482341
lea eax, [ebp - 0x2014]
push eax
call fcn.005baec0
mov dword [ebp - 0x2130], eax
pop ecx
test al, 1
je 0x4821e0
mov eax, 0x80004005
jmp 0x482372
cdq
sub eax, edx
mov dword [ebp - 0x2118], ebx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x211c], esi
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
cmp esi, 0x100
jbe 0x48223c
push esi
lea ecx, [ebp - 0x2118]
call fcn.004819d4
mov eax, dword [ebp - 0x2118]
jmp 0x482248
lea eax, [ebp - 0x2114]
mov dword [ebp - 0x2118], eax
test eax, eax
jne 0x48225c
lea ecx, [ebp - 0x2118]
call fcn.004819bf
jmp 0x4821d6
push esi
push ebx
push eax
call fcn.005aa3d0
mov edi, dword [ebp - 0x2130]
add esp, 0xc
test edi, edi
jle 0x4822e6
mov esi, ebx
movzx ecx, word [ebp + esi*2 - 0x2014]
mov eax, esi
cdq
sub eax, edx
mov edx, ecx
sar eax, 1
add eax, dword [ebp - 0x2118]
mov dword [ebp - 0x2130], eax
mov eax, ecx
push 0x30
pop ecx
cmp ax, cx
jb 0x4822c2
cmp eax, 0x39
jbe 0x4822bd
cmp eax, 0x40
jbe 0x4822c2
cmp eax, 0x46
jbe 0x4822b8
cmp eax, 0x60
jbe 0x4822c2
cmp edx, 0x66
ja 0x4822c2
sub dl, 0x57
jmp 0x4822c4
sub dl, 0x37
jmp 0x4822c4
sub dl, 0x30
jmp 0x4822c4
mov dl, bl
mov eax, esi
and eax, 1
shl eax, 2
push 4
pop ecx
sub ecx, eax
mov eax, dword [ebp - 0x2130]
shl dl, cl
or byte [eax], dl
inc esi
cmp esi, edi
jl 0x482273
mov esi, dword [ebp - 0x211c]
mov eax, dword [ebp - 0x2128]
push esi
push dword [ebp - 0x2118]
push 3
push ebx
push dword [ebp - 0x2120]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
lea eax, [ebp - 0x2114]
cmp dword [ebp - 0x2118], eax
je 0x48234b
lea ecx, [ebp - 0x2118]
call fcn.004819bf
jmp 0x48234b
lea eax, [ebp - 0x2014]
push eax
call fcn.005baec0
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x2014]
push eax
push 1
push ebx
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
je 0x482358
mov ecx, edi
call fcn.00482462
jmp 0x482372
push dword [ebp - 0x2134]
mov ecx, dword [ebp - 0x2124]
call fcn.00482470
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 - 0x14]
xor ecx, ebp
call fcn.005926d8
leave
ret 0xc
push 0x80070216
call fcn.00422a81
int3