joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000308a
Capabilities:
Encode data using xor

Disassembly:
push 0x1c
mov eax, 0x1003d833
call fcn.1003d39e
mov esi, ecx
xor ebx, ebx
inc ebx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x10041857
call fcn.10003da0
xor edx, edx
mov dword [ebp - 4], edx
mov al, byte [esi + 2]
mov dword [ebp - 0x10], ebx
cmp al, 0xff
je 0x100031d5
cmp al, bl
jne 0x100030ef
movaps xmm0, xmmword [0x1004c8f0]
mov ecx, edx
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x7179
mov byte [ebp - 0x12], dl
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x11
jb 0x100030da
lea eax, [ebp - 0x23]
jmp 0x100031ca
jle 0x100031d5
mov ecx, edx
cmp al, 5
jge 0x10003128
movaps xmm0, xmmword [0x1004bd10]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0xb1c0f15
mov byte [ebp - 0x14], dl
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x10003110
mov byte [ebp - 0x14], dl
lea eax, [ebp - 0x27]
jmp 0x100031cd
cmp al, 0xa
jge 0x10003150
movaps xmm0, xmmword [0x1004c4a0]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x585a5c4f
mov byte [ebp - 0x14], dl
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x10003141
jmp 0x1000311d
cmp al, 0x1a
jge 0x10003178
movaps xmm0, xmmword [0x1004c690]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x7d656e6b
mov byte [ebp - 0x14], dl
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x10003169
jmp 0x1000311d
mov byte [ebp - 0x12], dl
cmp al, 0x65
jge 0x100031a2
movaps xmm0, xmmword [0x1004bb60]
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x1b1c
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x11
jb 0x10003190
jmp 0x100030e7
movaps xmm0, xmmword [0x1004bc80]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x1710171f
mov word [ebp - 0x14], 0x1910
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x15
jb 0x100031ba
lea eax, [ebp - 0x27]
mov byte [ebp - 0x12], dl
push eax
mov ecx, edi
call fcn.10003b50
mov eax, edi
call fcn.1003d37b
ret 4
Function at 0x10004c97
Capabilities:
Create thread
Terminate process

Disassembly:
call fcn.10002162
test al, al
jne 0x10004d36
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.10007605
call fcn.10007694
call fcn.10010ca1
mov dword [0x10056934], eax
test eax, eax
je 0x10004ccb
mov ecx, eax
call fcn.10010e27
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
xor edi, edi
push edi
push edi
push edi
push 0x1000491c
push edi
push edi
mov dword [0x10056850], eax
mov dword [0x10056854], edx
mov dword [0x10056858], eax
mov dword [0x1005685c], edx
call esi
mov ebx, eax
test ebx, ebx
je 0x10004d36
push edi
push edi
push edi
push 0x10004ab8
push edi
push edi
call esi
mov edi, eax
test edi, edi
je 0x10004d36
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push ebx
call esi
push 0x64
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
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x10007605
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x10053040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
test eax, eax
jne 0x10007620
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
push eax
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
je 0x10007685
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x28
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10007685
push ecx
mov ecx, dword [ebp - 8]
mov edx, str.SeSecurityPrivilege
call fcn.100075ab
pop ecx
test al, al
je 0x10007685
push ecx
mov ecx, dword [ebp - 8]
mov edx, str.SeDebugPrivilege
call fcn.100075ab
pop ecx
test al, al
je 0x10007685
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x10007687
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1003bff4
leave
ret
Function at 0x10007694
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10053040]
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 0x10007747
movaps xmm0, xmmword [0x1004bf80]
push ebx
xor ebx, ebx
mov word [ebp - 0x24], 0x25
movups xmmword [ebp - 0x34], xmm0
mov ecx, ebx
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x10
jb 0x100076d8
lea eax, [ebp - 0xc]
mov byte [ebp - 0x23], bl
push eax
lea eax, [ebp - 0x33]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x10007708
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10007746
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
push ebx
push ebx
push 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1000773b
xor ebx, ebx
inc ebx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003bff4
leave
ret
Function at 0x100088da
Capabilities:
Encode data using xor

Disassembly:
push 0x16c
mov eax, 0x1003e2d7
call fcn.1003d3d1
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x178], esi
lea eax, [ebp - 0x157]
mov dword [ebp - 0x158], 1
xor ebx, ebx
mov word [ebp - 0x158], 0x58
push eax
mov byte [ebp - 0x157], bl
call fcn.10003da0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x158], 1
test edi, edi
je 0x10008a12
movaps xmm0, xmmword [str.nS_BYJ_BDE]
mov ecx, ebx
movups xmmword [ebp - 0x174], xmm0
mov dword [ebp - 0x164], 0xe06460e
mov dword [ebp - 0x160], 0x630e0b4f
mov dword [ebp - 0x15c], 0x660e11
mov al, byte [ebp - 0x174]
xor byte [ebp + ecx - 0x173], al
inc ecx
cmp ecx, 0x1a
jb 0x10008963
lea eax, [ebp - 0x173]
mov byte [ebp - 0x159], bl
push eax
lea ecx, [ebp - 0x130]
call fcn.10003da0
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x154]
mov dword [ebp - 0x118], edi
push eax
mov dword [ebp - 0x114], ebx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
cmp dword [ebp - 0x11c], 0xf
lea ecx, [ebp - 0x154]
push ecx
lea eax, [ebp - 0x130]
cmova eax, dword [ebp - 0x130]
push eax
lea eax, [ebp - 0x110]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
lea ecx, [ebp - 0x110]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100089ef
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, esi
call fcn.10003b07
lea ecx, [ebp - 0x130]
call fcn.10003b9e
mov eax, esi
call fcn.1003d38f
ret

Function at 0x1000aaf3
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x10053040]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x10], 0x128
push ebx
push 2
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x1000ab47
cmp dword [esp + 0x18], edi
je 0x1000ab69
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1000ab35
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003bff4
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
xor ebx, ebx
test eax, eax
setne bl
test eax, eax
je 0x1000ab52
push eax
call esi
jmp 0x1000ab52

Function at 0x1000ac51
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov dword [0x100530ec], ecx
inc edx
mov esi, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x100530ec], ecx
inc edx
cmp edx, esi
jb 0x1000ac66
mov dword [0x100530e8], esi
pop esi
pop ebp
ret 8
Function at 0x1000ac8c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x270
cmp dword [esi], edi
jne 0x1000acd4
lea edx, [esi + 8]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x1000ac9c
jmp 0x1000ace1
cmp dword [esi], 0x4e0
jb 0x1000ace1
call fcn.1000ad1b
mov eax, dword [esi]
pop edi
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
ret

Function at 0x1000ad1b
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
lea edi, [esi + 0x9c4]
mov esi, 0xe3
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ecx, eax
lea edi, [edx + 4]
mov ebx, dword [edi]
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x1000ad34
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ecx, eax
lea edi, [edx + 4]
mov ebx, dword [edi]
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x1000ad7e
mov esi, dword [ebp - 4]
pop edi
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
and dword [esi], 0
mov dword [esi + 0x9c0], eax
pop esi
pop ebx
leave
ret
Function at 0x1000b6e5
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, 0x40
movaps xmm0, xmmword [0x1004bae0]
movups xmmword [ebp - 0x34], xmm0
push ebx
movaps xmm0, xmmword [0x1004bb30]
xor ebx, ebx
movups xmmword [ebp - 0x24], xmm0
mov ecx, ebx
movaps xmm0, xmmword [0x1004b9d0]
push esi
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x2e
jb 0x1000b712
push ebx
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], bl
push eax
push ebx
push 0x100568a4
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1000b7f6
push 0x100568a0
push ebx
push ebx
push 0x8004
push dword [0x100568a4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1000b7f6
movaps xmm0, xmmword [str.h_S_f]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x580e09
movaps xmm0, xmmword [0x1004c500]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0xa5c1a28
movaps xmm0, xmmword [0x1004c350]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x4918123d
mov word [ebp - 4], 0x15
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x1000b79b
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], bl
push eax
push dword [0x100568a0]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1000b7f6
push 0x1005689c
push 0x800000
push dword [0x100568a0]
push 0x6801
push dword [0x100568a4]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1000b7f6
push ebx
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 [0x10056898], eax
call fcn.1003ac10
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1003b0e0
mov ebx, 0x1000b62a
push ebx
push 0x10056894
call fcn.1003a920
call fcn.1003ac70
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000b861
mov dword [0x10056894], 0x60f6e0
call fcn.1003ac10
call esi
push eax
call fcn.1003b0e0
push ebx
push 0x10056894
call fcn.1003a490
call fcn.1003ac70
call fcn.1003ac10
call esi
push eax
call fcn.1003b0e0
mov ebx, 0x1000b64c
push ebx
push 0x10056890
call fcn.1003a920
call fcn.1003ac70
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000b8bb
mov dword [0x10056890], 0x60eab0
call fcn.1003ac10
call esi
push eax
call fcn.1003b0e0
push ebx
push 0x10056890
call fcn.1003a490
call fcn.1003ac70
pop esi
pop ebx
leave
ret
Function at 0x1000ef36
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10053040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [str._xNY_QoSZHJ]
mov eax, dword [0x1005692c]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x20], eax
push edi
mov edi, dword [0x10056928]
mov ecx, ebx
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x24], bl
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0xf
jb 0x1000ef69
sub esp, 0x18
mov byte [ebp - 0x24], bl
lea eax, [ebp - 0x33]
mov ecx, esp
push eax
call fcn.10003da0
lea ecx, [ebp - 0x1c]
call fcn.10031895
add esp, 0x18
test edi, edi
jle 0x1000efcc
cmp dword [ebp - 8], 0xf
lea esi, [ebp - 0x1c]
cmova esi, dword [ebp - 0x1c]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000efa4
sub esi, ecx
mov eax, ebx
cmp dword [ebp - 8], 0xf
lea ecx, [ebp - 0x1c]
cmova ecx, dword [ebp - 0x1c]
xor edx, edx
div esi
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x20]
xor byte [ecx + ebx], al
inc ebx
cmp ebx, edi
jl 0x1000ef96
lea ecx, [ebp - 0x1c]
call fcn.10003b9e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003bff4
leave
ret
Function at 0x1000f3d2
Capabilities:
Encode data using xor

Disassembly:
push 0x5c
mov eax, 0x1003e791
call fcn.1003d3d1
mov esi, ecx
test esi, esi
je 0x1000f544
xor ebx, ebx
lea edi, [ebp - 0x34]
push 7
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebp - 0x34], vtable.ByteBuffer.0
mov byte [ebp - 0x30], 1
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], 0x20
call fcn.100081a4
mov dword [ebp - 0x34], vtable.Packet.0
xor edi, edi
inc edi
mov dword [ebp - 4], edi
cmp dword [esi + 4], ebx
jle 0x1000f49a
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x50]
push dword [esi + 4]
mov al, byte [eax]
mov byte [ebp - 0x14], al
call fcn.10008211
push edi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], vtable.Packet.0
call fcn.10008365
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x34]
call fcn.1000eefd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x50], vtable.ByteBuffer.0
call fcn.10008288
mov eax, dword [esi + 4]
test eax, eax
jle 0x1000f49a
dec eax
lea ecx, [ebp - 0x34]
push eax
mov eax, dword [esi + 8]
inc eax
push eax
call fcn.10008365
cmp byte [0x100568bd], 0
jne 0x1000f52d
mov eax, dword [ebp - 0x24]
mov ecx, ebx
mov edi, dword [ebp - 0x20]
movaps xmm0, xmmword [0x1004c900]
sub edi, eax
mov dword [ebp - 0x18], eax
movups xmmword [ebp - 0x64], xmm0
mov byte [ebp - 0x54], bl
mov al, byte [ebp - 0x64]
xor byte [ebp + ecx - 0x63], al
inc ecx
cmp ecx, 0xf
jb 0x1000f4c2
sub esp, 0x18
mov byte [ebp - 0x54], bl
lea eax, [ebp - 0x63]
mov ecx, esp
push eax
call fcn.10003da0
lea ecx, [ebp - 0x4c]
call fcn.10031895
add esp, 0x18
test edi, edi
jle 0x1000f525
cmp dword [ebp - 0x38], 0xf
lea esi, [ebp - 0x4c]
cmova esi, dword [ebp - 0x4c]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000f4fd
sub esi, ecx
mov eax, ebx
cmp dword [ebp - 0x38], 0xf
lea ecx, [ebp - 0x4c]
cmova ecx, dword [ebp - 0x4c]
xor edx, edx
div esi
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x18]
xor byte [ebx + ecx], al
inc ebx
cmp ebx, edi
jl 0x1000f4ef
lea ecx, [ebp - 0x4c]
call fcn.10003b9e
lea ecx, [ebp - 0x34]
call fcn.1000f2d5
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x34], vtable.ByteBuffer.0
call fcn.10008288
call fcn.1003d38f
ret
Function at 0x1000f7d6
Capabilities:
Encode data using xor

Disassembly:
push 0x58
mov eax, 0x1003e7d5
call fcn.1003d3d1
cmp byte [0x100568bc], 0
je 0x1000f8fe
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [0x10056938]
sbb edx, dword [0x1005693c]
mov dword [ebp - 0x50], edx
jne 0x1000f811
cmp eax, 0xbb8
jb 0x1000f8fe
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
movaps xmm0, xmmword [str.H_f:___e.__t____]
xor ecx, ecx
mov dword [0x10056938], eax
mov dword [0x1005693c], edx
movups xmmword [ebp - 0x64], xmm0
mov al, byte [ebp - 0x64]
xor byte [ebp + ecx - 0x63], al
inc ecx
cmp ecx, 0xe
jb 0x1000f82f
sub esp, 0x18
mov byte [ebp - 0x55], 0
lea eax, [ebp - 0x63]
mov ecx, esp
push eax
call fcn.10003da0
lea ecx, [ebp - 0x4c]
call fcn.10031895
add esp, 0x18
and dword [ebp - 4], 0
lea edi, [ebp - 0x34]
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x14], 0xa1
rep stosd dword es:[edi], eax
push 0x1000
lea ecx, [ebp - 0x34]
call fcn.10008211
push 1
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], vtable.Packet.0
call fcn.10008365
push 1
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x14], 0xa2
call fcn.10008365
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x34]
cmova eax, dword [ebp - 0x4c]
push eax
call fcn.1000814f
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
sub ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x50], eax
cmp ecx, 0x4000
ja 0x1000f8e7
mov ecx, dword ds:[0x1004188c]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x18]
push dword [ebp - 0x50]
call dword [0x10041888]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x34], vtable.ByteBuffer.0
call fcn.10008288
lea ecx, [ebp - 0x4c]
call fcn.10003b9e
call fcn.1003d38f
ret
Function at 0x1000fcbc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
mov edi, dword [0x10056840]
call fcn.10007417
mov dword [edi], eax
lea eax, [edi + 8]
push eax
call fcn.100074dd
lea eax, [edi + 0x20]
xor ebx, ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.100074dd
mov ecx, eax
call fcn.1000758a
mov byte [edi + 0x38], al
call fcn.1000758a
mov byte [edi + 0x39], al
call fcn.10007568
mov word [edi + 0x3e], ax
call fcn.1000758a
mov byte [edi + 0x3a], al
call fcn.1000758a
mov byte [edi + 0x3b], al
call fcn.1000758a
mov byte [edi + 0x3c], al
call fcn.1000758a
mov byte [edi + 0x68], al
call fcn.1000758a
mov byte [edi + 0x69], al
call fcn.1000758a
mov byte [edi + 0x6a], al
call fcn.1000758a
mov byte [edi + 0x6b], al
call fcn.1000758a
mov byte [edi + 0x6c], al
call fcn.10007417
mov dword [edi + 0x4c], eax
call fcn.10007417
mov ecx, dword [0x10056848]
mov dword [edi + 0x50], eax
mov byte [0x100568bc], 1
test ecx, ecx
je 0x1000fd77
mov ecx, dword [ecx + 0x20]
test ecx, ecx
je 0x1000fd77
call fcn.10014c95
mov eax, dword [0x10056844]
test eax, eax
je 0x1000fda2
cmp byte [eax], bl
jne 0x1000fda2
push ebx
push ebx
push eax
push 0x1001113c
push ebx
push ebx
mov byte [eax], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1000fda2
mov ecx, eax
call fcn.10010e27
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10010ab8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10053040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1004bf50]
push ebx
xor ebx, ebx
mov dword [ebp - 0x24], 0x2f23296e
push esi
mov esi, ecx
mov byte [ebp - 0x20], bl
movups xmmword [ebp - 0x34], xmm0
mov ecx, ebx
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x13
jb 0x10010ae5
lea eax, [ebp - 0x33]
mov byte [ebp - 0x20], bl
push eax
mov edx, 0x10054488
lea ecx, [ebp - 0x1c]
call fcn.1000c325
mov eax, dword [esi + 0x1fc]
pop ecx
test eax, eax
je 0x10010b18
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [ebp - 8], 0xf
lea eax, [ebp - 0x1c]
push 0x8010
cmova eax, dword [ebp - 0x1c]
push ebx
push ebx
push 1
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [esi + 0x1fc], eax
test eax, eax
je 0x10010b52
mov dword [esi + 0x14], eax
cmp byte [esi + 0x200], bl
je 0x10010b52
push esi
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
lea ecx, [ebp - 0x1c]
call fcn.10003b9e
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1003bff4
leave
ret
Function at 0x10010ca1
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, 0x2f4
mov eax, dword [0x10053040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x2f4], 0x5d456331
push esi
mov cl, 0x31
mov dword [ebp - 0x2f0], 0x55505e7d
mov dword [ebp - 0x2ec], 0x58434562
mov eax, ebx
mov word [ebp - 0x2e8], 0x565f
mov byte [ebp - 0x2e6], bl
xor byte [ebp + eax - 0x2f3], cl
inc eax
cmp eax, 0xd
jae 0x10010cfe
mov cl, byte [ebp - 0x2f4]
jmp 0x10010ce9
mov byte [ebp - 0x2e6], bl
mov cl, 0x40
mov dword [ebp - 0x2e4], 0x24342e40
mov eax, ebx
mov dword [ebp - 0x2e0], 0x246e2c2c
mov word [ebp - 0x2dc], 0x2c2c
mov byte [ebp - 0x2da], bl
xor byte [ebp + eax - 0x2e3], cl
inc eax
cmp eax, 9
jae 0x10010d40
mov cl, byte [ebp - 0x2e4]
jmp 0x10010d2b
lea eax, [ebp - 0x2f3]
mov byte [ebp - 0x2da], bl
push eax
lea eax, [ebp - 0x2e3]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
add esi, 0x430
je 0x10010e17
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push 0x40
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10010e17
push 0x2c8
lea eax, [ebp - 0x2d4]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10010e17
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x10010e17
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x10010e17
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], 0x100019fc
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x10010e17
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
cmove esi, ecx
mov eax, esi
jmp 0x10010e19
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1003bff4
leave
ret