Function at 0x1045dc0
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x105a702
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x4c]
call fcn.0102e8d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.01010c62
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.01010bb7
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], 1
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov ecx, dword [ebp + 0x10]
call fcn.010107dc
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x1045fe0
cmp dword [ebp - 0x10], 0
jne 0x1045fe0
lea ecx, [ebp - 0x58]
call fcn.01010c62
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.010106e3
push eax
lea ecx, [ebp - 0x58]
call fcn.010115e7
mov edx, dword [0x10649dc]
push edx
lea ecx, [ebp - 0x58]
call fcn.0101095c
test eax, eax
jne 0x1045e97
push 0x100d548
push 3
call fcn.0102e650
add esp, 8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x30], 0
jmp 0x1045f82
push 3
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
lea eax, [ebp - 0x58]
push eax
call fcn.01010eb5
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], ecx
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.0102e9e0
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0xb7
je 0x1045eeb
mov dword [ebp - 0x10], 0
jmp 0x1045f82
lea edx, [ebp - 0x2c]
push edx
push 2
lea ecx, [ebp - 0x4c]
call fcn.0102ed60
test eax, eax
jne 0x1045f06
mov dword [ebp - 0x10], 0
jmp 0x1045f82
mov dword [ebp - 0x54], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 1
je 0x1045f33
cmp dword [ebp - 0xc4], 1
jle 0x1045f5d
cmp dword [ebp - 0xc4], 4
jle 0x1045f49
jmp 0x1045f5d
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.01044bc0
mov dword [ebp - 0x5c], eax
jmp 0x1045f5d
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.010450d0
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x1045f6c
mov dword [ebp - 0x10], 0
jmp 0x1045f82
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x54], 0
je 0x1045f82
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 1
cmp dword [ebp - 0x10], 0
jne 0x1045fc7
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
push 0x100d4b8
push 3
call fcn.0102e650
add esp, 0x14
mov edx, dword [0x10649dc]
push edx
lea ecx, [ebp - 0x58]
call fcn.0101095c
test eax, eax
je 0x1045fc7
lea ecx, [ebp - 0x58]
call fcn.010107dc
push eax
lea ecx, [ebp - 0x28]
call fcn.010133e2
lea ecx, [ebp - 0x4c]
call fcn.0102ec20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.01010c92
jmp 0x1045e2d
cmp dword [ebp - 0x10], 0
jne 0x10460a4
mov eax, dword [ebp + 8]
push eax
push 0x100d438
push 3
call fcn.0102e650
add esp, 0xc
cmp dword [ebp - 0x30], 0
je 0x1046098
push 0x100d3e8
push 3
call fcn.0102e650
add esp, 8
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
lea eax, [ebp + 8]
push eax
call fcn.01010eb5
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], ecx
mov byte [ebp - 4], 6
mov byte [ebp - 4], 3
call fcn.010463f0
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
jne 0x1046080
push 0x100d358
push 3
call fcn.0102e650
add esp, 8
mov dword [ebp - 0x10], 0
jmp 0x1046394
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x60], 0
je 0x1046096
mov edx, dword [ebp + 0x14]
mov dword [edx], 1
jmp 0x10460a4
mov dword [ebp - 0x10], 1
jmp 0x1046394
lea ecx, [ebp - 0x28]
call fcn.010106d5
movzx eax, al
test eax, eax
jne 0x1046394
lea ecx, [ebp - 0x70]
call fcn.01010c62
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.010107dc
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x10461fa
lea ecx, [ebp - 0x78]
call fcn.01010c62
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x28]
call fcn.010106e3
push eax
lea ecx, [ebp - 0x78]
call fcn.010115e7
lea edx, [ebp - 0x78]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.010306c0
lea ecx, [ebp - 0x90]
call fcn.01010bb7
mov byte [ebp - 4], 9
push 3
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
lea eax, [ebp - 0x78]
push eax
call fcn.01010eb5
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], ecx
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4c]
call fcn.0102e9e0
lea edx, [ebp - 0x90]
push edx
push 0xa
lea ecx, [ebp - 0x4c]
call fcn.0102f090
lea ecx, [ebp - 0x4c]
call fcn.0102ec20
lea ecx, [ebp - 0x90]
call fcn.010107dc
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x10461da
lea ecx, [ebp - 0x94]
call fcn.01010c62
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x90]
call fcn.010106e3
push eax
lea ecx, [ebp - 0x94]
call fcn.010115e7
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp - 0x70]
call fcn.010114bf
cmp dword [ebp - 0x74], 0
jne 0x10461bc
cmp dword [ebp - 0x68], 0
je 0x10461c9
push 0x100d350
lea ecx, [ebp - 0x70]
call fcn.0101159b
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x94]
call fcn.01010c92
jmp 0x1046171
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x90]
call fcn.01010c00
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
call fcn.01010c92
jmp 0x10460ce
lea ecx, [ebp - 0x70]
call fcn.01010a68
test eax, eax
jle 0x1046219
mov edx, dword [ebp - 0x70]
push edx
push 0x100d1d0
push 3
call fcn.0102e650
add esp, 0xc
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0x64]
call fcn.01010c62
mov byte [ebp - 4], 0xc
mov eax, dword [0x10649d4]
push eax
lea ecx, [ebp - 0xac]
call fcn.0101236d
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0xac]
push eax
call fcn.01025680
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xac]
call fcn.01010c92
lea ecx, [ebp - 0x6c]
push ecx
push 0x2001f
push 0
lea ecx, [ebp - 0x64]
call fcn.010107dc
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1046366
mov ecx, dword [ebp + 0x10]
call fcn.010106d5
movzx edx, al
test edx, edx
jne 0x104632f
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.01027cd0
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x1046317
mov ecx, dword [ebp - 0x98]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x9c]
push edx
push 7
push 0
mov eax, dword [0x10649d8]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10462fa
mov dword [ebp - 0x10], 0
push 0x100d070
push 3
call fcn.0102e650
add esp, 8
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb0]
push eax
call fcn.0101da1e
add esp, 4
jmp 0x104632d
mov dword [ebp - 0x10], 0
push 0x100d070
push 3
call fcn.0102e650
add esp, 8
jmp 0x104635a
mov ecx, dword [0x10649d8]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x104635a
mov dword [ebp - 0x10], 0
push 0x100d070
push 3
call fcn.0102e650
add esp, 8
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x104637c
mov dword [ebp - 0x10], 0
push 0x100d070
push 3
call fcn.0102e650
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call fcn.01010c92
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.01010c92
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xb4], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.01010c00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.01010c92
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.0102e970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.01010c92
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10