joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004c9a
Capabilities:
Create thread
Terminate process

Disassembly:
call fcn.10002155
test al, al
jne 0x10004d39
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.100075f8
call fcn.10007687
call fcn.100112a3
mov dword [0x10057970], eax
test eax, eax
je 0x10004cce
mov ecx, eax
call fcn.10011429
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 0x10004910
push edi
push edi
mov dword [0x10057870], eax
mov dword [0x10057874], edx
mov dword [0x10057878], eax
mov dword [0x1005787c], edx
call esi
mov ebx, eax
test ebx, ebx
je 0x10004d39
push edi
push edi
push edi
push 0x10004abb
push edi
push edi
call esi
mov edi, eax
test edi, edi
je 0x10004d39
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 0x100075f8
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
test eax, eax
jne 0x10007613
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 0x10007678
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 0x10007678
push ecx
mov ecx, dword [ebp - 8]
mov edx, str.SeSecurityPrivilege
call fcn.1000759e
pop ecx
test al, al
je 0x10007678
push ecx
mov ecx, dword [ebp - 8]
mov edx, str.SeDebugPrivilege
call fcn.1000759e
pop ecx
test al, al
je 0x10007678
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1000767a
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1003c8c4
leave
ret
Function at 0x10007687
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10054040]
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 0x1000773a
movaps xmm0, xmmword [0x1004d1c0]
push ebx
xor ebx, ebx
mov word [ebp - 0x24], 0x3e
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 0x100076cb
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 0x100076fb
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10007739
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 0x1000772e
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.1003c8c4
leave
ret
Function at 0x10008905
Capabilities:
Encode data using xor

Disassembly:
push 0x16c
mov eax, 0x1003ec99
call fcn.1003dd61
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], 0x77
push eax
mov byte [ebp - 0x157], bl
call fcn.10003d99
mov dword [ebp - 4], ebx
mov dword [ebp - 0x158], 1
test edi, edi
je 0x10008a3d
movaps xmm0, xmmword [0x1004cc60]
mov ecx, ebx
movups xmmword [ebp - 0x174], xmm0
mov dword [ebp - 0x164], 0x40c4c04
mov dword [ebp - 0x160], 0x69040145
mov dword [ebp - 0x15c], 0x6c041b
mov al, byte [ebp - 0x174]
xor byte [ebp + ecx - 0x173], al
inc ecx
cmp ecx, 0x1a
jb 0x1000898e
lea eax, [ebp - 0x173]
mov byte [ebp - 0x159], bl
push eax
lea ecx, [ebp - 0x130]
call fcn.10003d99
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 0x10008a1a
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, esi
call fcn.10003b04
lea ecx, [ebp - 0x130]
call fcn.10003b97
mov eax, esi
call fcn.1003dd1f
ret

Function at 0x1000ad1f
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x10054040]
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 0x1000ad73
cmp dword [esp + 0x18], edi
je 0x1000ad95
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1000ad61
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.1003c8c4
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 0x1000ad7e
push eax
call esi
jmp 0x1000ad7e

Function at 0x1000ae7d
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 [0x100540ec], 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 + 0x100540ec], ecx
inc edx
cmp edx, esi
jb 0x1000ae92
mov dword [0x100540e8], esi
pop esi
pop ebp
ret 8
Function at 0x1000aeb8
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 0x1000af00
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 0x1000aec8
jmp 0x1000af0d
cmp dword [esi], 0x4e0
jb 0x1000af0d
call fcn.1000af47
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 0x1000af47
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 0x1000af60
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 0x1000afaa
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 0x1000b91b
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 [0x1004d3c0]
movups xmmword [ebp - 0x34], xmm0
push ebx
movaps xmm0, xmmword [0x1004d460]
xor ebx, ebx
movups xmmword [ebp - 0x24], xmm0
mov ecx, ebx
movaps xmm0, xmmword [str.D_awUHQNCBU_aQ]
push esi
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x2e
jb 0x1000b948
push ebx
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], bl
push eax
push ebx
push 0x100578c4
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1000ba2c
push 0x100578c0
push ebx
push ebx
push 0x8004
push dword [0x100578c4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1000ba2c
movaps xmm0, xmmword [0x1004ce80]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x3c643235
movaps xmm0, xmmword [0x1004d6b0]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x36602614
movaps xmm0, xmmword [0x1004d920]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x75242e01
mov word [ebp - 4], 0x29
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x1000b9d1
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], bl
push eax
push dword [0x100578c0]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1000ba2c
push 0x100578bc
push 0x800000
push dword [0x100578c0]
push 0x6801
push dword [0x100578c4]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1000ba2c
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 [0x100578b8], eax
call fcn.1003b4e0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1003b9b0
mov ebx, 0x1000b860
push ebx
push 0x100578b4
call fcn.1003b1f0
call fcn.1003b540
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000ba97
mov dword [0x100578b4], 0x60f6e0
call fcn.1003b4e0
call esi
push eax
call fcn.1003b9b0
push ebx
push 0x100578b4
call fcn.1003ad60
call fcn.1003b540
call fcn.1003b4e0
call esi
push eax
call fcn.1003b9b0
mov ebx, 0x1000b882
push ebx
push 0x100578b0
call fcn.1003b1f0
call fcn.1003b540
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000baf1
mov dword [0x100578b0], 0x60eab0
call fcn.1003b4e0
call esi
push eax
call fcn.1003b9b0
push ebx
push 0x100578b0
call fcn.1003ad60
call fcn.1003b540
pop esi
pop ebx
leave
ret
Function at 0x1000f534
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1004cb30]
mov eax, dword [0x10057950]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x20], eax
push edi
mov edi, dword [0x1005794c]
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 0x1000f567
sub esp, 0x18
mov byte [ebp - 0x24], bl
lea eax, [ebp - 0x33]
mov ecx, esp
push eax
call fcn.10003d99
lea ecx, [ebp - 0x1c]
call fcn.10032181
add esp, 0x18
test edi, edi
jle 0x1000f5ca
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 0x1000f5a2
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 [ebx + ecx], al
inc ebx
cmp ebx, edi
jl 0x1000f594
lea ecx, [ebp - 0x1c]
call fcn.10003b97
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c8c4
leave
ret
Function at 0x1000f9d0
Capabilities:
Encode data using xor

Disassembly:
push 0x5c
mov eax, 0x1003f12a
call fcn.1003dd61
mov esi, ecx
test esi, esi
je 0x1000fb42
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.100081c0
mov dword [ebp - 0x34], vtable.Packet.0
xor edi, edi
inc edi
mov dword [ebp - 4], edi
cmp dword [esi + 4], ebx
jle 0x1000fa98
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x50]
push dword [esi + 4]
mov al, byte [eax]
mov byte [ebp - 0x14], al
call fcn.1000822d
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.10008381
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x34]
call fcn.1000f4fb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x50], vtable.ByteBuffer.0
call fcn.100082a4
mov eax, dword [esi + 4]
test eax, eax
jle 0x1000fa98
dec eax
lea ecx, [ebp - 0x34]
push eax
mov eax, dword [esi + 8]
inc eax
push eax
call fcn.10008381
cmp byte [0x100578e1], 0
jne 0x1000fb2b
mov eax, dword [ebp - 0x24]
mov ecx, ebx
mov edi, dword [ebp - 0x20]
movaps xmm0, xmmword [0x1004d700]
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 0x1000fac0
sub esp, 0x18
mov byte [ebp - 0x54], bl
lea eax, [ebp - 0x63]
mov ecx, esp
push eax
call fcn.10003d99
lea ecx, [ebp - 0x4c]
call fcn.10032181
add esp, 0x18
test edi, edi
jle 0x1000fb23
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 0x1000fafb
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 0x1000faed
lea ecx, [ebp - 0x4c]
call fcn.10003b97
lea ecx, [ebp - 0x34]
call fcn.1000f8d3
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x34], vtable.ByteBuffer.0
call fcn.100082a4
call fcn.1003dd1f
ret
Function at 0x1000fdd4
Capabilities:
Encode data using xor

Disassembly:
push 0x58
mov eax, 0x1003f16e
call fcn.1003dd61
cmp byte [0x100578e0], 0
je 0x1000fefc
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [0x10057958]
sbb edx, dword [0x1005795c]
mov dword [ebp - 0x50], edx
jne 0x1000fe0f
cmp eax, 0xbb8
jb 0x1000fefc
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
movaps xmm0, xmmword [0x1004c890]
xor ecx, ecx
mov dword [0x10057958], eax
mov dword [0x1005795c], edx
movups xmmword [ebp - 0x64], xmm0
mov al, byte [ebp - 0x64]
xor byte [ebp + ecx - 0x63], al
inc ecx
cmp ecx, 0xe
jb 0x1000fe2d
sub esp, 0x18
mov byte [ebp - 0x55], 0
lea eax, [ebp - 0x63]
mov ecx, esp
push eax
call fcn.10003d99
lea ecx, [ebp - 0x48]
call fcn.10032181
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.1000822d
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.10008381
push 1
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x14], 0xa2
call fcn.10008381
cmp dword [ebp - 0x34], 0xf
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
cmova eax, dword [ebp - 0x48]
push eax
call fcn.1000816b
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
cmp ecx, 0x4000
ja 0x1000fee5
mov ecx, dword ds:[0x10042be4]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call dword [0x10042be0]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.100082a4
lea ecx, [ebp - 0x48]
call fcn.10003b97
call fcn.1003dd1f
ret
Function at 0x100102ba
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 [0x10057860]
call fcn.1000740b
mov dword [edi], eax
lea eax, [edi + 8]
push eax
call fcn.100074d0
lea eax, [edi + 0x20]
xor ebx, ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.100074d0
mov ecx, eax
call fcn.1000757d
mov byte [edi + 0x38], al
call fcn.1000757d
mov byte [edi + 0x39], al
call fcn.1000755b
mov word [edi + 0x3e], ax
call fcn.1000757d
mov byte [edi + 0x3a], al
call fcn.1000757d
mov byte [edi + 0x3b], al
call fcn.1000757d
mov byte [edi + 0x3c], al
call fcn.1000757d
mov byte [edi + 0x68], al
call fcn.1000757d
mov byte [edi + 0x69], al
call fcn.1000757d
mov byte [edi + 0x6a], al
call fcn.1000757d
mov byte [edi + 0x6b], al
call fcn.1000757d
mov byte [edi + 0x6c], al
call fcn.1000740b
mov dword [edi + 0x4c], eax
call fcn.1000740b
mov ecx, dword [0x10057868]
mov dword [edi + 0x50], eax
mov byte [0x100578e0], 1
test ecx, ecx
je 0x10010375
mov ecx, dword [ecx + 0x20]
test ecx, ecx
je 0x10010375
call fcn.100152c5
mov eax, dword [0x10057864]
test eax, eax
je 0x100103a0
cmp byte [eax], bl
jne 0x100103a0
push ebx
push ebx
push eax
push 0x1001173e
push ebx
push ebx
mov byte [eax], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100103a0
mov ecx, eax
call fcn.10011429
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x100110bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1004d1e0]
push ebx
xor ebx, ebx
mov dword [ebp - 0x24], 0x34383275
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 0x100110e9
lea eax, [ebp - 0x33]
mov byte [ebp - 0x20], bl
push eax
mov edx, 0x10055470
lea ecx, [ebp - 0x1c]
call fcn.1000aca0
mov eax, dword [esi + 0x1fc]
pop ecx
test eax, eax
je 0x1001111c
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 0x10011156
mov dword [esi + 0x14], eax
cmp byte [esi + 0x200], bl
je 0x10011156
push esi
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
lea ecx, [ebp - 0x1c]
call fcn.10003b97
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c8c4
leave
ret
Function at 0x100112a3
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 [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x2f4], 0x726a4c1e
push esi
mov cl, 0x1e
mov dword [ebp - 0x2f0], 0x7a7f7152
mov dword [ebp - 0x2ec], 0x776c6a4d
mov eax, ebx
mov word [ebp - 0x2e8], 0x7970
mov byte [ebp - 0x2e6], bl
xor byte [ebp + eax - 0x2f3], cl
inc eax
cmp eax, 0xd
jae 0x10011300
mov cl, byte [ebp - 0x2f4]
jmp 0x100112eb
mov byte [ebp - 0x2e6], bl
mov cl, 0x5b
mov dword [ebp - 0x2e4], 0x3f2f355b
mov eax, ebx
mov dword [ebp - 0x2e0], 0x3f753737
mov word [ebp - 0x2dc], 0x3737
mov byte [ebp - 0x2da], bl
xor byte [ebp + eax - 0x2e3], cl
inc eax
cmp eax, 9
jae 0x10011342
mov cl, byte [ebp - 0x2e4]
jmp 0x1001132d
lea eax, [ebp - 0x2e3]
mov byte [ebp - 0x2da], bl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x2f3]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
add esi, 0x430
je 0x10011419
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 0x10011419
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 0x10011419
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x10011419
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x10011419
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], 0x100019ed
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x10011419
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
cmove esi, ecx
mov eax, esi
jmp 0x1001141b
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c8c4
leave
ret
Function at 0x10011429
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], 0x10001a74
mov esi, ecx
mov dword [ebp - 8], 0x105a1818
push edi
mov cl, 0x74
mov word [ebp - 4], 0x1818
mov byte [ebp - 2], bl
mov eax, ebx
xor byte [ebp + eax - 0xb], cl
inc eax
cmp eax, 9
jae 0x10011460
mov cl, byte [ebp - 0xc]
jmp 0x10011451
lea eax, [ebp - 0xb]
mov byte [ebp - 2], bl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, eax
test edx, edx
je 0x100114ca
movaps xmm0, xmmword [0x1004d4f0]
mov ecx, ebx
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x4e546852
mov dword [ebp - 0x10], 0x585d59
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x16
jb 0x1001148e
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 0x100114ca
test esi, esi
jne 0x100114bb
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
jmp 0x100114cc
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100114d1
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 0x1001150b
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1001150f
cmp edx, esi
jne 0x100114f4
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 0x1001152f
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10011533
cmp edx, esi
jne 0x10011518
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 0x10011553
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10011557
cmp edx, esi
jne 0x1001153c
popfd
popal
pop edi
pop esi
pop ebx
leave
ret