Function at 0x100634c
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
xor ecx, ecx
lea eax, [esi + 0x290]
inc ecx
push edi
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [eax], ecx
lea eax, [esi + 0x294]
lea ebx, [esi + 0x2a8]
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x284], 2
mov dword [ebp - 0x14], eax
mov dword [eax], ecx
mov dword [esi + 0x288], 0x32
mov dword [esi + 0x29c], edi
mov dword [esi + 0x2a0], edi
mov dword [esi + 0x2a4], edi
mov dword [ebx], edi
call fcn.01004f31
mov dword [ebx], eax
lea eax, [esi + 0x29c]
push eax
push edi
push 0x10065e0
mov ebx, 0x1004a58
push ebx
mov ecx, esi
mov dword [ebp - 0x24], eax
call fcn.01006601
test eax, eax
jge 0x10063d5
mov eax, dword [ebp - 0x24]
mov dword [eax], edi
lea eax, [esi + 0x2a4]
push eax
push edi
push 0x10065ac
push ebx
mov ecx, esi
mov dword [ebp - 0x28], eax
call fcn.01006601
test eax, eax
jge 0x10063f6
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
lea eax, [esi + 0x2a0]
push eax
push edi
push 0x1006584
push ebx
mov ecx, esi
mov dword [ebp - 0x2c], eax
call fcn.01006601
test eax, eax
jge 0x1006417
mov eax, dword [ebp - 0x2c]
mov dword [eax], edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0xc]
push eax
push 1
push edi
push 0x10049f0
push 0x80000002
call ebx
cmp eax, edi
jg 0x1019db2
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x100657a
lea eax, [ebp - 4]
push eax
push 0xf003f
push edi
push 0x10049f0
push 0x80000001
call ebx
push 2
pop ebx
cmp dword [ebp - 4], edi
jne 0x1006868
push ebx
push ebx
push edi
lea eax, [esi + 0x284]
push eax
push 0x1004e50
push dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
call fcn.010054ac
test eax, eax
jl 0x1019dc1
push 0x32
pop ebx
cmp dword [ebp - 4], edi
jne 0x100688f
push ebx
push 0x64
push edi
lea eax, [esi + 0x288]
push eax
push 0x1004e30
push dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
call fcn.010054ac
test eax, eax
jl 0x1019dcb
push ebx
push 0x64
push edi
add esi, 0x28c
push esi
mov dword [ebp - 0x1c], esi
mov esi, 0x1004e08
push esi
push dword [ebp - 4]
call fcn.010054ac
test eax, eax
jge 0x10064ef
push ebx
push 0x64
push edi
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0xc]
call fcn.010054ac
test eax, eax
jge 0x10064ef
mov eax, dword [ebp - 0x1c]
mov dword [eax], ebx
xor esi, esi
inc esi
cmp dword [ebp - 4], edi
jne 0x10068b7
mov ebx, dword [ebp - 0x18]
push esi
push esi
push edi
push ebx
push 0x1004dec
push dword [ebp - 0xc]
call fcn.010054ac
test eax, eax
jl 0x1019dd5
cmp dword [ebp - 4], edi
jne 0x10068d7
mov ebx, dword [ebp - 0x14]
push esi
push esi
push edi
push ebx
push 0x1004dcc
push dword [ebp - 0xc]
call fcn.010054ac
test eax, eax
jl 0x1019ddc
cmp dword [ebp - 4], edi
jne 0x10068f7
mov eax, dword [ebp - 0x24]
cmp dword [eax], edi
jne 0x1019de3
mov eax, dword [ebp - 0x28]
cmp dword [eax], edi
jne 0x1019de8
mov eax, dword [ebp - 0x2c]
cmp dword [eax], edi
jne 0x1019dfb
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], edi
jne 0x1006984
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
push ebx
push ebx
push edi
lea eax, [esi + 0x284]
push eax
push 0x1004e50
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
call fcn.010054ac
test eax, eax
jge 0x1006487
jmp 0x1006465
push ebx
push 0x64
push edi
lea eax, [esi + 0x288]
push eax
push 0x1004e30
push dword [ebp - 4]
mov dword [ebp - 0x20], eax
call fcn.010054ac
test eax, eax
jge 0x10064b6
jmp 0x1006493
push esi
push esi
push edi
push dword [ebp - 0x18]
push 0x1004dec
push dword [ebp - 4]
call fcn.010054ac
test eax, eax
jge 0x1006517
jmp 0x10064fb
push esi
push esi
push edi
push dword [ebp - 0x14]
push 0x1004dcc
push dword [ebp - 4]
call fcn.010054ac
test eax, eax
jge 0x100653c
jmp 0x1006520
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
pop ebx
push ebx
push dword [ebp - 0x10]
push ebx
push edi
push 0x1004e50
push dword [ebp - 4]
call esi
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x1006545
push ebx
push dword [ebp - 0x1c]
push ebx
push edi
push 0x1004e08
push dword [ebp - 4]
call esi
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x1006545
push ebx
push dword [ebp - 0x20]
push ebx
push edi
push 0x1004e30
push dword [ebp - 4]
call esi
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x1006545
push ebx
push dword [ebp - 0x18]
push ebx
push edi
push 0x1004dec
push dword [ebp - 4]
call esi
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x1006545
push ebx
push dword [ebp - 0x14]
push ebx
push edi
push 0x1004dcc
push dword [ebp - 4]
call esi
mov dword [ebp - 8], eax
jmp 0x1006545
push dword [ebp - 4]
call esi
jmp 0x1006575
and eax, 0xffff
or eax, 0x80070000
jmp 0x1006438
mov eax, dword [ebp - 0x10]
mov dword [eax], ebx
jmp 0x1006487
mov eax, dword [ebp - 0x20]
mov dword [eax], ebx
jmp 0x10064b6
mov dword [ebx], esi
jmp 0x1006517
mov dword [ebx], esi
jmp 0x100653c
mov eax, dword [ebp - 0x10]
jmp 0x1019df4
mov eax, dword [ebp - 0x10]
cmp dword [eax], 2
jne 0x100655b
mov dword [eax], edi
jmp 0x100655b
mov eax, dword [ebp - 0x14]
mov dword [eax], edi
mov eax, dword [ebp - 0x18]
mov dword [eax], edi
jmp 0x1006566