joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100e6eb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101a04f8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [esp + 0x74]
test eax, eax
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jne 0x100e6f0c
xor al, al
jmp 0x100e7005
push 0x100020
call fcn.10017110
mov esi, eax
add esp, 4
test esi, esi
je 0x100e6f05
lea ecx, [esp + 0x20]
call fcn.100182e0
xor eax, eax
mov ecx, ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x14], eax
call fcn.10082b40
test al, al
jne 0x100e6fc6
push ebp
push edi
lea edx, [esp + 0x1c]
push edx
push 0x100000
push esi
mov ecx, ebx
call fcn.10083620
test al, al
je 0x100e6fc6
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100e6faa
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x100e6f74
push eax
push esi
call fcn.10019380
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
push eax
push esi
call fcn.100e6920
add esp, 0xc
push 0x20
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x28]
call fcn.10019380
test edi, edi
je 0x100e6faa
mov eax, dword [esp + 0x14]
push ebp
push 0
push eax
mov ecx, edi
call fcn.1007ab10
test al, al
jne 0x100e6fb7
mov ecx, ebx
call fcn.10082b40
test al, al
je 0x100e6f41
jmp 0x100e6fc6
mov edx, dword [ebp]
mov eax, dword [edx + 0x14]
push str.SHA256_tree_hash_aborted_by_application
mov ecx, ebp
call eax
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x1c]
add esp, 4
push ecx
lea ecx, [esp + 0x24]
call fcn.100f6330
push eax
lea ecx, [esp + 0x28]
call fcn.1008bea0
push eax
call fcn.100e6ab0
add esp, 0xc
lea ecx, [esp + 0x20]
mov bl, al
mov dword [esp + 0x68], 0xffffffff
call fcn.10018a90
mov al, bl
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1018f87e
add esp, 0x58
ret

Function at 0x100e7860
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
lea eax, [edi + 0x24]
mov esi, 0x10
lea ecx, [ecx]
mov dl, byte [eax + 0x20]
mov cl, byte [eax - 0x10]
xor cl, dl
mov byte [eax], dl
mov byte [eax + 0x10], cl
add eax, 1
sub esi, 1
jne 0x100e7870
xor dl, dl
xor ebx, ebx
lea esi, [edi + 0x15]
lea esp, [esp]
mov eax, esi
mov ecx, 8
jmp 0x100e78a0
movzx edx, dl
movzx edx, byte [edx + str._.C]
xor byte [eax - 1], dl
movzx edx, byte [eax - 1]
movzx edx, byte [edx + str._.C]
xor byte [eax], dl
movzx edx, byte [eax]
movzx edx, byte [edx + str._.C]
xor byte [eax + 1], dl
movzx edx, byte [eax + 1]
movzx edx, byte [edx + str._.C]
xor byte [eax + 2], dl
movzx edx, byte [eax + 2]
movzx edx, byte [edx + str._.C]
xor byte [eax + 3], dl
movzx edx, byte [eax + 3]
movzx edx, byte [edx + str._.C]
xor byte [eax + 4], dl
mov dl, byte [eax + 4]
add eax, 6
sub ecx, 1
jne 0x100e78a0
add dl, bl
add ebx, 1
cmp ebx, 0x12
jl 0x100e7890
pop edi
pop esi
pop ebx
ret
Function at 0x100e7910
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov dl, byte [ecx + 0x13]
push esi
lea eax, [ecx + 4]
mov esi, 4
lea esp, [esp]
movzx ecx, byte [eax + 0x40]
movzx edx, dl
xor ecx, edx
movzx ecx, byte [ecx + str._.C]
xor byte [eax], cl
mov cl, byte [eax]
movzx edx, byte [eax + 0x41]
movzx ecx, cl
xor edx, ecx
movzx edx, byte [edx + str._.C]
xor byte [eax + 1], dl
mov cl, byte [eax + 1]
movzx edx, byte [eax + 0x42]
movzx ecx, cl
xor edx, ecx
movzx edx, byte [edx + str._.C]
xor byte [eax + 2], dl
mov cl, byte [eax + 2]
movzx edx, byte [eax + 0x43]
movzx ecx, cl
xor edx, ecx
movzx edx, byte [edx + str._.C]
xor byte [eax + 3], dl
mov dl, byte [eax + 3]
add eax, 4
sub esi, 1
jne 0x100e7920
pop esi
ret
Function at 0x100e9710
Capabilities:
Hash data using ripemd320
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx + 0x54], 0x67452301
mov dword [ecx + 0x58], 0xefcdab89
mov dword [ecx + 0x5c], 0x98badcfe
mov dword [ecx + 0x60], 0x10325476
mov dword [ecx + 0x64], 0xc3d2e1f0
mov dword [ecx + 0x68], 0x76543210
mov dword [ecx + 0x6c], 0xfedcba98
mov dword [ecx + 0x70], 0x89abcdef
mov dword [ecx + 0x74], 0x1234567
mov dword [ecx + 0x78], 0x3c2d1e0f
mov dword [ecx + 0x50], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
ret

Function at 0x100e9a30
Capabilities:
Hash data using ripemd320
Hash data using sha1

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
xor eax, eax
mov dword [esi + 0x50], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
mov dword [esi + 0x54], 0x67452301
mov dword [esi + 0x58], 0xefcdab89
mov dword [esi + 0x5c], 0x98badcfe
mov dword [esi + 0x60], 0x10325476
mov dword [esi + 0x64], 0xc3d2e1f0
mov dword [esi + 0x68], 0x76543210
mov dword [esi + 0x6c], 0xfedcba98
mov dword [esi + 0x70], 0x89abcdef
mov dword [esi + 0x74], 0x1234567
mov dword [esi + 0x78], 0x3c2d1e0f
call fcn.100e9770
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.100e9820
pop esi
ret 0xc
Function at 0x100eacb0
Capabilities:
Hash data using ripemd256
Hash data with md5

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
xor eax, eax
mov dword [esi + 0x50], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
mov dword [esi + 0x54], 0x67452301
mov dword [esi + 0x58], 0xefcdab89
mov dword [esi + 0x5c], 0x98badcfe
mov dword [esi + 0x60], 0x10325476
mov dword [esi + 0x64], 0x76543210
mov dword [esi + 0x68], 0xfedcba98
mov dword [esi + 0x6c], 0x89abcdef
mov dword [esi + 0x70], 0x1234567
call fcn.100eaa20
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.100eaad0
pop esi
ret 0xc

Function at 0x100ead20
Capabilities:
Hash data using ripemd256
Hash data with md5

Disassembly:
push ecx
push ebx
xor ebx, ebx
cmp dword [esp + 0x18], ebx
push edi
mov edi, ecx
jne 0x100ead35
pop edi
xor al, al
pop ebx
pop ecx
ret 0x14
push esi
push 0x4e28
mov dword [edi + 0x54], 0x67452301
mov dword [edi + 0x58], 0xefcdab89
mov dword [edi + 0x5c], 0x98badcfe
mov dword [edi + 0x60], 0x10325476
mov dword [edi + 0x64], 0x76543210
mov dword [edi + 0x68], 0xfedcba98
mov dword [edi + 0x6c], 0x89abcdef
mov dword [edi + 0x70], 0x1234567
mov dword [edi + 0x50], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.10017110
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x100ead93
pop esi
pop edi
xor al, al
pop ebx
pop ecx
ret 0x14
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov bl, 1
call fcn.10082b40
test al, al
jne 0x100eae31
push ebp
mov ebp, dword [esp + 0x1c]
nop
mov eax, dword [esp + 0x20]
push eax
push ebp
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push 0x4e20
push esi
call fcn.10083620
mov bl, al
test bl, bl
je 0x100eae30
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100eae0f
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x100eadeb
push eax
push esi
call fcn.10019380
mov eax, dword [esp + 0x10]
push eax
push esi
mov ecx, edi
call fcn.100eaa20
test ebp, ebp
je 0x100eae0f
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
push edx
push 0
push eax
mov ecx, ebp
call fcn.1007ab10
test al, al
jne 0x100eae1e
mov ecx, dword [esp + 0x18]
call fcn.10082b40
test al, al
je 0x100eadb0
jmp 0x100eae30
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.RIPEMD256_aborted_by_application
call eax
xor bl, bl
pop ebp
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x24]
add esp, 4
push ecx
mov ecx, edi
call fcn.100eaad0
pop esi
pop edi
mov al, bl
pop ebx
pop ecx
ret 0x14
Function at 0x100ec7e0
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
xor eax, eax
mov dword [esi + 0x50], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
mov dword [esi + 0x54], 0x67452301
mov dword [esi + 0x58], 0xefcdab89
mov dword [esi + 0x5c], 0x98badcfe
mov dword [esi + 0x60], 0x10325476
mov dword [esi + 0x64], 0xc3d2e1f0
call fcn.100ec5b0
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.100ec660
pop esi
ret 0xc

Function at 0x100ec840
Capabilities:
Hash data using sha1

Disassembly:
push ecx
push ebp
mov ebp, ecx
push esi
push edi
xor edi, edi
push 0x4e28
mov dword [ebp + 0x54], 0x67452301
mov dword [ebp + 0x58], 0xefcdab89
mov dword [ebp + 0x5c], 0x98badcfe
mov dword [ebp + 0x60], 0x10325476
mov dword [ebp + 0x64], 0xc3d2e1f0
mov dword [ebp + 0x50], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edi
call fcn.10017110
mov esi, eax
add esp, 4
cmp esi, edi
jne 0x100ec890
pop edi
pop esi
xor al, al
pop ebp
pop ecx
ret 0x14
mov ecx, dword [esp + 0x14]
push ebx
mov dword [esp + 0x10], edi
mov bl, 1
call fcn.10082b40
test al, al
jne 0x100ec930
mov edi, dword [esp + 0x1c]
lea esp, [esp]
mov eax, dword [esp + 0x20]
push eax
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push 0x4e20
push esi
call fcn.10083620
mov bl, al
test bl, bl
je 0x100ec930
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100ec90f
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x100ec8eb
push eax
push esi
call fcn.10019380
mov eax, dword [esp + 0x10]
push eax
push esi
mov ecx, ebp
call fcn.100ec5b0
test edi, edi
je 0x100ec90f
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
push edx
push 0
push eax
mov ecx, edi
call fcn.1007ab10
test al, al
jne 0x100ec91e
mov ecx, dword [esp + 0x18]
call fcn.10082b40
test al, al
je 0x100ec8b0
jmp 0x100ec930
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.RIPEMD128_aborted_by_application
call eax
xor bl, bl
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
mov ecx, ebp
call fcn.100ec660
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret 0x14
Function at 0x100ed930
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
xor eax, eax
mov dword [esi + 0x50], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
mov dword [esi + 0x54], 0x67452301
mov dword [esi + 0x58], 0xefcdab89
mov dword [esi + 0x5c], 0x98badcfe
mov dword [esi + 0x60], 0x10325476
call fcn.100ed710
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.100ed7c0
pop esi
ret 0xc

Function at 0x100ed980
Capabilities:
Hash data with md5

Disassembly:
push ecx
push ebp
push edi
xor edi, edi
cmp dword [esp + 0x1c], edi
mov ebp, ecx
jne 0x100ed995
pop edi
xor al, al
pop ebp
pop ecx
ret 0x14
push esi
push 0x4e28
mov dword [ebp + 0x54], 0x67452301
mov dword [ebp + 0x58], 0xefcdab89
mov dword [ebp + 0x5c], 0x98badcfe
mov dword [ebp + 0x60], 0x10325476
mov dword [ebp + 0x50], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edi
call fcn.10017110
mov esi, eax
add esp, 4
cmp esi, edi
jne 0x100ed9d7
pop esi
pop edi
xor al, al
pop ebp
pop ecx
ret 0x14
mov ecx, dword [esp + 0x14]
push ebx
mov dword [esp + 0x10], edi
mov bl, 1
call fcn.10082b40
test al, al
jne 0x100eda73
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push eax
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push 0x4e20
push esi
call fcn.10083620
mov bl, al
test bl, bl
je 0x100eda73
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100eda52
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x100eda2e
push eax
push esi
call fcn.10019380
mov eax, dword [esp + 0x10]
push eax
push esi
mov ecx, ebp
call fcn.100ed710
test edi, edi
je 0x100eda52
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
push edx
push 0
push eax
mov ecx, edi
call fcn.1007ab10
test al, al
jne 0x100eda61
mov ecx, dword [esp + 0x18]
call fcn.10082b40
test al, al
je 0x100ed9f3
jmp 0x100eda73
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.RIPEMD128_aborted_by_application
call eax
xor bl, bl
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
mov ecx, ebp
call fcn.100ed7c0
mov al, bl
pop ebx
pop esi
pop edi
pop ebp
pop ecx
ret 0x14

Function at 0x100edb20
Capabilities:
Hash data with md5

Disassembly:
mov eax, ecx
xor ecx, ecx
mov dword [eax], vtable._ckMd4.0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 4], 0x67452301
mov dword [eax + 8], 0xefcdab89
mov dword [eax + 0xc], 0x98badcfe
mov dword [eax + 0x10], 0x10325476
ret
Function at 0x100ee1a0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 8
push ebp
push edi
xor edi, edi
cmp dword [esp + 0x20], edi
mov ebp, ecx
jne 0x100ee1b9
pop edi
xor al, al
pop ebp
add esp, 8
ret 0x14
push esi
push 0x4e28
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], edi
mov dword [ebp + 4], 0x67452301
mov dword [ebp + 8], 0xefcdab89
mov dword [ebp + 0xc], 0x98badcfe
mov dword [ebp + 0x10], 0x10325476
call fcn.10017110
mov esi, eax
add esp, 4
cmp esi, edi
jne 0x100ee1fa
pop esi
pop edi
xor al, al
pop ebp
add esp, 8
ret 0x14
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], edi
mov byte [esp + 0xf], 1
call fcn.10082b40
test al, al
jne 0x100ee298
mov edi, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x24]
lea ecx, [ecx]
mov ecx, dword [esp + 0x1c]
push ebx
push edi
lea eax, [esp + 0x1c]
push eax
push 0x4e20
push esi
call fcn.10083620
test al, al
je 0x100ee297
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100ee275
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x100ee255
push eax
push esi
call fcn.10019380
mov eax, dword [esp + 0x14]
push eax
push esi
mov ecx, ebp
call fcn.100ee010
test edi, edi
je 0x100ee275
mov ecx, dword [esp + 0x14]
push ebx
push 0
push ecx
mov ecx, edi
call fcn.1007ab10
test al, al
jne 0x100ee284
mov ecx, dword [esp + 0x1c]
call fcn.10082b40
test al, al
je 0x100ee220
jmp 0x100ee297
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
push str.MD4_aborted_by_application
mov ecx, ebx
call eax
mov byte [esp + 0x13], 0
pop ebx
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
mov ecx, ebp
call fcn.100ee0d0
mov al, byte [esp + 0xf]
pop esi
pop edi
pop ebp
add esp, 8
ret 0x14

Function at 0x100ee2c0
Capabilities:
Access peb ldr_data
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x101a05a8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push esi
push edi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.100182e0
lea eax, [esp + 0x10]
push eax
push 0
mov ecx, edi
mov dword [esp + 0x50], 0
call fcn.1000d470
lea ecx, [esp + 0x10]
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.100f6330
push eax
lea ecx, [esp + 0x14]
call fcn.1008bea0
push eax
mov ecx, esi
call fcn.100ee010
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.100ee0d0
push 0x10
lea edx, [esp + 0x30]
push edx
mov ecx, ebx
call fcn.10019380
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
call fcn.10018a90
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1018f87e
add esp, 0x3c
ret 8
Function at 0x100f8230
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x80
push ebx
push ebp
mov ebp, dword [esp + 0x8c]
push esi
push edi
push ebp
mov ecx, 0x20
mov esi, ebp
lea edi, [esp + 0x14]
push ebp
mov ebx, 0x101fe270
rep movsd dword es:[edi], dword [esi]
call fcn.100f8180
mov ecx, dword [ebp + 0x7c]
shr ecx, 7
and ecx, 1
lea edi, [esp + 0x18]
lea ebx, [esp + 0x1c]
add esp, 8
neg ecx
xor edx, edx
sub edi, ebp
lea eax, [ebp + 8]
sub ebx, ebp
lea esp, [esp]
mov esi, dword [eax - 8]
mov ebp, dword [esp + edx*4 + 0x10]
xor ebp, esi
and ebp, ecx
xor ebp, esi
mov esi, dword [eax - 4]
mov dword [eax - 8], ebp
mov ebp, dword [esp + edx*4 + 0x14]
xor ebp, esi
and ebp, ecx
xor ebp, esi
mov esi, dword [eax]
mov dword [eax - 4], ebp
mov ebp, dword [edi + eax]
xor ebp, esi
and ebp, ecx
xor ebp, esi
mov esi, dword [eax + 4]
mov dword [eax], ebp
mov ebp, dword [ebx + eax]
xor ebp, esi
and ebp, ecx
xor ebp, esi
mov dword [eax + 4], ebp
add edx, 4
add eax, 0x10
cmp edx, 0x20
jb 0x100f8280
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret

Function at 0x100f8510
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x28]
sub ebp, edx
push esi
mov esi, ecx
mov dword [esp + 0x14], ebp
mov ebp, esi
sub ebp, edx
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x30]
sub ebp, edx
add eax, 0xffffffff
mov dword [esp + 0xc], eax
lea eax, [edx + 4]
mov edx, dword [esp + 0x2c]
sub edx, esi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], ebp
push edi
mov edi, dword [esp + 0x34]
mov ebp, edx
sub ebp, esi
lea ecx, [esi + 8]
mov esi, dword [esp + 0x30]
xor ebx, ebx
add edi, 0xc
sub esi, edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], esi
jmp 0x100f8570
mov esi, dword [eax - 4]
mov edx, dword [ecx - 8]
xor edx, esi
and edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x30]
xor esi, edx
mov dword [ebp + ebx*4], esi
mov esi, dword [ecx - 8]
xor esi, edx
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov dword [edi - 0xc], esi
mov edx, dword [edx + eax]
mov esi, dword [eax]
xor edx, esi
and edx, dword [esp + 0x10]
add ebx, 4
xor esi, edx
mov dword [eax + ebp], esi
mov esi, dword [esp + 0x14]
mov esi, dword [esi + eax]
mov ebp, dword [esp + 0x20]
xor esi, edx
mov edx, dword [esp + 0x1c]
mov dword [edx + eax], esi
mov esi, dword [eax + 4]
mov edx, dword [ecx]
xor edx, esi
and edx, dword [esp + 0x10]
add eax, 0x10
xor esi, edx
mov dword [ecx + ebp], esi
mov esi, dword [ecx]
mov ebp, dword [esp + 0x28]
xor esi, edx
mov edx, dword [esp + 0x24]
mov dword [edx + ecx], esi
mov esi, dword [eax - 8]
mov edx, dword [ecx + 4]
xor edx, esi
and edx, dword [esp + 0x10]
add ecx, 0x10
xor esi, edx
mov dword [edi + ebp], esi
mov esi, dword [ecx - 0xc]
xor esi, edx
mov dword [edi], esi
add edi, 0x10
cmp ebx, 0x40
jb 0x100f8570
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x100f8dc0
Capabilities:
Encrypt data using curve25519

Disassembly:
sub esp, 0x1a4
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x1a0], eax
mov eax, dword [esp + 0x1a8]
push ebx
push edi
push 0x20
mov edi, ecx
push eax
lea ecx, [esp + 0x190]
push ecx
call sub.MSVCR80.dll_memcpy
mov dl, byte [esp + 0x1b3]
and byte [esp + 0x194], 0xf8
and dl, 0x3f
or dl, 0x40
add esp, 0xc
mov byte [esp + 0x1a7], dl
xor eax, eax
movzx ecx, byte [eax + edi]
mov dword [esp + eax*4 + 8], ecx
add eax, 1
cmp eax, 0x20
jb 0x100f8e10
lea edx, [esp + 0x188]
push edx
lea eax, [esp + 0xc]
push eax
call fcn.100f8610
lea ecx, [esp + 0x90]
push ecx
mov eax, ecx
call fcn.100f8a50
lea edx, [esp + 0x94]
push edx
lea edi, [esp + 0x18]
lea ebx, [esp + 0x118]
call fcn.100f82e0
mov eax, ebx
push eax
call fcn.100f8230
add esp, 0x14
pop edi
xor eax, eax
pop ebx
jmp 0x100f8e70
mov cl, byte [esp + eax*4 + 0x100]
mov byte [esi + eax], cl
add eax, 1
cmp eax, 0x20
jb 0x100f8e70
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
xor eax, eax
call fcn.1018f87e
add esp, 0x1a4
ret

Function at 0x100f8f40
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [edx + 0x7c]
push edi
mov ecx, esi
xor ecx, 0x7f
sub ecx, 1
push ebx
shr ecx, 0x1f
lea eax, [edx + 0x74]
mov edi, 5
push ebp
lea ebx, [ebx]
mov ebx, dword [eax - 0x10]
mov ebp, dword [eax - 0xc]
xor ebp, 0xff
sub ebp, 1
shr ebp, 0x1f
xor ebx, 0xff
sub ebx, 1
shr ebx, 0x1f
and ebx, ebp
mov ebp, dword [eax - 8]
xor ebp, 0xff
sub ebp, 1
shr ebp, 0x1f
and ebx, ebp
mov ebp, dword [eax - 4]
xor ebp, 0xff
sub ebp, 1
shr ebp, 0x1f
and ebx, ebp
mov ebp, dword [eax + 4]
xor ebp, 0xff
sub ebp, 1
shr ebp, 0x1f
and ebx, ebp
mov ebp, dword [eax]
xor ebp, 0xff
sub ebp, 1
shr ebp, 0x1f
and ebx, ebp
and ecx, ebx
sub eax, 0x18
sub edi, 1
jne 0x100f8f60
mov eax, dword [edx]
sub eax, 0xed
not eax
shr eax, 0x1f
and eax, ecx
not eax
add eax, 1
mov ecx, eax
and ecx, 0x7f
sub esi, ecx
mov dword [edx + 0x7c], esi
mov esi, eax
pop ebp
mov ecx, 0x1e
and esi, 0xff
pop ebx
lea esp, [esp]
sub dword [edx + ecx*4], esi
sub ecx, 1
test ecx, ecx
jg 0x100f9000
and eax, 0xed
sub dword [edx], eax
pop edi
pop esi
ret

Function at 0x100f90d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
movzx ecx, cl
push esi
push edi
mov edi, eax
mov esi, edx
not ecx
add ecx, 1
lea edx, [edi + 0xc]
lea eax, [esi + 4]
sub edi, esi
mov ebx, 8
lea ecx, [ecx]
mov ebp, dword [edx - 0xc]
mov esi, dword [eax - 4]
xor ebp, esi
and ebp, ecx
xor ebp, esi
mov esi, dword [eax]
mov dword [eax - 4], ebp
mov ebp, dword [edi + eax]
xor ebp, esi
and ebp, ecx
xor ebp, esi
mov esi, dword [eax + 4]
mov dword [eax], ebp
mov ebp, dword [edx - 4]
xor ebp, esi
and ebp, ecx
xor ebp, esi
mov esi, dword [eax + 8]
mov dword [eax + 4], ebp
mov ebp, dword [edx]
xor ebp, esi
and ebp, ecx
xor ebp, esi
mov dword [eax + 8], ebp
add eax, 0x10
add edx, 0x10
sub ebx, 1
jne 0x100f90f0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x100fa8a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
add esi, 2
mov eax, ecx
sub edi, ecx
mov ebp, 0x1f
mov dl, byte [edi + eax]
mov bl, byte [eax]
and dl, 3
add dl, dl
add dl, dl
and bl, 3
xor dl, bl
mov byte [esi - 2], dl
mov edx, dword [edi + eax]
mov ebx, dword [eax]
shr edx, 2
and dl, 3
add dl, dl
add dl, dl
shr ebx, 2
and bl, 3
xor dl, bl
mov byte [esi - 1], dl
mov edx, dword [edi + eax]
mov ebx, dword [eax]
shr edx, 4
and dl, 3
add dl, dl
add dl, dl
shr ebx, 4
and bl, 3
xor dl, bl
mov byte [esi], dl
mov edx, dword [edi + eax]
mov ebx, dword [eax]
shr edx, 6
and dl, 3
add dl, dl
shr ebx, 6
add dl, dl
and bl, 3
xor dl, bl
mov byte [esi + 1], dl
add eax, 4
add esi, 4
sub ebp, 1
jne 0x100fa8b8
mov esi, dword [esp + 0x18]
mov al, byte [esi + 0x7c]
mov dl, byte [ecx + 0x7c]
mov edi, dword [esp + 0x14]
and al, 3
add al, al
add al, al
and dl, 3
xor al, dl
mov byte [edi + 0x7c], al
mov eax, dword [esi + 0x7c]
mov edx, dword [ecx + 0x7c]
shr eax, 2
and al, 3
add al, al
add al, al
shr edx, 2
and dl, 3
xor al, dl
mov byte [edi + 0x7d], al
mov eax, dword [esi + 0x7c]
mov ecx, dword [ecx + 0x7c]
shr eax, 4
and al, 3
add al, al
shr ecx, 4
add al, al
and cl, 3
xor al, cl
mov byte [edi + 0x7e], al
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x100fb7f0
Capabilities:
Encrypt data using curve25519

Disassembly:
sub esp, 0x2c4
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x2c0], eax
mov eax, dword [esp + 0x2c8]
test eax, eax
push ebx
mov ebx, dword [esp + 0x2d0]
push edi
mov edi, dword [esp + 0x2d8]
je 0x100fb8b6
test ebx, ebx
je 0x100fb8b6
test edi, edi
je 0x100fb8b6
push esi
mov esi, eax
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x28c]
push ecx
push 0x20
push eax
call fcn.100e66c0
mov dl, byte [esp + 0x2b7]
and byte [esp + 0x298], 0xf8
and dl, 0x3f
lea eax, [esp + 0x18]
or dl, 0x40
push eax
lea ecx, [esp + 0x29c]
mov byte [esp + 0x2bb], dl
call fcn.100fa390
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0xa0]
call fcn.100fb4e0
add esp, 0x14
lea eax, [esp + 0x8c]
mov ecx, ebx
call fcn.100f9ed0
pop esi
pop edi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.1018f87e
add esp, 0x2c4
ret
mov ecx, dword [esp + 0x2c8]
pop edi
pop ebx
xor ecx, esp
xor al, al
call fcn.1018f87e
add esp, 0x2c4
ret