Function at 0x1026435
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x10350f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100d268
call fcn.010260df
pop ecx
lea eax, [ebp - 0x44]
push eax
push 0x20006
xor ebx, ebx
push ebx
push 0x100d1d8
push 0x80000002
mov dword [ebp - 0x50], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
mov dword [ebp - 0x40], eax
jl 0x10265c3
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
push ebx
mov edi, 0xf003f
push edi
push ebx
push ebx
push ebx
push 0x100d1c8
push dword [ebp - 0x44]
call esi
cmp eax, ebx
mov dword [ebp - 0x40], eax
jl 0x10265ab
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push 0x100d1c4
push dword [ebp - 0x48]
call esi
cmp eax, ebx
mov dword [ebp - 0x40], eax
jl 0x1026593
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
pop edi
push edi
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
push 0x100d1a0
push dword [ebp - 0x4c]
mov dword [ebp - 0x58], ebx
call esi
test eax, eax
jge 0x10264fe
push dword [ebp - 0x40]
push 0x100d158
call fcn.010260df
pop ecx
pop ecx
push edi
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
push 0x100d140
push dword [ebp - 0x4c]
mov dword [ebp - 0x58], 1
call esi
test eax, eax
jge 0x1026529
push dword [ebp - 0x40]
push 0x100d0f8
call fcn.010260df
pop ecx
pop ecx
push edi
lea eax, [ebp - 0x54]
push eax
push 1
push ebx
push 0x100d0e0
push dword [ebp - 0x4c]
mov dword [ebp - 0x54], ebx
call esi
test eax, eax
jge 0x1026551
push dword [ebp - 0x40]
push 0x100d098
call fcn.010260df
pop ecx
pop ecx
push 0xe
pop ecx
push 0x38
lea eax, [ebp - 0x3c]
push eax
push 1
push ebx
push 0x100d078
push dword [ebp - 0x4c]
mov esi, 0x100d040
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jge 0x1026588
push dword [ebp - 0x40]
push 0x100cff8
call fcn.010260df
pop ecx
pop ecx
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10265a0
push eax
push 0x100cfb0
call fcn.010260df
pop ecx
pop ecx
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10265b8
push eax
push 0x100cf68
call fcn.010260df
pop ecx
pop ecx
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10265d0
push eax
push 0x100cf20
call fcn.010260df
pop ecx
pop ecx
cmp dword [ebp - 0x40], ebx
jl 0x10266fa
lea eax, [ebp - 0x44]
push eax
push 0x20006
push ebx
push 0x100ceb8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
mov dword [ebp - 0x40], eax
jl 0x102663c
push 0xe
pop ecx
push 0x38
lea eax, [ebp - 0x3c]
push eax
push 1
push ebx
push 0x100d1c8
push dword [ebp - 0x44]
mov esi, 0x100d040
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jge 0x1026631
push dword [ebp - 0x40]
push 0x100ce70
call fcn.010260df
pop ecx
pop ecx
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1026649
push eax
push 0x100ce28
call fcn.010260df
pop ecx
pop ecx
cmp dword [ebp - 0x40], ebx
jl 0x10266fa
lea eax, [ebp - 0x44]
push eax
push 0x20006
push ebx
push 0x100cdb8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
mov dword [ebp - 0x40], eax
jl 0x10266ed
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push 0x100cda8
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x40], esi
jl 0x10266d5
push 4
lea eax, [ebp - 0x54]
push eax
push 4
push ebx
push 0x100cd70
push dword [ebp - 0x48]
mov dword [ebp - 0x54], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jge 0x10266ca
push esi
push 0x100cd28
call fcn.010260df
pop ecx
pop ecx
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10266e2
push esi
push 0x100cce0
call fcn.010260df
pop ecx
pop ecx
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10266fa
push eax
push 0x100cc98
call fcn.010260df
pop ecx
pop ecx
push 0x100cc5c
call fcn.010260df
mov eax, dword [ebp - 0x40]
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0102b1ee
leave
ret