joyce8/EMBER2024-capa huggingface dataset:
Function at 0xd21890
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0xd21991
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0xd21991
push ebx
call fcn.00d28730
add esp, 4
test eax, eax
je 0xd218ea
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0xd218f1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0xd218d0
jmp 0xd218f3
mov esi, 0x1505
jmp 0xd218f3
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0xd21991
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0xd21924
inc ebp
dec ebx
je 0xd2198f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0xd2198f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0xd21920
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00d28730
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0xd21920
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00d28750
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0xd21920
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0xd2198f
cmp dword [eax + 4], 2
mov edi, 0
jne 0xd21991
mov edi, dword [eax + 8]
jmp 0xd21991
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0xd219c0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
fldz
fstp qword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0xd21a2b
mov esi, dword [esp + 0x30]
test esi, esi
je 0xd21a2b
push esi
call fcn.00d28730
add esp, 4
test eax, eax
je 0xd21a0a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0xd21a11
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0xd219f0
jmp 0xd21a13
mov ebp, 0x1505
jmp 0xd21a13
mov ebp, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x20]
lea ebx, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0xd21a37
fld qword [esp + 0x10]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0xd21a54
inc ebx
dec edi
je 0xd21a2b
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0xd21a2b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0xd21a50
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00d28730
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0xd21a50
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.00d28750
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0xd21a50
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0xd21a2b
cmp dword [eax + 4], 3
jne 0xd21a2b
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0xd21a2b
Function at 0xd21af0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0xd21bf1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0xd21bf1
push ebx
call fcn.00d28730
add esp, 4
test eax, eax
je 0xd21b4a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0xd21b51
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0xd21b30
jmp 0xd21b53
mov esi, 0x1505
jmp 0xd21b53
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0xd21bf1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0xd21b84
inc ebp
dec ebx
je 0xd21bef
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0xd21bef
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0xd21b80
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00d28730
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0xd21b80
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00d28750
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0xd21b80
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0xd21bef
cmp dword [eax + 4], 5
mov edi, 0
jne 0xd21bf1
mov edi, dword [eax + 8]
jmp 0xd21bf1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0xd21f20
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0xd21f8d
mov esi, dword [esp + 0x28]
test esi, esi
je 0xd21f8d
push esi
call fcn.00d28730
add esp, 4
test eax, eax
je 0xd21f6a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0xd21f71
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0xd21f50
jmp 0xd21f73
mov ebx, 0x1505
jmp 0xd21f73
mov ebx, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0xd21f95
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0xd21fa4
inc ebp
dec edi
je 0xd21f8b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0xd21f8b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0xd21fa0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00d28730
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0xd21fa0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00d28750
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0xd21fa0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0xd21f8d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0xd21f8d
Function at 0xd28270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0xd2828b
mov ebx, dword [esp + 0x18]
cmp eax, 1
jne 0xd28293
mov word [ebx], 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, word [ebx + 4]
add word [ebx], cx
cmp eax, 3
jl 0xd2832b
mov edx, 2
mov ecx, 2
sub ecx, eax
mov dword [esp], ecx
xor edi, edi
mov ebx, 1
jmp 0xd282d9
movzx ebp, word [esi + edi*4]
add word [esi + ebx*4], bp
mov word [esi + edi*4], bx
inc edi
mov ecx, dword [esp]
add ecx, ebx
inc ecx
inc ebx
cmp ecx, 1
je 0xd2833a
mov esi, dword [esp + 0x18]
movzx ecx, word [esi + edi*4]
cmp edx, eax
jge 0xd282ee
movzx ebp, word [esi + edx*4]
cmp cx, bp
jae 0xd28300
mov word [esi + ebx*4], cx
mov word [esi + edi*4], bx
inc edi
cmp edx, eax
jge 0xd282c0
jmp 0xd28309
inc edx
mov word [esi + ebx*4], bp
cmp edx, eax
jge 0xd282c0
cmp edi, ebx
jge 0xd28320
movzx ebp, word [esi + edi*4]
movzx ecx, word [esi + edx*4]
cmp bp, cx
jb 0xd282c4
jmp 0xd28324
movzx ecx, word [esi + edx*4]
inc edx
add word [esi + ebx*4], cx
jmp 0xd282cd
lea edx, [eax - 2]
mov word [ebx + eax*4 - 8], 0
jmp 0xd283c2
lea edx, [eax - 2]
mov ebx, dword [esp + 0x18]
mov word [ebx + eax*4 - 8], 0
cmp eax, 3
jl 0xd283c2
lea edi, [eax - 3]
mov ebp, ebx
mov ebx, eax
and ebx, 3
xor ebx, 2
mov esi, edi
je 0xd28374
mov esi, edi
movzx ecx, word [ebp + esi*4]
movzx ecx, word [ebp + ecx*4]
inc ecx
mov word [ebp + esi*4], cx
dec esi
dec ebx
jne 0xd28360
mov ebx, dword [esp + 0x18]
cmp edi, 3
jb 0xd283c2
nop
nop
nop
movzx ecx, word [ebx + esi*4]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4], cx
movzx ecx, word [ebx + esi*4 - 4]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 4], cx
movzx ecx, word [ebx + esi*4 - 8]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 8], cx
movzx ecx, word [ebx + esi*4 - 0xc]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 0xc], cx
add esi, 0xfffffffc
cmp esi, 0xffffffff
jne 0xd28380
dec eax
mov ecx, 1
xor esi, esi
jmp 0xd283dc
lea ecx, [edi + edi]
inc esi
test edi, edi
je 0xd2828b
test edx, edx
mov dword [esp], ecx
js 0xd28410
lea edi, [edx + 1]
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [ebx + edx*4]
cmp esi, ecx
jne 0xd28420
inc ebp
dec edx
cmp edi, ebp
jne 0xd283f0
mov edx, 0xffffffff
jmp 0xd28422
xor edi, edi
jmp 0xd28425
mov edi, ebp
mov ecx, dword [esp]
mov ebp, ecx
sub ebp, edi
jle 0xd283d0
and ebp, 3
je 0xd28458
lea ecx, [ebx + eax*4]
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], si
inc ebx
add ecx, 0xfffffffc
cmp ebp, ebx
jne 0xd28440
mov ebp, dword [esp]
sub ebp, ebx
sub eax, ebx
mov ebx, dword [esp + 0x18]
jmp 0xd2845a
mov ebp, ecx
mov ecx, edi
sub ecx, dword [esp]
cmp ecx, 0xfffffffc
ja 0xd283d0
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx + eax*4], si
mov word [ebx + eax*4 - 4], si
mov word [ebx + eax*4 - 8], si
mov word [ebx + eax*4 - 0xc], si
add eax, 0xfffffffc
add ebp, 0xfffffffc
cmp ebp, edi
jg 0xd28470
jmp 0xd283d0
Function at 0xd28e80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push edi
push esi
mov eax, dword [ecx]
cmp eax, 0x270
jne 0xd28ee5
mov esi, dword [ecx + 4]
mov eax, 0xfffff640
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax + 0x9c8]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax + 0xff8]
shr edx, 1
xor edi, edx
mov dword [ecx + eax + 0x1384], edi
add eax, 4
jne 0xd28ea0
mov eax, 0x270
jmp 0xd28fc7
cmp eax, 0x4e0
jb 0xd28fc7
mov esi, dword [ecx + 0x9c4]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4 + 0x9c8]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4 + 0xff8]
xor edi, edx
mov dword [ecx + eax*4 + 4], edi
inc eax
cmp eax, 0xe3
jne 0xd28f00
mov esi, dword [ecx + 0xd50]
xor eax, eax
jmp 0xd28f71
and esi, 0x80000000
or edi, esi
shr edi, 1
xor edi, dword [ecx + eax*4 + 4]
xor edi, ebx
mov dword [ecx + eax*4 + 0x390], edi
inc eax
mov esi, edx
cmp eax, 0x18c
je 0xd28f93
mov edx, dword [ecx + eax*4 + 0xd54]
mov edi, edx
and edi, 0x7fffffff
mov ebx, edx
xor ebx, 0x7ffffffe
and ebx, edi
je 0xd28f50
mov ebx, 0x9908b0df
jmp 0xd28f50
mov esi, 0x80000000
and esi, dword [ecx + 0x1380]
mov eax, dword [ecx + 4]
mov edx, eax
and edx, 0x7ffffffe
or edx, esi
and eax, 1
neg eax
and eax, 0x9908b0df
xor eax, dword [ecx + 0x634]
shr edx, 1
xor eax, edx
mov dword [ecx + 0x9c0], eax
xor eax, eax
lea edx, [eax + 1]
mov dword [ecx], edx
mov eax, dword [ecx + eax*4 + 4]
mov edx, eax
shr edx, 0xb
mov esi, edx
not esi
or esi, dword [ecx + 0x1384]
add edx, esi
inc edx
xor edx, eax
mov ecx, edx
shl ecx, 7
and ecx, 0x9d2c5680
xor ecx, edx
mov edx, ecx
shl edx, 0xf
and edx, 0xefc60000
xor edx, ecx
mov eax, edx
shr eax, 0x12
and ecx, eax
or eax, edx
xor eax, ecx
pop esi
pop edi
pop ebx
ret
Function at 0xd3b020
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push eax
test edi, edi
sets bl
mov esi, edi
sub esi, 1
sete bh
or bl, bh
mov esi, edi
sub esi, 0x25
setge bh
or bl, bh
test bl, 1
jne 0xd3b054
jmp 0xd3b059
jmp 0xd3b1e8
mov esi, ecx
add esi, edx
add esi, 0xffffffff
mov byte [ecx + edx - 1], 0
cmp eax, 0
jne 0xd3b078
mov ecx, esi
add ecx, 0xffffffff
mov byte [esi - 1], 0x30
jmp 0xd3b1e8
cmp edi, 0xa
jne 0xd3b106
jmp 0xd3b083
cmp eax, 0x64
jb 0xd3b0c2
mov edi, 0x64
mov ecx, eax
mov eax, ecx
xor edx, edx
div edi
shl edx, 1
mov al, byte [edx + 0xd612bd]
mov edi, esi
add edi, 0xffffffff
mov byte [esi - 1], al
mov al, byte [edx + 0xd612bc]
add edi, 0xffffffff
mov byte [esi - 2], al
mov esi, 0x64
mov eax, ecx
xor edx, edx
div esi
mov esi, edi
jmp 0xd3b083
cmp eax, 0xa
setb cl
jmp 0xd3b0ca
test cl, 1
jne 0xd3b0d1
jmp 0xd3b0df
mov al, byte [eax + 0xd61b88]
add esi, 0xffffffff
mov byte [esi], al
jmp 0xd3b0ff
shl eax, 1
mov cl, byte [eax + 0xd612bd]
mov edx, esi
add edx, 0xffffffff
mov byte [esi - 1], cl
mov al, byte [eax + 0xd612bc]
add edx, 0xffffffff
mov byte [esi - 2], al
mov esi, edx
mov ecx, esi
jmp 0xd3b1e8
cmp edi, 0x10
sete cl
test cl, 1
jne 0xd3b118
jmp 0xd3b113
jmp 0xd3b1be
jmp 0xd3b11a
cmp eax, 0x100
jb 0xd3b14e
mov ecx, eax
and ecx, 0xff
shl ecx, 1
mov dl, byte [ecx + 0xd61386]
mov edi, esi
add edi, 0xffffffff
mov byte [esi - 1], dl
mov cl, byte [ecx + 0xd61385]
add edi, 0xffffffff
mov byte [esi - 2], cl
shr eax, 8
mov esi, edi
jmp 0xd3b11a
cmp eax, 0x10
setb cl
test cl, 1
jne 0xd3b15b
jmp 0xd3b16c
mov al, byte [eax + 0xd61b88]
mov ecx, esi
add ecx, 0xffffffff
mov byte [esi - 1], al
jmp 0xd3b1e8
mov ecx, eax
and ecx, 0xffffffff
shl ecx, 1
mov edx, eax
add edx, 0xffffffff
sub edx, ecx
or edx, 0xfffffffd
add edx, 3
mov ecx, eax
and ecx, 0xfffffffd
imul ecx, edx
mov edx, eax
and edx, 2
or eax, 2
imul eax, edx
mov edx, eax
and edx, ecx
shl edx, 1
xor eax, ecx
add eax, edx
mov dl, byte [eax + 0xd61386]
mov ecx, esi
add ecx, 0xffffffff
mov byte [esi - 1], dl
mov al, byte [eax + 0xd61385]
add ecx, 0xffffffff
mov byte [esi - 2], al
jmp 0xd3b1e8
cmp eax, 0
jbe 0xd3b1e4
mov ecx, eax
mov eax, ecx
xor edx, edx
div edi
mov al, byte [edx + 0xd61b88]
mov ebx, esi
add ebx, 0xffffffff
mov byte [esi - 1], al
mov eax, ecx
xor edx, edx
div edi
mov esi, ebx
jmp 0xd3b1be
mov ecx, esi
jmp 0xd3b1e8
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0xd43c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1dec
call fcn.00d28500
push eax
sub esp, 0x3fc
mov dword [ebp - 0x1c], esp
push eax
mov dword [ebp - 0x28], esp
sub esp, 0x14
mov ebx, esp
sub esp, 0x14
mov esi, esp
sub esp, 0x24
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x1df6], 0x32833093
mov dword [ebp - 0x1df2], 0x36723476
mov dword [ebp - 0x1dee], 0x2a9a288e
mov dword [ebp - 0x1dea], 0x2e9f2c9f
mov dword [ebp - 0x1de6], 0x228d2086
mov dword [ebp - 0x1de2], 0x26962496
mov dword [ebp - 0x1dde], 0x1aab1862
mov word [ebp - 0x1dda], 0x1c1b
xor eax, eax
nop
movzx edx, byte [ebp + eax - 0x1df6]
lea ecx, [eax - 0x12fa17f9]
xor ecx, edx
mov edx, ecx
xor edx, 0x11
and ecx, 0x6e
add ecx, ecx
sub ecx, edx
add cl, 0xd9
mov byte [ebp + eax - 0x1df6], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0x1e
jb 0xd43d10
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x1df6]
push 0
push 0
push 0x20019
push eax
mov dword [ebp - 0x14], ecx
push ecx
call fcn.00d5e590
add esp, 0x14
shr eax, 0x1f
jmp dword [eax*4 + 0xd65838]
Function at 0x103c890
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ecx + ebx], 0
lea ebx, [ebx + 2]
jne 0x103c8b0
lea esi, [ebx - 2]
mov dword [esp + 6], 0x99878716
mov byte [esp + 0xa], 0
xor edx, edx
nop
nop
nop
nop
mov eax, edx
add al, 0xed
xor al, byte [esp + edx + 6]
add al, 0x98
mov byte [esp + edx + 6], al
inc edx
cmp edx, 5
jne 0x103c8d0
cmp ebx, 2
je 0x103c90b
mov edi, dword [esp + 6]
mov eax, esi
mov edx, esi
sar edx, 1
mov dword [esp + 0xc], edx
mov edx, edi
not edi
test al, 2
jne 0x103c912
mov eax, edx
cmp ebx, 4
jne 0x103c947
jmp 0x103c996
mov esi, ebp
jmp 0x103c996
dec dword [esp + 0xc]
movzx esi, word [ecx]
add ecx, 2
xor esi, ebp
mov ebp, esi
and ebp, edi
mov dword [esp], ebp
mov ebp, esi
not ebp
and ebp, edx
imul ebp, dword [esp]
mov eax, esi
and eax, edx
mov dword [esp], eax
mov eax, edx
or esi, edx
imul esi, dword [esp]
add esi, ebp
mov ebp, esi
cmp ebx, 4
je 0x103c996
mov edx, eax
xor ebx, ebx
mov esi, ebp
nop
nop
nop
movzx ebp, word [ecx + ebx*2]
xor ebp, esi
mov eax, ebp
and eax, edi
mov esi, ebp
not esi
and esi, edx
imul esi, eax
mov eax, ebp
and eax, edx
or ebp, edx
imul ebp, eax
add ebp, esi
movzx esi, word [ecx + ebx*2 + 2]
xor esi, ebp
mov eax, esi
and eax, edi
mov ebp, esi
not ebp
and ebp, edx
imul ebp, eax
mov eax, esi
and eax, edx
or esi, edx
imul esi, eax
add esi, ebp
add ebx, 2
cmp dword [esp + 0xc], ebx
jne 0x103c950
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1042490
Capabilities:
Encode data using xor

Disassembly:
push eax
mov dword [esp], 0xa6a5a473
xor eax, eax
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x7b
xor cl, byte [esp + eax]
add cl, 0x28
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x10424a0
mov eax, dword [esp]
mov eax, dword fs:[eax]
pop ecx
ret

Function at 0x1042870
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [esp + 0x40]
movzx eax, word [eax]
mov dword [esp + 2], 0x5d5ca197
mov word [esp + 6], 0
xor ecx, ecx
nop
mov edx, ecx
add dl, 0xa
xor dl, byte [esp + ecx + 2]
add dl, 0xb0
mov byte [esp + ecx + 2], dl
inc ecx
cmp ecx, 6
jne 0x1042890
xor ecx, ecx
cmp dword [esp + 2], eax
setne cl
xor eax, eax
jmp dword [ecx*4 + 0xd68670]

Function at 0x1043620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x10111213
xor eax, eax
nop
nop
nop
nop
nop
mov ecx, eax
or cl, 0x4c
xor cl, byte [esp + eax]
add cl, 0xa0
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 4
jb 0x1043640
mov eax, dword [esp]
mov edx, dword [0xd6aea0]
test edx, edx
je 0x10436b8
xor ebx, ebx
mov ecx, dword [0xd6aea4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + ebx*8], 0xa269eeef
je 0x1043690
inc ebx
cmp edx, ebx
jne 0x1043680
jmp 0x10436b8
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0x10436b8
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 0x14
push edx
push dword [0xd6aea8]
call fcn.01040da0
add esp, 0x20
test edi, edi
je 0x10436c2
mov ecx, dword [esp + 8]
mov dword [edi], ecx
test esi, esi
je 0x10436ce
cmp byte [esp + 0x15], 0
setne byte [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403d88
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x42fc6f
call fcn.0041c3e8
mov ebx, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
test esi, esi
jne 0x403daa
mov al, 1
jmp 0x403ee6
cmp dword [ebx + 0x10], 1
lea ecx, [ebx + 8]
mov dword [ebp - 0x34], ecx
jne 0x403dc8
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea ecx, [ebx + 8]
mov dword [ecx], eax
jmp 0x403eaf
mov dword [ebp - 0x34], ecx
and dword [ebp - 0x30], 0
xor dl, dl
cmp dword [ebx + 0x10], 0
mov byte [ebp - 0x29], dl
je 0x403e1f
xor edi, edi
test esi, esi
je 0x403e3f
mov eax, esi
mov edx, 0x4000
sub eax, edi
cmp eax, edx
jb 0x403def
mov eax, edx
push 0
lea edx, [ebp - 0x30]
push edx
push eax
mov eax, dword [ebp - 0x38]
add eax, edi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne dl
mov byte [ebp - 0x29], dl
test eax, eax
je 0x403e37
mov ecx, dword [ebp - 0x34]
add edi, 0x4000
cmp edi, esi
jb 0x403de0
jmp 0x403e37
push 0
lea edx, [ebp - 0x30]
push edx
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne dl
mov byte [ebp - 0x29], dl
test dl, dl
jne 0x403edf
cmp byte [ebx + 0x1e], 0
je 0x403edf
cmp dword [ebx + 0x10], 0
jne 0x403edf
push 0
lea edi, [ebx + 0x34]
mov ecx, 0x45b4e8
push edi
call fcn.00402d73
test al, al
je 0x403eb7
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x30], esi
jae 0x403dcb
cmp dword [ebp - 0x30], 0
jbe 0x403dcb
mov edi, dword [ebx]
push 0
mov esi, dword [edi + 0x14]
mov ecx, esi
call dword [0x43224c]
mov ecx, ebx
call esi
sub eax, dword [ebp - 0x30]
mov ecx, dword [edi + 0x10]
sbb edx, 0
push edx
push eax
call dword [0x43224c]
mov ecx, ebx
call dword [edi + 0x10]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
jmp 0x403dcb
push 0x432668
lea ecx, [ebp - 0x28]
call fcn.004014a3
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push edi
push eax
mov ecx, 0x45b4e8
call fcn.00403183
lea ecx, [ebp - 0x28]
call fcn.00401770
mov al, byte [ebp - 0x29]
mov byte [ebx + 0xc], 1
call fcn.0041c397
ret 8
Function at 0x4087bb
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ecx
cmp dword [esp + 0xc], 0
movups xmm1, xmmword [ecx + 8]
push esi
mov esi, dword [esp + 0xc]
push edi
lea edi, [ecx + 0x18]
jbe 0x408836
mov edx, dword [esp + 0x18]
mov eax, esi
add esi, 0x10
cmp byte [ecx + 1], 0
movups xmm0, xmmword [eax]
je 0x4087e6
pxor xmm0, xmm1
movups xmm1, xmmword [edi]
mov eax, dword [ecx + 4]
pxor xmm1, xmm0
cmp eax, 1
jle 0x408818
lea edx, [edi + 0x10]
lea edi, [eax - 1]
mov dword [esp + 8], edi
lea edi, [ecx + 0x18]
sub dword [esp + 8], 1
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
aesenc xmm1, xmm0
jne 0x408802
mov edx, dword [esp + 0x18]
add eax, eax
movups xmm0, xmmword [edi + eax*8]
mov eax, edx
add edx, 0x10
sub dword [esp + 0x14], 1
aesenclast xmm1, xmm0
mov dword [esp + 0x18], edx
movups xmmword [eax], xmm1
jne 0x4087d4
pop edi
movups xmmword [ecx + 8], xmm1
pop esi
pop ecx
ret 0xc

Function at 0x40886a
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x43e748]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
inc ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 8], ebx
cmp dword [ebp + 4], ebx
jle 0x408923
push esi
push edi
lea edi, [ebp + 0x28]
mov dword [esp + 0x14], edi
lea eax, [edi + 2]
xor esi, esi
mov dword [esp + 0x18], eax
lea ebx, [esp + 0x20]
mov ebp, eax
push 4
add ebx, esi
pop edi
movzx eax, byte [ebp + 1]
movzx ecx, byte [ebp - 1]
mov dl, byte [esi + eax*4 + 0x449d38]
movzx eax, byte [ebp - 2]
xor dl, byte [esi + ecx*4 + 0x449538]
xor dl, byte [esi + eax*4 + 0x449138]
movzx eax, byte [ebp]
lea ebp, [ebp + 4]
xor dl, byte [esi + eax*4 + 0x449938]
mov byte [ebx], dl
lea ebx, [ebx + 4]
sub edi, 1
jne 0x4088ad
mov eax, dword [esp + 0x18]
inc esi
cmp esi, 4
jl 0x4088a2
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x20]
push 0x10
push eax
push edi
call fcn.0041d630
mov ebx, dword [esp + 0x1c]
add esp, 0xc
mov ebp, dword [esp + 0x1c]
inc ebx
add edi, 0x10
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
cmp ebx, dword [ebp + 4]
jl 0x408899
pop edi
pop esi
mov ecx, dword [esp + 0x28]
pop ebp
pop ebx
xor ecx, esp
call fcn.0041c344
add esp, 0x24
ret