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

Disassembly:
mov eax, 4
call fcn.0055dba0
push ebp
mov ebp, dword [esp + 0xc]
mov eax, dword [ebp + 0x38]
or eax, dword [ebp + 0x3c]
je 0x50efef
mov eax, 0xfffffffe
pop ebp
pop ecx
ret
push esi
mov esi, dword [esp + 0x18]
xor ecx, ecx
mov eax, esi
add eax, dword [ebp + 0x30]
adc ecx, dword [ebp + 0x34]
cmp ecx, 0x20000000
ja 0x50f0b9
jb 0x50f014
test eax, eax
jne 0x50f0b9
push ebx
mov ebx, dword [esp + 0x18]
push edi
mov edi, dword [ebp + 0x16c]
mov dword [ebp + 0x34], ecx
lea ecx, [ebp + 0x40]
mov dword [ebp + 0x30], eax
test edi, edi
je 0x50f065
nop dword [eax]
test esi, esi
je 0x50f04a
mov al, byte [ebx]
lea ecx, [ebp + 0x40]
xor byte [ecx + edi], al
inc ebx
inc edi
mov dword [esp + 0x18], ecx
dec esi
and edi, 0xf
jne 0x50f030
jmp 0x50f052
mov dword [esp + 0x18], ecx
test edi, edi
jne 0x50f0ab
lea eax, [ebp + 0x60]
push eax
push ecx
call fcn.00510430
mov ecx, dword [esp + 0x20]
add esp, 8
jmp 0x50f069
mov dword [esp + 0x18], ecx
mov eax, esi
lea edx, [ebp + 0x60]
and eax, 0xfffffff0
mov dword [esp + 0x10], eax
je 0x50f08b
push eax
push ebx
push edx
push ecx
call fcn.00510200
add ebx, dword [esp + 0x20]
add esp, 0x10
sub esi, dword [esp + 0x10]
test esi, esi
je 0x50f0ab
xor ecx, ecx
mov edi, esi
test esi, esi
je 0x50f0ab
mov edx, dword [esp + 0x18]
nop dword [eax + eax]
mov al, byte [ecx + ebx]
xor byte [edx + ecx], al
inc ecx
cmp ecx, esi
jb 0x50f0a0
mov dword [ebp + 0x16c], edi
xor eax, eax
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret
pop esi
or eax, 0xffffffff
pop ebp
pop ecx
ret
Function at 0x50fc10
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.0055dba0
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
push edi
mov eax, dword [ebx + 0x30]
mov esi, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
shld esi, eax, 3
shld edi, ecx, 3
shl eax, 3
shl ecx, 3
cmp dword [ebx + 0x168], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], ecx
jne 0x50fc5e
cmp dword [ebx + 0x16c], 0
je 0x50fc76
lea eax, [ebx + 0x60]
push eax
lea eax, [ebx + 0x40]
push eax
call fcn.00510430
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x38], ecx
mov ecx, eax
mov dword [ebx + 0x34], esi
mov eax, esi
shrd ecx, eax, 8
mov dword [ebx + 0x3c], edi
movzx eax, cl
cdq
mov ebx, eax
mov ecx, dword [esp + 0x14]
mov ebp, edx
movzx eax, cl
cdq
shld edx, eax, 8
shl eax, 8
or ebp, edx
or ebx, eax
mov eax, esi
shrd ecx, eax, 0x10
shld ebp, ebx, 8
movzx eax, cl
mov ecx, dword [esp + 0x14]
cdq
shl ebx, 8
or ebp, edx
or ebx, eax
mov eax, esi
shrd ecx, eax, 0x18
shld ebp, ebx, 8
movzx eax, cl
mov ecx, dword [esp + 0x1c]
cdq
shl ebx, 8
or ebp, edx
or ebx, eax
movzx eax, cl
cdq
shld ebp, ebx, 8
shl ebx, 8
or ebp, edx
or ebx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
cdq
shld ebp, ebx, 8
shl ebx, 8
or ebp, edx
or ebx, eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
cdq
shld ebp, ebx, 8
shr ecx, 0x18
shl ebx, 8
or ebp, edx
or ebx, eax
mov eax, edi
shld ebp, ebx, 8
shl ebx, 8
or ebx, ecx
mov ecx, dword [esp + 0x10]
shrd ecx, eax, 8
movzx eax, cl
mov ecx, dword [esp + 0x10]
cdq
mov esi, eax
mov edi, edx
movzx eax, cl
cdq
shld edx, eax, 8
shl eax, 8
or edi, edx
or esi, eax
mov eax, dword [esp + 0x18]
shld edi, esi, 8
shl esi, 8
shrd ecx, eax, 0x10
movzx eax, cl
mov ecx, dword [esp + 0x10]
cdq
or esi, eax
or edi, edx
mov eax, dword [esp + 0x18]
shrd ecx, eax, 0x18
shld edi, esi, 8
movzx eax, cl
mov ecx, dword [esp + 0x18]
cdq
shl esi, 8
or edi, edx
or esi, eax
movzx eax, cl
shld edi, esi, 8
cdq
shl esi, 8
or edi, edx
or esi, eax
mov eax, ecx
shld edi, esi, 8
shr eax, 8
movzx eax, al
cdq
shl esi, 8
or edi, edx
or esi, eax
mov eax, ecx
shld edi, esi, 8
shr eax, 0x10
movzx eax, al
shl esi, 8
cdq
or esi, eax
shr ecx, 0x18
or edi, edx
shld edi, esi, 8
shl esi, 8
or esi, ecx
mov ecx, dword [esp + 0x24]
add ecx, 0x40
xor dword [ecx], ebx
mov ebx, dword [esp + 0x24]
xor dword [ecx + 4], ebp
xor dword [ebx + 0x48], esi
lea eax, [ebx + 0x60]
xor dword [ebx + 0x4c], edi
push eax
push ecx
call fcn.00510430
mov eax, dword [ebx + 0x20]
lea ecx, [ebx + 0x40]
xor dword [ecx], eax
add esp, 8
mov eax, dword [ebx + 0x24]
xor dword [ecx + 4], eax
mov eax, dword [ebx + 0x28]
xor dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x2c]
xor dword [ebx + 0x4c], eax
mov edx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
test edx, edx
je 0x50fe1e
mov eax, dword [esp + 0x1c]
cmp eax, 0x10
ja 0x50fe1e
add esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
jmp fcn.004a8550
or eax, 0xffffffff
add esp, 0x10
ret
Function at 0x5141a0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x5141b4
mov dword [esp + 0x18], fcn.00512980
jmp fcn.0050e570
mov dword [esp + 0x18], fcn.00511c20
jmp fcn.0050e2b0
Function at 0x51d8e0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 0x18
call fcn.0055dba0
mov eax, dword [0x6807dc]
xor eax, esp
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
test ebx, ebx
jle 0x51d9c9
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
lea esi, [edx + 2]
lea edi, [ebp + 3]
sub ebp, edx
nop dword [eax]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
call fcn.0051dd00
mov al, byte [edi - 3]
lea edi, [edi + 8]
xor al, byte [esp + 0x28]
lea esi, [esi + 8]
mov byte [esi - 0xa], al
add esp, 0xc
mov byte [esp + 0x14], al
mov al, byte [edi - 0xa]
xor al, byte [esp + 0x1d]
mov byte [esi - 9], al
mov byte [esp + 0x15], al
mov al, byte [esi + ebp - 8]
xor al, byte [esp + 0x1e]
mov byte [esi - 8], al
mov byte [esp + 0x16], al
mov al, byte [edi - 8]
xor al, byte [esp + 0x1f]
mov byte [esi - 7], al
mov byte [esp + 0x17], al
mov al, byte [edi - 7]
xor al, byte [esp + 0x20]
mov byte [esi - 6], al
mov byte [esp + 0x18], al
mov al, byte [edi - 6]
xor al, byte [esp + 0x21]
mov byte [esi - 5], al
mov byte [esp + 0x19], al
mov al, byte [edi - 5]
xor al, byte [esp + 0x22]
mov byte [esi - 4], al
mov byte [esp + 0x1a], al
mov al, byte [edi - 4]
xor al, byte [esp + 0x23]
mov byte [esi - 3], al
mov byte [esp + 0x1b], al
sub ebx, 1
jne 0x51d930
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
pop ebx
xor ecx, esp
call fcn.0055cf54
add esp, 0x18
ret
Function at 0x52bba0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ecx, dword [edx + 4]
mov ebp, edx
push edi
cmp ecx, dword [ebx + 4]
mov edi, dword [esp + 0x10]
cmovge ebp, ebx
cmovge ebx, edx
mov eax, dword [ebx + 4]
cmp eax, dword [edi + 8]
jg 0x52bbc9
mov eax, edi
jmp 0x52bbd3
push eax
push edi
call fcn.00494560
add esp, 8
test eax, eax
jne 0x52bbdb
pop edi
pop ebp
pop ebx
ret
push esi
xor esi, esi
cmp dword [ebp + 4], esi
jle 0x52bbf9
mov eax, dword [ebp]
mov ecx, dword [ebx]
mov edx, dword [eax + esi*4]
mov eax, dword [edi]
xor edx, dword [ecx + esi*4]
mov dword [eax + esi*4], edx
inc esi
cmp esi, dword [ebp + 4]
jl 0x52bbe3
mov eax, dword [ebx + 4]
cmp esi, eax
jge 0x52bc12
mov eax, dword [ebx]
mov ecx, dword [edi]
mov eax, dword [eax + esi*4]
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebx + 4]
cmp esi, eax
jl 0x52bc00
mov dword [edi + 4], eax
pop esi
test eax, eax
jle 0x52bc35
mov edx, dword [edi]
add edx, 0xfffffffc
lea edx, [edx + eax*4]
mov ecx, dword [edx]
lea edx, [edx - 4]
test ecx, ecx
jne 0x52bc30
dec eax
test eax, eax
jg 0x52bc22
mov dword [edi + 4], eax
test eax, eax
jne 0x52bc3e
mov dword [edi + 0xc], 0
pop edi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x52cc30
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, 4
call fcn.0055dba0
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
push ebp
xor edi, edi
call fcn.004b38a0
push ebp
call fcn.004b3710
mov esi, eax
add esp, 8
test esi, esi
je 0x52ce46
push ebx
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 4]
add eax, eax
cmp eax, dword [esi + 8]
jg 0x52cc6f
mov eax, esi
jmp 0x52cc79
push eax
push esi
call fcn.00494560
add esp, 8
test eax, eax
je 0x52ce45
mov eax, dword [ebx + 4]
lea ecx, [eax - 1]
test ecx, ecx
js 0x52ce01
mov ebp, ecx
mov eax, dword [ebx]
mov edx, dword [eax + ebp*4]
mov ecx, edx
shr ecx, 1
mov eax, edx
and eax, 0x20000
and ecx, 0x8000
or ecx, eax
mov eax, edx
and eax, 0x40000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x80000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x100000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x200000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x400000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x800000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x1000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x2000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x4000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x8000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x10000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x20000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x40000000
shr ecx, 1
or ecx, eax
and edx, reloc.WS2_32.dll_accept
mov eax, dword [esi]
shr ecx, 1
or ecx, edx
shr ecx, 1
mov dword [eax + ebp*8 + 4], ecx
mov eax, dword [ebx]
mov ecx, dword [eax + ebp*4]
mov edx, ecx
and edx, 0x8000
mov eax, ecx
add edx, edx
and eax, 0x4000
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x2000
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x1000
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x800
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x400
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x200
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x100
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x80
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x40
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x20
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x10
or edx, eax
mov eax, ecx
add edx, edx
and eax, 8
or edx, eax
mov eax, ecx
add edx, edx
and eax, 4
or edx, eax
mov eax, ecx
add edx, edx
and eax, 2
or edx, eax
and ecx, 1
mov eax, dword [esi]
add edx, edx
or edx, ecx
mov dword [eax + ebp*8], edx
sub ebp, 1
jns 0x52cc91
mov eax, dword [ebx + 4]
mov ebp, dword [esp + 0x24]
add eax, eax
mov dword [esi + 4], eax
test eax, eax
jle 0x52ce25
mov edx, dword [esi]
add edx, 0xfffffffc
lea edx, [edx + eax*4]
mov ecx, dword [edx]
lea edx, [edx - 4]
test ecx, ecx
jne 0x52ce20
dec eax
test eax, eax
jg 0x52ce12
mov dword [esi + 4], eax
test eax, eax
jne 0x52ce2a
mov dword [esi + 0xc], edi
push dword [esp + 0x20]
push esi
push dword [esp + 0x20]
call fcn.0052bc50
add esp, 0xc
mov ecx, 1
test eax, eax
cmovne edi, ecx
pop ebx
push ebp
call fcn.004b3630
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x54cc50
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa8
call fcn.0055dba0
mov eax, dword [0x6807dc]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xac]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xbc]
xor ebp, ebp
push edi
mov edi, dword [esp + 0xc4]
mov dword [esp + 0x30], eax
mov esi, dword [esi + 4]
mov dword [esp + 0x1c], esi
sub esi, edi
mov dword [esp + 0x10], esi
cmp dword [esp + 0xc8], edi
jae 0x54ccb4
push str.orig_len___md_size
push 0xf8
push str.._ssl_s3_cbc.c
call fcn.004a8820
add esp, 0xc
cmp edi, 0x40
jbe 0x54ccd0
push str.md_size___EVP_MAX_MD_SIZE
push 0xf9
push str.._ssl_s3_cbc.c
call fcn.004a8820
add esp, 0xc
mov ecx, dword [esp + 0xc8]
lea eax, [esp + 0x34]
neg eax
lea ebx, [esp + 0x34]
and eax, 0x3f
add ebx, eax
lea eax, [edi + 0x100]
mov dword [esp + 0x20], ebx
cmp ecx, eax
jbe 0x54ccfe
mov ebp, ecx
sub ebp, edi
sub ebp, 0x100
mov eax, edi
xor edx, edx
and eax, 0xfffffffe
shl eax, 0x17
sub eax, ebp
add eax, esi
div edi
push edi
mov esi, edx
push 0
push ebx
mov dword [esp + 0x38], esi
call fcn.005c81c0
add esp, 0xc
mov dword [esp + 0x18], 0
cmp ebp, dword [esp + 0xc8]
jae 0x54cddb
mov ecx, dword [esp + 0x1c]
mov esi, ebx
mov edx, dword [esp + 0x10]
mov eax, ecx
shr eax, 0x1f
sub ebp, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc0]
shr edx, 0x1f
mov dword [esp + 0x10], edx
mov eax, dword [eax + 0xc]
add eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
lea ebx, [ecx + ebp]
shr ebx, 0x1f
lea ecx, [edi + ebp]
shr ecx, 0x1f
xor cl, dl
xor dl, bl
or cl, dl
mov edx, ebp
xor cl, bl
shr edx, 0x1f
xor dl, byte [esp + 0x14]
dec cl
mov dword [esp + 0x28], ecx
mov cl, byte [eax + ebp]
mov al, bl
xor al, byte [esp + 0x14]
inc ebp
or dl, al
xor dl, bl
mov ebx, dword [esp + 0x18]
neg dl
and dl, cl
and dl, byte [esp + 0x28]
or byte [ebx + esi], dl
inc ebx
mov edx, dword [esp + 0x10]
mov ecx, ebx
sub ecx, edi
mov eax, ebx
xor ecx, edi
xor eax, edi
or ecx, eax
xor ecx, ebx
shr ecx, 0x1f
neg ecx
and ebx, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
lea eax, [ecx + ebp]
cmp eax, dword [esp + 0xc8]
jb 0x54cd61
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
xor edx, edx
test edi, edi
je 0x54ce0f
mov ebp, dword [esp + 0x30]
mov eax, esi
xor eax, 0x20
mov al, byte [eax + ebx]
movzx eax, byte [esi + ebx]
inc esi
mov byte [edx + ebp], al
mov ecx, esi
sub ecx, edi
mov eax, esi
xor ecx, edi
xor eax, edi
or ecx, eax
inc edx
xor ecx, esi
shr ecx, 0x1f
neg ecx
and esi, ecx
cmp edx, edi
jb 0x54cde5
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0055cf54
add esp, 0xa8
ret
Function at 0x54d940
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.0055dba0
push ebx
mov ebx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x14]
inc ebx
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
mov eax, dword [esi + 8]
mov ecx, dword [edi + 4]
mov eax, dword [eax + 0x64]
test byte [eax + 0x38], 1
je 0x54da0c
mov edx, dword [esp + 0x20]
lea eax, [ebx + edx]
cmp eax, ecx
ja 0x54da14
add dword [edi + 0xc], edx
add dword [edi + 0x10], edx
sub ecx, edx
mov dword [edi + 4], ecx
test dword [esi + 0x100], 0x200
mov eax, dword [edi + 0xc]
movzx ebx, byte [eax + ecx - 1]
je 0x54d9da
cmp dword [esi + 0x88], 0
jne 0x54d9da
mov eax, dword [esi + 0x58]
push 8
add eax, 8
push 0x6482c4
push eax
call fcn.004a8550
add esp, 0xc
test eax, eax
jne 0x54d9cd
test bl, 1
jne 0x54d9cd
mov eax, dword [esi + 0x58]
or dword [eax], 8
mov eax, dword [esi + 0x58]
test byte [eax], 8
je 0x54d9da
test ebx, ebx
je 0x54d9da
dec ebx
mov eax, dword [esi + 0x80]
push ebp
push dword [eax]
call fcn.004ac5a0
mov ebp, dword [edi + 4]
add esp, 4
mov dword [esp + 0x14], ebp
and eax, 0x200000
je 0x54da1d
sub ebp, ebx
mov eax, 1
dec ebp
mov dword [edi + 4], ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp ebx, ecx
jbe 0x54d98b
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x28]
mov edx, ebp
add ecx, ebx
mov eax, ebp
sub edx, ecx
xor eax, ecx
xor edx, ecx
mov ecx, 0xff
or edx, eax
lea eax, [ebp - 1]
xor edx, ebp
shr edx, 0x1f
dec edx
cmp eax, ecx
mov dword [esp + 0x1c], edx
cmovb ecx, eax
xor esi, esi
test ecx, ecx
je 0x54daa3
mov eax, ebx
shr eax, 0x1f
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xc]
lea edi, [ebp - 1]
add edi, eax
mov ebp, ecx
nop
mov al, byte [esp + 0x28]
lea edi, [edi - 1]
mov edx, ebx
mov ecx, esi
sub edx, esi
shr ecx, 0x1f
shr edx, 0x1f
xor al, cl
xor dl, cl
inc esi
or dl, al
movzx eax, byte [edi + 1]
xor dl, byte [esp + 0x28]
xor eax, ebx
dec dl
movzx ecx, dl
mov edx, dword [esp + 0x1c]
and ecx, eax
not ecx
and edx, ecx
mov dword [esp + 0x1c], edx
cmp esi, ebp
jb 0x54da60
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
not edx
lea eax, [ebx + 1]
movzx ecx, dl
dec ecx
shr ecx, 0x1f
neg ecx
and eax, ecx
sub ebp, eax
shl eax, 8
or dword [edi], eax
mov dword [edi + 4], ebp
mov dword [esp + 0x28], ecx
not ecx
pop ebp
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
and ecx, 1
pop edi
pop esi
or eax, ecx
pop ebx
add esp, 8
ret
Function at 0x5601b4
Capabilities:
Move file

Disassembly:
push 0x3c
mov eax, 0x5f7576
call fcn.0055d7b9
mov edi, edx
mov esi, ecx
xor eax, eax
mov ecx, edi
mov ebx, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
cmp dword [edi + 0x14], 8
jb 0x5601d8
mov ecx, dword [edi]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x5601e2
mov eax, dword [esi]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x560234
cmp dword [edi + 0x14], 8
jb 0x5601f8
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x40]
call fcn.00405d00
and dword [ebp - 4], 0
xor ebx, ebx
inc ebx
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x44], ebx
jb 0x560213
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x28]
call fcn.00405d00
push 3
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x40]
pop ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x44], ebx
call fcn.005601b4
test al, al
je 0x560238
mov byte [ebp - 0x48], 1
test bl, 2
je 0x560248
lea ecx, [ebp - 0x28]
and ebx, 0xfffffffd
call fcn.00405c20
test bl, 1
je 0x560255
lea ecx, [ebp - 0x40]
call fcn.00405c20
mov al, byte [ebp - 0x48]
call fcn.0055d763
ret

Function at 0x5605b8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x5605c0
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
ret

Function at 0x5605ce
Capabilities:
Copy file
Delete file

Disassembly:
push 0x3c
mov eax, 0x5f763f
call fcn.0055d7b9
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x560686
cmp dword [esi + 0x10], 0x104
ja 0x560686
call fcn.005605b8
test al, al
jne 0x560603
inc al
jmp 0x560688
xor edi, edi
lea ecx, [ebp - 0x28]
push esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.0040ab50
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push edi
add eax, 2
mov dword [ebp - 4], edi
push eax
call fcn.00411650
push 0x1e
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.005c81c0
mov eax, dword [ebp - 0x38]
add esp, 0xc
and eax, 0xffbf
mov dword [ebp - 0x32], edi
or eax, 0x414
mov dword [ebp - 0x48], edi
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x2e], edi
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x3c], edi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, eax
lea ecx, [ebp - 0x28]
neg ebx
sbb bl, bl
inc bl
call fcn.00405c20
mov al, bl
jmp 0x560688
xor al, al
call fcn.0055d763
ret
Function at 0x56174a
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x98], 5
jne 0x561771
cmp dword [ebp + 0xc], 0
je 0x561771
mov ecx, esi
call fcn.005615b6
mov eax, 0x80004005
jmp 0x561884
xor ecx, ecx
push edi
cmp dword [esi + 0x54], ecx
jne 0x5617a0
push 0x64b594
call fcn.00561a29
pop ecx
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x561881
mov edx, dword [ecx]
lea eax, [esi + 0x14]
push eax
call dword [edx + 0x14]
jmp 0x561881
cmp byte [esi + 0x64], cl
jne 0x5617af
cmp byte [esi + 0x70], cl
jne 0x5617af
cmp byte [esi + 0x7c], cl
je 0x56180d
lea eax, [esi + 0x44]
cmp dword [eax + 0x14], 8
jb 0x5617ba
mov eax, dword [eax]
push ecx
push 0x80
push 3
push ecx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x56180d
xor edx, edx
lea ecx, [esi + 0x68]
cmp byte [esi + 0x64], dl
cmovne edx, ecx
xor eax, eax
cmp byte [esi + 0x70], al
lea ecx, [esi + 0x74]
push edx
cmovne eax, ecx
xor ecx, ecx
cmp byte [esi + 0x7c], cl
push eax
lea eax, [esi + 0x80]
cmovne ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 0x5d], 0
je 0x561828
lea eax, [esi + 0x44]
cmp dword [eax + 0x14], 8
jb 0x56181e
mov eax, dword [eax]
push dword [esi + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edi, [esi + 0x44]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x561835
mov eax, dword [edi]
push eax
push str.FileDone:_s_n
call fcn.00561a29
pop ecx
pop ecx
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x561881
push dword [esi + 0x94]
mov eax, dword [ecx]
push dword [esi + 0x90]
push edi
call dword [eax + 0x1c]
test al, al
jne 0x561869
mov eax, 0x80004005
jmp 0x561883
mov ecx, dword [esi + 0x9c]
push dword [esi + 0x94]
push dword [esi + 0x90]
mov eax, dword [ecx]
push edi
call dword [eax + 0x10]
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x566162
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp byte [0x68d991], 0
jne 0x566211
mov ecx, 0x64b754
call fcn.005716c9
mov ecx, 0x64b730
call fcn.005716c9
mov ecx, 0x64b854
call fcn.005716c9
mov ecx, 0x64b878
call fcn.005716c9
mov ecx, 0x64b830
call fcn.005716c9
mov ecx, 0x64b710
call fcn.00582381
mov ecx, 0x64b690
call fcn.00582381
mov ecx, 0x64b6b0
call fcn.00582381
mov ecx, 0x64b6d0
call fcn.00582381
mov ecx, 0x64b778
call fcn.00582381
mov ecx, 0x64b798
call fcn.00582381
mov ecx, 0x64b650
call fcn.00582381
mov ecx, 0x64b670
call fcn.00582381
mov ecx, 0x64b7b8
call fcn.00582381
mov ecx, 0x64b7d8
call fcn.00582381
mov byte [0x68d991], 1
jmp 0x585449
ret
xor ecx, ecx
push esi
push 8
mov edx, ecx
pop esi
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor edx, eax
sub esi, 1
jne 0x585451
mov dword [ecx*4 + 0x692fc0], edx
inc ecx
cmp ecx, 0x100
jb 0x58544c
mov edx, 0x400
mov ecx, dword [edx + 0x692bc0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x692fc0]
mov dword [edx + 0x692fc0], ecx
add edx, 4
cmp edx, 0x2000
jb 0x58547b
mov eax, 0x5f4940
mov esi, 0x5f4860
mov dword [0x692fb4], eax
mov dword [0x692fac], eax
mov dword [0x692fb0], esi
call fcn.0059caa7
mov ecx, dword [0x692fac]
test eax, eax
cmove ecx, esi
mov dword [0x692fac], ecx
pop esi
ret
Function at 0x57133a
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx], edx
sub edx, 1
je 0x57135c
sub edx, 3
je 0x571353
sub edx, 6
jne 0x571360
add ecx, 0x10
jmp fcn.0058ad34
or dword [ecx + 8], 0xffffffff
or dword [ecx + 0xc], 0xffffffff
ret
or dword [ecx + 4], 0xffffffff
ret
Function at 0x5855a5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov byte [ebp - 1], dl
or dword [ebx], 0xffffffff
cmp dword [ecx], 0x23170f69
jne 0x58567e
mov eax, 0x40c1
cmp word [ecx + 4], ax
jne 0x58567e
mov edi, dword [ebp + 0xc]
mov edx, 0x2790
mov byte [edi], 1
movzx eax, word [ecx + 6]
cmp ax, dx
jne 0x5855ea
mov byte [edi], 0
jmp 0x5855f8
mov edx, 0x2791
cmp ax, dx
jne 0x58567e
mov eax, dword [ecx + 8]
xor esi, esi
mov ecx, dword [ecx + 0xc]
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], ecx
cmp dword [0x68ddd0], esi
jbe 0x58567e
mov ch, byte [ebp + 8]
mov edx, dword [esi*4 + 0x68ddd8]
cmp eax, dword [edx + 8]
jne 0x585654
mov ebx, dword [ebp - 8]
cmp ebx, dword [edx + 0xc]
mov ebx, dword [ebp + 0x10]
jne 0x585654
xor eax, eax
cmp byte [edi], al
je 0x585633
cmp dword [edx + 4], eax
jmp 0x585635
cmp dword [edx], eax
sete al
test eax, eax
jne 0x585651
mov cl, byte [edx + 0x18]
test ch, ch
je 0x58564a
test cl, cl
sete al
jmp 0x58564d
movzx eax, cl
test eax, eax
je 0x58565f
mov eax, dword [ebp + 0xc]
inc esi
cmp esi, dword [0x68ddd0]
jb 0x585611
jmp 0x58567e
movzx ecx, byte [ebp - 1]
movzx eax, byte [ebp - 1]
xor ecx, 1
cmp dword [edx + 0x14], 1
cmove ecx, eax
test ecx, ecx
je 0x58567c
mov eax, 0x80004002
jmp 0x585680
mov dword [ebx], esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc