joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10085d60
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x10085d8d
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x10085dd4
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x10085dda
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x10085e3a
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
lea ebx, [ebx]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
push 1
lea eax, [ebp + 0xb]
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
xor al, 0x5c
mov byte [ebp + 0xb], al
push 1
lea eax, [ebp + 0xb]
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
lea ebx, [ebx + 1]
call eax
add esp, 0x18
dec dword [ebp + 0x10]
jne 0x10085e00
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x10085e67
nop
mov eax, dword [esi + 4]
push 1
push str.6AES_part_of_OpenSSL_1.0.2p__14_Aug_2018
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x101972d7
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x10085e40
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10085e90
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x10086a30
push ebp
mov ebp, dword [esp + 0x10]
push ebp
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.10086c20
add esp, 0xc
test eax, eax
js 0x10086c1c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xf0]
shl edi, 2
xor ebx, ebx
test edi, edi
jle 0x10086aac
lea esi, [ebp + 8]
lea eax, [ebp + 8]
lea esi, [esi + edi*4]
lea esp, [esp]
mov ecx, dword [esi - 8]
mov edx, dword [eax - 8]
mov dword [eax - 8], ecx
mov ecx, dword [esi - 4]
mov dword [esi - 8], edx
mov edx, dword [eax - 4]
mov dword [eax - 4], ecx
mov ecx, dword [esi]
mov dword [esi - 4], edx
mov edx, dword [eax]
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [eax + 4]
mov dword [eax + 4], ecx
add ebx, 4
sub edi, 4
mov dword [esi + 4], edx
lea eax, [eax + 0x10]
lea esi, [esi - 0x10]
cmp ebx, edi
jl 0x10086a70
mov edi, 1
cmp dword [ebp + 0xf0], edi
jle 0x10086c17
lea esi, [ebp + 2]
mov edx, dword [esi + 0xe]
lea esi, [esi + 0x10]
mov eax, edx
shr eax, 0x18
inc edi
movzx ecx, byte [eax*4 + 0x10197700]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x10198300]
movzx eax, byte [eax*4 + 0x10197700]
xor ecx, dword [eax*4 + 0x10198b00]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + 0x10197700]
xor ecx, dword [eax*4 + 0x10198f00]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + 0x10197700]
xor ecx, dword [eax*4 + 0x10198700]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + 0x10197700]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x10198300]
movzx eax, byte [eax*4 + 0x10197700]
xor ecx, dword [eax*4 + 0x10198b00]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + 0x10197700]
xor ecx, dword [eax*4 + 0x10198700]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + 0x10197700]
xor ecx, dword [eax*4 + 0x10198f00]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + 0x10197700]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x10198300]
movzx eax, byte [eax*4 + 0x10197700]
xor ecx, dword [eax*4 + 0x10198b00]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + 0x10197700]
xor ecx, dword [eax*4 + 0x10198700]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + 0x10197700]
xor ecx, dword [eax*4 + 0x10198f00]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + 0x10197700]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x10198300]
movzx eax, byte [eax*4 + 0x10197700]
xor ecx, dword [eax*4 + 0x10198b00]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + 0x10197700]
xor ecx, dword [eax*4 + 0x10198700]
movzx eax, dl
movzx eax, byte [eax*4 + 0x10197700]
xor ecx, dword [eax*4 + 0x10198f00]
mov dword [esi + 0xa], ecx
cmp edi, dword [ebp + 0xf0]
jl 0x10086ac0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x10087f60
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
push dword [esp + 0x10]
call fcn.100880a0
mov edi, eax
add esp, 8
test edi, edi
jne 0x10088006
push 0xaf
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.10094fd0
push 0x101994b0
push esi
push 0x101994b4
push dword [esp + 0x2c]
push str.fopen_
push 5
call fcn.10094540
add esp, 0x2c
call fcn.101634cf
cmp dword [eax], 2
je 0x10087fe6
call fcn.101634cf
cmp dword [eax], 6
je 0x10087fe6
push 0xb8
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.10094fd0
add esp, 0x14
xor eax, eax
pop edi
pop esi
ret
push 0xb6
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.10094fd0
add esp, 0x14
xor eax, eax
pop edi
pop esi
ret
push 0x101f4098
call fcn.10088680
mov esi, eax
add esp, 4
test esi, esi
jne 0x10088027
push edi
call fcn.101629d6
add esp, 4
xor eax, eax
pop edi
pop esi
ret
push 0
push esi
call fcn.100882b0
push edi
push 1
push 0x6a
push esi
call fcn.100882e0
add esp, 0x18
mov eax, esi
pop edi
pop esi
ret
Function at 0x1008a210
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov ecx, dword [ebp + 4]
push edi
mov edi, dword [esp + 0x1c]
lea ebx, [ebx - 1]
mov eax, dword [edi + 4]
xor eax, ecx
shr ebx, 0x1f
dec ebx
and eax, ebx
xor ecx, eax
mov dword [ebp + 4], ecx
xor dword [edi + 4], eax
mov eax, dword [esp + 0x20]
lea ecx, [eax - 1]
cmp ecx, 9
ja case.default.0x1008a245
jmp dword [ecx*4 + 0x1008a38c]
mov ecx, 0xa
mov dword [esp + 0x14], ecx
cmp eax, ecx
jle case.0x1008a245.10
lea esp, [esp]
mov eax, dword [ebp]
mov esi, dword [esp + 0x14]
lea edx, [eax + ecx*4]
mov eax, dword [edi]
mov ecx, dword [edx]
mov esi, dword [eax + esi*4]
xor esi, ecx
and esi, ebx
xor ecx, esi
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
inc ecx
xor dword [eax + ecx*4 - 4], esi
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x20]
jl 0x1008a260
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x24]
mov ecx, dword [esi + 0x24]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x24], ecx
mov eax, dword [edi]
xor dword [eax + 0x24], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x20]
mov ecx, dword [esi + 0x20]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x20], ecx
mov eax, dword [edi]
xor dword [eax + 0x20], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x1c]
mov ecx, dword [esi + 0x1c]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x1c], ecx
mov eax, dword [edi]
xor dword [eax + 0x1c], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x18]
mov ecx, dword [esi + 0x18]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x18], ecx
mov eax, dword [edi]
xor dword [eax + 0x18], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x14]
mov ecx, dword [esi + 0x14]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x14], ecx
mov eax, dword [edi]
xor dword [eax + 0x14], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x10]
mov ecx, dword [esi + 0x10]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x10], ecx
mov eax, dword [edi]
xor dword [eax + 0x10], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0xc]
mov ecx, dword [esi + 0xc]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0xc], ecx
mov eax, dword [edi]
xor dword [eax + 0xc], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, dword [esi + 8]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 8], ecx
mov eax, dword [edi]
xor dword [eax + 8], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 4]
mov ecx, dword [esi + 4]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 4], ecx
mov eax, dword [edi]
xor dword [eax + 4], edx
mov esi, dword [ebp]
mov eax, dword [edi]
mov edx, dword [esi]
mov ecx, dword [eax]
xor ecx, edx
and ecx, ebx
xor edx, ecx
mov dword [esi], edx
mov eax, dword [edi]
pop edi
xor dword [eax], ecx
pop esi
pop ebp
pop ebx
ret
Function at 0x10092400
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x474
call fcn.10163470
mov eax, dword [0x101f9e50]
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
jne 0x10092445
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.101603fd
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x48]
push eax
push edi
call fcn.1016600c
add esp, 8
test eax, eax
js 0x1009242e
mov eax, 8
call fcn.10163470
xorps xmm0, xmm0
movsd qword [esp], xmm0
lea eax, [esp + 0x50]
push 0x30
push eax
call fcn.10092140
mov esi, dword [ebp + 0xc]
add esp, 0x10
test esi, esi
je 0x1009242e
push 0x1018dee4
push edi
call fcn.10162c50
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
je 0x10092542
test dword [esp + 0x4e], 0x2000
je 0x100924c1
push 0
push 4
mov ecx, 0x800
push 0
cmp esi, 0xffffffff
push eax
cmove esi, ecx
call fcn.10164e68
mov eax, dword [esp + 0x50]
add esp, 0x10
mov edi, 0x400
test esi, esi
jle 0x100924cf
cmp esi, edi
cmovl edi, esi
push eax
push edi
lea eax, [esp + 0x80]
push 1
push eax
call fcn.10161dd9
mov ebx, eax
add esp, 0x10
test ebx, ebx
jle 0x10092523
movd xmm0, ebx
mov eax, 8
cvtdq2pd xmm0, xmm0
call fcn.10163470
lea eax, [esp + 0x80]
movsd qword [esp], xmm0
push edi
push eax
call fcn.10092140
add dword [esp + 0x54], ebx
mov eax, dword [esp + 0x50]
add esp, 0x10
test esi, esi
jle 0x100924c1
sub esi, edi
test esi, esi
jg 0x100924c1
push dword [esp + 0x40]
call fcn.101629d6
lea eax, [esp + 0x7c]
push 0x400
push eax
call fcn.1009d1f0
mov ebx, dword [esp + 0x50]
add esp, 0xc
mov ecx, dword [esp + 0x47c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.101603fd
mov esp, ebp
pop ebp
ret

Function at 0x100994e0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.10161a10
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret
Function at 0x1009ac90
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x70
push 0
push esi
call fcn.10161a10
add esp, 0xc
mov dword [esi], 0xc1059ed8
mov dword [esi + 4], 0x367cd507
mov dword [esi + 8], 0x3070dd17
mov dword [esi + 0xc], 0xf70e5939
mov dword [esi + 0x10], 0xffc00b31
mov dword [esi + 0x14], 0x68581511
mov dword [esi + 0x18], 0x64f98fa7
mov dword [esi + 0x1c], 0xbefa4fa4
mov dword [esi + 0x6c], 0x1c
mov eax, 1
pop esi
ret

Function at 0x1009afd0
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x70
push 0
push esi
call fcn.10161a10
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x20
mov eax, 1
pop esi
ret
Function at 0x1009e300
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x1009e324
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
xor cl, byte [eax]
lea eax, [eax + 1]
or dl, cl
dec esi
jne 0x1009e316
pop edi
movzx eax, dl
pop esi
ret

Function at 0x1009e470
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x108
call fcn.10163470
mov eax, dword [0x101f9e50]
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 0x1009e4f7
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x1009e4f7
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x114]
lea eax, [esp + 0x10]
push pe_nt_image_headers32
push eax
call fcn.10160f3d
add esp, 0x10
lea ecx, [esp + 4]
push 0
push ecx
test eax, eax
mov ecx, pe_nt_image_headers32
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.101603fd
add esp, 0x108
ret
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x114]
lea eax, [esp + 0x10]
push 0xff
push eax
call fcn.10160f3d
add esp, 0x10
mov byte [esp + 0x107], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x1009e588
call fcn.1009e330
test eax, eax
jle 0x1009e588
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x1009e59c
push 0
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.101603fd
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.101603fd
add esp, 0x108
ret

Function at 0x100a3690
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x60
push 0
push esi
call fcn.10161a10
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov eax, 1
pop esi
ret
Function at 0x100b8630
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
xor edx, edx
test esi, esi
je 0x100b8676
mov al, byte [esi]
test al, al
je 0x100b8676
push edi
mov edi, pe_nt_image_headers32
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
rol edx, cl
lea esi, [esi + 1]
add edi, 0x100
xor edx, eax
mov al, byte [esi]
test al, al
jne 0x100b8647
mov eax, edx
shr eax, 0x10
pop edi
xor eax, edx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x100e1cd0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x100e1d99
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x100e1cf1
cmp al, 0x6b
jne 0x100e1d99
inc ecx
cmp al, 0x6b
jne 0x100e1d5b
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x100e1d12
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x100e1d12
cmp dl, 0xbb
jne 0x100e1d3b
inc eax
cmp eax, esi
jl 0x100e1d00
sub esi, eax
test eax, eax
jne 0x100e1d5e
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.10094fd0
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.10094fd0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x100e1d87
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.10094fd0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.10162060
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.10094fd0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x100e9c60
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
test esi, esi
jle 0x100e9d4c
push edi
mov edi, dword [esp + 0x14]
inc edi
lea ebx, [ebx]
movzx edx, byte [edi - 1]
cmp esi, 3
jl 0x100e9cde
movzx ecx, byte [edi]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + 0x101bcb18]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x101bcb18]
mov byte [eax + 1], cl
mov ecx, edx
shr ecx, 6
and ecx, 0x3f
and edx, 0x3f
movzx ecx, byte [ecx + 0x101bcb18]
mov byte [eax + 2], cl
movzx ecx, byte [edx + 0x101bcb18]
mov byte [eax + 3], cl
jmp 0x100e9d2f
shl edx, 0x10
cmp esi, 2
jne 0x100e9cee
movzx ecx, byte [edi]
shl ecx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + 0x101bcb18]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x101bcb18]
mov byte [eax + 1], cl
cmp esi, 1
jne 0x100e9d1b
lea ecx, [esi + 0x3c]
jmp 0x100e9d28
shr edx, 6
and edx, 0x3f
movzx ecx, byte [edx + 0x101bcb18]
mov byte [eax + 2], cl
mov byte [eax + 3], 0x3d
sub esi, 3
add eax, 4
add ebx, 4
add edi, 3
test esi, esi
jg 0x100e9c80
pop edi
mov byte [eax], 0
pop esi
mov eax, ebx
pop ebx
ret
mov byte [eax], bl
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x100ed390
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.10163470
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x88], eax
mov edx, dword [esp + 0xa0]
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x9c]
push edi
mov edi, dword [esp + 0xac]
xor eax, eax
mov dword [esp + 0x10], edx
test edi, edi
je 0x100ed3f6
cmp edi, dword [esi]
je 0x100ed3ed
test ebp, ebp
je 0x100ed470
test ebx, ebx
js 0x100ed470
mov eax, 1
mov dword [esi], edi
jmp 0x100ed3fc
mov edi, dword [esi]
test edi, edi
je 0x100ed470
test ebp, ebp
je 0x100ed58b
push edi
call fcn.100b1810
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x100ed430
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.1009e5c0
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jge 0x100ed48b
push dword [esp + 0x10]
lea eax, [esi + 4]
push edi
push eax
call fcn.1008e270
add esp, 0xc
test eax, eax
je 0x100ed470
push ebx
push ebp
lea ebx, [esi + 4]
push ebx
call fcn.1008e420
add esp, 0xc
test eax, eax
je 0x100ed470
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.1008e1c0
add esp, 0xc
test eax, eax
jne 0x100ed4a7
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101603fd
add esp, 0x8c
ret
cmp ebx, 0x80
ja 0x100ed470
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.10162060
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x100ed4ca
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.10161a10
add esp, 0xc
mov edx, 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 0x100ed4d0
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.1008e270
add esp, 0xc
test eax, eax
je 0x100ed470
push edi
call fcn.100b1810
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.1008e420
add esp, 0x10
test eax, eax
je 0x100ed470
xor ecx, ecx
jmp 0x100ed520
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x100ed520
push dword [esp + 0x10]
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.1008e270
add esp, 0xc
test eax, eax
je 0x100ed470
push edi
call fcn.100b1810
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.1008e420
add esp, 0x10
test eax, eax
je 0x100ed470
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.1008e4f0
add esp, 8
test eax, eax
je 0x100ed470
mov eax, 1
jmp 0x100ed472
test eax, eax
je 0x100ed569
jmp 0x100ed4ce
Function at 0x100ee8e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.10163470
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push ebx
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x80]
push esi
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [eax], ebx
push edi
mov edi, dword [esp + 0x8c]
lea eax, [esp + 0x20]
push eax
xor esi, esi
call fcn.1008e690
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.1008e4f0
add esp, 0xc
test eax, eax
je 0x100ee9e5
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.1008e1c0
add esp, 0xc
test eax, eax
je 0x100ee9e5
lea eax, [esp + 0x20]
push eax
call fcn.1008e430
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x100eea03
push edi
call fcn.1008eee0
push ebx
push edi
mov dword [esp + 0x28], eax
call fcn.100a2840
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100ee9e5
push esi
call fcn.100f4a00
add esp, 4
test eax, eax
jle 0x100ee9e5
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.100a25e0
add esp, 0x18
test eax, eax
jle 0x100ee9e5
push dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
push esi
call fcn.100f4910
add esp, 0x14
test eax, eax
jle 0x100ee9e5
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
mov ebx, 1
push esi
call fcn.100a27d0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.101603fd
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x100eea1b
cmp dword [edi], edx
je 0x100eea45
inc eax
add ecx, 4
cmp eax, 4
jl 0x100eea08
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.10094fd0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.101603fd
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x100eea79
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.10094fd0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.101603fd
add esp, 0x6c
ret
push dword [edi + 0x14]
mov ecx, dword [esp + 0x1c]
push ecx
push dword [esp + 0x18]
lea ecx, [esp + 0x44]
push dword [esp + 0x20]
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.101603fd
add esp, 0x6c
ret
Function at 0x100f6650
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x100f6662
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.100919d0
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
add esp, 4
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x100f6715
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x100f66b2
test esi, esi
jle 0x100f66f4
mov edx, ebp
lea ecx, [edi + 0x8c]
mov ebx, esi
lea ebx, [ebx]
mov al, byte [ecx + 0x60]
xor al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
dec ebx
jne 0x100f66a0
jmp 0x100f66f4
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x100f66d6
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.10161a10
add esp, 0xc
test esi, esi
jle 0x100f66f4
mov edx, ebp
lea ecx, [edi + 0xac]
mov ebx, esi
mov al, byte [ecx + 0x40]
xor al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
dec ebx
jne 0x100f66e4
push esi
push ebp
push ebp
push edi
call fcn.100a2570
add esp, 0x10
pop ebx
test eax, eax
jne 0x100f6715
push esi
push ebp
call fcn.1009d1f0
add esp, 8
xor eax, eax
pop esi
pop ebp
pop edi
ret
pop esi
pop ebp
mov eax, 1
pop edi
ret