Function at 0x4b3ce5
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2120
call fcn.0050ead0
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x2114], eax
mov eax, dword [ebp + 0xc]
push edi
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x2120], eax
xor ebx, ebx
lea eax, [ebp - 0x2004]
mov dword [ebp - 0x2118], esi
mov dword [ebp - 0x2110], edi
mov dword [ebp - 0x210c], ebx
call fcn.004b426a
cmp eax, ebx
jl 0x4b4039
lea eax, [ebp - 0x210c]
push eax
lea eax, [ebp - 0x2004]
push eax
call fcn.004b3bd7
pop ecx
pop ecx
test eax, eax
jne 0x4b3d5f
mov eax, 0x80020009
jmp 0x4b4039
call fcn.004b49b7
lea eax, [ebp - 0x2004]
mov ecx, esi
call fcn.004b426a
cmp eax, ebx
jl 0x4b4039
movzx eax, word [ebp - 0x210c]
sub eax, 8
je 0x4b4000
sub eax, 9
je 0x4b3ebc
dec eax
dec eax
je 0x4b3e8f
sub eax, 0x3ff5
jne 0x4b4022
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
inc eax
push 2
push eax
lea eax, [ebp - 0x210c]
push eax
mov dword [ebp - 0x2108], ebx
call fcn.004b389f
add esp, 0xc
cmp dword [ebp - 0x210c], 0x100
jbe 0x4b3dec
push dword [ebp - 0x210c]
lea eax, [ebp - 0x2108]
push eax
call fcn.004b3c6d
jmp 0x4b3df8
lea eax, [ebp - 0x2104]
mov dword [ebp - 0x2108], eax
mov edi, dword [ebp - 0x2108]
cmp edi, ebx
je 0x4b3e6a
lea esi, [ebp - 0x2004]
cmp word [ebp - 0x2004], bx
je 0x4b3e46
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
push esi
call ebx
movzx ecx, word [esi]
cmp cx, 0x5c
jne 0x4b3e37
cmp word [eax], 0x30
jne 0x4b3e37
xor ecx, ecx
mov word [edi], cx
inc edi
push eax
inc edi
call ebx
mov esi, eax
jmp 0x4b3e3e
mov word [edi], cx
inc edi
inc edi
inc esi
inc esi
cmp word [esi], 0
jne 0x4b3e17
xor ebx, ebx
xor eax, eax
mov word [edi], ax
mov word [edi + 2], ax
push dword [ebp - 0x2108]
push dword [ebp - 0x2114]
push dword [ebp - 0x2110]
call fcn.004b3c82
mov esi, eax
jmp 0x4b3e6d
push 0xe
pop esi
lea eax, [ebp - 0x2104]
cmp dword [ebp - 0x2108], eax
je 0x4b4015
lea eax, [ebp - 0x2108]
call fcn.004b3cdc
jmp 0x4b4015
lea eax, [ebp - 0x2110]
push eax
push ebx
push ebx
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
push dword [ebp - 0x2110]
push dword [ebp - 0x2114]
push edi
call fcn.0042724e
jmp 0x4b4013
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x211c], eax
test al, 1
je 0x4b3edd
mov eax, 0x80004005
jmp 0x4b4039
cdq
sub eax, edx
mov edi, eax
push 1
sar edi, 1
lea eax, [ebp - 0x210c]
push edi
push eax
mov dword [ebp - 0x2108], ebx
call fcn.004b389f
add esp, 0xc
cmp dword [ebp - 0x210c], 0x100
jbe 0x4b3f1c
push dword [ebp - 0x210c]
lea eax, [ebp - 0x2108]
push eax
call fcn.004b3c6d
jmp 0x4b3f28
lea eax, [ebp - 0x2104]
mov dword [ebp - 0x2108], eax
cmp dword [ebp - 0x2108], ebx
jne 0x4b3f47
lea eax, [ebp - 0x2104]
test eax, eax
je 0x4b3ed3
lea eax, [ebp - 0x2108]
call fcn.004b3cdc
jmp 0x4b3ed3
push edi
push ebx
push dword [ebp - 0x2108]
call fcn.004f18b0
add esp, 0xc
xor esi, esi
cmp dword [ebp - 0x211c], ebx
jle 0x4b3fc4
movzx ecx, word [ebp + esi*2 - 0x2004]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x2108]
movzx edx, cx
cmp edx, 0x30
jl 0x4b3fa6
cmp edx, 0x39
jle 0x4b3f9f
cmp edx, 0x40
jle 0x4b3fa6
cmp edx, 0x46
jle 0x4b3f9a
add edx, 0xffffff9f
cmp edx, 5
ja 0x4b3fa6
sub cl, 0x57
jmp 0x4b3fa2
sub cl, 0x37
jmp 0x4b3fa2
sub cl, 0x30
mov dl, cl
jmp 0x4b3fa8
xor dl, dl
mov ebx, esi
and ebx, 1
shl ebx, 2
push 4
pop ecx
sub ecx, ebx
shl dl, cl
or byte [eax], dl
inc esi
cmp esi, dword [ebp - 0x211c]
jl 0x4b3f61
xor ebx, ebx
mov eax, dword [ebp - 0x2110]
mov eax, dword [eax]
push edi
push dword [ebp - 0x2108]
push 3
push ebx
push dword [ebp - 0x2114]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea eax, [ebp - 0x2104]
cmp dword [ebp - 0x2108], eax
je 0x4b4015
lea eax, [ebp - 0x2108]
call fcn.004b3cdc
jmp 0x4b4015
lea eax, [ebp - 0x2004]
push eax
push dword [ebp - 0x2114]
push edi
call fcn.00427219
mov esi, eax
cmp esi, ebx
je 0x4b4022
mov eax, esi
call fcn.004b423b
jmp 0x4b4039
mov eax, dword [ebp - 0x2120]
mov ecx, dword [ebp - 0x2118]
call fcn.004b426a
cmp eax, ebx
jl 0x4b4039
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f189b
leave
ret 8