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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push 0
push esi
call fcn.00546c70
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call fcn.005478f0
sub esi, ebx
add esp, 0x18
add esi, edi
xor edx, edx
mov dword [ebp + 8], esi
test ebx, ebx
je 0x501811
mov ecx, dword [ebp + 0x18]
cmp ebx, 0x40
jb 0x5017f0
lea eax, [ebx - 1]
lea edi, [ebx - 1]
add eax, ecx
add edi, esi
cmp esi, eax
ja 0x501786
cmp edi, ecx
jae 0x5017f0
mov edi, ebx
mov eax, esi
mov ebx, ecx
and edi, 0xffffffc0
sub ebx, esi
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
nop word [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x40]
movups xmm1, xmmword [esi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx + edx + 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [ecx + edx + 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [ecx + edx + 0x30]
add edx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, edi
jb 0x5017a0
mov esi, dword [ebp + 8]
cmp edx, ebx
jae 0x501811
sub ecx, esi
lea eax, [edx + esi]
mov dword [ebp + 0x18], ecx
sub ebx, edx
nop
mov cl, byte [eax + ecx]
lea eax, [eax + 1]
xor byte [eax - 1], cl
mov ecx, dword [ebp + 0x18]
sub ebx, 1
jne 0x501800
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x504ca0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
xor eax, eax
pop ebp
ret
Function at 0x505a00
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x613384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x48]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x40
push 0
push eax
mov dword [ebp - 0x74], ebx
call fcn.00546c70
mov eax, dword [ebp + 0x14]
add esp, 0xc
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
test eax, eax
jne 0x505a7b
mov dword [ebp - 0x68], 0x6a09e667
mov dword [ebp - 0x64], 0xbb67ae85
mov dword [ebp - 0x60], 0x3c6ef372
mov dword [ebp - 0x5c], 0xa54ff53a
mov dword [ebp - 0x58], 0x510e527f
mov dword [ebp - 0x54], 0x9b05688c
mov dword [ebp - 0x50], 0x1f83d9ab
mov dword [ebp - 0x4c], 0x5be0cd19
jmp 0x505ab3
mov dword [ebp - 0x68], 0xc1059ed8
mov dword [ebp - 0x64], 0x367cd507
mov dword [ebp - 0x60], 0x3070dd17
mov dword [ebp - 0x5c], 0xf70e5939
mov dword [ebp - 0x58], 0xffc00b31
mov dword [ebp - 0x54], 0x68581511
mov dword [ebp - 0x50], 0x64f98fa7
mov dword [ebp - 0x4c], 0xbefa4fa4
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
test esi, esi
je 0x505af8
mov dword [ebp - 0x70], esi
cmp esi, 0x40
jb 0x505ae6
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.00504d90
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x505b07
sub esi, 0x40
add edi, 0x40
cmp esi, 0x40
jae 0x505ac5
mov ebx, dword [ebp - 0x74]
test esi, esi
je 0x505af8
push esi
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.005478f0
add esp, 0xc
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.00505810
add esp, 8
mov ebx, eax
lea eax, [ebp - 0x70]
push 0x6c
push eax
call fcn.0050f8d0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00544c5a
mov esp, ebp
pop ebp
ret

Function at 0x505b30
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, 0x367cd507
mov ecx, dword [ebp + 0xc]
test ecx, ecx
push ebx
push esi
mov dword [eax], 0
mov ebx, 0x1f83d9ab
mov dword [eax + 4], 0
mov esi, 0x510e527f
mov eax, 0xbb67ae85
mov dword [ebp - 4], 0xc1059ed8
cmovne eax, edx
mov ecx, 0xa54ff53a
mov dword [ebp - 8], eax
mov edx, 0x3070dd17
mov eax, 0x3c6ef372
cmovne eax, edx
mov edx, 0x5be0cd19
mov dword [ebp - 0xc], eax
mov eax, 0x64f98fa7
cmovne ebx, eax
mov eax, 0x68581511
push edi
mov edi, 0x9b05688c
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 0xc]
cmovne edi, eax
mov eax, 0xffc00b31
cmovne esi, eax
mov eax, 0xbefa4fa4
cmovne edx, eax
test ebx, ebx
mov ebx, dword [ebp + 8]
mov eax, 0xf70e5939
cmovne ecx, eax
mov eax, 0x6a09e667
cmovne eax, dword [ebp - 4]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x10], eax
mov eax, ebx
mov ebx, dword [ebp - 0x10]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ebx
pop edi
mov dword [eax + 0x24], edx
pop esi
mov dword [eax + 0x68], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5073a0
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x613384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x8c]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x80
push 0
push eax
mov dword [ebp - 0xe0], ebx
call fcn.00546c70
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
add esp, 0xc
mov dword [ebp - 8], 0
movlpd qword [ebp - 0xdc], xmm0
movlpd qword [ebp - 0xd4], xmm0
test eax, eax
jne 0x5074a2
mov dword [ebp - 0xcc], 0xf3bcc908
mov dword [ebp - 0xc8], 0x6a09e667
mov dword [ebp - 0xc4], 0x84caa73b
mov dword [ebp - 0xc0], 0xbb67ae85
mov dword [ebp - 0xbc], 0xfe94f82b
mov dword [ebp - 0xb8], 0x3c6ef372
mov dword [ebp - 0xb4], 0x5f1d36f1
mov dword [ebp - 0xb0], 0xa54ff53a
mov dword [ebp - 0xac], 0xade682d1
mov dword [ebp - 0xa8], 0x510e527f
mov dword [ebp - 0xa4], 0x2b3e6c1f
mov dword [ebp - 0xa0], 0x9b05688c
mov dword [ebp - 0x9c], 0xfb41bd6b
mov dword [ebp - 0x98], 0x1f83d9ab
mov dword [ebp - 0x94], 0x137e2179
mov dword [ebp - 0x90], 0x5be0cd19
jmp 0x507542
mov dword [ebp - 0xcc], 0xc1059ed8
mov dword [ebp - 0xc8], 0xcbbb9d5d
mov dword [ebp - 0xc4], 0x367cd507
mov dword [ebp - 0xc0], 0x629a292a
mov dword [ebp - 0xbc], 0x3070dd17
mov dword [ebp - 0xb8], 0x9159015a
mov dword [ebp - 0xb4], 0xf70e5939
mov dword [ebp - 0xb0], 0x152fecd8
mov dword [ebp - 0xac], 0xffc00b31
mov dword [ebp - 0xa8], 0x67332667
mov dword [ebp - 0xa4], 0x68581511
mov dword [ebp - 0xa0], 0x8eb44a87
mov dword [ebp - 0x9c], 0x64f98fa7
mov dword [ebp - 0x98], 0xdb0c2e0d
mov dword [ebp - 0x94], 0xbefa4fa4
mov dword [ebp - 0x90], 0x47b5481d
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
test esi, esi
je 0x5075a3
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xd8], 0
cmp esi, 0x80
jb 0x50758e
lea eax, [ebp - 0xdc]
push edi
push eax
call fcn.00505cb0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x5075b5
add esi, 0xffffff80
sub edi, 0xffffff80
cmp esi, 0x80
jae 0x507564
mov ebx, dword [ebp - 0xe0]
test esi, esi
je 0x5075a3
push esi
lea eax, [ebp - 0x8c]
push edi
push eax
call fcn.005478f0
add esp, 0xc
lea eax, [ebp - 0xdc]
push ebx
push eax
call fcn.00507040
add esp, 8
mov ebx, eax
lea eax, [ebp - 0xdc]
push 0xd8
push eax
call fcn.0050f8d0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00544c5a
mov esp, ebp
pop ebp
ret
Function at 0x5075e0
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x28
cmp dword [ebp + 0xc], 0
push ebx
mov dword [eax], 0
mov dword [eax + 4], 0
push esi
mov dword [eax + 8], 0
push edi
mov dword [eax + 0xc], 0
jne 0x507677
mov edx, 0x137e2179
mov dword [ebp - 0x1c], 0x2b3e6c1f
mov esi, 0x5be0cd19
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], esi
mov edi, 0xfb41bd6b
mov ebx, 0x1f83d9ab
mov dword [ebp - 0x20], 0x9b05688c
mov dword [ebp - 0x18], 0x510e527f
mov ecx, 0xade682d1
mov dword [ebp - 0x10], 0x5f1d36f1
mov esi, 0xfe94f82b
mov dword [ebp - 0x14], 0xa54ff53a
mov edx, 0xf3bcc908
mov dword [ebp - 0xc], 0x3c6ef372
mov dword [ebp - 4], 0x84caa73b
mov dword [ebp - 8], 0xbb67ae85
mov dword [ebp + 8], 0x6a09e667
jmp 0x5076df
mov edx, 0xbefa4fa4
mov dword [ebp - 0x1c], 0x68581511
mov esi, 0x47b5481d
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], esi
mov edi, 0x64f98fa7
mov ebx, 0xdb0c2e0d
mov dword [ebp - 0x20], 0x8eb44a87
mov ecx, 0xffc00b31
mov dword [ebp - 0x18], 0x67332667
mov dword [ebp - 0x10], 0xf70e5939
mov esi, 0x3070dd17
mov dword [ebp - 0x14], 0x152fecd8
mov edx, 0xc1059ed8
mov dword [ebp - 0xc], 0x9159015a
mov dword [ebp - 4], 0x367cd507
mov dword [ebp - 8], 0x629a292a
mov dword [ebp + 8], 0xcbbb9d5d
mov dword [eax + 0x10], edx
mov edx, dword [ebp + 8]
mov dword [eax + 0x14], edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 8]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], esi
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x24], esi
mov esi, dword [ebp - 0x10]
mov dword [eax + 0x28], esi
mov esi, dword [ebp - 0x14]
mov dword [eax + 0x2c], esi
mov esi, dword [ebp - 0x28]
mov dword [eax + 0x30], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x34], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x38], ecx
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x3c], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x40], edi
mov dword [eax + 0x44], ebx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], esi
pop edi
pop esi
mov dword [eax + 0xd0], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50da80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x613384]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x18]
push 0x40
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x44]
push ebx
push eax
mov dword [ebp - 0x48], edi
call fcn.00546c70
push dword [edi]
mov dword [ebp - 0x4c], ebx
call fcn.0050fb90
movzx ecx, al
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], ecx
test eax, eax
je 0x50dbd0
nop
push dword [ebp - 0x48]
cmp eax, ecx
mov edi, eax
cmovae edi, ecx
call fcn.005104f0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x50dbd0
push dword [ebp + 0x14]
push dword [ebp - 0x50]
push dword [ebp - 0x48]
call fcn.00510590
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x50dbd0
push 4
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x48]
call fcn.00510590
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x50dbd0
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
call fcn.0050fa50
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x50dbd0
xor ecx, ecx
test edi, edi
je 0x50dbbc
cmp edi, 0x40
jb 0x50dbac
lea edx, [esi - 1]
lea eax, [ebp + edi - 0x45]
add edx, edi
cmp esi, eax
ja 0x50db5a
lea eax, [ebp - 0x44]
cmp edx, eax
jae 0x50dbac
mov eax, edi
and eax, 0xffffffc0
nop
movups xmm0, xmmword [esi]
movups xmm1, xmmword [ebp + ecx - 0x44]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
movups xmm0, xmmword [esi + 0x10]
movups xmm1, xmmword [ebp + ecx - 0x34]
pxor xmm1, xmm0
movups xmmword [esi + 0x10], xmm1
movups xmm0, xmmword [esi + 0x20]
movups xmm1, xmmword [ebp + ecx - 0x24]
pxor xmm1, xmm0
movups xmmword [esi + 0x20], xmm1
movups xmm0, xmmword [esi + 0x30]
movups xmm1, xmmword [ebp + ecx - 0x14]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [esi + 0x30], xmm1
add esi, 0x40
cmp ecx, eax
jb 0x50db60
cmp ecx, edi
jae 0x50dbbc
mov al, byte [ebp + ecx - 0x44]
inc ecx
xor byte [esi], al
inc esi
cmp ecx, edi
jb 0x50dbb0
mov eax, dword [ebp + 0xc]
inc byte [ebp - 0x49]
sub eax, edi
mov ecx, dword [ebp - 0x54]
mov dword [ebp + 0xc], eax
jne 0x50dad0
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0050f8d0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00544c5a
mov esp, ebp
pop ebp
ret
Function at 0x510920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 0x10]
mov byte [ebp - 1], 0
test edi, edi
je 0x510960
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
sub ebx, esi
nop word [eax + eax]
mov cl, byte [ebx + esi]
lea esi, [esi + 1]
mov al, byte [esi - 1]
movzx edx, al
movzx eax, cl
xor edx, eax
mov al, byte [ebp - 1]
or edx, eax
mov byte [ebp - 1], dl
sub edi, 1
jne 0x510940
pop esi
pop ebx
movzx eax, byte [ebp - 1]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x510fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
mov eax, dword [edx + 4]
push edi
mov edi, dword [ebp + 0xc]
cmp eax, dword [edi + 4]
je 0x510fdf
mov eax, 0xfffffffc
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
push ebx
mov ebx, dword [edx]
sar eax, 1
sar ebx, 1
and eax, 1
and ebx, 1
push esi
mov esi, dword [ebp + 0x10]
xor eax, ebx
mov ecx, eax
and ecx, ebx
mov dword [esi], ecx
mov esi, dword [edx + 4]
mov dword [ebp - 4], esi
test esi, esi
je 0x51109a
mov ecx, 1
sub ecx, ebx
mov dword [ebp - 8], ecx
mov ecx, dword [edx + 8]
mov esi, dword [ecx + esi*4 - 4]
mov ecx, dword [edi + 8]
mov edi, dword [ebp - 4]
mov edi, dword [ecx + edi*4 - 4]
mov edx, edi
xor edx, esi
sub edi, esi
mov ecx, edx
and edx, esi
not ecx
and edi, ecx
mov ecx, 1
or edi, edx
sub ecx, eax
mov edx, dword [ebp + 0x10]
shr edi, 0x1f
and ecx, edi
or eax, edi
and ecx, ebx
or dword [edx], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ecx + 8]
mov esi, dword [ecx + edx*4 - 4]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov edi, dword [ecx + edx*4 - 4]
mov edx, edi
xor edx, esi
sub edi, esi
mov ecx, edx
and edx, esi
mov esi, dword [ebp - 4]
not ecx
and edi, ecx
mov ecx, 1
or edi, edx
sub ecx, eax
mov edx, dword [ebp + 0x10]
and ecx, dword [ebp - 8]
shr edi, 0x1f
and ecx, edi
or eax, edi
or dword [edx], ecx
sub esi, 1
mov edx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], esi
jne 0x511012
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x515820
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x613384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov edx, 1
nop dword [eax]
mov al, dl
mov dword [ebp + esi*4 - 0x804], edx
add al, al
mov dword [ebp + edx*4 - 0x404], esi
movzx ecx, al
movzx eax, dl
and dl, 0x80
xor ecx, eax
movzx eax, dl
neg eax
sbb eax, eax
inc esi
and eax, 0x1b
xor ecx, eax
mov edx, ecx
cmp esi, 0x100
jl 0x515840
mov edx, 1
mov esi, 0x61a978
nop
mov eax, edx
mov dword [esi], edx
and al, 0x80
movzx ecx, al
neg ecx
sbb ecx, ecx
add dl, dl
and ecx, 0x1b
movzx edx, dl
add esi, 4
xor edx, ecx
cmp esi, 0x61a9a0
jl 0x515880
mov ecx, 1
mov byte [0x618778], 0x63
mov byte [0x6198db], 0
mov dword [ebp - 0x808], ecx
nop dword [eax + eax]
mov ecx, dword [ebp + ecx*4 - 0x404]
lea eax, [ebp - 0x408]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
movzx ecx, cl
mov al, cl
xor ebx, ecx
add al, al
shr ecx, 7
movzx edx, al
or edx, ecx
xor ebx, edx
mov al, dl
add al, al
mov dword [ebp - 0x80c], ebx
movzx ebx, al
shr edx, 7
or ebx, edx
mov al, bl
add al, al
movzx ecx, al
mov eax, ebx
shr eax, 7
or ecx, eax
mov eax, dword [ebp - 0x80c]
xor ecx, 0x63
xor ecx, ebx
xor eax, ecx
mov ecx, dword [ebp - 0x808]
mov byte [ecx + 0x618778], al
mov byte [eax + 0x619878], cl
inc ecx
mov dword [ebp - 0x808], ecx
cmp ecx, 0x100
jl 0x5158c0
mov ebx, 0xff
xor edi, edi
mov dword [ebp - 0x80c], ebx
nop dword [eax]
mov cl, byte [edi + 0x618778]
movzx esi, cl
mov eax, esi
and al, 0x80
movzx edx, al
mov al, cl
neg edx
movzx ecx, cl
sbb edx, edx
add al, al
and edx, 0x1b
movzx eax, al
xor edx, eax
movzx eax, dl
xor ecx, eax
shl ecx, 8
xor ecx, esi
shl ecx, 8
xor ecx, esi
shl ecx, 8
xor ecx, edx
mov dword [edi*4 + 0x618878], ecx
rol ecx, 8
mov dword [edi*4 + 0x618c78], ecx
rol ecx, 8
mov dword [edi*4 + 0x619078], ecx
rol ecx, 8
mov dword [edi*4 + 0x619478], ecx
movzx ecx, byte [edi + 0x619878]
test ecx, ecx
je 0x515a17
mov ecx, dword [ebp + ecx*4 - 0x404]
mov eax, dword [ebp - 0x3cc]
add eax, ecx
cdq
idiv ebx
mov eax, dword [ebp - 0x3e0]
add eax, ecx
mov esi, dword [ebp + edx*4 - 0x804]
cdq
idiv ebx
mov eax, dword [ebp - 0x3d0]
add eax, ecx
mov ebx, dword [ebp + edx*4 - 0x804]
cdq
idiv dword [ebp - 0x80c]
mov eax, dword [ebp + edx*4 - 0x804]
mov dword [ebp - 0x808], eax
mov eax, dword [ebp - 0x3d8]
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov eax, dword [ebp + edx*4 - 0x804]
jmp 0x515a23
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x808], ebx
xor eax, eax
shl eax, 8
xor eax, dword [ebp - 0x808]
shl eax, 8
xor eax, ebx
mov ebx, 0xff
shl eax, 8
xor eax, esi
mov dword [edi*4 + 0x619978], eax
rol eax, 8
mov dword [edi*4 + 0x619d78], eax
rol eax, 8
mov dword [edi*4 + 0x61a178], eax
rol eax, 8
mov dword [edi*4 + 0x61a578], eax
inc edi
cmp edi, 0x100
jl 0x515950
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00544c5a
mov esp, ebp
pop ebp
ret
Function at 0x5160a0
Capabilities:
Encode data using add xor sub operations

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x613384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x11c]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x118
push 0
push eax
call fcn.00546c70
push dword [ebp + 0x10]
lea eax, [ebp - 0x11c]
push esi
lea edi, [ebx + 8]
push eax
mov dword [ebx + 4], edi
call fcn.005162b0
add esp, 0x18
mov dword [ebp - 0x120], eax
test eax, eax
jne 0x51627f
mov ecx, dword [ebp - 0x11c]
mov dword [ebx], ecx
shl ecx, 4
add ecx, dword [ebp - 0x118]
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
mov eax, dword [ecx + 0xc]
sub ecx, 0x10
mov dword [edi + 0xc], eax
add edi, 0x10
mov esi, dword [ebx]
dec esi
test esi, esi
jle 0x516269
nop
movzx eax, byte [ecx + 3]
dec esi
movzx edx, byte [eax + 0x618778]
movzx eax, byte [ecx + 2]
mov edx, dword [edx*4 + 0x61a578]
movzx eax, byte [eax + 0x618778]
xor edx, dword [eax*4 + 0x61a178]
movzx eax, byte [ecx + 1]
movzx eax, byte [eax + 0x618778]
xor edx, dword [eax*4 + 0x619d78]
movzx eax, byte [ecx]
movzx eax, byte [eax + 0x618778]
xor edx, dword [eax*4 + 0x619978]
mov dword [edi], edx
movzx eax, byte [ecx + 7]
movzx edx, byte [eax + 0x618778]
movzx eax, byte [ecx + 6]
mov edx, dword [edx*4 + 0x61a578]
movzx eax, byte [eax + 0x618778]
xor edx, dword [eax*4 + 0x61a178]
movzx eax, byte [ecx + 5]
movzx eax, byte [eax + 0x618778]
xor edx, dword [eax*4 + 0x619d78]
movzx eax, byte [ecx + 4]
movzx eax, byte [eax + 0x618778]
xor edx, dword [eax*4 + 0x619978]
mov dword [edi + 4], edx
movzx eax, byte [ecx + 0xb]
movzx edx, byte [eax + 0x618778]
movzx eax, byte [ecx + 0xa]
mov edx, dword [edx*4 + 0x61a578]
movzx eax, byte [eax + 0x618778]
xor edx, dword [eax*4 + 0x61a178]
movzx eax, byte [ecx + 9]
movzx eax, byte [eax + 0x618778]
xor edx, dword [eax*4 + 0x619d78]
movzx eax, byte [ecx + 8]
movzx eax, byte [eax + 0x618778]
xor edx, dword [eax*4 + 0x619978]
mov dword [edi + 8], edx
movzx eax, byte [ecx + 0xf]
movzx edx, byte [eax + 0x618778]
movzx eax, byte [ecx + 0xe]
mov edx, dword [edx*4 + 0x61a578]
movzx eax, byte [eax + 0x618778]
xor edx, dword [eax*4 + 0x61a178]
movzx eax, byte [ecx + 0xd]
movzx eax, byte [eax + 0x618778]
xor edx, dword [eax*4 + 0x619d78]
movzx eax, byte [ecx + 0xc]
sub ecx, 0x10
movzx eax, byte [eax + 0x618778]
xor edx, dword [eax*4 + 0x619978]
mov dword [edi + 0xc], edx
add edi, 0x10
test esi, esi
jg 0x516130
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x11c]
push 0x118
push eax
call fcn.0050f8d0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp - 0x120]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00544c5a
mov esp, ebp
pop ebp
ret
Function at 0x518c80
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x613384]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x40
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00546c70
mov esi, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0x67452301
mov dword [ebp - 0x50], 0xefcdab89
mov dword [ebp - 0x4c], 0x98badcfe
mov dword [ebp - 0x48], 0x10325476
test esi, esi
je 0x518d19
mov dword [ebp - 0x5c], esi
cmp esi, 0x40
jb 0x518d07
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.00518200
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x518e46
sub esi, 0x40
add edi, 0x40
cmp esi, 0x40
jae 0x518ce5
test esi, esi
je 0x518d19
push esi
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.005478f0
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
lea edx, [ebp - 0x44]
and ecx, 0x3f
mov byte [ebp + ecx - 0x44], 0x80
inc ecx
add edx, ecx
cmp ecx, 0x38
ja 0x518d3c
mov eax, 0x38
sub eax, ecx
push eax
push 0
push edx
jmp 0x518d6d
mov eax, 0x40
sub eax, ecx
push eax
push 0
push edx
call fcn.00546c70
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00518200
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x518e46
push 0x38
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00546c70
mov eax, dword [ebp - 0x58]
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
lea edx, [eax*8]
mov eax, ecx
shr eax, 0x1d
or edx, eax
shl ecx, 3
mov eax, ecx
mov byte [ebp - 0xc], cl
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 8], dl
lea eax, [ebp - 0x5c]
shr ecx, 0x18
shr edx, 0x18
push eax
mov byte [ebp - 9], cl
mov byte [ebp - 5], dl
call fcn.00518200
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x518e46
mov ecx, dword [ebp - 0x60]
movzx eax, byte [ebp - 0x54]
mov byte [ecx], al
movzx eax, byte [ebp - 0x53]
mov byte [ecx + 1], al
movzx eax, byte [ebp - 0x52]
mov byte [ecx + 2], al
movzx eax, byte [ebp - 0x51]
mov byte [ecx + 3], al
movzx eax, byte [ebp - 0x50]
mov byte [ecx + 4], al
movzx eax, byte [ebp - 0x4f]
mov byte [ecx + 5], al
movzx eax, byte [ebp - 0x4e]
mov byte [ecx + 6], al
movzx eax, byte [ebp - 0x4d]
mov byte [ecx + 7], al
movzx eax, byte [ebp - 0x4c]
mov byte [ecx + 8], al
movzx eax, byte [ebp - 0x4b]
mov byte [ecx + 9], al
movzx eax, byte [ebp - 0x4a]
mov byte [ecx + 0xa], al
movzx eax, byte [ebp - 0x49]
mov byte [ecx + 0xb], al
movzx eax, byte [ebp - 0x48]
mov byte [ecx + 0xc], al
movzx eax, byte [ebp - 0x47]
mov byte [ecx + 0xd], al
movzx eax, byte [ebp - 0x46]
mov byte [ecx + 0xe], al
movzx eax, byte [ebp - 0x45]
mov byte [ecx + 0xf], al
lea eax, [ebp - 0x5c]
push 0x58
push eax
call fcn.0050f8d0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00544c5a
mov esp, ebp
pop ebp
ret
Function at 0x518e70
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
xor eax, eax
pop ebp
ret