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

Disassembly:
push 0xcc
mov eax, 0x10039ae5
call fcn.10039131
mov edi, ecx
mov dword [ebp - 0xc4], edi
and dword [ebp - 0xc8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x98
mov ebx, eax
lea eax, [ebp - 0xa8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.10004351
xor edx, edx
mov cl, 0x74
mov dword [ebp - 4], edx
mov al, 0x29
movaps xmm0, xmmword [0x10047ad0]
xor al, cl
mov byte [ebp - 0xac], cl
mov ecx, edx
mov byte [ebp - 0xab], al
mov byte [ebp - 0xaa], dl
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xb0], 0x116a3e
mov al, byte [ebp - 0xc0]
xor byte [ebp + ecx - 0xbf], al
inc ecx
cmp ecx, 0x12
jb 0x10004148
push edx
lea eax, [ebp - 0xd8]
mov byte [ebp - 0xad], dl
push 8
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
add esp, 0xc
lea edx, [ebp - 0xbf]
lea ecx, [ebp - 0xa8]
mov esi, eax
push 0x10004d02
push 0x10004d1c
call fcn.10004b4c
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov edx, esi
mov ecx, eax
call fcn.10004cd8
mov ecx, eax
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov byte [eax + ecx + 0x40], 0x30
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
lea edx, [ebp - 0xab]
mov ecx, eax
call fcn.10004b4c
push edi
lea ecx, [ebp - 0xa8]
call fcn.10004305
lea ecx, [ebp - 0x58]
call fcn.10004321
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, edi
call fcn.100390db
ret
Function at 0x10004203
Capabilities:
Terminate process

Disassembly:
push 0x24
mov eax, 0x10039b15
call fcn.10039131
call fcn.1000210b
test al, al
je 0x10004220
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea ecx, [ebp - 0x2c]
call fcn.100040cc
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
inc eax
push eax
push ecx
push 0xfe5d24
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
call fcn.1000aad3
call fcn.10009ce8
call fcn.10009ec4
call fcn.1000f89d
mov dword [0x100501a0], eax
call fcn.1000bd7f
call fcn.1000f465
call fcn.1000fdfe
push 0x70
call fcn.10038046
pop ecx
mov ecx, eax
mov dword [ebp - 0x30], eax
call fcn.1000e41c
push 0x64
mov dword [0x100500a0], eax
call fcn.10038046
pop ecx
push 0x64
mov esi, eax
push 0
push esi
mov dword [ebp - 0x30], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.10006e90
mov dword [0x100500a8], eax
test eax, eax
je 0x100042bd
call fcn.100075bb
call fcn.10008944
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10003f4a
call fcn.100390db
ret
Function at 0x10006b82
Capabilities:
Encode data using xor

Disassembly:
push 0x184
mov eax, 0x10039f74
call fcn.10039131
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x170], esi
lea eax, [ebp - 0x16f]
mov word [ebp - 0x170], 0x6c
xor ebx, ebx
lea ecx, [ebp - 0x130]
push eax
mov dword [ebp - 0x190], ebx
mov byte [ebp - 0x16f], bl
call fcn.1000409e
mov dword [ebp - 4], ebx
test edi, edi
jne 0x10006bea
lea eax, [ebp - 0x130]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
push eax
mov byte [esi], bl
call fcn.10003b0e
jmp 0x10006cde
movaps xmm0, xmmword [0x100480d0]
mov edx, ebx
movups xmmword [ebp - 0x18c], xmm0
mov dword [ebp - 0x17c], 0x50581850
mov dword [ebp - 0x178], 0x3d505511
mov dword [ebp - 0x174], 0x38504f
mov cl, byte [ebp - 0x18c]
xor byte [ebp + edx - 0x18b], cl
inc edx
cmp edx, 0x1a
jb 0x10006c18
lea eax, [ebp - 0x18b]
mov byte [ebp - 0x171], bl
push eax
lea ecx, [ebp - 0x148]
call fcn.1000409e
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x16c]
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 - 0x134], 0x10
lea ecx, [ebp - 0x16c]
push ecx
lea eax, [ebp - 0x148]
cmovae eax, dword [ebp - 0x148]
push eax
lea eax, [ebp - 0x110]
push pe_nt_image_headers32
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
add esp, 0x18
lea ecx, [ebp - 0x110]
call fcn.10004086
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x130]
call fcn.10004017
lea eax, [ebp - 0x130]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
push eax
mov byte [esi], bl
call fcn.10003b0e
push ebx
push 1
lea ecx, [ebp - 0x148]
call fcn.10003f4a
push ebx
push 1
lea ecx, [ebp - 0x130]
call fcn.10003f4a
mov eax, esi
call fcn.100390db
ret

Function at 0x10009134
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x1004e014]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [esp + 0x10], 0x128
push esi
push 2
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x10009188
cmp dword [esp + 0x18], ebx
je 0x1000918e
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10009176
jmp 0x10009191
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10038035
mov esp, ebp
pop ebp
ret

Function at 0x1000924e
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 [0x1004e054], 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 + 0x1004e054], ecx
inc edx
cmp edx, esi
jl 0x10009263
mov dword [0x1004e050], esi
pop esi
pop ebp
ret 8
Function at 0x100092f9
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 0x10009341
lea edx, [esi + 8]
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
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 0x10009309
jmp 0x1000934e
cmp dword [esi], 0x4e0
jb 0x1000934e
call fcn.10009388
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 0x10009388
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov ecx, dword [edi + 4]
xor ecx, dword [edi]
and ecx, 0x7fffffff
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebx, 1
jne 0x10009398
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov ecx, dword [edi + 4]
xor ecx, dword [edi]
and ecx, 0x7fffffff
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebx, 1
jne 0x100093d8
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, 0x7fffffff
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], ebx
pop esi
pop ebx
ret
Function at 0x10009ce8
Capabilities:
Contain obfuscated stackstrings
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 [0x100480f0]
movups xmmword [ebp - 0x34], xmm0
push ebx
movaps xmm0, xmmword [0x100481c0]
xor ebx, ebx
movups xmmword [ebp - 0x24], xmm0
mov ecx, ebx
movaps xmm0, xmmword [0x10047330]
push esi
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x2e
jb 0x10009d15
push ebx
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], bl
push eax
push ebx
push 0x100500f4
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10009df9
push 0x100500f0
push ebx
push ebx
push 0x8004
push dword [0x100500f4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10009df9
movaps xmm0, xmmword [0x10047e00]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x227a2c2b
movaps xmm0, xmmword [0x10048420]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x287e380a
movaps xmm0, xmmword [0x10048250]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x6b3a301f
mov word [ebp - 4], 0x37
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x10009d9e
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], bl
push eax
push dword [0x100500f0]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10009df9
push 0x100500ec
push 0x800000
push dword [0x100500f0]
push 0x6801
push dword [0x100500f4]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x10009df9
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 [0x100500e8], eax
call fcn.10036c80
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.10037150
mov ebx, 0x10009c27
push ebx
push 0x100500e4
call fcn.10036990
call fcn.10036ce0
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10009e64
mov dword [0x100500e4], 0x60f6e0
call fcn.10036c80
call esi
push eax
call fcn.10037150
push ebx
push 0x100500e4
call fcn.10036500
call fcn.10036ce0
call fcn.10036c80
call esi
push eax
call fcn.10037150
mov ebx, 0x10009c49
push ebx
push 0x100500e0
call fcn.10036990
call fcn.10036ce0
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10009ebe
mov dword [0x100500e0], 0x60eab0
call fcn.10036c80
call esi
push eax
call fcn.10037150
push ebx
push 0x100500e0
call fcn.10036500
call fcn.10036ce0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000d7e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1004e014]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10047f60]
push ebx
mov ebx, dword [0x10050180]
push esi
mov dword [ebp - 0x20], ecx
xor ecx, ecx
push edi
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x24], 0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0xf
jb 0x1000d811
sub esp, 0x18
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x33]
mov ecx, esp
push eax
call fcn.1000409e
lea ecx, [ebp - 0x1c]
call fcn.10030be1
add esp, 0x18
xor edi, edi
test ebx, ebx
jle 0x1000d877
cmp dword [ebp - 8], 0x10
lea esi, [ebp - 0x1c]
cmovae esi, dword [ebp - 0x1c]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000d84f
sub esi, ecx
mov eax, edi
cmp dword [ebp - 8], 0x10
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
xor edx, edx
div esi
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x20]
xor byte [ecx + edi], al
inc edi
cmp edi, ebx
jl 0x1000d841
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.10003f4a
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10038035
mov esp, ebp
pop ebp
ret
Function at 0x1000dbfd
Capabilities:
Encode data using xor

Disassembly:
push 0x5c
mov eax, 0x1003a3a4
call fcn.10039131
mov esi, ecx
test esi, esi
je 0x1000dd7c
xor ebx, ebx
lea edi, [ebp - 0x30]
push 7
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebp - 0x30], vtable.ByteBuffer.0
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push 0x20
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.1000645a
mov dword [ebp - 0x30], vtable.Packet.0
xor edi, edi
inc edi
mov dword [ebp - 4], edi
cmp dword [esi + 4], ebx
jle 0x1000dcce
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x4c]
push dword [esi + 4]
mov al, byte [eax]
mov byte [ebp - 0x14], al
call fcn.100063d5
push edi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], vtable.Packet.0
call fcn.10006579
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
mov al, byte [ebp - 0x48]
mov byte [ebp - 0x2c], al
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.1000e136
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x4c], vtable.ByteBuffer.0
call fcn.10006511
mov eax, dword [esi + 4]
test eax, eax
jle 0x1000dcce
dec eax
lea ecx, [ebp - 0x30]
push eax
mov eax, dword [esi + 8]
inc eax
push eax
call fcn.10006579
cmp byte [0x10050118], 0
jne 0x1000dd65
mov eax, dword [ebp - 0x20]
mov ecx, ebx
mov edi, dword [ebp - 0x1c]
movaps xmm0, xmmword [0x10048140]
sub edi, eax
mov dword [ebp - 0x50], 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 0x1000dcf6
sub esp, 0x18
mov byte [ebp - 0x54], bl
lea eax, [ebp - 0x63]
mov ecx, esp
push eax
call fcn.1000409e
lea ecx, [ebp - 0x48]
call fcn.10030be1
add esp, 0x18
test edi, edi
jle 0x1000dd59
cmp dword [ebp - 0x34], 0x10
lea esi, [ebp - 0x48]
cmovae esi, dword [ebp - 0x48]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000dd31
sub esi, ecx
mov eax, ebx
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
xor edx, edx
div esi
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x50]
xor byte [ebx + ecx], al
inc ebx
cmp ebx, edi
jl 0x1000dd23
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.10003f4a
lea ecx, [ebp - 0x30]
call fcn.1000db1a
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.10006511
call fcn.100390db
ret
Function at 0x1000e01a
Capabilities:
Encode data using xor

Disassembly:
push 0x54
mov eax, 0x1003a3e1
call fcn.10039131
cmp byte [0x100500bb], 0
je 0x1000e127
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [0x10050188]
sbb edx, dword [0x1005018c]
mov dword [ebp - 0x5c], edx
jne 0x1000e055
cmp eax, 0xbb8
jb 0x1000e127
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
movaps xmm0, xmmword [0x10047540]
mov dword [0x1005018c], edx
xor edx, edx
mov dword [0x10050188], eax
movups xmmword [ebp - 0x58], xmm0
mov cl, byte [ebp - 0x58]
xor byte [ebp + edx - 0x57], cl
inc edx
cmp edx, 0xe
jb 0x1000e073
sub esp, 0x18
mov byte [ebp - 0x49], 0
lea eax, [ebp - 0x57]
mov ecx, esp
push eax
call fcn.1000409e
lea ecx, [ebp - 0x48]
call fcn.10030be1
add esp, 0x18
and dword [ebp - 4], 0
lea edi, [ebp - 0x30]
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x14], 0xa1
rep stosd dword es:[edi], eax
push 0x1000
lea ecx, [ebp - 0x30]
call fcn.100063d5
push 1
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], vtable.Packet.0
call fcn.10006579
push 1
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x14], 0xa2
call fcn.10006579
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
cmovae eax, dword [ebp - 0x48]
push eax
call fcn.1000637c
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub edx, ecx
call fcn.1000babd
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.10006511
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.10003f4a
call fcn.100390db
ret

Function at 0x1000f6ad
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1004e014]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10047700]
push ebx
xor ebx, ebx
mov dword [ebp - 0x24], 0x20e0443
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 0x1000f6da
lea eax, [ebp - 0x33]
mov byte [ebp - 0x20], bl
push eax
mov edx, 0x1004f3f0
lea ecx, [ebp - 0x1c]
call fcn.1000a8a8
mov eax, dword [esi + 0x1fc]
pop ecx
test eax, eax
je 0x1000f70d
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 0x8010
cmovae 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 0x1000f747
mov dword [esi + 0x14], eax
cmp byte [esi + 0x200], bl
je 0x1000f747
push esi
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.10003f4a
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10038035
mov esp, ebp
pop ebp
ret
Function at 0x1000f89d
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, 0x2f4
mov eax, dword [0x1004e014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x2f4], 0x3c240250
push esi
mov cl, 0x50
mov dword [ebp - 0x2f0], 0x34313f1c
mov dword [ebp - 0x2ec], 0x39222403
mov eax, ebx
mov word [ebp - 0x2e8], 0x373e
mov byte [ebp - 0x2e6], bl
xor byte [ebp + eax - 0x2f3], cl
inc eax
cmp eax, 0xd
jae 0x1000f8fa
mov cl, byte [ebp - 0x2f4]
jmp 0x1000f8e5
mov byte [ebp - 0x2e6], bl
mov cl, 0x6d
mov dword [ebp - 0x2e4], 0x919036d
mov eax, ebx
mov dword [ebp - 0x2e0], 0x9430101
mov word [ebp - 0x2dc], 0x101
mov byte [ebp - 0x2da], bl
xor byte [ebp + eax - 0x2e3], cl
inc eax
cmp eax, 9
jae 0x1000f93c
mov cl, byte [ebp - 0x2e4]
jmp 0x1000f927
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
jne 0x1000f96e
xor eax, eax
jmp 0x1000fa14
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 0x1000f967
push 0x2cc
lea eax, [ebp - 0x2d8]
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 0x1000f967
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1000f967
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1000f967
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], 0x1000199f
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x1000f967
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
cmove esi, ecx
mov eax, esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10038035
mov esp, ebp
pop ebp
ret
Function at 0x1000fa24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], 0x7969731d
mov esi, ecx
mov dword [ebp - 8], 0x79337171
push edi
mov cl, 0x1d
mov word [ebp - 4], 0x7171
mov byte [ebp - 2], bl
mov eax, ebx
xor byte [ebp + eax - 0xb], cl
inc eax
cmp eax, 9
jae 0x1000fa5b
mov cl, byte [ebp - 0xc]
jmp 0x1000fa4c
lea eax, [ebp - 0xb]
mov byte [ebp - 2], bl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, eax
test edx, edx
jne 0x1000fa72
xor al, al
jmp 0x1000fac7
movaps xmm0, xmmword [str.0_n_e_n7]
mov ecx, ebx
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0xc162a10
mov dword [ebp - 0x10], 0x1a1f1b
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x16
jb 0x1000fa8d
lea eax, [ebp - 0x23]
mov byte [ebp - 0xd], bl
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1000fa6e
test esi, esi
jne 0x1000faba
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
push ebx
push ebx
push 0x11
push esi
call edi
neg eax
sbb al, al
inc al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000face
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
pushal
pushfd
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 8]
jne 0x1000fb08
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1000fb0c
cmp edx, esi
jne 0x1000faf1
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 8]
jne 0x1000fb2c
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1000fb30
cmp edx, esi
jne 0x1000fb15
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jne 0x1000fb50
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1000fb54
cmp edx, esi
jne 0x1000fb39
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret