joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000172b
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1003f7d0
push 0x100334c5
mov eax, dword fs:[0]
push eax
push ecx
push ecx
sub esp, 0x38
mov eax, dword [0x10044040]
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
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x48]
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 0x100017a5
xor al, al
jmp 0x10001825
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 0x100017ce
xor al, al
jmp 0x10001825
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x10001813
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.100334f4
leave
ret
Function at 0x10001cfb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movaps xmm0, xmmword [0x1003e240]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov word [ebp - 4], 0x3d33
mov byte [ebp - 2], 0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0x11
jb 0x10001d18
lea eax, [ebp - 0x13]
mov byte [ebp - 2], 0
push eax
call fcn.10002064
cmp eax, 0xba2d38a3
jne 0x10001d6a
movaps xmm0, xmmword [str._K]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0xe
jb 0x10001d46
lea eax, [ebp - 0x13]
mov byte [ebp - 5], 0
push eax
call fcn.10002064
cmp eax, 0x27b35bb1
sete al
leave
ret
xor al, al
leave
ret
Function at 0x10001fb2
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push ebx
push esi
push edi
push 0x3fc
xor esi, esi
push esi
push 0x10045c84
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edi, 0x10045c80
push 8
push esi
call fcn.1000202f
mov edx, eax
push 8
shl edx, 0x18
pop ebx
mov ecx, edx
lea eax, [edx + edx]
sar ecx, 0x1f
and ecx, 0x4c11db7
mov edx, ecx
xor edx, eax
sub ebx, 1
jne 0x10001fdf
push 0x20
push edx
call fcn.1000202f
mov dword [edi], eax
inc esi
add edi, 4
cmp edi, 0x1004607c
jle 0x10001fcf
pop edi
pop esi
pop ebx
call fcn.1000189a
test al, al
je 0x1000202c
call fcn.10001cfb
test al, al
je 0x1000202c
call fcn.10001d6e
test al, al
setne al
ret
xor al, al
ret

Function at 0x10002064
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10044040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x408], 0
push esi
push 0x10038584
push eax
lea eax, [ebp - 0x408]
or esi, 0xffffffff
push eax
mov dword [ebp - 0x40c], esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
test eax, eax
jne 0x10002117
cmp dword [ebp - 0x408], eax
je 0x10002117
push ebx
push dword [ebp - 0x408]
mov ebx, 0x400
lea eax, [ebp - 0x404]
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
je 0x10002107
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.10002128
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
jne 0x100020d0
mov esi, dword [ebp - 0x40c]
push dword [ebp - 0x408]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
pop ecx
not esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100334f4
leave
ret 4

Function at 0x10002128
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x10002159
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov edx, dword [ebx]
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10045c80]
inc edi
mov dword [ebx], edx
sub esi, 1
jne 0x1000213b
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x1000215e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movaps xmm0, xmmword [0x1003e080]
xor edx, edx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], 0x10151c
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov dword [esi], 0xff0000
mov ecx, edx
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0x12
jb 0x10002194
push ecx
mov byte [ebp - 1], dl
lea edx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x13]
call fcn.1002d4eb
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x100021b9
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
lea eax, [ecx + 1]
push 8
mov esi, eax
pop edi
mov dl, byte [ecx]
xor byte [esi], dl
inc esi
sub edi, 1
jne 0x100021c3
pop edi
pop esi
mov byte [ecx + 9], 0
ret

Function at 0x100021d4
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
lea eax, [ecx + 1]
push 0xe
mov esi, eax
pop edi
mov dl, byte [ecx]
xor byte [esi], dl
inc esi
sub edi, 1
jne 0x100021de
pop edi
pop esi
mov byte [ecx + 0xf], 0
ret

Function at 0x100021ef
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
lea eax, [ecx + 1]
push 0xb
mov esi, eax
pop edi
mov dl, byte [ecx]
xor byte [esi], dl
inc esi
sub edi, 1
jne 0x100021f9
pop edi
pop esi
mov byte [ecx + 0xc], 0
ret

Function at 0x1000220a
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
lea eax, [ecx + 1]
push 0xa
mov esi, eax
pop edi
mov dl, byte [ecx]
xor byte [esi], dl
inc esi
sub edi, 1
jne 0x10002214
pop edi
pop esi
mov byte [ecx + 0xb], 0
ret

Function at 0x10002225
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
lea eax, [ecx + 1]
push 7
mov esi, eax
pop edi
mov dl, byte [ecx]
xor byte [esi], dl
inc esi
sub edi, 1
jne 0x1000222f
pop edi
pop esi
mov byte [ecx + 8], 0
ret
Function at 0x1000263d
Capabilities:
Encode data using xor

Disassembly:
push 0xcc
mov eax, 0x10034b4e
call fcn.10034586
mov edi, ecx
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xb0], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x98
mov ebx, eax
lea eax, [ebp - 0xa8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
pop ecx
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.10002e15
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, edx
movaps xmm0, xmmword [0x1003e650]
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb4], 0x671c48
mov al, byte [ebp - 0xc4]
xor byte [ebp + ecx - 0xc3], al
inc ecx
cmp ecx, 0x12
jb 0x100026a1
mov byte [ebp - 0xb1], dl
lea ecx, [ebp - 0xa8]
lea edx, [ebp - 0xc3]
call fcn.10003059
push 0x1000320c
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 0x100031f2
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 0
mov esi, eax
lea eax, [ebp - 0xd8]
push 8
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov ecx, eax
add esp, 0xc
mov eax, dword [esi]
push dword [ecx + 0xc]
mov eax, dword [eax + 4]
push dword [ecx + 8]
add eax, esi
push eax
call dword [ecx]
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
mov eax, dword [eax + 4]
push ebx
mov byte [eax + esi + 0x40], 0x30
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov ecx, eax
mov byte [ebp - 0xaa], 0
mov dl, 0x77
mov byte [ebp - 0xaa], 0
mov al, 0x2a
mov byte [ebp - 0xac], dl
xor al, dl
lea edx, [ebp - 0xab]
mov byte [ebp - 0xab], al
call fcn.10003059
push edi
lea ecx, [ebp - 0xa4]
call fcn.10002f77
lea ecx, [ebp - 0x58]
call fcn.10002de5
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.10034544
ret
Function at 0x10002789
Capabilities:
Terminate process

Disassembly:
push 0x24
mov eax, 0x10034b85
call fcn.10034586
call fcn.10001fb2
test al, al
je 0x100027a6
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea ecx, [ebp - 0x2c]
call fcn.1000263d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
mov eax, dword [ebp - 0x1c]
cmova ecx, dword [ebp - 0x2c]
inc eax
push eax
push ecx
push 0xfe5d24
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
call fcn.10009021
call fcn.10008200
call fcn.10008411
call fcn.1000c68a
mov dword [0x1007d008], eax
test eax, eax
je 0x100027f4
mov ecx, eax
call fcn.1000c7de
call fcn.1000a294
call fcn.1000c267
call fcn.1000cb96
push 0x70
call fcn.10033502
pop ecx
mov ecx, eax
mov dword [ebp - 0x30], eax
call fcn.1000b861
push 0x64
mov dword [0x1007cfc0], eax
call fcn.10033502
pop ecx
push 0x64
mov esi, eax
push 0
push esi
mov dword [ebp - 0x30], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.100053eb
mov dword [0x1007cfc8], eax
test eax, eax
je 0x1000284e
call fcn.10005969
call fcn.10006cdd
push 0x10
call fcn.10033502
pop ecx
mov ecx, eax
mov dword [ebp - 0x30], eax
call fcn.1000215e
lea ecx, [ebp - 0x2c]
mov dword [0x1007cfc4], eax
call fcn.10002410
call fcn.10034544
ret
Function at 0x10005169
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
lea eax, [ecx + 1]
push 5
mov esi, eax
pop edi
mov dl, byte [ecx]
xor byte [esi], dl
inc esi
sub edi, 1
jne 0x10005173
pop edi
pop esi
mov byte [ecx + 6], 0
ret

Function at 0x10005184
Capabilities:
Encode data using xor

Disassembly:
push 0x16c
mov eax, 0x100350e2
call fcn.10034586
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], 0x23
push eax
mov byte [ebp - 0x157], bl
call fcn.10002604
mov dword [ebp - 4], ebx
mov dword [ebp - 0x158], 1
test edi, edi
je 0x100052bc
movaps xmm0, xmmword [0x1003e300]
mov ecx, ebx
movups xmmword [ebp - 0x174], xmm0
mov dword [ebp - 0x164], 0x3b33733b
mov dword [ebp - 0x160], 0x563b3e7a
mov dword [ebp - 0x15c], 0x533b24
mov al, byte [ebp - 0x174]
xor byte [ebp + ecx - 0x173], al
inc ecx
cmp ecx, 0x1a
jb 0x1000520d
lea eax, [ebp - 0x173]
mov byte [ebp - 0x159], bl
push eax
lea ecx, [ebp - 0x130]
call fcn.10002604
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 0x10005299
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, esi
call fcn.1000239e
lea ecx, [ebp - 0x130]
call fcn.10002410
mov eax, esi
call fcn.10034544
ret

Function at 0x10007519
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x10044040]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [esp + 0x10], 0x128
push esi
push 2
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x1000756d
cmp dword [esp + 0x18], ebx
je 0x10007573
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1000755b
jmp 0x10007576
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100334f4
mov esp, ebp
pop ebp
ret

Function at 0x1000763d
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 [0x100440b4], 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 + 0x100440b4], ecx
inc edx
cmp edx, esi
jb 0x10007652
mov dword [0x100440b0], esi
pop esi
pop ebp
ret 8
Function at 0x10007678
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 0x100076c0
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 0x10007688
jmp 0x100076cd
cmp dword [esi], 0x4e0
jb 0x100076cd
call fcn.10007707
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 0x10007707
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 0x10007720
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 0x1000776a
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 0x1000812a
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
lea eax, [ecx + 1]
push 4
mov esi, eax
pop edi
mov dl, byte [ecx]
xor byte [esi], dl
inc esi
sub edi, 1
jne 0x10008134
pop edi
pop esi
mov byte [ecx + 5], 0
ret

Function at 0x10008200
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 [0x1003eaf0]
movups xmmword [ebp - 0x34], xmm0
push ebx
movaps xmm0, xmmword [0x1003eb00]
xor ebx, ebx
movups xmmword [ebp - 0x24], xmm0
mov ecx, ebx
movaps xmm0, xmmword [str.v5Egzcqpg5c___]
push esi
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x2e
jb 0x1000822d
push ebx
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], bl
push eax
push ebx
push 0x100460c8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10008311
push 0x100460c4
push ebx
push ebx
push 0x8004
push dword [0x100460c8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10008311
movaps xmm0, xmmword [0x1003e520]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x540c5a5d
movaps xmm0, xmmword [0x1003dfb0]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x5e084e7c
movaps xmm0, xmmword [str.T_YrJqchvJPx_b]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x1d4c4669
mov word [ebp - 4], 0x41
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x100082b6
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], bl
push eax
push dword [0x100460c4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10008311
push 0x100460c0
push 0x800000
push dword [0x100460c4]
push 0x6801
push dword [0x100460c8]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x10008311
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 [0x100460bc], eax
call fcn.10032110
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.100325e0
mov ebx, 0x10008145
push ebx
push 0x100460b8
call fcn.10031e00
call fcn.10032170
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000837c
mov dword [0x100460b8], 0x60f6e0
call fcn.10032110
call esi
push eax
call fcn.100325e0
push ebx
push 0x100460b8
call fcn.10031970
call fcn.10032170
call fcn.10032110
call esi
push eax
call fcn.100325e0
mov ebx, 0x10008167
push ebx
push 0x100460b4
call fcn.10031e00
call fcn.10032170
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100083d6
mov dword [0x100460b4], 0x60eab0
call fcn.10032110
call esi
push eax
call fcn.100325e0
push ebx
push 0x100460b4
call fcn.10031970
call fcn.10032170
pop esi
pop ebx
leave
ret
Function at 0x10009324
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
lea eax, [ecx + 1]
push 0xd
mov esi, eax
pop edi
mov dl, byte [ecx]
xor byte [esi], dl
inc esi
sub edi, 1
jne 0x1000932e
pop edi
pop esi
mov byte [ecx + 0xe], 0
ret

Function at 0x1000acdb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10044040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1003e5f0]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x20], ecx
push edi
mov edi, edx
mov byte [ebp - 0x24], bl
movups xmmword [ebp - 0x34], xmm0
mov ecx, ebx
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0xf
jb 0x1000ad05
sub esp, 0x18
mov byte [ebp - 0x24], bl
lea eax, [ebp - 0x33]
mov ecx, esp
push eax
call fcn.10002604
lea ecx, [ebp - 0x1c]
call fcn.1002cb9a
add esp, 0x18
test edi, edi
jle 0x1000ad68
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 0x1000ad40
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 0x1000ad32
lea ecx, [ebp - 0x1c]
call fcn.10002410
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100334f4
leave
ret
Function at 0x1000b075
Capabilities:
Encode data using xor

Disassembly:
push 0x5c
mov eax, 0x100354b0
call fcn.10034586
mov esi, ecx
test esi, esi
je 0x1000b1e7
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.100049e1
mov dword [ebp - 0x34], vtable.Packet.0
xor edi, edi
inc edi
mov dword [ebp - 4], edi
cmp dword [esi + 4], ebx
jle 0x1000b13d
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x50]
push dword [esi + 4]
mov al, byte [eax]
mov byte [ebp - 0x14], al
call fcn.10004a4e
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.10004bf0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x34]
call fcn.1000aca2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x50], vtable.ByteBuffer.0
call fcn.10004ac5
mov eax, dword [esi + 4]
test eax, eax
jle 0x1000b13d
dec eax
lea ecx, [ebp - 0x34]
push eax
mov eax, dword [esi + 8]
inc eax
push eax
call fcn.10004bf0
cmp byte [0x1004608e], 0
jne 0x1000b1d0
mov eax, dword [ebp - 0x24]
mov ecx, ebx
mov edi, dword [ebp - 0x20]
movaps xmm0, xmmword [str._k_JNB_I_Y]
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 0x1000b165
sub esp, 0x18
mov byte [ebp - 0x54], bl
lea eax, [ebp - 0x63]
mov ecx, esp
push eax
call fcn.10002604
lea ecx, [ebp - 0x4c]
call fcn.1002cb9a
add esp, 0x18
test edi, edi
jle 0x1000b1c8
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 0x1000b1a0
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 0x1000b192
lea ecx, [ebp - 0x4c]
call fcn.10002410
lea ecx, [ebp - 0x34]
call fcn.1000af78
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x34], vtable.ByteBuffer.0
call fcn.10004ac5
call fcn.10034544
ret
Function at 0x1000b479
Capabilities:
Encode data using xor

Disassembly:
push 0x58
mov eax, 0x100354f4
call fcn.10034586
cmp byte [0x1007cfcc], 0
je 0x1000b5a1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [0x1007d000]
sbb edx, dword [0x1007d004]
mov dword [ebp - 0x50], edx
jne 0x1000b4b4
cmp eax, 0xbb8
jb 0x1000b5a1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
movaps xmm0, xmmword [0x1003dcc0]
xor ecx, ecx
mov dword [0x1007d000], eax
mov dword [0x1007d004], edx
movups xmmword [ebp - 0x64], xmm0
mov al, byte [ebp - 0x64]
xor byte [ebp + ecx - 0x63], al
inc ecx
cmp ecx, 0xe
jb 0x1000b4d2
sub esp, 0x18
mov byte [ebp - 0x55], 0
lea eax, [ebp - 0x63]
mov ecx, esp
push eax
call fcn.10002604
lea ecx, [ebp - 0x48]
call fcn.1002cb9a
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.10004a4e
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.10004bf0
push 1
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x14], 0xa2
call fcn.10004bf0
cmp dword [ebp - 0x34], 0xf
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
cmova eax, dword [ebp - 0x48]
push eax
call fcn.1000498c
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 0x1000b58a
mov ecx, dword ds:[0x1003863c]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call dword [0x10038638]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.10004ac5
lea ecx, [ebp - 0x48]
call fcn.10002410
call fcn.10034544
ret