Function at 0x4283a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463f18
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x47a4a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [edi + 0x54]
neg ebx
sbb ebx, ebx
and ebx, 0x100
or ebx, 0xf003f
call fcn.00428070
lea esi, [edi + 4]
test eax, eax
je 0x42840e
cmp dword [esi + 0x18], 8
jb 0x4283f7
mov eax, dword [esi + 4]
jmp 0x4283fa
lea eax, [esi + 4]
mov edx, dword [edi]
lea ecx, [ebp - 0x30]
push ecx
push ebx
xor ebx, ebx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
jmp 0x428439
cmp dword [esi + 0x18], 8
jb 0x428419
mov eax, dword [esi + 4]
jmp 0x42841c
lea eax, [esi + 4]
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0
push ebx
push 0
push 0
push 0
push eax
mov eax, dword [edi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor ebx, ebx
push ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], ebx
push 0x4669cc
cmp eax, ebx
jne 0x4285ec
xor ecx, ecx
mov word [ebp - 0x28], cx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
call fcn.004073d0
mov dword [ebp - 4], ebx
push esi
lea edx, [ebp - 0x50]
push str.Successfully_created
push edx
call fcn.00409700
mov byte [ebp - 4], 1
push 0x4669d8
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00408820
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.0041ceb0
mov byte [ebp - 4], 1
mov esi, 8
cmp dword [ebp - 0x54], esi
jb 0x4284b2
mov edx, dword [ebp - 0x68]
push edx
call fcn.0043ff5a
add esp, 4
xor eax, eax
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], ax
mov byte [ebp - 4], al
cmp dword [ebp - 0x38], esi
jb 0x4284d6
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0043ff5a
add esp, 4
xor edx, edx
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], esi
jb 0x4284fe
mov eax, dword [ebp - 0x28]
push eax
call fcn.0043ff5a
add esp, 4
mov edx, dword [edi + 0x34]
push ebx
lea esi, [edi + 0x20]
push 0x4669cc
xor ecx, ecx
push edx
mov word [ebp - 0x28], cx
push ebx
mov ecx, esi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
call fcn.004027b0
test eax, eax
je 0x4285d8
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 3
mov eax, dword [edi + 0x4c]
sub eax, 1
je 0x42856f
sub eax, 3
jne 0x4285af
cmp dword [esi + 0x18], 8
jb 0x428562
mov esi, dword [esi + 4]
push 4
add edi, 0x44
push edi
push 4
jmp 0x4285a3
add esi, 4
push 4
add edi, 0x44
push edi
push 4
jmp 0x4285a3
mov edx, dword [edi + 0x44]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00409090
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov edx, 8
add eax, eax
cmp dword [ebp - 0x14], edx
jae 0x428590
lea ecx, [ebp - 0x28]
cmp dword [esi + 0x18], edx
jb 0x42859a
mov esi, dword [esi + 4]
jmp 0x42859d
add esi, 4
push eax
mov eax, dword [edi + 0x4c]
push ecx
push eax
mov ecx, dword [ebp - 0x30]
push ebx
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x4285c8
mov edx, dword [ebp - 0x28]
push edx
call fcn.0043ff5a
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x4286b2
xor edx, edx
mov edi, 7
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], edi
mov word [ebp - 0x28], dx
call fcn.004073d0
mov dword [ebp - 4], 4
push esi
lea eax, [ebp - 0x6c]
push str.Failed_to_create
push eax
call fcn.00409700
mov byte [ebp - 4], 5
push 0x4669d8
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.00408820
add esp, 0x18
mov byte [ebp - 4], 6
lea edx, [ebp - 0x2c]
push edx
push eax
call fcn.0041ceb0
mov byte [ebp - 4], 5
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x428656
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0043ff5a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], cx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x54], esi
jb 0x428677
mov edx, dword [ebp - 0x68]
push edx
call fcn.0043ff5a
add esp, 4
xor eax, eax
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], esi
jb 0x42869b
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0043ff5a
add esp, 4
mov eax, dword [ebp - 0x34]
xor edx, edx
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], dx
call fcn.0041d4d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00440721
mov esp, ebp
pop ebp
ret