joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100744f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x474
call fcn.10156030
mov eax, dword [0x102096e4]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x44], ebx
test edi, edi
je 0x10074618
lea eax, [esp + 0x48]
push eax
push edi
call fcn.101736c9
add esp, 8
test eax, eax
js 0x10074618
lea eax, [ebx + 8]
call fcn.10156030
xorps xmm0, xmm0
lea eax, [esp + 0x50]
movsd qword [esp], xmm0
push 0x30
push eax
call fcn.100740d0
mov esi, dword [ebp + 0xc]
add esp, 0x10
test esi, esi
je 0x10074618
push 0x101b1d7c
push edi
call fcn.1016302c
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
je 0x10074601
nop dword [eax]
mov edi, 0x400
test esi, esi
jle 0x1007458e
cmp esi, edi
cmovl edi, esi
push eax
push edi
lea eax, [esp + 0x80]
push 1
push eax
call fcn.10173d61
mov ebx, eax
add esp, 0x10
test ebx, ebx
jle 0x100745e2
movd xmm0, ebx
mov eax, 8
cvtdq2pd xmm0, xmm0
call fcn.10156030
lea eax, [esp + 0x80]
movsd qword [esp], xmm0
push edi
push eax
call fcn.100740d0
add dword [esp + 0x54], ebx
add esp, 0x10
mov eax, dword [esp + 0x40]
test esi, esi
jle 0x10074580
sub esi, edi
test esi, esi
jg 0x10074580
push dword [esp + 0x40]
call fcn.10162cd9
lea eax, [esp + 0x7c]
push 0x400
push eax
call fcn.10003820
mov ebx, dword [esp + 0x50]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.10155c5f
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x47c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10155c5f
mov esp, ebp
pop ebp
ret
Function at 0x10082f90
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x108
call fcn.10156030
mov eax, dword [0x102096e4]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x1008302f
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x1008302f
lea eax, [esp + 0x114]
push eax
push 0
push dword [esp + 0x118]
lea eax, [esp + 0x14]
push 0x100
push eax
call fcn.1003dbd0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.10186391
add esp, 0x1c
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea ecx, [esp + 4]
push 0
push ecx
test eax, eax
mov ecx, 0x100
cmovs eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10155c5f
add esp, 0x108
ret
lea eax, [esp + 0x114]
push eax
push 0
push dword [esp + 0x118]
lea eax, [esp + 0x14]
push 0xff
push eax
call fcn.1003dbd0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.10186391
add esp, 0x1c
mov byte [esp + 0x107], 0
call fcn.10082e50
test eax, eax
jle 0x100830bf
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10155c5f
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.10155c5f
add esp, 0x108
ret
Function at 0x100d5760
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x100d5829
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x100d5781
cmp al, 0x6b
jne 0x100d5829
inc ecx
cmp al, 0x6b
jne 0x100d57eb
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x100d57a2
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x100d57a2
cmp dl, 0xbb
jne 0x100d57cb
inc eax
cmp eax, esi
jl 0x100d5790
sub esi, eax
test eax, eax
jne 0x100d57ee
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.100787f0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x7b
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.100787f0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x100d5817
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.100787f0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.101576e0
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x70
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.100787f0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x100e0870
Capabilities:
Encode data using base64

Disassembly:
mov edx, dword [esp + 0xc]
push ebp
xor ebp, ebp
test edx, edx
jle 0x100e0952
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
inc edi
nop dword [eax + eax]
movzx eax, byte [edi - 1]
cmp edx, 3
jl 0x100e08e3
movzx ecx, byte [edi]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 1]
shl eax, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], cl
mov ecx, eax
shr ecx, 0xc
inc esi
and ecx, 0x3f
mov ebx, esi
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], cl
mov ecx, eax
and ecx, 0x3f
shr eax, 6
and eax, 0x3f
mov ch, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov cl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x100e092c
shl eax, 0x10
cmp edx, 2
jne 0x100e08f3
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
mov ecx, eax
lea ebx, [esi + 1]
shr ecx, 0x12
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], cl
mov ecx, eax
shr ecx, 0xc
mov esi, ebx
and ecx, 0x3f
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx], cl
cmp edx, 1
jne 0x100e091e
mov cl, 0x3d
jmp 0x100e092a
shr eax, 6
and eax, 0x3f
mov cl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ch, 0x3d
lea eax, [esi + 2]
mov byte [ebx + 1], cl
sub edx, 3
mov byte [eax], ch
add ebp, 4
lea esi, [eax + 1]
add edi, 3
test edx, edx
jg 0x100e0890
pop edi
mov byte [esi], 0
mov eax, ebp
pop esi
pop ebx
pop ebp
ret
mov eax, dword [esp + 8]
mov byte [eax], 0
mov eax, ebp
pop ebp
ret
Function at 0x100e82f0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.10156030
mov eax, dword [0x102096e4]
xor eax, esp
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x94]
xor eax, eax
push ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 8], ecx
push ebp
mov ebp, dword [esp + 0xa8]
mov dword [esp + 8], ebp
push esi
mov esi, dword [esp + 0x9c]
push edi
test ebx, ebx
je 0x100e833f
mov eax, 1
mov dword [esi], ebx
jmp 0x100e8341
mov ebx, dword [esi]
test ecx, ecx
je 0x100e84b8
push ebx
call fcn.10089010
mov ebp, eax
add esp, 4
cmp ebp, 0x80
jle 0x100e8370
push str.j____int_sizeof_ctx__key_
push 0x6e
push str..cryptohmachmac.c
call fcn.10083100
add esp, 0xc
mov edi, dword [esp + 0xa8]
cmp ebp, edi
jge 0x100e83c8
push dword [esp + 0x10]
lea ebp, [esi + 4]
push ebx
push ebp
call fcn.1006e520
add esp, 0xc
test eax, eax
je 0x100e84b4
push edi
push dword [esp + 0x18]
push ebp
call fcn.1006e6c0
add esp, 0xc
test eax, eax
je 0x100e84b4
lea eax, [esi + 0x4c]
push eax
lea eax, [esi + 0x50]
push eax
push ebp
call fcn.1006e480
add esp, 0xc
test eax, eax
je 0x100e84b4
mov edi, dword [esi + 0x4c]
jmp 0x100e83fc
test edi, edi
js 0x100e83d4
cmp edi, 0x80
jle 0x100e83e8
push str.len___0__len____int_sizeof_ctx__key_
push 0x78
push str..cryptohmachmac.c
call fcn.10083100
add esp, 0xc
push edi
push dword [esp + 0x18]
lea eax, [esi + 0x50]
push eax
call fcn.101576e0
add esp, 0xc
mov dword [esi + 0x4c], edi
cmp edi, 0x80
je 0x100e841c
mov eax, 0x80
sub eax, edi
push eax
lea eax, [esi + 0x50]
add eax, edi
push 0
push eax
call fcn.10157450
add esp, 0xc
mov ebp, dword [esp + 0x10]
xor ecx, ecx
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x100e8422
push ebp
lea edi, [esi + 0x1c]
push ebx
push edi
call fcn.1006e520
add esp, 0xc
test eax, eax
je 0x100e84b4
push ebx
call fcn.10089010
push eax
lea eax, [esp + 0x20]
push eax
push edi
call fcn.1006e6c0
add esp, 0x10
test eax, eax
je 0x100e84b4
xor ecx, ecx
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x100e8462
push ebp
lea edi, [esi + 0x34]
push ebx
push edi
call fcn.1006e520
add esp, 0xc
test eax, eax
je 0x100e84b4
push ebx
call fcn.10089010
push eax
lea eax, [esp + 0x20]
push eax
push edi
call fcn.1006e6c0
add esp, 0x10
test eax, eax
je 0x100e84b4
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.1006e8d0
add esp, 8
test eax, eax
jne 0x100e84c1
xor eax, eax
jmp 0x100e84c6
test eax, eax
je 0x100e84a0
jmp 0x100e8420
mov eax, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10155c5f
add esp, 0x8c
ret
Function at 0x100ea8f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.10156030
mov eax, dword [0x102096e4]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push ebx
mov dword [esp + 0xc], eax
xor ebx, ebx
mov eax, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov dword [esp + 0x10], eax
xor esi, esi
mov dword [eax], ebx
lea eax, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x8c]
push eax
call fcn.1006ea70
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.1006e8d0
add esp, 0xc
test eax, eax
je 0x100ea9f2
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.1006e480
add esp, 0xc
test eax, eax
je 0x100ea9f2
lea eax, [esp + 0x20]
push eax
call fcn.1006e6d0
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x100eaa10
push edi
call fcn.1006f5c0
push ebx
push edi
mov dword [esp + 0x1c], eax
call fcn.100894b0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100ea9f2
push esi
call fcn.100f39c0
add esp, 4
test eax, eax
jle 0x100ea9f2
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.10089080
add esp, 0x18
test eax, eax
jle 0x100ea9f2
push dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x24]
push esi
call fcn.100f38e0
add esp, 0x14
test eax, eax
jle 0x100ea9f2
mov ecx, dword [esp + 0x14]
mov ebx, 1
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
push esi
call fcn.10089400
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.10155c5f
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x100eaa28
cmp dword [edi], edx
je 0x100eaa52
inc eax
add ecx, 4
cmp eax, 4
jl 0x100eaa15
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.100787f0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.10155c5f
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x100eaa86
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.100787f0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.10155c5f
add esp, 0x6c
ret
push dword [edi + 0x14]
mov ecx, dword [esp + 0x18]
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x44]
push dword [esp + 0x28]
push ecx
push dword [esi]
call eax
mov ecx, dword [esp + 0x90]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10155c5f
add esp, 0x6c
ret
Function at 0x100f5ef0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x100f5f02
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.10088a70
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebp, dword [esp + 0x14]
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x100f5fc5
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x100f5f56
test esi, esi
jle 0x100f5fa4
mov edx, ebp
lea ecx, [edi + 0x8c]
mov ebx, esi
nop word [eax + eax]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x100f5f40
jmp 0x100f5fa4
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x100f5f7a
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.10157450
add esp, 0xc
test esi, esi
jle 0x100f5fa4
mov edx, ebp
lea ecx, [edi + 0xac]
mov ebx, esi
nop dword [eax + eax]
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x100f5f90
push esi
push ebp
push ebp
push edi
call fcn.10088fc0
add esp, 0x10
pop ebx
test eax, eax
jne 0x100f5fc5
push esi
push ebp
call fcn.10003820
add esp, 8
xor eax, eax
pop esi
pop ebp
pop edi
ret
pop esi
pop ebp
mov eax, 1
pop edi
ret
Function at 0x100f9b20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x70
call fcn.10156030
mov eax, dword [0x102096e4]
xor eax, esp
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x88], 0x40000000
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
push esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], 0
ja 0x100f9cf7
mov esi, dword [esp + 0x80]
cmp esi, 0x40000000
ja 0x100f9cf7
cmp dword [esp + 0x88], 0x40000000
ja 0x100f9cf7
push ebx
push edi
push eax
call fcn.10089040
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.1006ea70
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x34]
mov ebx, 1
push eax
call fcn.1006e520
push dword [esp + 0xa4]
lea eax, [esp + 0x3c]
mov dword [esp + 0x28], 0x1000000
push dword [esp + 0x30]
push eax
call fcn.1006e6c0
add esp, 0x20
test eax, eax
je 0x100f9cd3
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1006e6c0
add esp, 0xc
test eax, eax
je 0x100f9cd3
push dword [esp + 0x98]
lea eax, [esp + 0x28]
push dword [esp + 0x24]
push eax
call fcn.1006e6c0
add esp, 0xc
test eax, eax
je 0x100f9cd3
push 0
cmp esi, edi
jb 0x100f9c9b
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.1006e450
add esp, 0xc
test eax, eax
je 0x100f9cd3
sub esi, edi
je 0x100f9ccb
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x2c]
add ebp, edi
push eax
inc ebx
call fcn.1006e520
push dword [esp + 0x9c]
mov eax, ebx
mov byte [esp + 0x23], bl
push dword [esp + 0x28]
shr eax, 8
mov byte [esp + 0x26], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x25], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x24], al
lea eax, [esp + 0x38]
push eax
call fcn.1006e6c0
add esp, 0x18
test eax, eax
jne 0x100f9be7
jmp 0x100f9cd3
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1006e450
add esp, 0xc
test eax, eax
je 0x100f9cd3
push esi
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.101576e0
lea eax, [esp + 0x48]
push edi
push eax
call fcn.10003820
add esp, 0x14
mov dword [esp + 0x1c], 1
lea eax, [esp + 0x24]
push eax
call fcn.1006e6d0
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.10155c5f
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
xor eax, eax
pop esi
pop ebp
xor ecx, esp
call fcn.10155c5f
add esp, 0x70
ret
Function at 0x100ff650
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.10156030
mov eax, dword [0x102096e4]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
push ebx
push ebp
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
shl ebx, 0x18
push esi
push edi
mov edi, dword [esp + 0x50]
movzx eax, byte [edx]
movzx ecx, byte [edx + 3]
shl eax, 0x10
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov esi, dword [edi]
movzx eax, byte [edx + 2]
or ebx, eax
mov dword [esp + 0x14], edi
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [esp + 0x24], ebp
movzx eax, byte [edx + 6]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x18], ebx
mov eax, ebx
mov byte [esp + 0x2f], bl
shr eax, 0x18
or edx, ecx
mov byte [esp + 0x2c], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], edx
mov byte [esp + 0x33], dl
test eax, eax
je 0x100ff815
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
nop dword [eax]
dec eax
mov dword [esp + 0x44], eax
test esi, esi
jne 0x100ff7a5
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
call fcn.10010fc0
mov ebx, dword [esp + 0x20]
add esp, 8
mov edx, dword [esp + 0x1c]
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ebx
mov ecx, dword [esp + 0x10]
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
inc ebp
mov byte [esp + 0x2f], bl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
mov al, byte [esp + esi + 0x2c]
inc esi
xor al, byte [edi]
and esi, 7
mov byte [ecx + edi], al
inc edi
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x100ff740
test ebp, ebp
mov ebp, dword [esp + 0x24]
je 0x100ff7fc
mov ecx, dword [esp + 0x28]
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp], al
mov eax, ebx
shr eax, 8
mov byte [ebp + 1], al
mov eax, edx
shr eax, 0x18
mov byte [ebp + 2], bl
mov byte [ebp + 3], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 4], al
mov eax, edx
shr eax, 8
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10155c5f
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10155c5f
add esp, 0x28
ret
Function at 0x100ffc90
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.10156030
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x2c]
mov esi, dword [esi]
test esi, esi
je 0x100ffccd
mov ecx, dword [esp + 0x38]
test edi, edi
je 0x100ffccd
mov al, byte [esi + ecx]
dec edi
xor al, byte [ebp]
inc esi
mov byte [ebx], al
inc ebp
inc ebx
and esi, 0xf
jne 0x100ffcb8
mov edx, dword [esp + 0x34]
cmp edi, 0x10
jb 0x100ffd71
mov ecx, dword [esp + 0x38]
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, edi
shr eax, 4
mov dword [esp + 0x2c], eax
shl eax, 4
add ebx, eax
add ebp, eax
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x14]
jmp 0x100ffd14
mov ecx, dword [esp + 0x38]
push dword [esp + 0x30]
push ecx
push edx
call dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push eax
call fcn.100fff20
add esp, 0x10
cmp esi, 0x10
jae 0x100ffd53
mov eax, dword [esp + 0x38]
mov edx, 0xf
sub edx, esi
add eax, esi
shr edx, 2
inc edx
mov ecx, dword [eax + ebp]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [ebx + eax - 4], ecx
sub edx, 1
jne 0x100ffd41
mov edx, dword [esp + 0x34]
sub edi, 0x10
add ebx, 0x10
add ebp, 0x10
xor esi, esi
sub dword [esp + 0x2c], 1
jne 0x100ffd10
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test edi, edi
je 0x100ffdb2
push dword [esp + 0x30]
push dword [esp + 0x3c]
push edx
call dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push eax
call fcn.100fff20
mov eax, dword [esp + 0x48]
add esp, 0x10
sub ebp, eax
sub ebx, eax
lea ecx, [esi + eax]
add esi, edi
nop dword [eax]
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
sub edi, 1
jne 0x100ffda0
mov eax, dword [esp + 0x3c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x100ffdc0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.10156030
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x30]
mov edi, dword [edi]
mov dword [esp + 0x10], edi
test edi, edi
je 0x100ffe09
mov ecx, dword [esp + 0x2c]
nop dword [eax]
test esi, esi
je 0x100ffe09
mov al, byte [edi + ecx]
dec esi
xor al, byte [ebp]
inc edi
mov byte [ebx], al
inc ebp
inc ebx
and edi, 0xf
mov dword [esp + 0x10], edi
jne 0x100ffdf0
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0xc]
bswap eax
mov dword [esp + 0x20], eax
cmp esi, 0x10
jb 0x100ffe88
mov edi, eax
nop dword [eax]
mov ecx, esi
mov eax, edi
shr ecx, 4
neg eax
add edi, ecx
cmp edi, ecx
push edx
push dword [esp + 0x28]
cmovae eax, ecx
mov dword [esp + 0x28], eax
xor eax, eax
push dword [esp + 0x28]
cmp edi, ecx
push ebx
cmovae eax, edi
push ebp
mov edi, eax
call dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
mov eax, edi
add esp, 0x14
bswap eax
mov dword [edx + 0xc], eax
test edi, edi
jne 0x100ffe6e
mov eax, 0xc
dec eax
add byte [eax + edx], 1
jne 0x100ffe6e
test eax, eax
jne 0x100ffe63
mov eax, dword [esp + 0x20]
shl eax, 4
sub esi, eax
add ebx, eax
add ebp, eax
cmp esi, 0x10
jae 0x100ffe20
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x10]
test esi, esi
je 0x100ffef2
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
push edx
push dword [esp + 0x28]
push 1
push eax
push eax
movups xmmword [eax], xmm0
call dword [esp + 0x48]
mov eax, dword [esp + 0x34]
add esp, 0x14
mov edx, dword [esp + 0x28]
add eax, 1
bswap eax
mov dword [edx + 0xc], eax
jne 0x100ffecb
mov ecx, 0xc
nop dword [eax]
dec ecx
add byte [ecx + edx], 1
jne 0x100ffecb
test ecx, ecx
jne 0x100ffec0
mov eax, dword [esp + 0x2c]
sub ebp, eax
sub ebx, eax
lea ecx, [edi + eax]
add edi, esi
nop dword [eax + eax]
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub esi, 1
jne 0x100ffee0
mov eax, dword [esp + 0x30]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret