Function at 0x1029c44
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4a8
mov eax, dword [0x107342c]
push esi
mov dword [ebp - 4], eax
call fcn.0103e8e4
call fcn.0102a20a
lea eax, [ebp - 0x46c]
push eax
call fcn.0101e522
xor esi, esi
test eax, eax
je 0x1029c82
lea eax, [ebp - 0x46c]
push eax
call fcn.0102d15e
jmp 0x1029c88
mov dword [ebp - 0x46c], esi
cmp dword [0x1074a18], esi
jne 0x1029c98
xor eax, eax
inc eax
jmp 0x102a1cd
push ebx
push edi
push dword [0x1073420]
push 0x10132f0
call fcn.0103ec9f
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x464]
push eax
push 0x20019
push esi
push 0x1011308
mov ebx, 0x80000002
push ebx
call edi
test eax, eax
jne 0x1029d23
lea eax, [ebp - 0x490]
push eax
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x480]
push eax
push esi
push str.DontWatchSysProcs
push dword [ebp - 0x464]
mov dword [ebp - 0x490], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1029d17
cmp dword [ebp - 0x480], 4
jne 0x1029d17
mov eax, dword [ebp - 0x47c]
mov dword [0x1074410], eax
push dword [ebp - 0x464]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push 0x10132a8
push 0x1013278
push 0x101128c
call fcn.01031f9d
cmp eax, esi
mov dword [ebp - 0x468], eax
je 0x1029d5e
push esi
push esi
push eax
call fcn.01029b78
push dword [ebp - 0x468]
mov dword [ebp - 0x460], eax
call dword [fcn.010014a0]
jmp 0x1029d64
mov dword [ebp - 0x460], esi
cmp dword [ebp - 0x460], esi
je 0x102a111
push esi
push esi
push 2
push dword [ebp - 0x46c]
push 0x80
push esi
push esi
push 0x1010d74
push dword [ebp - 0x460]
call fcn.01029a08
push dword [ebp - 0x460]
call dword [fcn.010014a0]
cmp dword [0x1074488], esi
je 0x1029db3
cmp dword [0x1074484], 4
je 0x1029db3
call fcn.01028339
lea eax, [ebp - 0x464]
push eax
push 0x20019
push esi
push 0x1013200
push ebx
call edi
test eax, eax
je 0x1029fbf
lea eax, [ebp - 0x464]
push eax
push 0x20019
push esi
push 0x1013198
push ebx
call edi
test eax, eax
jne 0x1029fcb
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x478]
push eax
push esi
push 0x1013184
push dword [ebp - 0x464]
mov dword [ebp - 0x48c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1029fbf
cmp dword [ebp - 0x478], 4
jne 0x1029fbf
cmp dword [ebp - 0x468], esi
je 0x1029fbf
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [0x1001330]
cmp eax, esi
jbe 0x1029f98
cmp eax, 0x104
jae 0x1029f98
lea eax, [ebp - 0x20c]
push 0x101316c
push eax
call dword [0x10015d4]
pop ecx
pop ecx
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [0x100132c]
cmp eax, 0xffffffff
mov dword [ebp - 0x488], eax
je 0x1029f98
push 0x10130d0
lea eax, [ebp - 0x474]
push eax
call dword [fcn.0100168c]
push esi
push 1
push esi
lea eax, [ebp - 0x474]
mov dword [ebp - 0x4a0], eax
push esi
lea eax, [ebp - 0x4a8]
push eax
push 0x2001f
lea eax, [ebp - 0x460]
push eax
mov dword [ebp - 0x4a8], 0x18
mov dword [ebp - 0x4a4], esi
mov dword [ebp - 0x49c], 0x40
mov dword [ebp - 0x498], esi
mov dword [ebp - 0x494], esi
call dword [0x10016f8]
test eax, eax
jl 0x1029f8c
push 0x10130bc
lea eax, [ebp - 0x474]
push eax
mov dword [ebp - 0x484], 1
call dword [fcn.0100168c]
lea eax, [ebp - 0x20c]
push eax
call dword [0x1001514]
pop ecx
shl eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push esi
lea eax, [ebp - 0x474]
push eax
push dword [ebp - 0x460]
call dword [0x10016f4]
push 0x101309c
lea eax, [ebp - 0x474]
push eax
call dword [fcn.0100168c]
push 4
lea eax, [ebp - 0x484]
push eax
push 4
push esi
lea eax, [ebp - 0x474]
push eax
push dword [ebp - 0x460]
call dword [0x10016f4]
push dword [ebp - 0x460]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x488]
call dword [0x1001328]
push 4
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x478]
mov dword [ebp - 0x468], esi
push esi
push 0x1013184
push dword [ebp - 0x464]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x464]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x464]
push eax
push 0x20019
push esi
push 0x1013200
push ebx
call edi
cmp eax, esi
jne 0x1029ff2
push dword [ebp - 0x464]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x102a04f
lea eax, [ebp - 0x464]
push eax
push 0x20019
push esi
push 0x1013030
push ebx
call edi
cmp eax, esi
jne 0x102a0c4
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
push esi
push esi
push esi
push 0x1013004
push dword [ebp - 0x464]
call edi
mov ebx, eax
cmp ebx, esi
je 0x102a03f
push esi
push esi
push esi
push esi
push 0x1012fd8
push dword [ebp - 0x464]
call edi
mov ebx, eax
push dword [ebp - 0x464]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
jne 0x102a0c4
push esi
push 0x1012f90
push 0x1012f70
mov ebx, 0x101128c
push ebx
call fcn.01031f9d
mov edi, eax
cmp edi, esi
je 0x102a085
push esi
push 3
push edi
call fcn.01029b78
push edi
mov edi, dword [fcn.010014a0]
mov dword [ebp - 0x460], eax
call edi
jmp 0x102a091
mov edi, dword [fcn.010014a0]
mov dword [ebp - 0x460], esi
cmp dword [ebp - 0x460], esi
je 0x102a0cf
push esi
push esi
push esi
push dword [ebp - 0x46c]
push 0x80
push esi
push 3
push 0x1010d74
push dword [ebp - 0x460]
call fcn.01029a08
push dword [ebp - 0x460]
call edi
jmp 0x102a0cf
mov edi, dword [fcn.010014a0]
mov ebx, 0x101128c
push esi
push 0x1012f30
push 0x1012f18
push ebx
call fcn.01031f9d
cmp eax, esi
mov dword [ebp - 0x468], eax
je 0x102a103
push esi
push 1
push eax
call fcn.01029b78
push dword [ebp - 0x468]
mov dword [ebp - 0x460], eax
call edi
jmp 0x102a109
mov dword [ebp - 0x460], esi
cmp dword [ebp - 0x460], esi
jne 0x102a118
xor eax, eax
jmp 0x102a1cb
push esi
push esi
push 2
push dword [ebp - 0x46c]
push 0x80
push esi
push 1
push 0x1010d74
push dword [ebp - 0x460]
call fcn.01029a08
push dword [ebp - 0x460]
call edi
push esi
push esi
push 0x1012944
push ebx
call fcn.01031f9d
cmp eax, esi
mov dword [ebp - 0x460], eax
je 0x102a1bc
push 0x101276c
push eax
jmp 0x102a1a6
cmp word [ebx], 0x20
jne 0x102a172
mov ax, word [ebx]
inc ebx
inc ebx
cmp ax, 0x20
je 0x102a167
push 0x1012930
push ebx
call dword [0x10015e0]
test eax, eax
pop ecx
pop ecx
je 0x102a1a0
push esi
push esi
push esi
push dword [ebp - 0x46c]
push 0x80
push esi
push 4
push 0x1010d74
push ebx
call fcn.01029a08
push 0x101276c
push esi
call dword [0x1001528]
mov ebx, eax
cmp ebx, esi
pop ecx
pop ecx
jne 0x102a161
push dword [ebp - 0x460]
call edi
push dword [ebp - 0x46c]
call dword [0x1001664]
xor eax, eax
inc eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.0103e4d8
leave
ret