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

Disassembly:
push ebx
push esi
push edi
push 0x3fc
xor esi, esi
push esi
push 0x10057464
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edi, 0x10057460
push 8
push esi
call fcn.100021cf
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 0x1000217f
push 0x20
push edx
call fcn.100021cf
mov dword [edi], eax
inc esi
add edi, 4
cmp edi, 0x1005785c
jle 0x1000216f
pop edi
pop esi
pop ebx
call fcn.10001a38
test al, al
je 0x100021cc
call fcn.10001e98
test al, al
je 0x100021cc
call fcn.10001f0e
test al, al
setne al
ret
xor al, al
ret

Function at 0x10002204
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x408], 0
push esi
push 0x10042854
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 0x100022b7
cmp dword [ebp - 0x408], eax
je 0x100022b7
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 0x100022a7
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.100022c8
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 0x10002270
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.1003c3d4
leave
ret 4

Function at 0x100022c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x100022f9
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 + 0x10057460]
inc edi
mov dword [ebx], edx
sub esi, 1
jne 0x100022db
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x1000308c
Capabilities:
Encode data using xor

Disassembly:
push 0x1c
mov eax, 0x1003dc13
call fcn.1003d77e
mov esi, ecx
xor ebx, ebx
inc ebx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x10042857
call fcn.10003d99
xor edx, edx
mov dword [ebp - 4], edx
mov al, byte [esi + 2]
mov dword [ebp - 0x10], ebx
cmp al, 0xff
je 0x100031d7
cmp al, bl
jne 0x100030f1
movaps xmm0, xmmword [0x1004cbb0]
mov ecx, edx
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x20a
mov byte [ebp - 0x12], dl
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x11
jb 0x100030dc
lea eax, [ebp - 0x23]
jmp 0x100031cc
jle 0x100031d7
mov ecx, edx
cmp al, 5
jge 0x1000312a
movaps xmm0, xmmword [0x1004d040]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x2c3b2832
mov byte [ebp - 0x14], dl
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x10003112
mov byte [ebp - 0x14], dl
lea eax, [ebp - 0x27]
jmp 0x100031cf
cmp al, 0xa
jge 0x10003152
movaps xmm0, xmmword [0x1004d3d0]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x595b5d4e
mov byte [ebp - 0x14], dl
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x10003143
jmp 0x1000311f
cmp al, 0x1a
jge 0x1000317a
movaps xmm0, xmmword [0x1004cf40]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x332b2025
mov byte [ebp - 0x14], dl
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x1000316b
jmp 0x1000311f
mov byte [ebp - 0x12], dl
cmp al, 0x65
jge 0x100031a4
movaps xmm0, xmmword [0x1004d760]
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x6e69
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x11
jb 0x10003192
jmp 0x100030e9
movaps xmm0, xmmword [0x1004d3e0]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x4d4a4d45
mov word [ebp - 0x14], 0x434a
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x15
jb 0x100031bc
lea eax, [ebp - 0x27]
mov byte [ebp - 0x12], dl
push eax
mov ecx, edi
call fcn.10003b49
mov eax, edi
call fcn.1003d75b
ret 4
Function at 0x10004c91
Capabilities:
Create thread
Terminate process

Disassembly:
call fcn.10002152
test al, al
jne 0x10004d30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.100075ed
call fcn.1000767c
call fcn.10010cb1
mov dword [0x10057954], eax
test eax, eax
je 0x10004cc5
mov ecx, eax
call fcn.10010e37
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 0x10004d30
push edi
push edi
push edi
push 0x10004ab2
push edi
push edi
call esi
mov edi, eax
test edi, edi
je 0x10004d30
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 0x100075ed
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 0x10007608
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 0x1000766d
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 0x1000766d
push ecx
mov ecx, dword [ebp - 8]
mov edx, str.SeSecurityPrivilege
call fcn.10007593
pop ecx
test al, al
je 0x1000766d
push ecx
mov ecx, dword [ebp - 8]
mov edx, str.SeDebugPrivilege
call fcn.10007593
pop ecx
test al, al
je 0x1000766d
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1000766f
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1003c3d4
leave
ret
Function at 0x1000767c
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 0x1000772f
movaps xmm0, xmmword [0x1004d260]
push ebx
xor ebx, ebx
mov word [ebp - 0x24], 0x48
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 0x100076c0
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 0x100076f0
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1000772e
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 0x10007723
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.1003c3d4
leave
ret
Function at 0x100088fa
Capabilities:
Encode data using xor

Disassembly:
push 0x16c
mov eax, 0x1003e6e9
call fcn.1003d7b1
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], 0x72
push eax
mov byte [ebp - 0x157], bl
call fcn.10003d99
mov dword [ebp - 4], ebx
mov dword [ebp - 0x158], 1
test edi, edi
je 0x10008a32
movaps xmm0, xmmword [0x1004d090]
mov ecx, ebx
movups xmmword [ebp - 0x174], xmm0
mov dword [ebp - 0x164], 0x31397931
mov dword [ebp - 0x160], 0x5c313470
mov dword [ebp - 0x15c], 0x59312e
mov al, byte [ebp - 0x174]
xor byte [ebp + ecx - 0x173], al
inc ecx
cmp ecx, 0x1a
jb 0x10008983
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 0x10008a0f
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.1003d76f
ret

Function at 0x1000ab3e
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 0x1000ab92
cmp dword [esp + 0x18], edi
je 0x1000abb4
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1000ab80
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.1003c3d4
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 0x1000ab9d
push eax
call esi
jmp 0x1000ab9d

Function at 0x1000ac9c
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 0x1000acb1
mov dword [0x100540e8], esi
pop esi
pop ebp
ret 8
Function at 0x1000acd7
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 0x1000ad1f
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 0x1000ace7
jmp 0x1000ad2c
cmp dword [esi], 0x4e0
jb 0x1000ad2c
call fcn.1000ad66
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 0x1000ad66
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 0x1000ad7f
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 0x1000adc9
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 0x1000b73c
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 [0x1004d6d0]
movups xmmword [ebp - 0x34], xmm0
push ebx
movaps xmm0, xmmword [0x1004d600]
xor ebx, ebx
movups xmmword [ebp - 0x24], xmm0
mov ecx, ebx
movaps xmm0, xmmword [str.b_Qsnwheds_w0_1]
push esi
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x2e
jb 0x1000b769
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 0x1000b84d
push 0x100578c0
push ebx
push ebx
push 0x8004
push dword [0x100578c4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1000b84d
movaps xmm0, xmmword [str.iAR_r]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x1590f08
movaps xmm0, xmmword [0x1004d420]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0xb5d1b29
movaps xmm0, xmmword [0x1004d1f0]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x4819133c
mov word [ebp - 4], 0x14
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x1000b7f2
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 0x1000b84d
push 0x100578bc
push 0x800000
push dword [0x100578c0]
push 0x6801
push dword [0x100578c4]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1000b84d
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.1003aff0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1003b4c0
mov ebx, 0x1000b681
push ebx
push 0x100578b4
call fcn.1003ad00
call fcn.1003b050
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000b8b8
mov dword [0x100578b4], 0x60f6e0
call fcn.1003aff0
call esi
push eax
call fcn.1003b4c0
push ebx
push 0x100578b4
call fcn.1003a870
call fcn.1003b050
call fcn.1003aff0
call esi
push eax
call fcn.1003b4c0
mov ebx, 0x1000b6a3
push ebx
push 0x100578b0
call fcn.1003ad00
call fcn.1003b050
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000b912
mov dword [0x100578b0], 0x60eab0
call fcn.1003aff0
call esi
push eax
call fcn.1003b4c0
push ebx
push 0x100578b0
call fcn.1003a870
call fcn.1003b050
pop esi
pop ebx
leave
ret
Function at 0x1000d639
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push 0x3d
pop ebx
mov cl, 0xf
mov word [ebp - 0x18], 0x580f
mov byte [ebp - 0x16], 0x5c
xor eax, eax
mov byte [ebp - 0x15], bl
mov word [ebp - 0x14], 0x3c50
mov byte [ebp - 0x12], bl
mov dword [ebp - 0x11], 0x63636b21
mov byte [ebp - 0xd], 0
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xa
jae 0x1000d678
mov cl, byte [ebp - 0x18]
jmp 0x1000d669
lea eax, [ebp - 0x17]
mov byte [ebp - 0xd], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
je 0x1000d710
mov cl, 0x66
mov dword [ebp - 0xc], 0x8031566
mov word [ebp - 8], 2
xor eax, eax
xor byte [ebp + eax - 0xb], cl
inc eax
cmp eax, 4
jae 0x1000d6b0
mov cl, byte [ebp - 0xc]
jmp 0x1000d6a1
lea eax, [ebp - 0xb]
mov byte [ebp - 7], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000d710
mov ecx, eax
call fcn.1000d1f2
cmp al, 0xe9
je 0x1000d710
mov byte [ebp - 0xc], bl
xor eax, eax
mov dword [ebp - 0xb], 0x6e7c6e6a
mov dword [ebp - 7], 0x595358
xor byte [ebp + eax - 0xb], bl
inc eax
cmp eax, 7
jae 0x1000d6f0
mov bl, byte [ebp - 0xc]
jmp 0x1000d6e1
lea eax, [ebp - 0xb]
mov byte [ebp - 4], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop esi
pop ebx
test eax, eax
je 0x1000d710
mov ecx, eax
call fcn.1000d1f2
cmp al, 0xe9
jne 0x1000d718
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
leave
ret

Function at 0x1000ef36
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 [0x1004cf10]
mov eax, dword [0x1005794c]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x20], eax
push edi
mov edi, dword [0x10057948]
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 0x1000ef69
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.10031b81
add esp, 0x18
test edi, edi
jle 0x1000efcc
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 0x1000efa4
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 0x1000ef96
lea ecx, [ebp - 0x1c]
call fcn.10003b97
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c3d4
leave
ret
Function at 0x1000f3d2
Capabilities:
Encode data using xor

Disassembly:
push 0x5c
mov eax, 0x1003eb3e
call fcn.1003d7b1
mov esi, ecx
test esi, esi
je 0x1000f544
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.100081b5
mov dword [ebp - 0x34], vtable.Packet.0
xor edi, edi
inc edi
mov dword [ebp - 4], edi
cmp dword [esi + 4], ebx
jle 0x1000f49a
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x50]
push dword [esi + 4]
mov al, byte [eax]
mov byte [ebp - 0x14], al
call fcn.10008222
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.10008376
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x34]
call fcn.1000eefd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x50], vtable.ByteBuffer.0
call fcn.10008299
mov eax, dword [esi + 4]
test eax, eax
jle 0x1000f49a
dec eax
lea ecx, [ebp - 0x34]
push eax
mov eax, dword [esi + 8]
inc eax
push eax
call fcn.10008376
cmp byte [0x100578dd], 0
jne 0x1000f52d
mov eax, dword [ebp - 0x24]
mov ecx, ebx
mov edi, dword [ebp - 0x20]
movaps xmm0, xmmword [0x1004d900]
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 0x1000f4c2
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.10031b81
add esp, 0x18
test edi, edi
jle 0x1000f525
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 0x1000f4fd
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 0x1000f4ef
lea ecx, [ebp - 0x4c]
call fcn.10003b97
lea ecx, [ebp - 0x34]
call fcn.1000f2d5
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x34], vtable.ByteBuffer.0
call fcn.10008299
call fcn.1003d76f
ret
Function at 0x1000f7d6
Capabilities:
Encode data using xor

Disassembly:
push 0x58
mov eax, 0x1003eb82
call fcn.1003d7b1
cmp byte [0x100578dc], 0
je 0x1000f8fe
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [0x10057958]
sbb edx, dword [0x1005795c]
mov dword [ebp - 0x50], edx
jne 0x1000f811
cmp eax, 0xbb8
jb 0x1000f8fe
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
movaps xmm0, xmmword [str.__VAEIwKBPeHMRA]
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 0x1000f82f
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.10031b81
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.10008222
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.10008376
push 1
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x14], 0xa2
call fcn.10008376
cmp dword [ebp - 0x34], 0xf
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
cmova eax, dword [ebp - 0x48]
push eax
call fcn.10008160
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 0x1000f8e7
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.10008299
lea ecx, [ebp - 0x48]
call fcn.10003b97
call fcn.1003d76f
ret