joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1e9a7ab
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 3]
lea esp, [esp + 0x10]
not edi
jmp 0x1e9a772
Function at 0x1f74437
Capabilities:
Enumerate pe sections

Disassembly:
xchg dword [esp + 9], ebp
push word [esp + 0xd]
mov word [esp + 3], si
jmp 0x1f74440
bswap ecx
mov dx, word [esp + 0xb]
jmp 0x1f74421
mov word [esp], bx
bswap edx
mov cl, byte [esp + 6]
pop ecx
mov dword [esp + 2], esp
jmp 0x1f74476
lea ecx, [eax*4]
lea esp, [esp + 7]
xchg dword [esp], edx
jmp 0x1f744ad
lea ebp, [edi*4]
mov cl, ah
mov dh, 0xfc
mov word [esp + 5], dx
bswap ebp
jmp 0x1f74460
lea esp, [esp]
mov edx, ebp
mov ecx, dword [esp + 4]
mov dx, 0x86b5
mov cl, ch
mov dword [esp], edx
jmp 0x1f74497

Function at 0x1f78164
Capabilities:
Access peb ldr_data

Disassembly:
lea esp, [esp + 2]
mov dword [esp + 4], edi
lea esp, [esp + 4]
jmp 0x1f781ae
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x1f7818f
Function at 0x1000159e
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xc
push 0x10052538
call fcn.10044b40
and dword [ebp - 0x1c], 0
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 2]
and eax, 0xff
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
jmp 0x100015df
call fcn.10044b86
ret

Function at 0x10001671
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1005a694]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1004a460]
push ebx
xor ebx, ebx
movups xmmword [ebp - 0x28], xmm0
mov ecx, ebx
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0xe
jb 0x10001691
mov byte [ebp - 0x19], bl
mov cl, 0x58
mov dword [ebp - 0x18], 0xa1d1358
mov eax, ebx
mov dword [ebp - 0x14], 0x6b141d16
mov dword [ebp - 0x10], 0x343c766a
mov word [ebp - 0xc], 0x34
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xc
jae 0x100016cf
mov cl, byte [ebp - 0x18]
jmp 0x100016c0
lea eax, [ebp - 0x27]
mov byte [ebp - 0xb], bl
push eax
lea eax, [ebp - 0x17]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push 1
lea ecx, [ebp - 5]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [ebp - 5], 0xe9
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop ebx
call fcn.10044a5e
mov esp, ebp
pop ebp
ret

Function at 0x10001712
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100524e0
push 0x10044b9b
mov eax, dword fs:[0]
push eax
push ecx
push ecx
sub esp, 0x38
mov eax, dword [0x1005a694]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
and dword [ebp - 0x50], 0
and dword [ebp - 0x48], 0
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
and dword [ebp - 0x20], 0
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
push dword [ebp - 0x44]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10001790
xor al, al
jmp 0x10001810
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov byte [eax], 0xc3
lea eax, [ebp - 0x20]
push eax
push 0x140
push dword [ebp - 0x44]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100017b9
xor al, al
jmp 0x10001810
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x100017fe
jmp eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10044a5e
mov esp, ebp
pop ebp
ret
Function at 0x100024e2
Capabilities:
Encode data using xor

Disassembly:
push 0xc8
mov eax, 0x1004611a
call fcn.10044ac9
mov edi, dword [ebp + 8]
and dword [ebp - 0xc4], 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
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 1
push 2
call fcn.100021ee
movaps xmm0, xmmword [0x1004a540]
xor edx, edx
mov cl, 0x71
mov dword [ebp - 4], edx
mov al, 0x2c
mov byte [ebp - 0xac], cl
xor al, cl
mov byte [ebp - 0xaa], dl
mov byte [ebp - 0xab], al
mov ecx, edx
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xb0], 0x1b6034
mov al, byte [ebp - 0xc0]
xor byte [ebp + ecx - 0xbf], al
inc ecx
cmp ecx, 0x12
jb 0x1000255f
push edx
lea eax, [ebp - 0xd4]
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
push eax
push 0x100029b8
push 0x100031a1
lea eax, [ebp - 0xbf]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.10001ffe
pop ecx
pop ecx
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___]
push eax
call fcn.10001fd4
mov esi, eax
pop ecx
pop ecx
push 0x30
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::fill_char_]
lea eax, [ebp - 0xab]
mov ecx, esi
push eax
push ebx
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_]
push eax
call fcn.10001ffe
pop ecx
pop ecx
push edi
lea ecx, [ebp - 0xa8]
call fcn.10002fc6
lea ecx, [ebp - 0x58]
call fcn.10002358
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.10044a84
ret
Function at 0x1000270d
Capabilities:
Create thread
Encode data using xor
Enumerate processes
Terminate process

Disassembly:
push 0x170
mov eax, 0x10046185
call fcn.10044ac9
push 0
push 2
xor bl, bl
mov dword [ebp - 0x168], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000274f
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]
lea eax, [ebp - 0x168]
push eax
push edi
call sub.KERNEL32.dll_Process32First
jmp 0x100027da
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x40]
call fcn.100012e0
movaps xmm0, xmmword [0x1004a530]
xor ecx, ecx
movups xmmword [ebp - 0x17c], xmm0
mov word [ebp - 0x16c], 0x1b
mov al, byte [ebp - 0x17c]
xor byte [ebp + ecx - 0x17b], al
inc ecx
cmp ecx, 0x10
jb 0x10002786
lea eax, [ebp - 0x17b]
mov byte [ebp - 0x16b], 0
push eax
lea ecx, [ebp - 0x40]
call fcn.10002989
push 0
push 1
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.10001cd4
lea ecx, [ebx + 1]
test esi, esi
movzx edx, cl
lea eax, [ebp - 0x168]
movzx ecx, bl
push eax
cmovne edx, ecx
push edi
mov bl, dl
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1000275e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp bl, 3
ja 0x10002738
lea eax, [ebp - 0x28]
push eax
call fcn.100024e2
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
xor ebx, ebx
cmp dword [ebp - 0x14], 0x10
inc eax
mov dword [ebp - 4], ebx
cmovae ecx, dword [ebp - 0x28]
push eax
push ecx
push 0xaf7b50
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x10
call fcn.1000be40
call fcn.1000898a
call fcn.10012c4c
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push ebx
push ebx
push ebx
push 0x10002611
push ebx
push ebx
mov dword [0x1005afb8], eax
mov dword [0x1005afbc], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.10001cd4
call fcn.10044a84
ret
Function at 0x10007859
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1005a694]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
dec eax
push edi
mov edi, dword [ebp + 8]
cmp eax, 8
ja case.default.0x1000787f
jmp dword [eax*4 + 0x10007971]
push 0
lea eax, [ebp - 8]
push eax
push 1
jmp 0x100078fe
push 0
lea eax, [ebp - 8]
push eax
push 2
jmp 0x100078fe
push 0
lea eax, [ebp - 8]
push eax
push 4
jmp 0x100078fe
xor ebx, ebx
lea eax, [ebp - 8]
push ebx
push eax
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x1004a610
call fcn.10001edd
pop ecx
push eax
push 0x1004a610
mov ecx, esi
call fcn.10001dbf
cmp dword [ebp - 0xc], ebx
jle 0x10007906
push 0x20
push dword [ebp - 0xc]
mov ecx, esi
call fcn.1000804d
cmp dword [esi + 0x14], 0x10
jb 0x100078ec
mov esi, dword [esi]
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
jmp 0x100078fe
push 0
lea ecx, [ebp - 8]
push ecx
push 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
jmp 0x1000795c
push 0x91
push str.c:usersmonsterdesktopdreamsoft_v1.924dreamsoftN3Base_N3TableBase.hpp
push 0x1004a610
sub esp, 0x18
mov ecx, esp
push str.ERROR____s_n_s:__d_n_n
call fcn.100012e0
lea eax, [ebp - 0x24]
push eax
call fcn.1001b71b
add esp, 0x28
lea eax, [ebp - 0x24]
cmp dword [ebp - 0x10], 0x10
cmovae eax, dword [ebp - 0x24]
xor ebx, ebx
push ebx
push str._ASSERTT_n
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
push 1
lea ecx, [ebp - 0x24]
call fcn.10001cd4
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10044a5e
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10007a71
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x100063d9
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x1000ad73
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 0x1000ad83
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 0x1000adc3
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 0x1000ae33
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea edx, [ecx + 8]
mov esi, 0x270
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 esi, 1
jne 0x1000ae3c
pop esi
ret

Function at 0x1000aec5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul edx, dword [ebp + 0xc]
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x1000aedc
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8

Function at 0x1000b819
Capabilities:
Encode data using xor

Disassembly:
push 0x2c
mov eax, 0x10046ad3
call fcn.10044ac9
cmp dword [0x1005afc4], 0
mov esi, dword [ebp + 0xc]
je 0x1000b95e
cmp byte [0x1005b24a], 0
je 0x1000b95e
mov eax, dword [esi]
cmp dword [eax + 0x14], 0x10
lea edi, [eax + 4]
jb 0x1000b850
mov edi, dword [eax + 4]
movaps xmm0, xmmword [str._fyodm]
xor ebx, ebx
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x69
mov ecx, ebx
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x1000b865
sub esp, 0x18
mov byte [ebp - 0x13], bl
lea eax, [ebp - 0x23]
mov dword [ebp - 0x34], esp
mov ecx, esp
push eax
call fcn.100012e0
sub esp, 0x18
mov dword [ebp - 4], ebx
mov ecx, esp
push edi
call fcn.100012e0
or dword [ebp - 4], 0xffffffff
call fcn.1000b0da
add esp, 0x30
test al, al
je 0x1000b95e
mov eax, dword [0x1005afc4]
mov edi, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
je 0x1000b950
push esi
push edi
call fcn.10023df5
mov eax, dword [0x1005afc4]
cmp dword [eax + 0x60], ebx
je 0x1000b90e
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x34], bl
push dword [ebp - 0x34]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [eax + 0x5c]
call fcn.10023aac
cmp byte [ebp - 0x18], 0
je 0x1000b8fd
push dword [ebp - 0x1c]
mov ecx, dword [0x1005afc4]
push dword [ebp - 0x34]
push esi
mov ecx, dword [ecx + 0x60]
push edi
call fcn.10024227
mov eax, dword [0x1005afc4]
inc bl
mov byte [ebp - 0x34], bl
cmp bl, 4
jb 0x1000b8d2
xor ebx, ebx
cmp dword [eax + 0x64], ebx
je 0x1000b950
mov byte [ebp - 0x34], bl
push dword [ebp - 0x34]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [eax + 0x5c]
call fcn.10023ade
cmp byte [ebp - 0x28], 0
je 0x1000b941
push dword [ebp - 0x2c]
mov ecx, dword [0x1005afc4]
push dword [ebp - 0x34]
push esi
mov ecx, dword [ecx + 0x64]
push edi
call fcn.100245ff
mov eax, dword [0x1005afc4]
inc bl
mov byte [ebp - 0x34], bl
cmp bl, 8
jb 0x1000b916
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x1000b95e
push esi
push edi
call fcn.100231a8
call fcn.10044a84
ret
Function at 0x1000ba2b
Capabilities:
Encode data using xor
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x1005a694]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 2
xor bl, bl
mov dword [ebp - 0x144], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x144]
push eax
push esi
call sub.KERNEL32.dll_Process32First
cmp eax, 1
jne 0x1000bb76
lea eax, [ebp - 0x144]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
jne 0x1000bb76
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100012e0
movaps xmm0, xmmword [0x1004a900]
xor ecx, ecx
movups xmmword [ebp - 0x158], xmm0
mov word [ebp - 0x148], 8
mov al, byte [ebp - 0x158]
xor byte [ebp + ecx - 0x157], al
inc ecx
cmp ecx, 0x10
jb 0x1000baab
lea eax, [ebp - 0x157]
mov byte [ebp - 0x147], 0
push eax
call fcn.10001edd
pop ecx
push eax
push 0
lea eax, [ebp - 0x157]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000b2d1
cmp eax, 0xffffffff
je 0x1000baeb
inc bl
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.10001cd4
lea eax, [ebp - 0x144]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
je 0x1000ba83
cmp bl, 2
jbe 0x1000bb45
movaps xmm0, xmmword [0x1004a960]
xor ecx, ecx
movups xmmword [ebp - 0x158], xmm0
mov byte [ebp - 0x148], 0
mov al, byte [ebp - 0x158]
xor byte [ebp + ecx - 0x157], al
inc ecx
cmp ecx, 0xf
jb 0x1000bb29
mov byte [ebp - 0x148], 0
jmp 0x1000bba0
cmp bl, 1
jbe 0x1000bb76
movaps xmm0, xmmword [str.M_t_9_]
xor ecx, ecx
movups xmmword [ebp - 0x158], xmm0
mov byte [ebp - 0x148], 0
mov al, byte [ebp - 0x158]
xor byte [ebp + ecx - 0x157], al
inc ecx
cmp ecx, 0xf
jb 0x1000bb61
jmp 0x1000bb3c
movaps xmm0, xmmword [0x1004a8f0]
xor ecx, ecx
movups xmmword [ebp - 0x158], xmm0
mov al, byte [ebp - 0x158]
xor byte [ebp + ecx - 0x157], al
inc ecx
cmp ecx, 0xe
jb 0x1000bb86
mov byte [ebp - 0x149], 0
lea eax, [ebp - 0x157]
push eax
call fcn.10001edd
pop ecx
push eax
lea eax, [ebp - 0x157]
mov ecx, 0x1005b124
push eax
call fcn.10001dbf
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10044a5e
mov esp, ebp
pop ebp
ret
Function at 0x1000d7b4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1005a694]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x14]
cmp ecx, 2
jle 0x1000d7fb
push esi
xor esi, esi
inc esi
shl esi, cl
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1000d809
pop ecx
pop ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10044a5e
mov esp, ebp
pop ebp
ret
Function at 0x10010654
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push 0x4c
mov eax, 0x10046dd4
call fcn.10044a95
xor ebx, ebx
mov dword [ebp - 0x28], 0x4c2d297e
mov cl, 0x7e
mov dword [ebp - 0x24], 0x504c4d21
mov dword [ebp - 0x20], 0x12121a
mov eax, ebx
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xa
jae 0x1001068a
mov cl, byte [ebp - 0x28]
jmp 0x1001067b
lea eax, [ebp - 0x27]
mov byte [ebp - 0x1d], bl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x100106b3
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov cl, 0x70
mov dword [ebp - 0x14], 0x13150270
mov word [ebp - 0x10], 6
mov eax, ebx
xor byte [ebp + eax - 0x13], cl
inc eax
cmp eax, 4
jae 0x100106d3
mov cl, byte [ebp - 0x14]
jmp 0x100106c4
lea eax, [ebp - 0x13]
mov byte [ebp - 0xf], bl
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100106f0
push eax
call fcn.1000f3ca
pop ecx
cmp al, 0xe9
jne 0x10010742
mov cl, 0x2c
mov dword [ebp - 0x18], 0x4f497e2c
mov dword [ebp - 0x14], 0x42596a5a
mov eax, ebx
mov word [ebp - 0x10], 0x4f
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 8
jae 0x10010717
mov cl, byte [ebp - 0x18]
jmp 0x10010708
lea eax, [ebp - 0x17]
mov byte [ebp - 0xf], bl
push eax
lea ecx, [ebp - 0x40]
call fcn.100012e0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
call fcn.10012da5
or dword [ebp - 4], 0xffffffff
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.10001cd4
mov cl, 0x3d
mov dword [ebp - 0x18], 0x7c6e6a3d
mov dword [ebp - 0x14], 0x4b5e586f
mov eax, ebx
mov byte [ebp - 0x10], bl
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 7
jae 0x10010766
mov cl, byte [ebp - 0x18]
jmp 0x10010757
lea eax, [ebp - 0x17]
mov byte [ebp - 0x10], bl
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10010783
push eax
call fcn.1000f3ca
pop ecx
cmp al, 0xe9
jne 0x100107d7
mov cl, 0x1b
mov dword [ebp - 0x28], 0x5a484c1b
mov dword [ebp - 0x24], 0x7f757e48
mov eax, ebx
mov dword [ebp - 0x20], 0x78756e5d
mov byte [ebp - 0x1c], bl
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xb
jae 0x100107ae
mov cl, byte [ebp - 0x28]
jmp 0x1001079f
lea eax, [ebp - 0x27]
mov byte [ebp - 0x1c], bl
push eax
lea ecx, [ebp - 0x58]
call fcn.100012e0
xor esi, esi
lea eax, [ebp - 0x58]
inc esi
push eax
mov dword [ebp - 4], esi
call fcn.10012da5
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x58]
call fcn.10001cd4
call fcn.10044a6f
ret
Function at 0x100109df
Capabilities:
Encode data using xor

Disassembly:
push 0x5c
mov eax, 0x10046e07
call fcn.10044ac9
mov esi, dword [ebp + 8]
test esi, esi
je 0x10010b2b
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x4c]
call fcn.10004854
mov edi, vtable.Packet.0
mov dword [ebp - 0x4c], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 4], ebx
jle 0x10010a7a
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x30]
push dword [esi + 4]
mov al, byte [eax]
mov byte [ebp - 0x14], al
call fcn.100047ff
push 1
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], edi
call fcn.1000540b
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x4c]
call fcn.10004982
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.100053e5
mov eax, dword [esi + 4]
test eax, eax
jle 0x10010a7a
dec eax
lea ecx, [ebp - 0x4c]
push eax
mov eax, dword [esi + 8]
inc eax
push eax
call fcn.1000540b
cmp byte [0x1005b220], 0
jne 0x10010b12
mov eax, dword [ebp - 0x3c]
mov ecx, ebx
mov edi, dword [ebp - 0x38]
movaps xmm0, xmmword [0x1004d6f0]
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 0x10010aa2
sub esp, 0x18
mov byte [ebp - 0x54], bl
lea eax, [ebp - 0x63]
mov ecx, esp
push eax
call fcn.100012e0
lea eax, [ebp - 0x2c]
push eax
call fcn.100412b1
add esp, 0x1c
test edi, edi
jle 0x10010b06
cmp dword [ebp - 0x18], 0x10
lea esi, [ebp - 0x2c]
cmovae esi, dword [ebp - 0x2c]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10010ade
sub esi, ecx
mov eax, ebx
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
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 0x10010ad0
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001cd4
lea eax, [ebp - 0x4c]
push eax
call fcn.1001253b
pop ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x4c], vtable.ByteBuffer.0
call fcn.100053e5
call fcn.10044a84
ret