joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e6580
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x5e6595
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x5e65bb
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push esi
push eax
call fcn.005e6460
add esp, 0xc
mov eax, dword [eax]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x5e65d1
mov dword [edi], 0
call fcn.005e0840
mov dword [edi + 4], eax
pop edi
test ebx, 0x400
je 0x5e6608
push esi
call fcn.005e59b0
add esp, 4
test al, al
je 0x5e65fd
test bl, 0x10
mov eax, 4
mov ecx, 0xb
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov eax, 9
pop ebx
mov esp, ebp
pop ebp
ret
and ebx, 0x10
or ebx, 0x20
shr ebx, 4
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5e6a40
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x747b8d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push 0x20
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00486a30
movups xmm0, xmmword [str.boost::filesystem::rename]
mov dword [ebp - 0x1c], 0x19
mov dword [ebp - 0x18], 0x1f
movups xmmword [eax], xmm0
movq xmm0, qword [0x7a8bf0]
movq qword [eax + 0x10], xmm0
mov cl, byte [0x7a8bf8]
mov byte [eax + 0x18], cl
mov byte [eax + 0x19], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x5e6ac7
mov ecx, dword [eax]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x5e6ad6
mov eax, dword [edi]
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x5e6afb
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x5e6b16
mov dword [esi], 0
call fcn.005e0840
mov dword [esi + 4], eax
jmp 0x5e6b16
call fcn.005e0840
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x10], 0
je 0x5e6b56
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], esi
mov edx, dword [ebp - 0x18]
pop edi
pop esi
cmp edx, 0x10
jb 0x5e6b48
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5e6b3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e6b83
push edx
push ecx
call fcn.00516d60
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.004e94f0
lea ecx, [ebp - 0x60]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x2c]
push dword [ebp + 0xc]
push edi
push eax
call fcn.005e4480
push 0x840464
lea eax, [ebp - 0x60]
push eax
call fcn.00704803
call fcn.0070f5b4
int3
Function at 0x5e6c00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x74f43d
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x5e6c2b
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x5e6c5c
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.005e6460
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
test ebx, 0x400
je 0x5e6d78
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x5e6c72
mov edx, dword [edi]
mov ecx, edx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5e6c90
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.00486be0
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
push 0
cmovae eax, dword [ebp - 0x24]
push 0x2000000
push 3
push 0
push 7
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp + 0xc], esi
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x5e6d10
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5e6d06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e6dc1
push edx
push ecx
call fcn.00516d60
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
cmp esi, 0xffffffff
je 0x5e6c39
push edi
call fcn.005e59b0
add esp, 4
test al, al
jne 0x5e6d6a
push ebx
push edi
call fcn.005e6130
mov edi, dword [ebp + 8]
add esp, 8
push esi
mov dword [edi], 9
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x5e6d8d
mov dword [esi], 0
call fcn.005e0840
mov dword [esi + 4], eax
mov esi, 3
push ebx
push edi
test bl, 0x10
jne 0x5e6d9e
mov esi, 2
call fcn.005e6130
mov ecx, eax
add esp, 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0070f5b4
int3
Function at 0x5ef6f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
lea ecx, [edx + 0x3f8]
lea esi, [eax + 0x3f8]
cmp eax, ecx
ja 0x5ef72d
cmp esi, edx
jb 0x5ef72d
sub edx, eax
mov esi, 0x80
mov ecx, dword [eax + edx]
lea eax, [eax + 8]
xor dword [eax - 8], ecx
mov ecx, dword [eax + edx - 4]
xor dword [eax - 4], ecx
sub esi, 1
jne 0x5ef715
pop esi
pop ebp
ret
lea esi, [edx + 0x30]
sub edx, eax
lea ecx, [eax + 0x10]
mov eax, 0x10
nop word [eax + eax]
lea ecx, [ecx + 0x40]
lea esi, [esi + 0x40]
movups xmm0, xmmword [ecx - 0x50]
movups xmm1, xmmword [esi - 0x70]
pxor xmm1, xmm0
movups xmmword [ecx - 0x50], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [edx + ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm0, xmmword [ecx - 0x30]
movups xmm1, xmmword [esi - 0x50]
pxor xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
movups xmm0, xmmword [ecx - 0x20]
movups xmm1, xmmword [esi - 0x40]
pxor xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
sub eax, 1
jne 0x5ef740
pop esi
pop ebp
ret
Function at 0x5f42c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
xor eax, eax
mov dword [ebp + 8], 0
push esi
nop word [eax + eax]
mov ecx, dword [ebp + 0xc]
mov cl, byte [ecx + eax]
movzx edx, cl
mov ecx, dword [ebp - 4]
movzx esi, byte [ecx + eax]
inc eax
mov ecx, dword [ebp + 8]
xor esi, edx
or ecx, esi
mov dword [ebp + 8], ecx
cmp eax, 0x10
jl 0x5f42e0
mov eax, dword [ebp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x621c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x9c
call fcn.00702be0
mov eax, dword [0x8fc044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
sub ecx, edi
mov dword [ebp - 0x94], ecx
cmp edx, edi
jb 0x621de7
cmp edi, 0x40
ja 0x621de7
lea eax, [ebp - 0x84]
neg eax
lea ecx, [ebp - 0x84]
and eax, 0x3f
add ecx, eax
lea eax, [edi + 0x100]
mov dword [ebp - 0x98], ecx
cmp edx, eax
jbe 0x621c76
mov ebx, edx
sub ebx, edi
sub ebx, 0x100
push esi
push edi
xor esi, esi
mov dword [ebp - 0x8c], 0
push esi
push ecx
call fcn.007051b0
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x90], esi
cmp ebx, dword [eax + 0xc]
jae 0x621d46
mov ecx, ebx
sub ecx, dword [eax + 8]
mov dword [ebp - 0x88], ecx
nop dword [eax + eax]
mov edi, dword [ebp + 0xc]
mov eax, ebx
xor eax, dword [ebp - 0x94]
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
mov eax, dword [ebp + 0xc]
neg edx
xor ecx, dword [eax + 8]
mov eax, ebx
xor eax, dword [edi + 8]
or ecx, eax
mov eax, edx
or eax, dword [ebp - 0x8c]
xor ecx, ebx
and edx, dword [ebp - 0x90]
shr ecx, 0x1f
or esi, edx
mov edx, dword [ebp - 0x90]
neg ecx
and ecx, eax
mov eax, dword [edi + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x8c], ecx
mov al, byte [eax + ebx]
inc ebx
and al, cl
mov ecx, dword [ebp - 0x98]
or byte [edx + ecx], al
inc edx
mov ecx, edx
mov eax, edx
sub ecx, edi
xor eax, edi
xor ecx, edi
or ecx, eax
mov eax, dword [ebp + 0xc]
xor ecx, edx
shr ecx, 0x1f
neg ecx
and edx, ecx
mov ecx, dword [ebp - 0x88]
inc ecx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x88], ecx
cmp ebx, dword [eax + 0xc]
jb 0x621cb0
mov dword [ebp - 0x88], 0
test edi, edi
je 0x621dd1
mov ecx, dword [ebp - 0x98]
mov eax, esi
and eax, 0xffffffdf
mov bl, byte [eax + ecx]
mov eax, esi
or eax, 0x20
mov dl, byte [eax + ecx]
mov ecx, esi
and ecx, 0x20
inc esi
lea eax, [ecx - 1]
not ecx
shr ecx, 0x1f
shr eax, 0x1f
and al, cl
neg al
movzx eax, al
mov dword [ebp - 0x8c], eax
not eax
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x8c]
and cl, dl
mov edx, dword [ebp - 0x88]
and al, bl
or al, cl
mov ecx, dword [ebp - 0x9c]
mov byte [ecx + edx], al
mov ecx, esi
sub ecx, edi
mov eax, esi
xor ecx, edi
xor eax, edi
or ecx, eax
inc edx
xor ecx, esi
mov dword [ebp - 0x88], edx
shr ecx, 0x1f
neg ecx
and esi, ecx
cmp edx, edi
jb 0x621d54
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00703eaa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.00703eaa
mov esp, ebp
pop ebp
ret
Function at 0x622e40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.00702be0
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [eax + 4]
mov edi, dword [ebp + 0x14]
inc edi
mov eax, dword [eax + 0x64]
test byte [eax + 0x30], 1
je 0x622e8a
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + 8]
lea eax, [edi + ecx]
cmp eax, edx
jbe 0x622e7a
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
add dword [esi + 0x14], ecx
sub edx, ecx
add dword [esi + 0x18], ecx
sub dword [esi + 0xc], ecx
mov dword [esi + 8], edx
jmp 0x622e8f
cmp edi, dword [esi + 8]
ja 0x622e72
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
push ebx
mov al, byte [ecx + eax - 1]
movzx ebx, al
mov byte [ebp + 0x17], al
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ebx
push dword [eax + 0x3cc]
call fcn.005720e0
push eax
call fcn.005f6f60
add esp, 8
test eax, 0x200000
je 0x622ed5
or eax, 0xffffffff
sub eax, ebx
add dword [esi + 8], eax
mov eax, 1
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 8]
lea ecx, [ebx + edi]
mov ebx, edx
mov dword [ebp + 8], edx
sub ebx, ecx
mov eax, edx
xor ebx, ecx
xor eax, ecx
or ebx, eax
mov eax, 0x100
xor ebx, edx
shr ebx, 0x1f
dec ebx
cmp edx, eax
cmovb eax, edx
xor edi, edi
mov dword [ebp - 8], eax
test eax, eax
je 0x622f53
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 4]
mov edx, ecx
mov esi, dword [ebp + 8]
shr edx, 0x1f
dec esi
mov dword [ebp - 0xc], edx
add esi, eax
sub ecx, edi
lea esi, [esi - 1]
shr ecx, 0x1f
mov eax, edi
shr eax, 0x1f
inc edi
xor cl, al
xor al, dl
or cl, al
movzx eax, byte [esi + 1]
xor cl, dl
dec cl
movzx edx, cl
movzx ecx, byte [ebp + 0x17]
xor ecx, eax
and edx, ecx
mov ecx, dword [ebp - 4]
not edx
and ebx, edx
mov edx, dword [ebp - 0xc]
cmp edi, dword [ebp - 8]
jb 0x622f17
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
not ebx
movzx eax, bl
pop ebx
pop edi
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
mov eax, dword [ebp - 4]
neg ecx
inc eax
and eax, ecx
sub edx, eax
mov dword [esi + 8], edx
mov dword [ebp + 8], ecx
not ecx
mov dword [ebp + 0x14], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
and ecx, 1
or eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x6326c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
push dword [ebp + 8]
call fcn.00673bd0
push 0x62
push esi
mov edi, eax
mov ebx, 1
call fcn.007053e0
add esp, 0x10
mov ecx, 0x11
test eax, eax
cmove ebx, ecx
test edi, edi
jne 0x632779
push 0x45
push str.crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.00640550
push 0x7b3cc0
push esi
push 0x7be7ac
push dword [ebp + 8]
push str.fopen_
push 5
call fcn.0063fd00
add esp, 0x2c
call fcn.0070f6a2
cmp dword [eax], 2
je 0x63275a
call fcn.0070f6a2
cmp dword [eax], 6
je 0x63275a
push 0x4e
push str.crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.00640550
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push 0x4c
push str.crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.00640550
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push 0x7be754
call fcn.0062fd70
mov esi, eax
add esp, 4
test esi, esi
jne 0x63279c
push edi
call fcn.00716053
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push 0
push esi
call fcn.0062f740
push edi
push ebx
push 0x6a
push esi
call fcn.0062f770
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x634090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.00702be0
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
cmp edx, ebx
je 0x63421b
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
push esi
lea esi, [eax - 1]
not eax
shr eax, 0x1f
shr esi, 0x1f
and esi, eax
mov eax, dword [ebx + 4]
xor eax, ecx
dec esi
and eax, esi
mov dword [ebp - 8], esi
xor ecx, eax
mov dword [edx + 4], ecx
xor dword [ebx + 4], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [ebx + 0xc]
xor eax, ecx
movd xmm0, esi
and eax, esi
pshufd xmm3, xmm0, 0
xor ecx, eax
mov dword [edx + 0xc], ecx
xor dword [ebx + 0xc], eax
mov ecx, dword [edx + 0x10]
mov eax, dword [ebx + 0x10]
xor eax, ecx
and eax, esi
mov esi, dword [ebp + 0x14]
and eax, 4
xor ecx, eax
mov dword [edx + 0x10], ecx
xor dword [ebx + 0x10], eax
xor eax, eax
test esi, esi
jle 0x63421a
push edi
cmp esi, 8
jb 0x6341f1
mov edi, dword [edx]
lea edx, [esi - 1]
mov ecx, dword [ebx]
lea edx, [ecx + edx*4]
mov dword [ebp + 0x10], edx
lea edx, [esi - 1]
lea edx, [edi + edx*4]
cmp ecx, edx
mov edx, dword [ebp + 0xc]
ja 0x63413d
cmp dword [ebp + 0x10], edi
jae 0x6341f1
cmp ecx, ebx
ja 0x63414a
cmp dword [ebp + 0x10], ebx
jae 0x6341f1
cmp ecx, edx
ja 0x634157
cmp dword [ebp + 0x10], edx
jae 0x6341f1
lea ecx, [esi - 1]
lea ecx, [edi + ecx*4]
cmp edi, ebx
ja 0x634169
cmp ecx, ebx
jae 0x6341f1
cmp edi, edx
ja 0x634175
cmp ecx, edx
jae 0x6341f1
mov ecx, esi
and ecx, reloc.WS2_32.dll_getsockopt
jns 0x634184
dec ecx
or ecx, 0xfffffff8
inc ecx
mov dword [ebp + 0x10], esi
sub dword [ebp + 0x10], ecx
mov ecx, dword [ebx]
nop dword [eax]
movups xmm1, xmmword [edi + eax*4]
movups xmm0, xmmword [ecx + eax*4]
movaps xmm2, xmm1
pxor xmm2, xmm0
pand xmm2, xmm3
movaps xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [edi + eax*4], xmm0
movups xmm0, xmmword [ecx + eax*4]
pxor xmm2, xmm0
movups xmmword [ecx + eax*4], xmm2
movups xmm1, xmmword [edi + eax*4 + 0x10]
movups xmm0, xmmword [ecx + eax*4 + 0x10]
movaps xmm2, xmm1
pxor xmm2, xmm0
pand xmm2, xmm3
movaps xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [edi + eax*4 + 0x10], xmm0
movups xmm0, xmmword [ecx + eax*4 + 0x10]
pxor xmm2, xmm0
movups xmmword [ecx + eax*4 + 0x10], xmm2
add eax, 8
cmp eax, dword [ebp + 0x10]
jl 0x634190
cmp eax, esi
jge 0x634219
mov ecx, dword [edx]
mov edx, dword [ecx + eax*4]
lea esi, [ecx + eax*4]
mov ecx, dword [ebx]
mov edi, dword [ecx + eax*4]
xor edi, edx
and edi, dword [ebp - 8]
xor edx, edi
mov dword [esi], edx
mov ecx, dword [ebx]
mov edx, dword [ebp + 0xc]
xor dword [ecx + eax*4], edi
inc eax
cmp eax, dword [ebp + 0x14]
jl 0x6341f5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x645480
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x5c
push 0
push esi
call fcn.007051b0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov eax, 1
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
pop esi
pop ebp
ret
Function at 0x648670
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.00702be0
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
test edi, edi
je 0x6486f0
mov cl, byte [edi]
test cl, cl
je 0x6486f0
push ebx
push esi
mov ebx, 0x100
nop word [eax + eax]
movd xmm1, dword [ebp - 4]
lea edi, [edi + 1]
movsx esi, cl
mov edx, 0x20
or esi, ebx
add ebx, 0x100
mov ecx, esi
shr ecx, 2
xor ecx, esi
imul esi, esi
and ecx, 0xf
sub edx, ecx
shl eax, cl
mov cl, byte [edi]
movd xmm0, edx
psrlq xmm1, xmm0
movd edx, xmm1
or eax, edx
xor eax, esi
mov dword [ebp - 4], eax
test cl, cl
jne 0x6486a0
mov ecx, eax
pop esi
shr ecx, 0x10
pop ebx
xor eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x648910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.00702be0
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 4], esi
test ebx, ebx
je 0x64899f
mov al, byte [ebx]
test al, al
je 0x64899f
mov dword [ebp + 8], 0x100
push edi
nop dword [eax]
movsx eax, al
push eax
call fcn.00673da0
movd xmm1, dword [ebp - 4]
lea ebx, [ebx + 1]
mov edi, eax
mov edx, 0x20
or edi, dword [ebp + 8]
add esp, 4
add dword [ebp + 8], 0x100
mov ecx, edi
shr ecx, 2
xor ecx, edi
imul edi, edi
and ecx, 0xf
sub edx, ecx
shl esi, cl
movd xmm0, edx
psrlq xmm1, xmm0
movd eax, xmm1
or eax, esi
xor eax, edi
mov esi, eax
mov al, byte [ebx]
mov dword [ebp - 4], esi
test al, al
jne 0x648940
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x655670
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
call fcn.005c4800
mov esi, eax
push esi
call fcn.00645480
add esp, 8
test eax, eax
jne 0x65568e
pop esi
pop ebp
ret
lea eax, [esi + 0x5c]
pop esi
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00665d30
Function at 0x65c5b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.00702be0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
mov edx, dword [eax + 0x60]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, dword [edx + 0x70]
mov dword [ebp - 4], edx
mov dword [ebp + 8], ecx
test esi, esi
je 0x65c618
test edi, edi
je 0x65c5f8
cmp esi, 0x40
jae 0x65c5f8
mov al, byte [esi + edx + 0x30]
inc esi
xor al, byte [ebx]
inc ebx
mov byte [ecx], al
inc ecx
mov dword [ebp + 8], ecx
sub edi, 1
jne 0x65c5e0
mov dword [edx + 0x70], esi
test edi, edi
je 0x65c6c7
cmp esi, 0x40
jne 0x65c618
mov dword [edx + 0x70], 0
add dword [edx + 0x20], 1
jne 0x65c618
inc dword [edx + 0x24]
mov eax, edi
lea esi, [edx + 0x20]
and eax, 0x3f
mov dword [ebp - 0x10], esi
sub edi, eax
mov dword [ebp - 8], eax
mov eax, dword [esi]
cmp edi, 0x40
jb 0x65c67d
nop
mov esi, edi
shr esi, 6
add eax, esi
mov dword [ebp - 0xc], eax
cmp eax, esi
jae 0x65c647
sub esi, eax
mov dword [ebp - 0xc], 0
lea eax, [edx + 0x20]
shl esi, 6
push eax
push edx
push esi
push ebx
push ecx
call fcn.0040b9c0
mov ecx, dword [ebp + 8]
sub edi, esi
mov eax, dword [ebp - 0xc]
add ecx, esi
mov edx, dword [ebp - 4]
add ebx, esi
mov esi, dword [ebp - 0x10]
add esp, 0x14
mov dword [ebp + 8], ecx
mov dword [esi], eax
test eax, eax
jne 0x65c678
inc dword [edx + 0x24]
cmp edi, 0x40
jae 0x65c630
cmp dword [ebp - 8], 0
je 0x65c6c7
push 0x40
lea edi, [edx + 0x30]
push 0
push edi
call fcn.007051b0
push esi
mov esi, dword [ebp - 4]
push esi
push 0x40
push edi
push edi
call fcn.0040b9c0
mov eax, dword [ebp - 8]
add esp, 0x20
xor edi, edi
test eax, eax
je 0x65c6c4
mov edx, dword [ebp + 8]
sub ebx, edx
nop
lea ecx, [edi + edx]
mov al, byte [ebx + ecx]
xor al, byte [esi + edi + 0x30]
inc edi
mov byte [ecx], al
mov eax, dword [ebp - 8]
cmp edi, eax
jb 0x65c6b0
mov dword [esi + 0x70], eax
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x665d30
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x60
push 0
push esi
call fcn.007051b0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov eax, 1
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebp
ret

Function at 0x665e80
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x70
push 0
push esi
call fcn.007051b0
add esp, 0xc
mov dword [esi], 0xc1059ed8
mov dword [esi + 4], 0x367cd507
mov eax, 1
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
pop esi
pop ebp
ret

Function at 0x6661d0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x70
push 0
push esi
call fcn.007051b0
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov eax, 1
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
pop esi
pop ebp
ret

Function at 0x666330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00666480

Function at 0x666340
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x30
mov eax, 1
pop ebp
ret