Function at 0x1026000
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 0x100cfa8
call fcn.01025caa
pop ecx
lea eax, [ebp - 0x44]
push eax
push 0x20006
xor ebx, ebx
push ebx
push 0x100cf18
push 0x80000002
mov dword [ebp - 0x50], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
mov dword [ebp - 0x40], eax
jl 0x102618e
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 0x100cf08
push dword [ebp - 0x44]
call esi
cmp eax, ebx
mov dword [ebp - 0x40], eax
jl 0x1026176
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push 0x100cf04
push dword [ebp - 0x48]
call esi
cmp eax, ebx
mov dword [ebp - 0x40], eax
jl 0x102615e
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 0x100cee0
push dword [ebp - 0x4c]
mov dword [ebp - 0x58], ebx
call esi
test eax, eax
jge 0x10260c9
push dword [ebp - 0x40]
push 0x100ce98
call fcn.01025caa
pop ecx
pop ecx
push edi
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
push 0x100ce80
push dword [ebp - 0x4c]
mov dword [ebp - 0x58], 1
call esi
test eax, eax
jge 0x10260f4
push dword [ebp - 0x40]
push 0x100ce38
call fcn.01025caa
pop ecx
pop ecx
push edi
lea eax, [ebp - 0x54]
push eax
push 1
push ebx
push 0x100ce20
push dword [ebp - 0x4c]
mov dword [ebp - 0x54], ebx
call esi
test eax, eax
jge 0x102611c
push dword [ebp - 0x40]
push 0x100cdd8
call fcn.01025caa
pop ecx
pop ecx
push 0xe
pop ecx
push 0x38
lea eax, [ebp - 0x3c]
push eax
push 1
push ebx
push 0x100cdb8
push dword [ebp - 0x4c]
mov esi, 0x100cd80
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jge 0x1026153
push dword [ebp - 0x40]
push 0x100cd38
call fcn.01025caa
pop ecx
pop ecx
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x102616b
push eax
push 0x100ccf0
call fcn.01025caa
pop ecx
pop ecx
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1026183
push eax
push 0x100cca8
call fcn.01025caa
pop ecx
pop ecx
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x102619b
push eax
push 0x100cc60
call fcn.01025caa
pop ecx
pop ecx
cmp dword [ebp - 0x40], ebx
jl 0x10262c5
lea eax, [ebp - 0x44]
push eax
push 0x20006
push ebx
push 0x100cbf8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
mov dword [ebp - 0x40], eax
jl 0x1026207
push 0xe
pop ecx
push 0x38
lea eax, [ebp - 0x3c]
push eax
push 1
push ebx
push 0x100cf08
push dword [ebp - 0x44]
mov esi, 0x100cd80
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jge 0x10261fc
push dword [ebp - 0x40]
push 0x100cbb0
call fcn.01025caa
pop ecx
pop ecx
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1026214
push eax
push 0x100cb68
call fcn.01025caa
pop ecx
pop ecx
cmp dword [ebp - 0x40], ebx
jl 0x10262c5
lea eax, [ebp - 0x44]
push eax
push 0x20006
push ebx
push 0x100caf8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
mov dword [ebp - 0x40], eax
jl 0x10262b8
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push 0x100cae8
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x40], esi
jl 0x10262a0
push 4
lea eax, [ebp - 0x54]
push eax
push 4
push ebx
push 0x100cab0
push dword [ebp - 0x48]
mov dword [ebp - 0x54], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jge 0x1026295
push esi
push 0x100ca68
call fcn.01025caa
pop ecx
pop ecx
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10262ad
push esi
push 0x100ca20
call fcn.01025caa
pop ecx
pop ecx
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10262c5
push eax
push 0x100c9d8
call fcn.01025caa
pop ecx
pop ecx
push 0x100c99c
call fcn.01025caa
mov eax, dword [ebp - 0x40]
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0102ad14
leave
ret