Function at 0x488299
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ecd69
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2124
call fcn.0059b4a0
mov eax, dword [0x6d35ac]
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.004887a1
test eax, eax
js 0x4886a3
lea edx, [ebp - 0x211c]
lea ecx, [ebp - 0x2014]
call fcn.00488220
test eax, eax
jne 0x488331
mov eax, 0x80020009
jmp 0x4886a3
mov ecx, dword [ebp - 0x2124]
call fcn.00488f1c
mov ecx, dword [ebp - 0x2124]
lea eax, [ebp - 0x2014]
push eax
call fcn.004887a1
test eax, eax
js 0x4886a3
movzx eax, word [ebp - 0x211c]
sub eax, 8
je 0x488652
sub eax, 9
je 0x4884f0
push 2
pop edi
sub eax, edi
je 0x4884af
sub eax, 0x3ff5
jne 0x488689
lea eax, [ebp - 0x2014]
push eax
call fcn.005c2f90
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 0x4886bf
jb 0x4883b6
cmp eax, 0xffffffff
ja 0x4886bf
cmp eax, 0x100
jbe 0x4883cb
push eax
lea ecx, [ebp - 0x2118]
call fcn.00487d05
jmp 0x4883ed
lea esi, [ebp - 0x2114]
mov dword [ebp - 0x2118], esi
jmp 0x4883f3
mov esi, dword [ebp - 0x2118]
test esi, esi
je 0x48848e
cmp word [ebp - 0x2014], 0
lea edi, [ebp - 0x2014]
je 0x488440
push edi
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [edi]
cmp ecx, 0x5c
jne 0x488432
push 0x30
pop edx
cmp word [eax], dx
jne 0x488432
xor ecx, ecx
push eax
mov word [esi], cx
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
jmp 0x488438
mov word [esi], cx
add edi, 2
add esi, 2
cmp word [edi], bx
jne 0x48840b
xor eax, eax
mov dword [esi], eax
mov esi, dword [ebp - 0x2118]
test esi, esi
jne 0x488452
push 0xd
jmp 0x488490
mov edi, ebx
mov ebx, esi
push ebx
call fcn.005c2f90
inc eax
pop ecx
lea ebx, [ebx + eax*2]
lea edi, [edi + eax*2]
cmp eax, 1
jne 0x488456
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 0x488491
push 0xe
pop edi
lea eax, [ebp - 0x2114]
cmp esi, eax
je 0x48867c
lea ecx, [ebp - 0x2118]
call fcn.00487cf0
jmp 0x48867c
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 0x4886a3
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 0x488672
lea eax, [ebp - 0x2014]
push eax
call fcn.005c2f90
mov dword [ebp - 0x2130], eax
pop ecx
test al, 1
je 0x488511
mov eax, 0x80004005
jmp 0x4886a3
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 0x48856d
push esi
lea ecx, [ebp - 0x2118]
call fcn.00487d05
mov eax, dword [ebp - 0x2118]
jmp 0x488579
lea eax, [ebp - 0x2114]
mov dword [ebp - 0x2118], eax
test eax, eax
jne 0x48858d
lea ecx, [ebp - 0x2118]
call fcn.00487cf0
jmp 0x488507
push esi
push ebx
push eax
call fcn.005b24a0
mov edi, dword [ebp - 0x2130]
add esp, 0xc
test edi, edi
jle 0x488617
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 0x4885f3
cmp eax, 0x39
jbe 0x4885ee
cmp eax, 0x40
jbe 0x4885f3
cmp eax, 0x46
jbe 0x4885e9
cmp eax, 0x60
jbe 0x4885f3
cmp edx, 0x66
ja 0x4885f3
sub dl, 0x57
jmp 0x4885f5
sub dl, 0x37
jmp 0x4885f5
sub dl, 0x30
jmp 0x4885f5
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 0x4885a4
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 0x48867c
lea ecx, [ebp - 0x2118]
call fcn.00487cf0
jmp 0x48867c
lea eax, [ebp - 0x2014]
push eax
call fcn.005c2f90
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 0x488689
mov ecx, edi
call fcn.00488793
jmp 0x4886a3
push dword [ebp - 0x2134]
mov ecx, dword [ebp - 0x2124]
call fcn.004887a1
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.0059a7a2
leave
ret 0xc
push 0x80070216
call fcn.00422ce3
int3