Function at 0x42ac50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x111c
call fcn.00445fa0
mov eax, dword [0x479700]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x111c], eax
lea eax, [ebp - 0x1004]
push eax
mov dword [ebp - 0x1114], esi
mov dword [ebp - 0x1110], ebx
mov dword [ebp - 0x1118], edi
mov dword [ebp - 0x110c], 0
call fcn.0042b7a0
test eax, eax
js 0x42affa
lea eax, [ebp - 0x110c]
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.0042d820
add esp, 8
test eax, eax
jne 0x42accf
mov eax, 0x80020009
jmp 0x42affa
mov ecx, esi
call fcn.0042cf40
lea eax, [ebp - 0x1004]
mov ecx, esi
push eax
call fcn.0042b7a0
test eax, eax
js 0x42affa
movzx eax, word [ebp - 0x110c]
cmp eax, 0x13
jg 0x42aefa
je 0x42ae24
cmp eax, 8
je 0x42ae0c
cmp eax, 0x11
jne 0x42afe4
lea ebx, [ebp - 0x1004]
lea ecx, [ebx + 1]
lea ecx, [ecx]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x42ad20
sub ebx, ecx
test bl, 1
jne 0x42ad72
mov eax, ebx
mov dword [ebp - 0x1108], 0
cdq
lea ecx, [ebp - 0x1108]
sub eax, edx
mov esi, eax
sar esi, 1
push esi
mov dword [ebp - 0x110c], esi
call fcn.0042b070
mov eax, dword [ebp - 0x1108]
test eax, eax
jne 0x42ad7c
lea eax, [ebp - 0x1104]
test eax, eax
je 0x42ad72
lea ecx, [ebp - 0x1108]
call fcn.0041fbe0
mov eax, 0x80004005
jmp 0x42affa
push esi
push 0
push eax
call fcn.004469f0
add esp, 0xc
xor edi, edi
test ebx, ebx
jle 0x42adc9
mov edi, edi
movzx eax, byte [ebp + edi - 0x1004]
mov esi, edi
shr esi, 1
add esi, dword [ebp - 0x1108]
push eax
call fcn.0042b290
mov edx, edi
mov ecx, 4
and edx, 1
inc edi
shl edx, 2
add esp, 4
sub ecx, edx
shl al, cl
or byte [esi], al
cmp edi, ebx
jl 0x42ad90
mov esi, dword [ebp - 0x110c]
mov eax, dword [ebp - 0x1110]
push esi
push dword [ebp - 0x1108]
push 3
push 0
push dword [ebp - 0x1118]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
lea eax, [ebp - 0x1104]
cmp dword [ebp - 0x1108], eax
je 0x42afcf
lea ecx, [ebp - 0x1108]
call fcn.0041fbe0
jmp 0x42afcf
push 1
lea eax, [ebp - 0x1004]
mov ecx, ebx
push eax
push edi
call fcn.0042ce80
mov edi, eax
jmp 0x42afd5
lea ecx, [ebp - 0x1004]
mov dword [ebp - 0x110c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42ae37
sub ecx, edx
push 2
lea eax, [ecx + 1]
push eax
mov dword [ebp - 0x1110], eax
lea eax, [ebp - 0x1110]
push eax
call fcn.0041b6c0
add esp, 0xc
test eax, eax
js 0x42aee3
mov esi, dword [ebp - 0x1110]
cmp esi, 0x400
jg 0x42ae89
push esi
call fcn.0042d8d0
add esp, 4
test al, al
je 0x42ae89
mov eax, esi
call fcn.00445f70
mov eax, esp
jmp 0x42ae95
push esi
lea ecx, [ebp - 0x110c]
call fcn.0042b020
push 3
shr esi, 1
lea ecx, [ebp - 0x1004]
push esi
push ecx
push eax
call fcn.00405227
test eax, eax
je 0x42aee3
lea ecx, [ebp - 0x1118]
push ecx
push 0
push 0
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov esi, eax
test esi, esi
js 0x42aee8
push dword [ebp - 0x1118]
mov ecx, ebx
push edi
call fcn.0042ce00
lea ecx, [ebp - 0x110c]
mov edi, eax
call fcn.0042a750
jmp 0x42afcf
mov esi, 0x8007000e
lea ecx, [ebp - 0x110c]
call fcn.0042a750
mov eax, esi
jmp 0x42affa
cmp eax, 0x4008
jne 0x42afe4
lea ecx, [ebp - 0x1004]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42af10
sub ecx, edx
mov dword [ebp - 0x1108], 0
lea eax, [ecx + 2]
push eax
lea ecx, [ebp - 0x1108]
call fcn.0042b070
mov esi, dword [ebp - 0x1108]
test esi, esi
je 0x42afb5
cmp byte [ebp - 0x1004], 0
lea edi, [ebp - 0x1004]
je 0x42af93
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
push edi
call ebx
mov cl, byte [edi]
cmp cl, 0x5c
jne 0x42af6b
cmp byte [eax], 0x30
jne 0x42af6b
mov byte [esi], 0
inc esi
push eax
call ebx
mov edi, eax
jmp 0x42af88
mov byte [esi], cl
movzx eax, byte [edi]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x42af86
mov al, byte [edi + 1]
inc edi
inc esi
test al, al
je 0x42af8d
mov byte [esi], al
inc esi
inc edi
cmp byte [edi], 0
jne 0x42af51
mov ebx, dword [ebp - 0x1110]
mov word [esi], 0
mov ecx, ebx
push dword [ebp - 0x1108]
push dword [ebp - 0x1118]
call fcn.0042ce20
mov esi, dword [ebp - 0x1108]
mov edi, eax
jmp 0x42afba
mov edi, 0xe
lea eax, [ebp - 0x1104]
cmp esi, eax
je 0x42afcf
lea ecx, [ebp - 0x1108]
call fcn.0041fbe0
mov esi, dword [ebp - 0x1114]
test edi, edi
je 0x42afe4
push edi
call fcn.0042b230
add esp, 4
jmp 0x42affa
push dword [ebp - 0x111c]
mov ecx, esi
call fcn.0042b7a0
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
lea esp, [ebp - 0x1128]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a5e
mov esp, ebp
pop ebp
ret 0xc