Function at 0x426200
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f092
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x490120]
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
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
cmp eax, edi
jne 0x426251
call fcn.00409140
push eax
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x238], esp
mov esi, esp
push eax
call fcn.00401dd0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004244d0
add esp, 4
push eax
call fcn.004255e0
mov ecx, dword [ebp + 0xc]
add esp, 8
lea eax, [ebp - 0x234]
push eax
mov eax, dword [ebp + 8]
push 0x20019
push edi
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x238], esp
mov esi, esp
push eax
call fcn.00401dd0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004244d0
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42639d
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x234]
push edx
push eax
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x238], esp
mov esi, esp
push eax
call fcn.00401dd0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004244d0
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x42639d
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426327
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42634a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42636d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426393
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xfffffff6
jmp 0x426624
mov ebx, 7
xor ecx, ecx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], edi
mov word [ebp - 0x22c], cx
mov edx, dword [ebp + 0x14]
mov eax, edx
mov byte [ebp - 4], 5
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4263c3
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x230]
call fcn.00407150
mov eax, dword [ebp - 0x22c]
mov esi, 8
cmp dword [ebp - 0x218], esi
jae 0x4263f8
lea eax, [ebp - 0x22c]
mov edx, dword [ebp - 0x21c]
lea ecx, [edx + edx]
mov edx, dword [ebp + 0x10]
push ecx
push eax
mov eax, dword [ebp - 0x234]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x234]
push ecx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004502ac
add esp, 8
test eax, eax
jl 0x42651d
mov ecx, dword [ebp + 0x14]
cmp eax, dword [ecx - 8]
jg 0x42651d
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp + 0x14]
xor edx, edx
mov word [ecx + eax*2], dx
cmp dword [ebp - 0x218], esi
jb 0x42646e
mov edx, dword [ebp - 0x22c]
push edx
call fcn.0042a20f
add esp, 4
xor eax, eax
mov word [ebp - 0x22c], ax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], 0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4264aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4264cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4264f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426516
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x426624
push 0x80070057
call fcn.00401090
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push 0
push 0xff
lea eax, [ebp - 0x214]
push eax
call edx
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x238]
call fcn.004047c0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x234], esp
push str.SetStringKey
mov byte [ebp - 4], 7
call fcn.004040a0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x244], esp
push 0x4739f5
mov byte [ebp - 4], 8
call fcn.004040a0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x23c], esp
push str.Registry
mov byte [ebp - 4], 9
call fcn.004040a0
mov ecx, dword [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 0xa
call fcn.004023a0
mov eax, dword [eax]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x240], esp
push eax
mov byte [ebp - 4], 0xb
call fcn.004040a0
mov byte [ebp - 4], 0xc
call fcn.0041bd90
mov eax, dword [ebp - 0x2dc]
lea edx, [ebp - 0x2d8]
add esp, 0x70
cmp eax, edx
je 0x4265f1
push eax
call fcn.0044d4dd
add esp, 4
lea ecx, [ebp - 0x238]
call fcn.00419820
mov eax, 0x426602
ret
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.0044dcfc
mov esp, ebp
pop ebp
ret