joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002a20
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x400
push 0
push 0x100c2b68
call fcn.10077a60
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
nop
xor eax, eax
test cl, 1
je 0x10002a4b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10002a56
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10002a61
bts eax, 5
shr ecx, 1
test cl, 1
je 0x10002a6c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10002a77
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10002a82
bts eax, 2
shr ecx, 1
test cl, 1
je 0x10002a8d
bts eax, 1
test cl, 2
je 0x10002a96
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax*4 + 0x100c2b68], ebx
lea ecx, [edx + 1]
test bl, 1
je 0x10002b36
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10002b27
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x100c2b68], edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10002a40
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10002b60
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x100be084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x100a7e0c
push eax
or ebx, 0xffffffff
call fcn.10078e2d
add esp, 8
mov dword [ebp - 0x408], eax
test eax, eax
jne 0x10002ba6
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005cea0
mov esp, ebp
pop ebp
ret 4
push esi
push edi
nop dword [eax + eax]
push eax
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.10079010
mov edi, eax
lea esi, [ebp - 0x404]
add esp, 0x10
mov edx, edi
test edi, edi
je 0x10002bef
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x100c2b68]
sub edx, 1
jne 0x10002bd5
mov eax, dword [ebp - 0x408]
cmp edi, 0x400
je 0x10002bb0
push eax
call fcn.100791b7
mov ecx, dword [ebp - 4]
add esp, 4
not ebx
xor ecx, ebp
mov eax, ebx
pop edi
pop esi
pop ebx
call fcn.1005cea0
mov esp, ebp
pop ebp
ret 4
Function at 0x10005910
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10093fca
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100be084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.1005731f
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x100059d0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.10075684
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x100bc340
push eax
call fcn.1007591b
push edi
push esi
call fcn.1005767f
add esp, 8
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.1005cea0
mov esp, ebp
pop ebp
ret 4

Function at 0x1000aad0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100940f6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100be084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1005ceb6
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1005757c
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000e6e0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100be084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push esi
push edi
test eax, eax
jne 0x1000e6fe
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000e7a1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x28
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000e7a1
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
push str.SeSecurityPrivilege
push 0
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1000e7a1
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1000e7a1
push ecx
mov ecx, dword [ebp - 0x18]
mov edx, str.SeDebugPrivilege
call fcn.1000e670
add esp, 4
test al, al
je 0x1000e7a1
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005cea0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.1005cea0
mov esp, ebp
pop ebp
ret

Function at 0x1000e7c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100be084]
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 0x1000e82e
movaps xmm0, xmmword [0x100b2d40]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 0x24], 0x66
nop dword [eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x10
jb 0x1000e800
lea eax, [ebp - 0xc]
mov byte [ebp - 0x23], 0
push eax
lea eax, [ebp - 0x33]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x1000e83e
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005cea0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
push 0
push 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x20]
test eax, eax
je 0x1000e828
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.1005cea0
mov esp, ebp
pop ebp
ret
Function at 0x100134f0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x100be084]
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 0x1001353a
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.1005cea0
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x1c], 0
jg 0x1001354a
jl 0x10013519
cmp dword [esp + 0x18], 0
jbe 0x10013519
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x10]
push eax
xor esi, esi
call ebx
test eax, eax
jne 0x10013571
nop dword [eax]
inc esi
cmp esi, 3
ja 0x10013519
lea eax, [esp + 0x10]
push eax
call ebx
test eax, eax
je 0x10013560
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
call fcn.1005e170
mulsd xmm0, qword [0x100b1f00]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movsd qword [esp + 0x10], xmm0
call fcn.1005e170
movsd xmm1, qword [esp + 0x10]
divsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.1005e01f
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.1005cea0
mov esp, ebp
pop ebp
ret

Function at 0x10013950
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x100be084]
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 0x100139ac
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
cmp dword [ebp - 0x128], edi
je 0x100139c6
lea eax, [ebp - 0x130]
push eax
push esi
call ebx
test eax, eax
jne 0x10013996
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.1005cea0
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.1005cea0
mov esp, ebp
pop ebp
ret

Function at 0x10013b10
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 [0x100beabc], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x100beabc], edx
inc eax
cmp eax, 0x270
jl 0x10013b21
mov dword [0x100beab8], 0x270
pop ebp
ret 8
Function at 0x10013c40
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 0x10013c50
pop esi
ret

Function at 0x10013c90
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 0x10013ca0
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 0x10013ce2
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 0x10014750
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
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
push 0x100c2fd0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10014830
push 0x100c2fcc
push 0
push 0
push 0x8004
push dword [0x100c2fd0]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10014830
movaps xmm0, xmmword [0x100b2800]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x247c2a2d
movaps xmm0, xmmword [0x100b3050]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x2e783e0c
movaps xmm0, xmmword [0x100b2d10]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x6d3c3619
mov word [ebp - 4], 0x31
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x100147d4
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x100c2fcc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10014830
push 0x100c2fc8
push 0x800000
push dword [0x100c2fcc]
push 0x6801
push dword [0x100c2fd0]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x10014830
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x100c2fc4], eax
call fcn.1005baf0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1005bfc0
push 0x10014620
push 0x100c2fc0
call fcn.1005b800
call fcn.1005bb50
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001489f
mov dword [0x100c2fc0], 0x60f6e0
call fcn.1005baf0
call esi
push eax
call fcn.1005bfc0
push 0x10014620
push 0x100c2fc0
call fcn.1005b370
call fcn.1005bb50
call fcn.1005baf0
call esi
push eax
call fcn.1005bfc0
push 0x10014650
push 0x100c2fbc
call fcn.1005b800
call fcn.1005bb50
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100148fc
mov dword [0x100c2fbc], 0x60eab0
call fcn.1005baf0
call esi
push eax
call fcn.1005bfc0
push 0x10014650
push 0x100c2fbc
call fcn.1005b370
call fcn.1005bb50
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100167b0
Capabilities:
Execute anti-debugging instructions
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.1000e6e0
call fcn.1000e7c0
call fcn.100020f0
sidt [esp + 8]
mov eax, dword [esp + 0xa]
and eax, 0xff000000
cmp eax, 0xff000000
jne 0x100167fc
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.10002160
call fcn.10002210
test al, al
jne 0x100167e5
mov dword [esp + 8], 0
mov dword [esp + 4], 0
rdtsc
mov dword [esp + 8], eax
rdtsc
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
sub eax, dword [esp + 8]
cmp eax, 0x1f4
ja 0x100167e5
call fcn.100022c0
call fcn.10020950
mov dword [0x100c305c], eax
test eax, eax
je 0x1001684f
mov ecx, eax
call fcn.10020b40
mov esp, ebp
pop ebp
ret
Function at 0x10016990
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov byte [ebp - 0x24], 0x30
mov al, 0x67
xor al, byte [ebp - 0x24]
mov cl, 0x63
xor cl, byte [ebp - 0x24]
mov ah, 3
mov byte [ebp - 0x23], al
mov dl, 2
mov byte [ebp - 0x22], cl
mov ch, dl
mov cl, byte [ebp - 0x24]
mov dh, 0x1e
mov byte [ebp - 1], 0x5c
xor ah, cl
mov al, byte [ebp - 1]
xor dl, cl
xor al, cl
mov byte [ebp - 2], 0x5c
mov byte [ebp - 0x1b], al
xor ch, cl
mov al, byte [ebp - 2]
xor dh, cl
xor al, cl
mov byte [ebp - 0x1f], ah
mov byte [ebp - 0x1a], al
mov bl, 0x6f
mov bh, 0x54
mov byte [ebp - 0x19], 0
lea eax, [ebp - 0x23]
mov byte [ebp - 0x21], dl
xor bl, cl
mov byte [ebp - 0x1e], ch
xor bh, cl
mov byte [ebp - 0x20], bl
push eax
mov byte [ebp - 0x1d], dh
mov byte [ebp - 0x1c], bh
mov byte [ebp - 0x19], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x10016a20
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ah, 0x1b
mov byte [ebp - 0x13], 0
mov al, 0x68
mov byte [ebp - 0x18], ah
xor al, ah
mov dword [ebp - 8], 0
mov cl, 0x7e
mov byte [ebp - 0x17], al
mov dl, 0x75
mov dword [ebp - 0xc], 0
mov bl, 0x7f
mov byte [ebp - 0x13], 0
xor cl, ah
xor dl, ah
xor bl, ah
mov byte [ebp - 0x16], cl
lea eax, [ebp - 0x17]
mov byte [ebp - 0x15], dl
push eax
push esi
mov byte [ebp - 0x14], bl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
call fcn.10016290
cmp al, 0xe9
je 0x10016a09
mov bh, 0x2a
mov byte [ebp - 0x10], 0
mov al, 0x7d
mov byte [ebp - 0x18], bh
mov ah, 0x4f
mov byte [ebp - 0x10], 0
xor al, bh
xor ah, bh
mov cl, 0x79
mov byte [ebp - 0x17], al
mov byte [ebp - 0x13], ah
mov bl, cl
lea eax, [ebp - 0x17]
mov dl, 0x6b
mov ch, 0x44
mov dh, 0x4e
push eax
xor cl, bh
xor dl, bh
xor ch, bh
mov byte [ebp - 0x16], cl
xor dh, bh
mov byte [ebp - 0x15], dl
xor bl, bh
mov byte [ebp - 0x12], ch
push esi
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x11], dh
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.10016290
pop esi
pop ebx
cmp al, 0xe9
je 0x10016a09
mov esp, ebp
pop ebp
ret
Function at 0x10017ec0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100be084]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x6d12c0
call fcn.10016290
cmp al, 0xe9
jne 0x10017ef5
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x6d12c0
call esi
test eax, eax
jne 0x10017f38
mov dword [0x100c2fec], 0x6d12c0
call fcn.1005baf0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1005bfc0
push 0x10016cb0
push 0x100c2fec
call fcn.1005b370
call fcn.1005bb50
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x6d141e
push eax
call esi
test eax, eax
jne 0x10017f7c
push 4
push 0x10016c30
call esi
test eax, eax
jne 0x10017f7c
call fcn.1005baf0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1005bfc0
push 0x10016c30
lea eax, [ebp - 8]
push eax
call fcn.1005b370
call fcn.1005bb50
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1005cea0
mov esp, ebp
pop ebp
ret

Function at 0x10018100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x100be084]
xor eax, esp
mov dword [esp + 0x38], eax
movaps xmm0, xmmword [str._k_JNB_I_Y]
xor ecx, ecx
mov eax, dword [0x100c3054]
push ebx
push esi
push edi
mov edi, dword [0x100c3050]
mov dword [esp + 0xc], edi
mov dword [esp + 0x24], eax
movups xmmword [esp + 0x10], xmm0
mov byte [esp + 0x20], 0
nop dword [eax]
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0xf
jb 0x10018140
sub esp, 0x18
mov byte [esp + 0x38], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [esp + 0x29], 0
jne 0x10018174
xor ecx, ecx
jmp 0x10018189
lea ecx, [esp + 0x29]
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018180
sub ecx, esi
push ecx
lea eax, [esp + 0x2d]
mov ecx, edx
push eax
call fcn.100055d0
lea ecx, [esp + 0x44]
call fcn.10056f50
mov edx, dword [esp + 0x44]
add esp, 0x18
xor ebx, ebx
test edi, edi
mov edi, dword [esp + 0x40]
jle 0x100181ee
cmp edi, 0x10
lea ecx, [esp + 0x2c]
cmovae ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100181c0
sub ecx, esi
mov eax, ebx
cmp edi, 0x10
lea esi, [esp + 0x2c]
cmovae esi, edx
xor edx, edx
div ecx
mov ecx, dword [esp + 0x24]
mov al, byte [edx + esi]
xor byte [ecx + ebx], al
inc ebx
mov edx, dword [esp + 0x2c]
cmp ebx, dword [esp + 0xc]
jl 0x100181b0
cmp edi, 0x10
jb 0x10018201
lea eax, [edi + 1]
push eax
push edx
lea ecx, [esp + 0x34]
call fcn.10005480
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1005cea0
mov esp, ebp
pop ebp
ret
Function at 0x10018dc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10095600
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100be084]
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 [0x100c2fb9], 0
je 0x10018f95
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call esi
sub eax, dword [0x100c3060]
sbb edx, dword [0x100c3064]
mov dword [ebp - 0x48], edx
jne 0x10018e1b
cmp eax, 0xbb8
jb 0x10018f95
call esi
movaps xmm0, xmmword [str._dREAMsOFTaLIVE]
xor ecx, ecx
mov dword [0x100c3060], eax
mov dword [0x100c3064], edx
movups xmmword [ebp - 0x20], xmm0
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xe
jb 0x10018e35
sub esp, 0x18
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.100056d0
lea ecx, [ebp - 0x44]
call fcn.10056f50
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.1000fe30
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 0x10018eff
lea esi, [eax + 1]
cmp edi, esi
jae 0x10018ef2
push esi
lea ecx, [ebp - 0x1c]
call fcn.1000ffd0
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 0x10018f31
lea esi, [eax + 1]
cmp edx, esi
jae 0x10018f27
push esi
lea ecx, [ebp - 0x1c]
call fcn.1000ffd0
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.1000fc30
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 0x10018f71
mov ecx, dword ds:[0x100a7ebc]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x54]
push dword [ebp - 0x48]
call dword [0x100a7eb8]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
call fcn.1000ff60
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10018f95
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.10005480
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.1005cea0
mov esp, ebp
pop ebp
ret