joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100abdc0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x2b4
call fcn.101cf170
mov eax, dword [0x10263fdc]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
mov ebx, dword [esp + 0x2c0]
push ebp
mov ebp, dword [esp + 0x2cc]
push esi
mov esi, dword [esp + 0x2d4]
push edi
mov edi, dword [esp + 0x2c8]
lea eax, [esp + 0x88]
push eax
call fcn.1004cc50
push 0x20
lea ecx, [esp + 0x90]
push esi
push ecx
call fcn.1004d440
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x214]
push eax
call fcn.1004ccf0
movzx ecx, byte [esp + 0x237]
and byte [esp + 0x218], 0xf8
and cl, 0x3f
lea edx, [esp + 0xa0]
or cl, 0x40
push edx
mov byte [esp + 0x23b], cl
call fcn.1004cc50
push 0x20
lea eax, [esp + 0x240]
push eax
lea ecx, [esp + 0xac]
push ecx
call fcn.1004d440
mov edx, dword [esp + 0x2f8]
push edx
lea eax, [esp + 0xb4]
push ebx
push eax
call fcn.1004d440
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x278]
push edx
call fcn.1004ccf0
lea esi, [esp + 0x27c]
call fcn.100a59e0
lea eax, [esp + 0x19c]
push eax
mov ecx, esi
call fcn.100a4240
lea ecx, [esp + 0x50]
add esp, 0x40
push ecx
lea ecx, [esp + 0x1b4]
call fcn.100a1820
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x16c]
call fcn.1009f560
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x19c]
call fcn.1009f560
push edi
lea ecx, [esp + 0x78]
call fcn.1009f2c0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x54]
call fcn.1009f2c0
movzx ecx, byte [esp + 0x2c]
shl cl, 7
xor byte [edi + 0x1f], cl
lea edx, [esp + 0xa4]
push edx
call fcn.1004cc50
push 0x20
lea eax, [esp + 0xac]
push edi
push eax
call fcn.1004d440
push 0x20
lea ecx, [esp + 0xb8]
push ebp
push ecx
call fcn.1004d440
mov edx, dword [esp + 0x308]
push edx
lea eax, [esp + 0xc4]
push ebx
push eax
call fcn.1004d440
add esp, 0x44
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x284]
push edx
call fcn.1004ccf0
lea esi, [esp + 0x288]
call fcn.100a59e0
mov eax, esi
push eax
add edi, 0x20
push edi
lea edx, [esp + 0x250]
lea ecx, [esp + 0x210]
call fcn.100a7aa0
lea ecx, [esp + 0x98]
push 0xd8
push ecx
call fcn.10045ee0
lea edx, [esp + 0x258]
push 0x40
push edx
call fcn.10045ee0
lea eax, [esp + 0x220]
push 0x40
push eax
call fcn.10045ee0
mov ecx, dword [esp + 0x2e8]
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.101ce9e2
add esp, 0x2b4
ret
Function at 0x100ac360
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x15c
call fcn.101cf170
mov eax, dword [0x10263fdc]
xor eax, esp
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x164]
push esi
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0x11c]
push ecx
push 0x20
push eax
call fcn.1004d570
mov dl, byte [esp + 0x147]
and byte [esp + 0x128], 0xf8
and dl, 0x3f
lea eax, [esp + 0x88]
or dl, 0x40
push eax
lea ecx, [esp + 0x12c]
mov byte [esp + 0x14b], dl
call fcn.100a4240
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xe0]
call fcn.100a1820
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x98]
call fcn.1009f560
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0xc8]
call fcn.1009f560
push esi
lea ecx, [esp + 0x7c]
call fcn.1009f2c0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x58]
call fcn.1009f2c0
mov cl, byte [esp + 0x30]
lea edx, [esp + 0x148]
shl cl, 7
xor byte [esi + 0x1f], cl
push 0x40
push edx
call fcn.10045ee0
mov ecx, dword [esp + 0x190]
add esp, 0x34
pop esi
xor ecx, esp
call fcn.101ce9e2
add esp, 0x15c
ret
Function at 0x100ac480
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x140
call fcn.101cf170
mov eax, dword [0x10263fdc]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x144]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x154]
push edi
mov ecx, 8
lea edi, [esp + 0x12c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x148]
and byte [esp + 0x12c], 0xf8
shr ecx, 0x18
and cl, 0x3f
or cl, 0x40
lea edx, [esp + 0x3c]
mov byte [esp + 0x14b], cl
push edx
lea ecx, [esp + 0x130]
mov dword [esp + 0x14], eax
call fcn.100a4240
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
add ecx, eax
sub eax, dword [esp + 0x68]
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x94]
add edx, ecx
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x98]
add esi, edx
mov dword [esp + 0xe8], esi
mov esi, dword [esp + 0x9c]
add edi, esi
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0xec], edi
mov edi, dword [esp + 0xa0]
add ebx, edi
mov dword [esp + 0xf0], ebx
mov ebx, dword [esp + 0xa4]
add ebx, dword [esp + 0x7c]
sub ecx, dword [esp + 0x6c]
sub edx, dword [esp + 0x70]
sub esi, dword [esp + 0x74]
sub edi, dword [esp + 0x78]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0x7c]
mov dword [esp + 0xf4], ebx
mov ebx, dword [esp + 0xa8]
add ebx, dword [esp + 0x80]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0xa8]
sub eax, dword [esp + 0x80]
mov dword [esp + 0xf8], ebx
mov ebx, dword [esp + 0xac]
add ebx, dword [esp + 0x84]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0xac]
sub eax, dword [esp + 0x84]
mov dword [esp + 0xfc], ebx
mov ebx, dword [esp + 0xb0]
add ebx, dword [esp + 0x88]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0x88]
mov dword [esp + 0x100], ebx
mov ebx, dword [esp + 0xb4]
add ebp, ebx
sub ebx, dword [esp + 0x8c]
mov dword [esp + 0x128], eax
mov dword [esp + 0x104], ebp
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], edi
mov dword [esp + 0x12c], ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10c]
call fcn.100a1820
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0xe8]
push edx
mov ecx, edx
call fcn.1009f560
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0xf0]
call fcn.1009f2c0
lea ecx, [esp + 0x140]
push 0x20
push ecx
call fcn.10045ee0
mov ecx, dword [esp + 0x168]
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101ce9e2
add esp, 0x140
ret
Function at 0x100b2b60
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x134
call fcn.101cf170
mov eax, dword [0x10263fdc]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x148]
push ebx
mov ebx, dword [esp + 0x140]
push ebp
mov ebp, dword [esp + 0x148]
push esi
mov esi, dword [esp + 0x150]
mov dword [esp + 0x14], eax
xor eax, eax
push edi
mov edi, dword [esp + 0x148]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
cmp esi, eax
je 0x100b2bc5
cmp esi, dword [edi]
je 0x100b2bc1
cmp ebx, eax
je 0x100b2c3e
cmp ebp, eax
jl 0x100b2c3e
mov dword [edi], esi
jmp 0x100b2bcb
mov esi, dword [edi]
cmp esi, eax
je 0x100b2c3e
push esi
call fcn.1005bb20
add esp, 4
test al, 2
jne 0x100b2c3e
test ebx, ebx
je 0x100b2d38
push esi
mov dword [esp + 0x14], 1
call fcn.1005cdf0
add esp, 4
cmp eax, 0x90
jg 0x100b2c3e
cmp eax, ebp
jge 0x100b2c59
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 4]
push ecx
push esi
push edx
call fcn.1004bdd0
add esp, 0xc
test eax, eax
je 0x100b2c3e
mov eax, dword [edi + 4]
push ebp
push ebx
push eax
call fcn.1004bf80
add esp, 0xc
test eax, eax
je 0x100b2c3e
mov eax, dword [edi + 4]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
call fcn.1004bfa0
add esp, 0xc
test eax, eax
jne 0x100b2c78
xor eax, eax
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101ce9e2
add esp, 0x134
ret
cmp ebp, 0x90
ja 0x100b2c3e
push ebp
lea ecx, [esp + 0x24]
push ebx
push ecx
call sub.MSVCR100.dll_memcpy
mov eax, ebp
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x100b2c7c
mov eax, dword [esp + 0x1c]
cmp eax, 0x90
je 0x100b2c9a
mov edx, 0x90
sub edx, eax
push edx
lea eax, [esp + eax + 0x24]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x20]
xor cl, 0x36
mov byte [esp + eax + 0xb0], cl
inc eax
cmp eax, 0x90
jl 0x100b2ca0
mov ebx, dword [esp + 0x18]
mov edx, dword [edi + 8]
push ebx
push esi
push edx
call fcn.1004bdd0
add esp, 0xc
test eax, eax
je 0x100b2d5b
push esi
call fcn.1005cdf0
mov ecx, dword [edi + 8]
push eax
lea eax, [esp + 0xb8]
push eax
push ecx
call fcn.1004bf80
add esp, 0x10
test eax, eax
je 0x100b2d5b
xor eax, eax
mov dl, byte [esp + eax + 0x20]
xor dl, 0x5c
mov byte [esp + eax + 0xb0], dl
inc eax
cmp eax, 0x90
jl 0x100b2cf1
mov eax, dword [edi + 0xc]
push ebx
push esi
push eax
call fcn.1004bdd0
add esp, 0xc
test eax, eax
je 0x100b2d5b
push esi
call fcn.1005cdf0
mov edx, dword [edi + 0xc]
push eax
lea ecx, [esp + 0xb8]
push ecx
push edx
call fcn.1004bf80
add esp, 0x10
test eax, eax
je 0x100b2d5b
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push ecx
call fcn.1004c0b0
add esp, 8
test eax, eax
je 0x100b2d54
mov dword [esp + 0x14], 1
cmp dword [esp + 0x10], 0
je 0x100b2d7f
lea edx, [esp + 0x20]
push 0x90
push edx
call fcn.10045ee0
lea eax, [esp + 0xb8]
push 0x90
push eax
call fcn.10045ee0
add esp, 0x10
mov eax, dword [esp + 0x14]
jmp 0x100b2c40
Function at 0x100b60f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x100b61b3
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x100b6111
cmp al, 0x6b
jne 0x100b61b3
lea edx, [ecx + 1]
cmp al, 0x6b
jne 0x100b6177
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x100b6131
mov al, byte [edx]
inc edx
cmp al, 0xba
je 0x100b6131
cmp al, 0xbb
jne 0x100b6157
inc ecx
cmp ecx, esi
jl 0x100b6121
sub esi, ecx
test ecx, ecx
jne 0x100b617a
push 0x50
push str.crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.1003c300
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x48
push str.crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.1003c300
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x100b61a0
push 0x59
push str.crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.1003c300
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x3d
push str.crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.1003c300
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x100b7850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, edx
test ebp, ebp
je 0x100b78a7
test esi, esi
je 0x100b78a7
push edi
mov edi, dword [ecx + 0x14]
cmp esi, edi
jae 0x100b786a
mov edi, esi
xor eax, eax
test edi, edi
je 0x100b787c
mov dl, byte [eax + ebp]
xor byte [ecx + eax + 0x18], dl
inc eax
cmp eax, edi
jb 0x100b7870
mov eax, dword [ecx + 0x14]
pop edi
cmp esi, eax
jbe 0x100b78a7
sub esi, eax
cmp esi, 0x10
jbe 0x100b7890
mov esi, 0x10
xor eax, eax
test esi, esi
je 0x100b78a7
mov edx, dword [ecx + 0x14]
add edx, eax
mov dl, byte [edx + ebp]
xor byte [ecx + eax + 0x38], dl
inc eax
cmp eax, esi
jb 0x100b7896
pop esi
pop ebp
ret

Function at 0x100b78b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x38
call fcn.101cf170
mov eax, dword [0x10263fdc]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
push esi
mov esi, dword [eax]
mov dword [esp + 8], esi
mov esi, dword [eax + 4]
mov dword [esp + 0xc], esi
mov esi, dword [eax + 8]
mov dword [esp + 0x10], esi
mov esi, dword [eax + 0xc]
mov dword [esp + 0x14], esi
mov esi, dword [eax]
mov dword [esp + 0x18], esi
mov esi, dword [eax + 4]
mov dword [esp + 0x1c], esi
mov esi, dword [eax + 8]
push edi
mov dword [esp + 0x24], esi
mov esi, dword [eax + 0xc]
mov edi, 0x10
mov cl, 2
mov dword [esp + 0x28], esi
cmp dword [edx + 0x14], edi
je 0x100b7929
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 8]
mov eax, esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov cl, 3
movzx esi, cl
shl esi, 4
lea ecx, [edx + 0x5c]
mov dword [esp + 8], edi
test esi, esi
jle 0x100b7951
push ebx
lea edi, [esp + 0x10]
push ebp
mov eax, ecx
sub edi, ecx
mov ebp, esi
mov bl, byte [edi + eax]
xor byte [eax], bl
inc eax
dec ebp
jne 0x100b7946
pop ebp
pop ebx
push esi
push ecx
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, dword [edx + 8]
push ecx
call fcn.10057c70
add esp, 0x14
test eax, eax
je 0x100b7985
cmp dword [esp + 8], esi
jne 0x100b7985
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.101ce9e2
add esp, 0x38
ret
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.101ce9e2
add esp, 0x38
ret
Function at 0x100b79a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x38
call fcn.101cf170
mov eax, dword [0x10263fdc]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
push 0x2f
lea eax, [esp + 0x11]
push 0
push eax
mov byte [esp + 0x18], 0
call sub.MSVCR100.dll_memset
push 0x30
lea esi, [ebx + 0x5c]
push 0
push esi
call sub.MSVCR100.dll_memset
xor ecx, ecx
mov eax, 0x10
add esp, 0x18
cmp dword [ebx + 0x14], eax
mov byte [esp + 0x1f], 1
setne cl
mov byte [esp + 0x2f], 2
mov dword [esp + 8], eax
lea edi, [ecx + 2]
shl edi, 4
test edi, edi
jle 0x100b7a1a
push ebp
lea ebp, [esp + 0x10]
mov eax, esi
sub ebp, esi
mov ecx, edi
lea ebx, [ebx]
mov dl, byte [eax + ebp]
xor byte [eax], dl
inc eax
dec ecx
jne 0x100b7a10
pop ebp
mov ecx, dword [ebx + 8]
push edi
push esi
lea eax, [esp + 0x10]
push eax
push esi
push ecx
call fcn.10057c70
add esp, 0x14
test eax, eax
je 0x100b7a4e
cmp dword [esp + 8], edi
jne 0x100b7a4e
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.101ce9e2
add esp, 0x38
ret
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.101ce9e2
add esp, 0x38
ret
Function at 0x100b7a70
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x38
call fcn.101cf170
mov eax, dword [0x10263fdc]
xor eax, esp
mov dword [esp + 0x34], eax
push ebp
mov ebp, dword [esp + 0x40]
push esi
mov esi, ecx
test esi, esi
je 0x100b7c0d
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x100b7c0d
mov eax, dword [ebp + 0x58]
push edi
test eax, eax
je 0x100b7af5
mov edi, 0x10
sub edi, eax
cmp ecx, edi
jb 0x100b7af5
push edi
lea eax, [eax + ebp + 0x48]
push esi
push eax
call sub.MSVCR100.dll_memcpy
lea ecx, [ebp + 0x48]
push ecx
mov edx, ebp
call fcn.100b78b0
add esp, 0x10
test eax, eax
jne 0x100b7ae4
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.101ce9e2
add esp, 0x38
ret
sub dword [esp + 0x4c], edi
mov ecx, dword [esp + 0x4c]
mov dword [ebp + 0x58], 0
add esi, edi
push ebx
cmp ecx, 0x10
jb 0x100b7bc3
lea ebx, [ebp + 0x5c]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x1c], edx
mov edx, dword [esi]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], edx
mov edx, dword [esi + 8]
mov ecx, 0x10
mov al, 2
mov dword [esp + 0x2c], edx
cmp dword [ebp + 0x14], ecx
je 0x100b7b61
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x34], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edx
mov al, 3
movzx edi, al
shl edi, 4
mov dword [esp + 0x10], ecx
test edi, edi
jle 0x100b7b89
lea ecx, [esp + 0x14]
mov eax, ebx
sub ecx, ebx
mov edx, edi
lea esp, [esp]
mov bl, byte [ecx + eax]
xor byte [eax], bl
inc eax
dec edx
jne 0x100b7b80
mov edx, dword [ebp + 8]
push edi
lea ebx, [ebp + 0x5c]
push ebx
lea ecx, [esp + 0x18]
push ecx
push ebx
push edx
call fcn.10057c70
add esp, 0x14
test eax, eax
je 0x100b7bf8
cmp dword [esp + 0x10], edi
jne 0x100b7bf8
mov eax, dword [esp + 0x50]
sub eax, 0x10
add esi, 0x10
mov dword [esp + 0x50], eax
cmp eax, 0x10
jae 0x100b7b02
mov ecx, eax
test ecx, ecx
je 0x100b7be0
mov eax, dword [ebp + 0x58]
push ecx
lea ecx, [eax + ebp + 0x48]
push esi
push ecx
call sub.MSVCR100.dll_memcpy
mov edx, dword [esp + 0x5c]
add esp, 0xc
add dword [ebp + 0x58], edx
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.101ce9e2
add esp, 0x38
ret
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.101ce9e2
add esp, 0x38
ret
mov ecx, dword [esp + 0x3c]
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.101ce9e2
add esp, 0x38
ret
Function at 0x100f9ba0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push ebx
push eax
push ecx
call fcn.100f9670
add esp, 0xc
test eax, eax
js 0x100f9de8
mov edx, dword [ebx + 0xf0]
add edx, edx
push esi
add edx, edx
xor esi, esi
push edi
test edx, edx
jle 0x100f9c1d
lea ecx, [ebx + edx*4 + 8]
lea eax, [ebx + 8]
push ebp
lea ebx, [ebx]
mov ebp, dword [ecx - 8]
mov edi, dword [eax - 8]
mov dword [eax - 8], ebp
mov ebp, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [ecx + 4], edi
add esi, 4
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp esi, edx
jl 0x100f9be0
pop ebp
mov edx, 1
cmp dword [ebx + 0xf0], edx
jle 0x100f9de4
lea eax, [ebx + 2]
mov ecx, dword [eax + 0xe]
movzx edi, byte [eax + 0xf]
mov edi, dword [edi*4 + 0x1021b3b0]
add eax, 0x10
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1021b3b0]
and esi, 0xff
mov esi, dword [esi*4 + 0x1021bfb0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1021c7b0]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1021b3b0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1021cbb0]
movzx ecx, byte [eax]
mov ecx, dword [ecx*4 + 0x1021b3b0]
movzx edi, byte [eax + 3]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1021c3b0]
mov ecx, dword [eax + 2]
mov dword [eax - 2], esi
mov edi, dword [edi*4 + 0x1021b3b0]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1021b3b0]
and esi, 0xff
mov esi, dword [esi*4 + 0x1021bfb0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1021c7b0]
movzx edi, byte [eax + 4]
mov edi, dword [edi*4 + 0x1021b3b0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1021c3b0]
movzx edi, byte [eax + 7]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1021b3b0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1021cbb0]
mov ecx, dword [eax + 6]
mov dword [eax + 2], esi
mov edi, dword [edi*4 + 0x1021b3b0]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1021b3b0]
and esi, 0xff
mov esi, dword [esi*4 + 0x1021bfb0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1021c7b0]
movzx edi, byte [eax + 8]
mov edi, dword [edi*4 + 0x1021b3b0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1021c3b0]
movzx edi, byte [eax + 0xb]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1021b3b0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1021cbb0]
mov ecx, dword [eax + 0xa]
mov dword [eax + 6], esi
mov edi, dword [edi*4 + 0x1021b3b0]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1021b3b0]
and esi, 0xff
mov esi, dword [esi*4 + 0x1021bfb0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1021c7b0]
movzx edi, byte [eax + 0xc]
mov edi, dword [edi*4 + 0x1021b3b0]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1021b3b0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1021c3b0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1021cbb0]
inc edx
mov dword [eax + 0xa], esi
cmp edx, dword [ebx + 0xf0]
jl 0x100f9c31
pop edi
xor eax, eax
pop esi
pop ebx
ret
Function at 0x101007f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x10100809
mov esi, edi
mov edi, eax
jmp 0x1010080b
mov esi, eax
mov edx, dword [esi + 4]
mov ebx, dword [esp + 0x10]
push edx
push ebx
call fcn.1004b4e0
add esp, 8
test eax, eax
jne 0x10100824
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x10100845
jmp 0x10100830
mov ecx, dword [edi]
mov edx, dword [esi]
mov ecx, dword [ecx + eax*4]
xor ecx, dword [edx + eax*4]
mov edx, dword [ebx]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [edi + 4]
jl 0x10100830
cmp eax, dword [esi + 4]
jge 0x10100860
lea ebx, [ebx]
mov ecx, dword [esi]
mov ecx, dword [ecx + eax*4]
mov edx, dword [ebx]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [esi + 4]
jl 0x10100850
mov edx, dword [esi + 4]
push ebx
mov dword [ebx + 4], edx
call fcn.1004af70
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x10100ac0
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, 4
call fcn.101cf170
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
xor ebp, ebp
push ebx
mov dword [esp + 0x10], ebp
call fcn.10088300
push ebx
call fcn.10088390
mov esi, eax
add esp, 8
test esi, esi
je 0x10100cc2
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 4]
add eax, eax
push eax
push esi
call fcn.1004b4e0
add esp, 8
test eax, eax
je 0x10100cc1
mov ecx, dword [edi + 4]
dec ecx
js 0x10100c97
mov edx, dword [edi]
mov eax, dword [edx + ecx*4]
mov edx, eax
shr edx, 1
and edx, 0x8000
mov ebp, eax
and ebp, 0x20000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x40000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x80000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x100000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x200000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x400000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x800000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x1000000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x2000000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x4000000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x8000000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x10000000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x20000000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x40000000
or edx, ebp
shr edx, 1
and eax, reloc.szca_UKeyEngines.dll_Ordinal_1
or edx, eax
mov eax, dword [esi]
shr edx, 1
mov dword [eax + ecx*8 + 4], edx
mov edx, dword [edi]
mov eax, dword [edx + ecx*4]
mov edx, eax
and edx, 0x8000
add edx, edx
mov ebp, eax
and ebp, 0x4000
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x2000
or edx, ebp
mov ebp, eax
add edx, edx
and ebp, 0x1000
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x800
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x400
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x200
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x100
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x80
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x40
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x20
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x10
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 8
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 4
or edx, ebp
mov ebp, eax
add edx, edx
and ebp, 2
or edx, ebp
and eax, 1
add edx, edx
or edx, eax
dec ecx
mov eax, dword [esi]
mov dword [eax + ecx*8 + 8], edx
jns 0x10100b16
mov ebp, dword [esp + 0x10]
mov ecx, dword [edi + 4]
add ecx, ecx
push esi
mov dword [esi + 4], ecx
call fcn.1004af70
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
push edx
push esi
push eax
call fcn.10100880
add esp, 0x10
test eax, eax
je 0x10100cc1
mov ebp, 1
pop edi
push ebx
call fcn.10088350
add esp, 4
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret