Function at 0x1003ce82
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008407f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d8
push esi
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 0
jmp 0x1003ceb8
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jge 0x1003cece
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x1bc], 0
jmp 0x1003ceb1
mov dword [ebp - 0x4c], 0x15
jmp 0x1003cede
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffe3
je 0x1003cf3a
mov dword [ebp - 0x3c], 9
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x1003cf12
push 0x1c0b
push 0
push 0x24f8
push 0x18d
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x3c], 0
jmp 0x1003cf22
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x1003cf38
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x1bc], 0x7a888ada
jmp 0x1003cf1b
jmp 0x1003ced7
mov eax, dword [0x10676328]
and eax, 1
jne 0x1003cf6e
mov eax, dword [0x10676328]
or eax, 1
mov dword [0x10676328], eax
and dword [ebp - 4], 0
mov ecx, 0x10676308
call fcn.10040ae2
push 0x100854ba
call fcn.10069e16
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], 0xe17b844a
mov dword [ebp - 0x34], 0xfffffff7
mov dword [ebp - 0x1c], 0
push 2
lea ecx, [ebp - 0x84]
call fcn.10027b4a
mov dword [ebp - 4], 1
mov dword [ebp - 0x40], 0
jmp 0x1003cfa7
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x1003cfc3
push dword [ebp - 0x40]
lea ecx, [ebp - 0x84]
call fcn.10027bb7
mov dword [eax], 0xfffffff8
jmp 0x1003cfa0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
call fcn.1003cca0
add esp, 0x10
mov dword [ebp - 0x20], 1
jmp 0x1003cfe9
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1003d219
push 2
lea ecx, [ebp - 0x144]
call fcn.10027b4a
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], 0
jmp 0x1003d014
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x1003d030
push dword [ebp - 0x44]
lea ecx, [ebp - 0x144]
call fcn.10027bb7
mov dword [eax], 0xfffffff6
jmp 0x1003d00d
push dword [ebp - 0x20]
lea ecx, [ebp - 0x84]
call fcn.10027bb7
mov esi, eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x84]
call fcn.10027bb7
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x1003d060
mov dword [ebp - 0x88], 1
jmp 0x1003d067
and dword [ebp - 0x88], 0
push dword [ebp - 0x20]
lea ecx, [ebp - 0x84]
call fcn.10027bb7
mov eax, dword [eax]
imul eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x34]
je 0x1003d08c
mov dword [ebp - 0x50], 1
jmp 0x1003d090
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], eax
jle 0x1003d0a4
mov dword [ebp - 0x128], 1
jmp 0x1003d0ab
and dword [ebp - 0x128], 0
mov eax, 0x9c4b05ef
test eax, eax
je 0x1003d0c7
push 0xfffffffffffffffa
pop eax
test eax, eax
je 0x1003d0c7
mov dword [ebp - 0xf0], 1
jmp 0x1003d0ce
and dword [ebp - 0xf0], 0
push dword [ebp - 0x20]
lea ecx, [ebp - 0x84]
call fcn.10027bb7
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
push 1
lea ecx, [ebp - 0x144]
call fcn.10027bb7
mov eax, dword [eax]
mov ecx, dword [ebp - 0xf0]
lea eax, [ecx + eax + 0x9751]
cmp dword [ebp - 0x50], eax
je 0x1003d10e
mov dword [ebp - 0xe8], 1
jmp 0x1003d115
and dword [ebp - 0xe8], 0
push 0
lea ecx, [ebp - 0x144]
call fcn.10027bb7
mov ecx, dword [ebp - 0xe8]
imul ecx, dword [eax]
cmp ecx, 1
jl 0x1003d173
mov dword [ebp - 0x34], 1
jmp 0x1003d140
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x1003d171
mov dword [ebp - 0x1c], 0
jmp 0x1003d156
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jg 0x1003d16f
mov byte [ebp - 0x29], 0
lea eax, [ebp - 0x29]
push eax
push 0
call fcn.1003db29
pop ecx
pop ecx
jmp 0x1003d14f
jmp 0x1003d139
jmp 0x1003d1ba
mov dword [ebp - 0x130], 0x3f079038
mov byte [ebp - 0x2d], 0
lea eax, [ebp - 0x2d]
push eax
push 0
call fcn.1003f0d0
pop ecx
pop ecx
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x84]
push eax
push 0
push 0x159b
push 0x529
push 0x7cc0
push 0x5e5d
call fcn.1003edd0
add esp, 0x1c
mov dword [ebp - 0x1c], 0
jmp 0x1003d1ca
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xfffffff5
je 0x1003d205
mov dword [ebp - 0x138], 0x270c1731
mov esi, dword [ebp - 0x138]
push 1
lea ecx, [ebp - 0x84]
call fcn.10027bb7
mov dword [eax], esi
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1003d203
push 0
call fcn.10040001
pop ecx
jmp 0x1003d1c3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x144]
call fcn.10027bb2
jmp 0x1003cfe2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.10027bb2
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x19c]
push eax
mov ecx, 0x10676308
call fcn.10040aac
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x190]
push eax
mov ecx, 0x10676308
call fcn.10040aba
mov ecx, eax
call fcn.10040acf
movzx eax, al
test eax, eax
je 0x1003d28a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x110]
push eax
mov ecx, 0x10676308
call fcn.10040b36
mov al, byte [eax]
jmp 0x1003da73
push dword [ebp + 8]
lea eax, [ebp - 0x1e4]
push eax
call fcn.1003c300
pop ecx
pop ecx
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x124], eax
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x124]
call fcn.10027ac6
mov al, byte [eax]
mov byte [ebp - 0x11], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e4]
call fcn.10027aab
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x58], 0xb37b0480
mov dword [ebp - 0x38], 0x3ec3d4e7
mov dword [ebp - 0xc4], 0xfffffffc
mov dword [ebp - 0x16c], 0x68993dd6
mov dword [ebp - 0x168], 0x68993dd6
mov dword [ebp - 0x164], 0x68993dd6
mov dword [ebp - 0x160], 0x68993dd6
lea ecx, [ebp - 0x59]
call fcn.1000927a
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x1c4]
call fcn.10027bc6
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x6c]
call fcn.10027b8c
mov dword [ebp - 4], 4
mov dword [ebp - 0x54], 0x4a2c6eb8
mov dword [ebp - 0x158], 0x3c10b42b
mov dword [ebp - 0x154], 0x3c10b42b
mov dword [ebp - 0x150], 0x3c10b42b
mov dword [ebp - 0x14c], 0x3c10b42b
lea ecx, [ebp - 0x6d]
call fcn.1000927a
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x1cc]
call fcn.10027bc6
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x178]
call fcn.10027b8c
mov byte [ebp - 4], 5
mov dword [ebp - 0x12c], 0x57e8f534
mov dword [ebp - 0x28], 0
jmp 0x1003d3cf
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x1003d3e5
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x10c], 0xffffffff
jmp 0x1003d3c8
mov dword [ebp - 0x28], 0
jmp 0x1003d3f5
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 4
jge 0x1003d40b
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x1b0], 0xa5cd
jmp 0x1003d3ee
cmp dword [ebp - 0x10], 0
jne 0x1003d41d
mov dword [ebp - 0xcc], 1
jmp 0x1003d424
and dword [ebp - 0xcc], 0
cmp dword [ebp - 0x10], 0
jne 0x1003d554
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x10]
jge 0x1003d445
mov dword [ebp - 0xbc], 1
jmp 0x1003d44c
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xbc]
cmp eax, 0x7684593f
jle 0x1003d468
mov dword [ebp - 0x8c], 1
jmp 0x1003d46f
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 2
jle 0x1003d484
mov dword [ebp - 0xe4], 1
jmp 0x1003d48b
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xe4], eax
jg 0x1003d4a2
mov dword [ebp - 0x94], 1
jmp 0x1003d4a9
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x94]
mov dword [ebp - 0xc4], eax
mov esi, dword [ebp - 0xc4]
push 0
lea ecx, [ebp - 0x6c]
call fcn.10027bb7
cmp esi, dword [eax]
jle 0x1003d4e5
push 0
lea ecx, [ebp - 0x6c]
call fcn.10027bb7
cmp dword [eax], 0
jne 0x1003d4e5
and dword [ebp - 0x9c], 0
jmp 0x1003d4ef
mov dword [ebp - 0x9c], 1
cmp dword [ebp - 0x9c], 0xb4b26d8f
ja 0x1003d507
mov dword [ebp - 0xdc], 1
jmp 0x1003d50e
and dword [ebp - 0xdc], 0
push 0
lea ecx, [ebp - 0x6c]
call fcn.10027bb7
mov ecx, dword [ebp - 0xdc]
cmp ecx, dword [eax]
je 0x1003d52e
mov dword [ebp - 0xa4], 1
jmp 0x1003d535
and dword [ebp - 0xa4], 0
mov esi, dword [ebp - 0xa4]
neg esi
push 0
lea ecx, [ebp - 0x6c]
call fcn.10027bb7
sub esi, dword [eax]
jne 0x1003d554
and dword [ebp - 0x114], 0
jmp 0x1003d55e
mov dword [ebp - 0x114], 1
push 0
lea ecx, [ebp - 0x6c]
call fcn.10027bb7
mov eax, dword [eax]
sub eax, 9
jne 0x1003d581
mov eax, 0x2bb1
test eax, eax
jne 0x1003d581
and dword [ebp - 0xac], 0
jmp 0x1003d58b
mov dword [ebp - 0xac], 1
mov eax, dword [ebp - 0xcc]
neg eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0xac]
jg 0x1003d5ad
mov dword [ebp - 0xec], 1
jmp 0x1003d5b4
and dword [ebp - 0xec], 0
push 0
lea ecx, [ebp - 0x6c]
call fcn.10027bb7
mov ecx, dword [ebp - 0xec]
cmp ecx, dword [eax]
jge 0x1003d5d4
mov dword [ebp - 0xb4], 1
jmp 0x1003d5db
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x1003d5fc
cmp dword [ebp - 0x54], 0
je 0x1003d5fc
mov dword [ebp - 0x134], 1
jmp 0x1003d603
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xd4], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xd4]
mov dword [ebp + eax - 0x10c], ecx
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x194], eax
push 0
lea ecx, [ebp - 0x6c]
call fcn.10027bb7
cmp dword [eax], 0xffffffff
jne 0x1003d649
mov dword [ebp - 0x78], 1
jmp 0x1003d64d
and dword [ebp - 0x78], 0
push 0
lea ecx, [ebp - 0x6c]
call fcn.10027bb7
mov esi, dword [ebp - 0x78]
sub esi, dword [eax]
push 0
lea ecx, [ebp - 0x6c]
call fcn.10027bb7
sub esi, dword [eax]
push 0
lea ecx, [ebp - 0x178]
call fcn.10027bb7
mov dword [eax], esi
push 3
pop eax
test eax, eax
je 0x1003d8e7
mov dword [ebp - 0x18], 0xfffd
mov dword [ebp - 0x120], 0xffffffff
mov dword [ebp - 0x10], 0
jmp 0x1003d6a3
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jg 0x1003d8cd
mov dword [ebp - 0x118], 0xfff6
mov dword [ebp - 0x11c], 7
mov dword [ebp - 0xc8], 0x837b75ae
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1b0]
push 4
pop ecx
shl ecx, 0
sub eax, dword [ebp + ecx - 0x10c]
cmp eax, dword [ebp - 0x18]
jne 0x1003d6f2
mov dword [ebp - 0x74], 1
jmp 0x1003d6f6
and dword [ebp - 0x74], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x74]
cmp dword [ebp + eax - 0x10c], ecx
jne 0x1003d717
mov dword [ebp - 0x90], 1
jmp 0x1003d71e
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x11c]
jne 0x1003d73b
mov dword [ebp - 0x98], 1
jmp 0x1003d742
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x98]
cmp eax, 0x44351d5e
jg 0x1003d75e
mov dword [ebp - 0xa0], 1
jmp 0x1003d765
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x18]
imul ecx, dword [ebp - 0xa0], 0x599
imul eax, ecx
imul eax, dword [ebp - 0x18]
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x1b0]
jg 0x1003d793
mov dword [ebp - 0xa8], 1
jmp 0x1003d79a
and dword [ebp - 0xa8], 0
push 0
lea ecx, [ebp - 0x6c]
call fcn.10027bb7
mov ecx, dword [ebp - 0xa8]
sub ecx, dword [eax]
cmp ecx, 0x3b0f6051
jge 0x1003d7bd
mov eax, 0xeb8a80aa
test eax, eax
jne 0x1003d7cc
cmp dword [ebp - 0x18], 0
jne 0x1003d7cc
and dword [ebp - 0xb0], 0
jmp 0x1003d7d6
mov dword [ebp - 0xb0], 1
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xb0], eax
jl 0x1003d7ea
mov dword [ebp - 0x60], 1
jmp 0x1003d7ee
and dword [ebp - 0x60], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x178]
call fcn.10027bb7
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
cmp dword [ebp - 0x60], 0xf28f6817
ja 0x1003d816
mov dword [ebp - 0xb8], 1
jmp 0x1003d81d
and dword [ebp - 0xb8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x10c]
cmp dword [ebp - 0xb8], eax
jge 0x1003d83e
mov dword [ebp - 0xc0], 1
jmp 0x1003d845
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x12c]
cmp eax, dword [ebp - 0xc0]
jne 0x1003d85f
mov dword [ebp - 0xfc], 1
jmp 0x1003d866
and dword [ebp - 0xfc], 0
mov dword [ebp - 0xc8], 0xaab159bb
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd0], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xd0]
mov dword [ebp + eax - 0x10c], ecx
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xd0], eax
jle 0x1003d8a5
mov dword [ebp - 0xf8], 1
jmp 0x1003d8ac
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x118]
add eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x18]
mov dword [ebp - 0x120], eax
jmp 0x1003d69c
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1003d8e5
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
jmp 0x1003d924
mov dword [ebp - 0x38], 0
jmp 0x1003d8f7
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x1003d924
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x1003d922
push 0x72f
push 0x6a6d
push 0x5cd0
push 1
call fcn.1003cca0
add esp, 0x10
jmp 0x1003d8f0
mov dword [ebp - 0x10], 3
jmp 0x1003d934
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1003d979
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x1003d954
push 0x53c2
push 0
call fcn.100401a2
pop ecx
pop ecx
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x1003d977
push 0x23d6
push 0
push 0x1f78
push 0xda1
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
jmp 0x1003d92d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x178]
call fcn.10027bb2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.10027bb2
lea eax, [ebp - 0x11]
push eax
lea eax, [ebp + 8]
push eax
push 0x2a84
push 0x6a37
push 1
push 0x10676308
push 0x878
call fcn.1003cd5f
add esp, 0x1c
mov dword [ebp - 0xd8], 0xffffffff
mov dword [ebp - 0x1a0], 0x3717be9f
mov dword [ebp - 0x180], 3
push 2
lea ecx, [ebp - 0x18c]
call fcn.10027b4a
mov dword [ebp - 4], 6
mov dword [ebp - 0xe0], 0xfffffffe
mov dword [ebp - 0x24], 0
jmp 0x1003da06
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1003da1c
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x198], 2
jmp 0x1003d9ff
mov dword [ebp - 0x24], 0
jmp 0x1003da2c
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1003da48
push dword [ebp - 0x24]
lea ecx, [ebp - 0x18c]
call fcn.10027bb7
mov dword [eax], 5
jmp 0x1003da25
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xe0]
dec eax
mov dword [ebp - 0xe0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18c]
call fcn.10027bb2
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret