joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100135f0
Capabilities:
Create thread

Disassembly:
sub esp, 0x54
mov eax, dword [0x1004b00c]
xor eax, esp
mov dword [esp + 0x4c], eax
push esi
push edi
push 0x1003f3a0
push 0x64
mov esi, edx
call fcn.1003822b
mov edi, eax
add esp, 8
test edi, edi
je 0x100137b5
push 0x63
lea ecx, [edi + 1]
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [edi], 1
lea eax, [edi + 4]
push 2
push eax
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea eax, [edi + 0x34]
push eax
call dword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
add esp, 0xc
mov dword [0x102e2aa4], edi
lea eax, [esp + 0x10]
xorps xmm0, xmm0
movq qword [edi + 0x5c], xmm0
push 0x20
push eax
push 0xffffffffffffffff
push str.1182734277847302165
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [esp + 0x10]
call fcn.10012450
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x100d2344
mov dword [0x102e2edc], eax
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x1001369f
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
test esi, esi
je 0x100136b4
movups xmm0, xmmword [esi]
movups xmmword [0x102e2ca8], xmm0
movq xmm0, qword [esi + 0x10]
jmp 0x100136be
xorps xmm0, xmm0
movups xmmword [0x102e2ca8], xmm0
movq qword [0x102e2cb8], xmm0
xorps xmm0, xmm0
push 0x100d2344
movups xmmword [0x102e2ec4], xmm0
movq qword [0x102e2ed4], xmm0
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
cmp dword [0x102e6ee4], 0
jne 0x100137bf
mov eax, str.1182734277847302165
mov dword [0x102e70e8], 0x100cf9e4
mov esi, 1
mov edx, 0x102e70f8
sub esi, eax
nop
lea ecx, [eax + esi]
cmp ecx, 0x40
jae 0x10013723
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
cmp byte [eax], 0
jne 0x10013710
mov esi, dword [0x102e2aa4]
mov al, 1
mov byte [edx], 0
mov dword [0x102e6ee4], 0x102e70e8
mov dword [0x102e70f0], 0x10013b70
mov dword [0x102e70f4], 0x10013b80
xchg byte [esi], al
push 4
call fcn.100381f2
add esp, 4
lea ecx, [esp + 0xc]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x10013f50
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
mov dword [esp + 8], ecx
test ecx, ecx
je 0x100137a5
cmp dword [esi + 0x60], 0
je 0x1001378a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [esp + 0xc]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.10037c8d
add esp, 0x54
ret
push 6
mov dword [esp + 0x10], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov dword [0x102e2aa4], 0
mov ecx, dword [esp + 0x54]
pop edi
pop esi
xor ecx, esp
call fcn.10037c8d
add esp, 0x54
ret
Function at 0x10014720
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [0x102e6ee4]
push esi
push dword [esp + 0x18]
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x100147d7
mov eax, dword [edi]
test eax, eax
je 0x10014792
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x10014792
test ebx, ebx
je 0x10014792
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x10014792
cmp dword [esp + 0x18], esi
je 0x100147d7
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x100147b2
mov eax, dword [edi + 4]
cmp eax, 3
je 0x100147a6
cmp eax, 1
jne 0x100147b2
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
pop ecx
ret 8
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
ret 8
Function at 0x10026a60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
call fcn.10026750
mov ecx, dword [0x100d1558]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10026aa6
cmp byte [0x10103da1], 0
je 0x10026aa6
push dword [0x101039f4]
push dword [0x101039f0]
push dword [0x101039ec]
push dword [0x101039e8]
call fcn.100260e0
cmp byte [0x10103da8], 0
je 0x10026acc
push dword [0x10103a04]
push dword [0x10103a00]
push dword [0x101039fc]
push dword [0x101039f8]
call fcn.100210a0
cmp byte [0x10103da9], 0
je 0x10026af2
push dword [0x10103a14]
push dword [0x10103a10]
push dword [0x10103a0c]
push dword [0x10103a08]
call fcn.10020e40
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x2d
call esi
test al, 1
je 0x10026b11
cmp byte [0x100d143a], 0
sete al
mov byte [0x100d143a], al
jmp 0x10026b16
mov al, byte [0x100d143a]
test al, al
je 0x10026c8d
push 1
call esi
test al, 1
je 0x10026b2f
mov byte [0x100d1b1a], 1
jmp 0x10026b3f
push 1
call esi
and al, 1
neg al
sbb al, al
and byte [0x100d1b1a], al
push 2
call esi
test al, 1
je 0x10026b50
mov byte [0x100d1b18], 1
jmp 0x10026b60
push 2
call esi
and al, 1
neg al
sbb al, al
and byte [0x100d1b18], al
push 1
call esi
test ax, ax
je 0x10026b72
mov byte [0x100d1b2c], 1
jmp 0x10026b81
push 1
call esi
neg ax
sbb al, al
and byte [0x100d1b2c], al
push 2
call esi
test ax, ax
je 0x10026b93
mov byte [0x100d1b19], 1
jmp 0x10026ba2
push 2
call esi
neg ax
sbb al, al
and byte [0x100d1b19], al
cmp byte [0x10103df8], 0
je 0x10026bbc
mov ecx, 0x100d1428
call fcn.100069a0
mov byte [0x10103df8], 0
cmp byte [0x10103df7], 0
je 0x10026bd6
mov ecx, 0x100d1428
call fcn.1000a280
mov byte [0x10103df7], 0
push dword [0x101039e4]
mov ecx, 0x100f34b0
push dword [0x101039e0]
push dword [0x101039dc]
push dword [0x101039d8]
call fcn.10021490
push dword [0x1010448c]
push dword [0x10104484]
call fcn.10033a30
mov esi, dword [0x101039e8]
xor eax, eax
mov edx, dword [0x101039ec]
test esi, esi
mov edi, dword [0x100d1554]
mov ebx, dword [0x100d154c]
cmovs esi, eax
test edx, edx
mov ecx, ebx
cmovs edx, eax
sub ecx, dword [0x101039f0]
mov eax, edi
sub eax, dword [0x101039f4]
cmp esi, eax
cmovg esi, eax
cmp edx, ecx
mov dword [0x101039e8], esi
cmovg edx, ecx
mov ecx, dword [0x101039d8]
xor eax, eax
mov dword [0x101039ec], edx
test ecx, ecx
cmovs ecx, eax
mov eax, dword [0x101039dc]
xor edx, edx
test eax, eax
cmovs eax, edx
sub edi, dword [0x101039e0]
sub ebx, dword [0x101039e4]
cmp ecx, edi
cmovg ecx, edi
cmp eax, ebx
mov dword [0x101039d8], ecx
cmovg eax, ebx
mov dword [0x101039dc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10027a20
Capabilities:
Parse pe header

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], edx
mov edi, ecx
call fcn.100275e0
mov esi, eax
test esi, esi
jne 0x10027a50
push edi
push 0x10043fcc
call fcn.10029010
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, 0x5a4d
cmp word [esi], ax
je 0x10027a71
push 0x10044030
call fcn.10029010
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
je 0x10027a94
push 0x10044000
call fcn.10029010
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ebp, dword [eax + esi + 0x50]
xor ebx, ebx
mov edx, dword [esp + 0x18]
add ebp, esi
cmp esi, ebp
jae 0x10027b39
mov ecx, 0x3f3f
nop dword [eax]
mov al, byte [edx]
mov byte [esp + 0x17], al
cmp al, 0x3f
je 0x10027b04
movzx ecx, al
sub al, 0x30
cmp al, 9
ja 0x10027ac8
add ecx, 0xffffffd0
jmp 0x10027ace
and ecx, 0xffffffdf
sub ecx, 0x37
mov al, byte [edx + 1]
movzx edi, al
sub al, 0x30
cmp al, 9
ja 0x10027adf
add edi, 0xffffffd0
jmp 0x10027ae5
and edi, 0xffffffdf
sub edi, 0x37
movzx eax, byte [esi]
shl ecx, 4
or ecx, edi
cmp eax, ecx
mov ecx, 0x3f3f
je 0x10027b04
test ebx, ebx
je 0x10027b30
mov edx, dword [esp + 0x18]
mov esi, ebx
xor ebx, ebx
jmp 0x10027b30
test ebx, ebx
mov eax, esi
cmovne eax, ebx
cmp byte [edx + 2], 0
mov ebx, eax
je 0x10027b50
cmp word [edx], cx
je 0x10027b24
cmp byte [esp + 0x17], 0x3f
mov eax, 2
je 0x10027b29
mov eax, 3
add edx, eax
cmp byte [edx], 0
je 0x10027b50
inc esi
cmp esi, ebp
jb 0x10027ab0
push 0x10044068
call fcn.10029010
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc
ret
Function at 0x1002fd70
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x100d1564]
sub esp, 0x14
mov edx, dword [eax]
push dword [ecx + 0xb38]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x1002ffa8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
test eax, eax
je 0x1002ffa8
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100d13d0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102f77a4]
cmp eax, dword [ecx + 4]
jle 0x1002fdfb
push 0x102f77a4
call fcn.100380f9
add esp, 4
cmp dword [0x102f77a4], 0xffffffff
jne 0x1002fdfb
push 0x102f77a4
mov dword [0x102f7798], 0
mov dword [0x102f779c], 0
mov dword [0x102f77a0], 0
call fcn.100380af
add esp, 4
movss xmm4, dword [0x102e2a90]
movss xmm1, dword [0x100469bc]
comiss xmm4, xmm1
movss xmm2, dword [0x102e2a98]
movss xmm3, dword [0x102e2a94]
movss xmm0, dword [0x1004668c]
jbe 0x1002fe5b
comiss xmm0, xmm4
jbe 0x1002fe5b
comiss xmm3, xmm1
jbe 0x1002fe5b
comiss xmm0, xmm3
jbe 0x1002fe5b
comiss xmm2, xmm1
jbe 0x1002fe5b
comiss xmm0, xmm2
jbe 0x1002fe5b
movss xmm2, dword [0x102f77a0]
movss xmm3, dword [0x102f779c]
movss xmm4, dword [0x102f7798]
jmp 0x1002fe73
movss dword [0x102f7798], xmm4
movss dword [0x102f779c], xmm3
movss dword [0x102f77a0], xmm2
comiss xmm4, xmm1
jbe 0x1002fe95
comiss xmm0, xmm4
jbe 0x1002fe95
comiss xmm3, xmm1
jbe 0x1002fe95
comiss xmm0, xmm3
jbe 0x1002fe95
comiss xmm2, xmm1
jbe 0x1002fe95
comiss xmm0, xmm2
ja 0x1002ffa8
mov eax, dword [0x100d1560]
push 0xa4
movss xmm0, dword [eax + 0x10]
mulss xmm0, dword [0x10046874]
movss dword [esp + 8], xmm0
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1002fee0
movss xmm2, dword [0x10046778]
movaps xmm1, xmm2
subss xmm1, dword [0x102f730c]
mulss xmm1, dword [esp + 4]
addss xmm1, dword [0x102f730c]
jmp 0x1002ff0a
movss xmm0, dword [0x102f730c]
comiss xmm0, dword [0x1004668c]
jbe 0x1002ff9e
movss xmm2, dword [0x10046778]
movaps xmm1, xmm2
subss xmm1, dword [esp + 4]
mulss xmm1, xmm0
comiss xmm1, xmm2
movss dword [0x102f730c], xmm1
jbe 0x1002ff23
mov dword [0x102f730c], 0x3f800000
jmp 0x1002ff33
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1002ff9e
comiss xmm1, xmm0
movaps xmm2, xmm1
jbe 0x1002ffa8
movss xmm0, dword [0x102f7798]
sub esp, 0xc
mulss xmm2, dword [0x10046864]
mov eax, esp
movss dword [eax], xmm0
movss xmm0, dword [0x102f779c]
movss dword [eax + 4], xmm0
movss xmm0, dword [0x102f77a0]
movss dword [eax + 8], xmm0
call fcn.10017d60
mov ecx, dword [0x100d16ec]
lea edx, [esp + 8]
push 1
push edx
push 0x102f7798
mov eax, dword [ecx]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call dword [eax + 0x1c]
add esp, 0x14
ret
mov dword [0x102f730c], 0
add esp, 0x14
ret
Function at 0x100335b0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x1004b00c]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
push 0x40
lea eax, [esp + 0x24]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0x20
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x2c]
shr eax, 3
mov edx, 0x3f
and eax, 0x3f
mov dword [esp + 0x18], 0xefcdab89
add ecx, eax
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
sub edx, eax
mov dword [esp + 0x28], 0
add esp, 0xc
mov dword [esp + 0x20], esi
mov byte [ecx], 0x80
inc ecx
cmp edx, 8
jae 0x1003364c
push edx
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
call fcn.10032f10
push 0x38
lea eax, [esp + 0x30]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
jmp 0x1003365b
lea eax, [edx - 8]
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
mov dword [esp + 0x58], eax
lea ecx, [esp + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
call fcn.10032f10
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0xe]
pop esi
xor ecx, esp
call fcn.10037c8d
add esp, 0x68
ret
Function at 0x10002be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push ecx
mov eax, dword [esp + 0x34]
push eax
push ebx
cmp ecx, 0
je 0x10002cb0
and ebp, 0xfffffff8
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
je 0x10002c4e
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.10002840
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10002c20
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x10002d57
call fcn.10002c60
and ebp, 0xfffffff8
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
je 0x10002d00
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.10002840
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10002cbd
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x10002d57
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.10002840
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x10002d55
jmp 0x10002d57
mov ecx, dword [esp + 0x40]
add esp, 0x1c
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10002dc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push ebx
cmp ecx, 0
je 0x10002e99
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x10002e37
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.10002980
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10002e09
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x10002f40
call fcn.10002e49
and ebp, 0xfffffff8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
je 0x10002ee9
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.10002ab0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10002ea6
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x10002f40
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.10002ab0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x10002f3e
jmp 0x10002f40
mov ecx, dword [esp + 0x4c]
add esp, 0x20
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100041a0
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp + 0x14], edi
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
mov esi, dword [edi + 0xf0]
lea esi, [esi + esi - 2]
lea esi, [edi + esi*8]
mov dword [esp + 0x18], esi
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 3]
mov edi, ecx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, edx
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8]
movzx edi, ch
xor esi, dword [ebp + edi*8 + 3]
mov edi, edx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, eax
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8]
movzx edi, dh
xor esi, dword [ebp + edi*8 + 3]
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 1]
mov edi, dword [esp + 0x14]
mov edx, dword [ebp + edx*8]
movzx eax, ah
xor edx, dword [ebp + eax*8 + 3]
mov eax, dword [esp + 4]
and ebx, 0xff
xor edx, dword [ebp + ebx*8 + 2]
mov ebx, dword [esp + 8]
xor edx, dword [ebp + ecx*8 + 1]
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
cmp edi, dword [esp + 0x18]
mov dword [esp + 0x14], edi
jb 0x100041c0
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, bh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, ecx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, edx
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, ch
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, edx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, eax
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, dh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
movzx edi, bh
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov edi, dword [esp + 0x14]
and edx, 0xff
mov edx, dword [ebp + edx*8 + 2]
and edx, 0xff
movzx eax, ah
mov eax, dword [ebp + eax*8]
and eax, 0xff00
xor edx, eax
mov eax, dword [esp + 4]
and ebx, 0xff
mov ebx, dword [ebp + ebx*8]
and ebx, 0xff0000
xor edx, ebx
mov ebx, dword [esp + 8]
mov ecx, dword [ebp + ecx*8 + 2]
and ecx, 0xff000000
xor edx, ecx
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
ret
Function at 0x10009a30
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
test eax, eax
je 0x10009cdc
test edx, edx
je 0x10009cdc
movups xmm0, xmmword [eax]
xorps xmm4, xmm4
lea edx, [edx + 0x10]
cmp ecx, 0x100
je 0x10009bf0
cmp ecx, 0xc0
je 0x10009b10
cmp ecx, 0x80
jne 0x10009ce4
lea ecx, [ecx]
mov ecx, 9
movups xmmword [edx - 0x10], xmm0
aeskeygenassist xmm1, xmm0, 1
call fcn.10009af6
aeskeygenassist xmm1, xmm0, 2
call fcn.10009af0
aeskeygenassist xmm1, xmm0, 4
call fcn.10009af0
aeskeygenassist xmm1, xmm0, 8
call fcn.10009af0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.10009af0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.10009af0
aeskeygenassist xmm1, xmm0, 0x40
call fcn.10009af0
aeskeygenassist xmm1, xmm0, 0x80
call fcn.10009af0
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.10009af0
aeskeygenassist xmm1, xmm0, 0x36
call fcn.10009af0
movups xmmword [edx], xmm0
mov dword [edx + 0x50], ecx
xor eax, eax
ret
movq xmm2, qword [eax + 0x10]
mov ecx, 0xb
movups xmmword [edx - 0x10], xmm0
aeskeygenassist xmm1, xmm2, 1
call fcn.10009b90
aeskeygenassist xmm1, xmm2, 2
call fcn.10009bd0
aeskeygenassist xmm1, xmm2, 4
call fcn.10009b80
aeskeygenassist xmm1, xmm2, 8
call fcn.10009bd0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.10009b80
aeskeygenassist xmm1, xmm2, 0x20
call fcn.10009bd0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.10009b80
aeskeygenassist xmm1, xmm2, 0x80
call fcn.10009bd0
movups xmmword [edx], xmm0
mov dword [edx + 0x30], ecx
xor eax, eax
ret
movups xmm2, xmmword [eax + 0x10]
mov ecx, 0xd
lea edx, [edx + 0x10]
movups xmmword [edx - 0x20], xmm0
movups xmmword [edx - 0x10], xmm2
aeskeygenassist xmm1, xmm2, 1
call fcn.10009ca6
aeskeygenassist xmm1, xmm0, 1
call fcn.10009cc0
aeskeygenassist xmm1, xmm2, 2
call fcn.10009ca0
aeskeygenassist xmm1, xmm0, 2
call fcn.10009cc0
aeskeygenassist xmm1, xmm2, 4
call fcn.10009ca0
aeskeygenassist xmm1, xmm0, 4
call fcn.10009cc0
aeskeygenassist xmm1, xmm2, 8
call fcn.10009ca0
aeskeygenassist xmm1, xmm0, 8
call fcn.10009cc0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.10009ca0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.10009cc0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.10009ca0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.10009cc0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.10009ca0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], ecx
xor eax, eax
ret
mov eax, 0xffffffff
ret
mov eax, 0xfffffffe
ret

Function at 0x10009d10
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.10009a30
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x10009d71
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x10009d42
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
xor eax, eax
ret