joyce8/EMBER2024-capa huggingface dataset:
Function at 0x505f10
Capabilities:
Hash data using ripemd320
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x50], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 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.00505c40
mov edx, dword [ebp + 0x10]
push edx
mov ecx, esi
call fcn.00505d00
pop esi
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
cmp dword [ebp + 0x14], ebx
jne 0x505fa9
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push edi
push 0x4e28
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
mov dword [esi + 0x50], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.004176a0
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x506017
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov bl, 1
call fcn.00464630
test al, al
jne 0x5060a2
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
push 0x4e20
push edi
call fcn.00465840
mov bl, al
test bl, bl
je 0x5060a2
mov eax, dword [ebp - 4]
test eax, eax
je 0x506083
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x506060
push eax
push edi
call fcn.00411e60
mov eax, dword [ebp - 4]
push eax
push edi
mov ecx, esi
call fcn.00505c40
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x506083
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
push eax
push 0
push edx
call fcn.00463af0
test al, al
jne 0x506091
mov ecx, dword [ebp + 8]
call fcn.00464630
test al, al
je 0x506028
jmp 0x5060a2
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.RIPEMD320_aborted_by_application
call edx
xor bl, bl
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x14]
add esp, 4
push eax
mov ecx, esi
call fcn.00505d00
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x5071b0
Capabilities:
Hash data using ripemd256
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x50], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 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.00506f10
mov edx, dword [ebp + 0x10]
push edx
mov ecx, esi
call fcn.00506fd0
pop esi
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push edi
mov edi, ecx
cmp dword [ebp + 0x14], ebx
jne 0x507239
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
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.004176a0
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x507299
pop esi
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov bl, 1
call fcn.00464630
test al, al
jne 0x50732a
mov edi, edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
push 0x4e20
push esi
call fcn.00465840
mov bl, al
test bl, bl
je 0x50732a
mov eax, dword [ebp - 4]
test eax, eax
je 0x50730b
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x5072e8
push eax
push esi
call fcn.00411e60
mov eax, dword [ebp - 4]
push eax
push esi
mov ecx, edi
call fcn.00506f10
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x50730b
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
push eax
push 0
push edx
call fcn.00463af0
test al, al
jne 0x507319
mov ecx, dword [ebp + 8]
call fcn.00464630
test al, al
je 0x5072b0
jmp 0x50732a
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.RIPEMD256_aborted_by_application
call edx
xor bl, bl
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x14]
add esp, 4
push eax
mov ecx, edi
call fcn.00506fd0
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x508b30
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x50], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 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.005088e0
mov edx, dword [ebp + 0x10]
push edx
mov ecx, esi
call fcn.005089a0
pop esi
pop ebp
ret 0xc

Function at 0x508b90
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x4e28
mov dword [ebp - 8], edi
mov dword [edi + 0x54], 0x67452301
mov dword [edi + 0x58], 0xefcdab89
mov dword [edi + 0x5c], 0x98badcfe
mov dword [edi + 0x60], 0x10325476
mov dword [edi + 0x64], 0xc3d2e1f0
mov dword [edi + 0x50], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.004176a0
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x508bea
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov bl, 1
call fcn.00464630
test al, al
jne 0x508c7a
mov edi, dword [ebp + 0xc]
mov edi, edi
mov eax, dword [ebp + 0x10]
push eax
push edi
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
push 0x4e20
push esi
call fcn.00465840
mov bl, al
test bl, bl
je 0x508c77
mov eax, dword [ebp - 4]
test eax, eax
je 0x508c58
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x508c35
push eax
push esi
call fcn.00411e60
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push eax
push esi
call fcn.005088e0
test edi, edi
je 0x508c58
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
push edx
push 0
push eax
mov ecx, edi
call fcn.00463af0
test al, al
jne 0x508c66
mov ecx, dword [ebp + 8]
call fcn.00464630
test al, al
je 0x508c00
jmp 0x508c77
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.RIPEMD128_aborted_by_application
call eax
xor bl, bl
mov edi, dword [ebp - 8]
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov ecx, dword [ebp + 0x14]
add esp, 4
push ecx
mov ecx, edi
call fcn.005089a0
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x509bc0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x50], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 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.00509990
mov edx, dword [ebp + 0x10]
push edx
mov ecx, esi
call fcn.00509a50
pop esi
pop ebp
ret 0xc

Function at 0x509c10
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 8], edi
cmp dword [ebp + 0x14], ebx
jne 0x509c2e
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
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 + 0x50], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.004176a0
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x509c72
pop esi
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov bl, 1
call fcn.00464630
test al, al
jne 0x509d00
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push eax
push edi
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
push 0x4e20
push esi
call fcn.00465840
mov bl, al
test bl, bl
je 0x509cfd
mov eax, dword [ebp - 4]
test eax, eax
je 0x509cde
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x509cbb
push eax
push esi
call fcn.00411e60
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push eax
push esi
call fcn.00509990
test edi, edi
je 0x509cde
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
push edx
push 0
push eax
mov ecx, edi
call fcn.00463af0
test al, al
jne 0x509cec
mov ecx, dword [ebp + 8]
call fcn.00464630
test al, al
je 0x509c86
jmp 0x509cfd
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.RIPEMD128_aborted_by_application
call eax
xor bl, bl
mov edi, dword [ebp - 8]
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov ecx, dword [ebp + 0x14]
add esp, 4
push ecx
mov ecx, edi
call fcn.00509a50
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x509d60
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
ret

Function at 0x509d90
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 0x50a410
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
xor edi, edi
mov ebx, ecx
cmp dword [ebp + 0x14], edi
jne 0x50a42b
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push esi
push 0x4e28
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x14], edi
mov dword [ebx + 4], 0x67452301
mov dword [ebx + 8], 0xefcdab89
mov dword [ebx + 0xc], 0x98badcfe
mov dword [ebx + 0x10], 0x10325476
call fcn.004176a0
mov esi, eax
add esp, 4
cmp esi, edi
jne 0x50a46c
pop esi
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], edi
mov byte [ebp - 1], 1
call fcn.00464630
test al, al
jne 0x50a4f8
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push eax
push edi
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
push 0x4e20
push esi
call fcn.00465840
test al, al
je 0x50a4f8
mov eax, dword [ebp - 8]
test eax, eax
je 0x50a4d7
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x50a4b5
push eax
push esi
call fcn.00411e60
mov eax, dword [ebp - 8]
push eax
push esi
mov ecx, ebx
call fcn.0050a290
test edi, edi
je 0x50a4d7
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
push edx
push 0
push eax
mov ecx, edi
call fcn.00463af0
test al, al
jne 0x50a4e5
mov ecx, dword [ebp + 8]
call fcn.00464630
test al, al
je 0x50a482
jmp 0x50a4f8
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.MD4_aborted_by_application
call eax
mov byte [ebp - 1], 0
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov ecx, dword [ebp + 0x14]
add esp, 4
push ecx
mov ecx, ebx
call fcn.0050a340
mov al, byte [ebp - 1]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x50a520
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aff88
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x676664]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, ecx
lea ecx, [ebp - 0x3c]
call fcn.00410e50
lea eax, [ebp - 0x3c]
push eax
push 0
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0040e930
xor eax, eax
lea ecx, [ebp - 0x3c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.00410b60
push eax
lea ecx, [ebp - 0x3c]
call fcn.00410b80
push eax
mov ecx, esi
call fcn.0050a290
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
call fcn.0050a340
push 0x10
lea edx, [ebp - 0x20]
push edx
mov ecx, ebx
call fcn.00411e60
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00411620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059af98
mov esp, ebp
pop ebp
ret 8
Function at 0x50ac90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5adbb1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x676664]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
lea ecx, [esi + 0x14]
mov dword [esi], vtable._ckSymSettings.0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 0x100
call fcn.00410e50
lea ecx, [esi + 0x34]
mov dword [ebp - 4], ebx
mov dword [esi + 0x30], ebx
call fcn.00410e50
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
call fcn.00410e50
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 2
call fcn.00410e50
mov dword [esi + 0x88], ebx
mov byte [esi + 0xac], 1
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xc8], 0x80
mov byte [esi + 0xcc], bl
mov byte [esi + 0x2c], 1
mov byte [esi + 0x4c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x521ed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x676664]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, 0x20
mov esi, ebx
lea edi, [ebp - 0x84]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov edx, 0x615500
mov eax, ebx
sub edx, ebx
lea esi, [ecx + 0x1f]
mov edi, dword [edx + eax]
add edi, dword [eax]
add eax, 4
add ecx, edi
movzx edi, cl
mov dword [eax - 4], edi
shr ecx, 8
dec esi
jne 0x521f05
sub ecx, 0xffffff80
add dword [ebx + 0x7c], ecx
mov edx, dword [ebx + 0x7c]
shr edx, 7
and edx, 1
lea edi, [ebp - 0x84]
lea esi, [ebp - 0x80]
neg edx
xor ecx, ecx
sub edi, ebx
sub esi, ebx
lea eax, [ebx + 8]
mov dword [ebp - 0x88], esi
mov esi, dword [eax - 8]
mov ebx, dword [ebp + ecx*4 - 0x84]
xor ebx, esi
and ebx, edx
xor ebx, esi
mov esi, dword [eax - 4]
mov dword [eax - 8], ebx
mov ebx, dword [ebp + ecx*4 - 0x80]
xor ebx, esi
and ebx, edx
xor ebx, esi
mov esi, dword [eax]
mov dword [eax - 4], ebx
mov ebx, dword [edi + eax]
xor ebx, esi
and ebx, edx
xor ebx, esi
mov esi, dword [eax + 4]
mov dword [eax], ebx
mov ebx, dword [ebp - 0x88]
mov ebx, dword [ebx + eax]
xor ebx, esi
and ebx, edx
xor ebx, esi
mov dword [eax + 4], ebx
add ecx, 4
add eax, 0x10
cmp ecx, 0x20
jb 0x521f44
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059af98
mov esp, ebp
pop ebp
ret

Function at 0x522c10
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x676664]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push 0x20
mov edi, ecx
push eax
lea ecx, [ebp - 0x24]
push ecx
call sub.MSVCR100.dll_memcpy
mov dl, byte [ebp - 5]
and byte [ebp - 0x24], 0xf8
and dl, 0x3f
or dl, 0x40
add esp, 0xc
mov byte [ebp - 5], dl
xor eax, eax
lea ebx, [ebx]
movzx ecx, byte [eax + edi]
mov dword [ebp + eax*4 - 0x1a4], ecx
inc eax
cmp eax, 0x20
jb 0x522c50
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x1a4]
call fcn.00522310
lea ecx, [ebp - 0x124]
mov edi, ecx
call fcn.005227d0
mov eax, edi
push eax
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x1a4]
call fcn.00521fb0
add esp, 0xc
lea ecx, [ebp - 0xa4]
call fcn.00521ed0
xor eax, eax
pop edi
mov dl, byte [ebp + eax*4 - 0xa4]
mov byte [esi + eax], dl
inc eax
cmp eax, 0x20
jb 0x522ca3
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0059af98
mov esp, ebp
pop ebp
ret
Function at 0x522cd0
Capabilities:
Encode data using xor

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

Function at 0x522e30
Capabilities:
Encode data using xor

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x676664]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x630200
mov edi, 0x630204
xor edx, edx
xor esi, esi
sub ebx, ecx
lea eax, [ecx + 8]
sub edi, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov edi, edi
add edx, dword [esi*4 + 0x630200]
movzx ecx, byte [eax - 8]
sub cl, dl
mov byte [ebp + esi - 0x24], cl
mov ecx, dword [eax - 8]
sub ecx, edx
movzx edx, byte [eax - 4]
shr ecx, 0x1f
add ecx, dword [esi*4 + 0x630204]
mov edi, dword [eax + 4]
sub dl, cl
mov byte [ebp + esi - 0x23], dl
mov edx, dword [eax - 4]
sub edx, ecx
movzx ecx, byte [eax]
shr edx, 0x1f
add edx, dword [ebx + eax]
add esi, 4
sub cl, dl
mov byte [ebp + esi - 0x26], cl
mov ecx, dword [eax]
sub ecx, edx
mov edx, dword [ebp - 0x2c]
shr ecx, 0x1f
add ecx, dword [edx + eax]
movzx edx, byte [eax + 4]
sub dl, cl
sub edi, ecx
mov byte [ebp + esi - 0x25], dl
shr edi, 0x1f
add eax, 0x10
mov edx, edi
cmp esi, 0x20
jl 0x523cd0
mov eax, dword [ebp - 0x28]
lea ecx, [edi - 1]
xor edx, edx
mov esi, dword [eax - 8]
movzx edi, byte [ebp + edx - 0x24]
xor edi, esi
and edi, ecx
xor edi, esi
mov esi, dword [eax - 4]
mov dword [eax - 8], edi
movzx edi, byte [ebp + edx - 0x23]
xor edi, esi
and edi, ecx
xor edi, esi
mov esi, dword [eax]
mov dword [eax - 4], edi
movzx edi, byte [ebp + edx - 0x22]
xor edi, esi
and edi, ecx
xor edi, esi
mov esi, dword [eax + 4]
mov dword [eax], edi
movzx edi, byte [ebp + edx - 0x21]
xor edi, esi
and edi, ecx
xor edi, esi
mov dword [eax + 4], edi
add edx, 4
add eax, 0x10
cmp edx, 0x20
jl 0x523d42
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059af98
mov esp, ebp
pop ebp
ret
Function at 0x5248d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
add esi, 2
sub edi, eax
mov ecx, 0x1f
lea esp, [esp]
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
dec ecx
jne 0x5248f0
mov eax, dword [ebp + 0x10]
mov cl, byte [eax + 0x7c]
mov esi, dword [ebp + 0xc]
mov dl, byte [esi + 0x7c]
mov edi, dword [ebp + 8]
and cl, 3
add cl, cl
add cl, cl
and dl, 3
xor cl, dl
mov byte [edi + 0x7c], cl
mov ecx, dword [eax + 0x7c]
mov edx, dword [esi + 0x7c]
shr ecx, 2
and cl, 3
add cl, cl
add cl, cl
shr edx, 2
and dl, 3
xor cl, dl
mov byte [edi + 0x7d], cl
mov eax, dword [eax + 0x7c]
mov ecx, dword [esi + 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 ebx
pop ebp
ret