Function at 0x1001a4c6
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x100cca38
call fcn.10030644
mov eax, 0x2f00
call fcn.10031830
push ebx
push esi
mov esi, 0x7d0
push edi
xor ebx, ebx
push esi
lea eax, [ebp - 0xfcc]
push ebx
push eax
call fcn.10031000
push esi
lea eax, [ebp - 0x1f6c]
push ebx
push eax
call fcn.10031000
push esi
lea eax, [ebp - 0x2f0c]
push ebx
push eax
call fcn.10031000
add esp, 0x24
lea eax, [ebp - 0x20]
push eax
push 0xf003f
push ebx
lea eax, [ebp - 0xd]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
push str.SYSTEMCurrentControlSetServicesRasmanParameters
call fcn.10003536
lea eax, [ebp - 0x14]
push eax
call fcn.10020042
add esp, 0x14
mov ecx, eax
call fcn.10003ab9
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x1001a55c
call fcn.10002801
push 1
lea eax, [ebp - 0x28]
pop edi
mov esi, str.prohibitipsec
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
sub esp, 0x10
lea eax, [ebp - 0xd]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
push esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], 4
call fcn.10003536
lea eax, [ebp - 0x14]
push eax
call fcn.10020042
add esp, 0x14
mov ecx, eax
call fcn.10003ab9
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
cmp ecx, ebx
je 0x1001a5b9
call fcn.10002801
cmp dword [ebp - 0x18], ebx
jne 0x1001a5c8
cmp dword [ebp - 0x1c], edi
jne 0x1001a5c8
push 2
pop esi
jmp 0x1001a622
lea eax, [ebp - 0x1c]
push 4
push eax
push 4
push ebx
lea eax, [ebp - 0xd]
sub esp, 0x10
mov dword [ebp - 0x1c], edi
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
push esi
call fcn.10003536
lea eax, [ebp - 0x14]
push eax
call fcn.10020042
add esp, 0x14
mov ecx, eax
call fcn.10003ab9
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x14]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
test ecx, ecx
je 0x1001a617
call fcn.10002801
xor eax, eax
test bl, bl
setne al
mov esi, eax
xor ebx, ebx
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x1001a678
push ebx
push ebx
sub esp, 0x10
lea eax, [ebp - 0xd]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
push 0x100fc50c
call fcn.10003536
lea eax, [ebp - 0x14]
push eax
call fcn.10020042
add esp, 0x14
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.10003ab9
push eax
call fcn.100c5aaa
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x1001a71a
call fcn.10002801
jmp 0x1001a71a
cmp esi, edi
push ebx
push 4
jne 0x1001a6c5
sub esp, 0x10
lea eax, [ebp - 0xd]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
push 0x100fc64c
call fcn.10003536
lea eax, [ebp - 0x14]
push eax
call fcn.10020042
add esp, 0x14
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.10003ab9
push eax
call fcn.100c5aaa
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp ecx, ebx
mov esi, eax
je 0x1001a710
call fcn.10002801
jmp 0x1001a710
sub esp, 0x10
lea eax, [ebp - 0x21]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
push 0x100fc5e8
call fcn.10003536
lea eax, [ebp - 0x18]
push eax
call fcn.10020042
add esp, 0x14
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.10003ab9
push eax
call fcn.100c5aaa
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp ecx, ebx
mov esi, eax
je 0x1001a710
call fcn.10002801
mov dword [ebp - 0x18], ebx
cmp esi, 6
jne 0x1001a71a
call fcn.100432a9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret