Function at 0x4012cb
Capabilities:
Set registry value

Disassembly:
jmp 0x407e60
mov eax, 0x42ed22
call fcn.00425470
push ecx
mov eax, 0x211c
call fcn.004254e0
mov eax, dword [0x441ddc]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2118]
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
push eax
mov dword [ebp - 0x212c], esi
mov dword [ebp - 0x2124], ebx
call fcn.00401505
cmp eax, ebx
jl 0x4081b7
lea eax, [ebp - 0x2124]
push eax
lea eax, [ebp - 0x2118]
push eax
call fcn.004014bf
test eax, eax
pop ecx
pop ecx
jne 0x407eca
mov eax, 0x80020009
jmp 0x4081b7
mov ecx, esi
call fcn.00401c9e
lea eax, [ebp - 0x2118]
push eax
mov ecx, esi
call fcn.00401505
cmp eax, ebx
jl 0x4081b7
movzx eax, word [ebp - 0x2124]
sub eax, 8
je 0x40816a
sub eax, 9
je 0x408045
dec eax
dec eax
je 0x407feb
sub eax, 0x3ff5
jne 0x4081a3
lea eax, [ebp - 0x2118]
push eax
call dword [0x443c2c]
inc eax
mov dword [ebp - 0x118], ebx
add eax, eax
cmp eax, 0x100
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
jbe 0x407f4b
push eax
lea ecx, [ebp - 0x118]
call fcn.004019d8
jmp 0x407f5b
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], eax
jmp 0x407f5b
mov esi, dword [ebp - 0x118]
cmp esi, ebx
je 0x407fc2
cmp word [ebp - 0x2118], 0
lea edi, [ebp - 0x2118]
je 0x407fa7
mov ebx, dword [0x44417c]
push edi
call ebx
mov cx, word [edi]
cmp cx, 0x5c
jne 0x407f9a
cmp word [eax], 0x30
jne 0x407f9a
and word [esi], 0
inc esi
push eax
inc esi
call ebx
mov edi, eax
jmp 0x407fa1
mov word [esi], cx
inc esi
inc esi
inc edi
inc edi
cmp word [edi], 0
jne 0x407f7b
and word [esi], 0
push dword [ebp - 0x118]
mov ecx, dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.004011fe
mov esi, eax
xor ebx, ebx
jmp 0x407fc5
push 0xe
pop esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x114]
cmp dword [ebp - 0x118], eax
je 0x408196
lea ecx, [ebp - 0x118]
call fcn.00401cd0
jmp 0x408196
call dword [0x441764]
lea eax, [ebp - 0x211c]
push eax
push ebx
push ebx
lea eax, [ebp - 0x2118]
push eax
mov dword [ebp - 0x2120], ebx
call dword [0x444058]
mov eax, dword [ebp - 0x211c]
push 4
mov dword [ebp - 0x2128], eax
lea eax, [ebp - 0x2128]
push eax
mov eax, dword [ebp + 8]
push 4
push ebx
push dword [ebp + 0xc]
push dword [eax]
call dword [0x443b50]
lea ecx, [ebp - 0x2120]
mov esi, eax
call fcn.004019ec
jmp 0x408196
lea eax, [ebp - 0x2118]
push eax
call dword [0x443c2c]
test al, 1
mov dword [ebp - 0x211c], eax
jne 0x4080d0
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov dword [ebp - 0x2120], edi
mov dword [ebp - 0x118], ebx
cmp edi, 0x100
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
jbe 0x408096
push edi
lea ecx, [ebp - 0x118]
call fcn.00401bef
jmp 0x4080ac
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], eax
jmp 0x4080ac
cmp dword [ebp - 0x118], ebx
mov dword [ebp - 4], 3
jne 0x4080da
lea eax, [ebp - 0x114]
test eax, eax
je 0x4080d0
lea ecx, [ebp - 0x118]
call fcn.004011f4
mov eax, 0x80004005
jmp 0x4081b7
push edi
push ebx
push dword [ebp - 0x118]
call fcn.0042528e
add esp, 0xc
cmp dword [ebp - 0x211c], ebx
jle 0x408130
mov eax, ebx
cdq
sub eax, edx
mov esi, eax
xor eax, eax
mov ax, word [ebp + ebx*2 - 0x2118]
sar esi, 1
add esi, dword [ebp - 0x118]
push eax
call fcn.00401343
pop ecx
mov ecx, ebx
and ecx, 1
shl ecx, 2
mov edx, ecx
push 4
pop ecx
sub ecx, edx
shl al, cl
or byte [esi], al
inc ebx
cmp ebx, dword [ebp - 0x211c]
jl 0x4080f2
xor ebx, ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push edi
push dword [ebp - 0x118]
push 3
push ebx
push dword [ebp + 0xc]
push eax
call dword [0x443b50]
or dword [ebp - 4], 0xffffffff
mov esi, eax
lea eax, [ebp - 0x114]
cmp dword [ebp - 0x118], eax
je 0x408196
lea ecx, [ebp - 0x118]
call fcn.004011f4
jmp 0x408196
lea eax, [ebp - 0x2118]
push eax
call dword [0x443c2c]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x2118]
push eax
mov eax, dword [ebp + 8]
push 1
push ebx
push dword [ebp + 0xc]
push dword [eax]
call dword [0x443b50]
mov esi, eax
cmp esi, ebx
je 0x4081a3
push esi
call fcn.00401997
pop ecx
jmp 0x4081b7
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x212c]
call fcn.00401505
cmp eax, ebx
jl 0x4081b7
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042527f
pop edi
pop esi
pop ebx
leave
ret 0xc