Function at 0x425da0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fe91
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1124
call fcn.00488190
mov eax, dword [0x4c9890]
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 esi, ecx
mov dword [ebp - 0x1124], esi
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x1134], eax
lea eax, [ebp - 0x1014]
push eax
mov dword [ebp - 0x1130], esi
mov dword [ebp - 0x1120], edi
mov dword [ebp - 0x1128], ebx
mov dword [ebp - 0x111c], 0
call fcn.00427fb0
test eax, eax
js 0x4261b7
lea eax, [ebp - 0x111c]
push eax
lea eax, [ebp - 0x1014]
push eax
call fcn.0042b050
add esp, 8
test eax, eax
jne 0x425e41
mov eax, 0x80020009
jmp 0x4261b7
mov ecx, esi
call fcn.00429e10
lea eax, [ebp - 0x1014]
push eax
mov ecx, esi
call fcn.00427fb0
test eax, eax
js 0x4261b7
movzx eax, word [ebp - 0x111c]
cmp eax, 0x13
jg 0x42609a
je 0x425fc4
cmp eax, 8
je 0x425fac
cmp eax, 0x11
jne 0x4261a1
lea ebx, [ebp - 0x1014]
lea ecx, [ebx + 1]
nop
mov al, byte [ebx]
inc ebx
test al, al
jne 0x425e90
sub ebx, ecx
mov dword [ebp - 0x112c], ebx
test bl, 1
jne 0x425f13
mov eax, ebx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x111c], esi
mov dword [ebp - 0x1118], 0
mov dword [ebp - 4], 4
push esi
lea ecx, [ebp - 0x1118]
mov byte [ebp - 4], 5
call fcn.00426230
jmp 0x425ef4
mov eax, dword [ebp - 0x1118]
test eax, eax
jne 0x425f1d
lea eax, [ebp - 0x1114]
test eax, eax
je 0x425f13
lea ecx, [ebp - 0x1118]
call fcn.00426f40
mov eax, 0x80004005
jmp 0x4261b7
push esi
push 0
push eax
call fcn.004866f0
add esp, 0xc
xor edi, edi
test ebx, ebx
jle 0x425f69
nop
movzx eax, byte [ebp + edi - 0x1014]
mov esi, edi
shr esi, 1
add esi, dword [ebp - 0x1118]
push eax
call fcn.00426570
mov edx, edi
and edx, 1
shl edx, 2
mov ecx, 4
sub ecx, edx
shl al, cl
inc edi
add esp, 4
or byte [esi], al
cmp edi, ebx
jl 0x425f30
mov esi, dword [ebp - 0x111c]
mov ecx, dword [ebp - 0x1120]
push esi
push dword [ebp - 0x1118]
push 3
push 0
push dword [ebp - 0x1128]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
lea eax, [ebp - 0x1114]
cmp dword [ebp - 0x1118], eax
je 0x42618c
lea ecx, [ebp - 0x1118]
call fcn.00426f40
jmp 0x42618c
push 1
lea eax, [ebp - 0x1014]
push eax
push ebx
mov ecx, edi
call fcn.00429ce0
mov edi, eax
jmp 0x426192
mov dword [ebp - 0x1120], 0
lea ecx, [ebp - 0x1014]
mov dword [ebp - 4], 3
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x425fe0
sub ecx, edx
push 2
lea eax, [ecx + 1]
push eax
mov dword [ebp - 0x111c], eax
lea eax, [ebp - 0x111c]
push eax
call fcn.00422f90
add esp, 0xc
test eax, eax
js 0x426085
mov esi, dword [ebp - 0x111c]
cmp esi, 0x400
jg 0x426031
push esi
call fcn.0042b160
add esp, 4
test al, al
je 0x426031
mov eax, esi
call fcn.0048aea0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x42603d
push esi
lea ecx, [ebp - 0x1120]
call fcn.004261e0
push 3
shr esi, 1
push esi
lea ecx, [ebp - 0x1014]
push ecx
push eax
call fcn.00426380
test eax, eax
je 0x426085
lea ecx, [ebp - 0x112c]
push ecx
push 0
push 0
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
push dword [ebp - 0x112c]
mov ecx, edi
push ebx
call fcn.00429b10
lea ecx, [ebp - 0x1120]
mov edi, eax
call fcn.004251e0
jmp 0x42618c
lea ecx, [ebp - 0x1120]
call fcn.004251e0
mov eax, 0x8007000e
jmp 0x4261b7
cmp eax, 0x4008
jne 0x4261a1
lea ecx, [ebp - 0x1014]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4260b0
sub ecx, edx
add ecx, 2
mov dword [ebp - 0x1118], 0
push ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1118]
mov byte [ebp - 4], 1
call fcn.00426230
jmp 0x4260f1
mov esi, dword [ebp - 0x1118]
test esi, esi
je 0x426172
cmp byte [ebp - 0x1014], 0
lea edi, [ebp - 0x1014]
je 0x42614c
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
push edi
call ebx
mov cl, byte [edi]
cmp cl, 0x5c
jne 0x42612a
cmp byte [eax], 0x30
jne 0x42612a
mov byte [esi], 0
push eax
inc esi
call ebx
mov edi, eax
jmp 0x426147
mov byte [esi], cl
movzx eax, byte [edi]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x426145
mov al, byte [edi + 1]
inc edi
inc esi
test al, al
je 0x42614c
mov byte [esi], al
inc esi
inc edi
cmp byte [edi], 0
jne 0x426110
mov ecx, dword [ebp - 0x1120]
mov word [esi], 0
push dword [ebp - 0x1118]
push dword [ebp - 0x1128]
call fcn.00429b30
mov esi, dword [ebp - 0x1118]
mov edi, eax
jmp 0x426177
mov edi, 0xe
lea eax, [ebp - 0x1114]
cmp esi, eax
je 0x42618c
lea ecx, [ebp - 0x1118]
call fcn.00426f40
mov esi, dword [ebp - 0x1124]
test edi, edi
je 0x4261a1
push edi
call fcn.004264d0
add esp, 4
jmp 0x4261b7
push dword [ebp - 0x1134]
mov ecx, esi
call fcn.00427fb0
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
lea esp, [ebp - 0x1144]
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.00487c50
mov esp, ebp
pop ebp
ret 0xc