Function at 0x42a000
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b156
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2120
call fcn.0043aa10
push ebx
push esi
push edi
lea eax, [ebp - 0x212c]
mov dword [ebp - 0x10], esp
mov ebx, ecx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0
call fcn.0042a770
test eax, eax
js 0x42a342
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x212c]
call fcn.00429d90
test eax, eax
jne 0x42a073
mov eax, 0x80020009
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, ebx
call fcn.0042af90
lea eax, [ebp - 0x212c]
push eax
mov ecx, ebx
call fcn.0042a770
test eax, eax
js 0x42a342
movzx eax, word [ebp - 0x18]
cmp eax, 0x13
jg 0x42a232
je 0x42a1e9
cmp eax, 8
je 0x42a1cf
cmp eax, 0x11
jne 0x42a32f
lea ebx, [ebp - 0x212c]
lea ecx, [ebx + 2]
mov edi, edi
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x42a0c0
sub ebx, ecx
sar ebx, 1
mov dword [ebp - 0x20], ebx
test bl, 1
jne 0x42a131
mov eax, ebx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x12c], 0
mov dword [ebp - 4], 3
push esi
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 4
call fcn.00429f50
jmp 0x42a112
mov eax, dword [ebp - 0x12c]
test eax, eax
jne 0x42a149
lea eax, [ebp - 0x128]
test eax, eax
je 0x42a131
lea ecx, [ebp - 0x12c]
call fcn.004296e0
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
push 0
push eax
call fcn.00434de0
add esp, 0xc
xor edi, edi
test ebx, ebx
jle 0x42a192
jmp 0x42a160
mov cx, word [ebp + edi*2 - 0x212c]
mov esi, edi
shr esi, 1
add esi, dword [ebp - 0x12c]
call fcn.00429f90
mov edx, edi
and edx, 1
shl edx, 2
mov ecx, 4
sub ecx, edx
shl al, cl
inc edi
or byte [esi], al
cmp edi, ebx
jl 0x42a160
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
push esi
push dword [ebp - 0x12c]
push 3
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x12c], eax
je 0x42a30e
lea ecx, [ebp - 0x12c]
call fcn.004296e0
jmp 0x42a30e
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x212c]
push eax
push dword [ebp + 0xc]
call fcn.00429e50
mov edi, eax
jmp 0x42a311
lea eax, [ebp - 0x20]
push eax
push 0
push 0
lea eax, [ebp - 0x212c]
push eax
mov dword [ebp - 0x1c], 0
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [ebp - 0x20]
push 4
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
push 4
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x1c]
mov edi, eax
call fcn.0040cf60
jmp 0x42a311
cmp eax, 0x4008
jne 0x42a32f
lea ecx, [ebp - 0x212c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a246
sub ecx, edx
sar ecx, 1
add ecx, 2
mov dword [ebp - 0x12c], 0
push ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.00429ea0
mov esi, dword [ebp - 0x12c]
test esi, esi
je 0x42a2f4
cmp word [ebp - 0x212c], 0
lea edi, [ebp - 0x212c]
je 0x42a2d5
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
lea esp, [esp]
push edi
call ebx
movzx ecx, word [edi]
cmp ecx, 0x5c
jne 0x42a2c6
cmp word [eax], 0x30
jne 0x42a2c6
xor ecx, ecx
mov word [esi], cx
push eax
add esi, 2
call ebx
mov edi, eax
jmp 0x42a2cf
mov word [esi], cx
add esi, 2
add edi, 2
cmp word [edi], 0
jne 0x42a2a0
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
push dword [ebp - 0x12c]
push dword [ebp + 0xc]
call fcn.00429ef0
mov esi, dword [ebp - 0x12c]
mov edi, eax
jmp 0x42a2f9
mov edi, 0xe
lea eax, [ebp - 0x128]
cmp esi, eax
je 0x42a30e
lea ecx, [ebp - 0x12c]
call fcn.004296e0
mov ebx, dword [ebp - 0x1c]
test edi, edi
je 0x42a32f
mov ecx, edi
call fcn.0042a730
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.0042a770
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc