joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4152c0
Capabilities:
Hash data with md5

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

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

Disassembly:
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 0x68], edx
test edx, edx
jne 0x415e5d
mov dword [ecx + 8], 0x6a09e667
mov dword [ecx + 0xc], 0xbb67ae85
mov dword [ecx + 0x10], 0x3c6ef372
mov dword [ecx + 0x14], 0xa54ff53a
mov dword [ecx + 0x18], 0x510e527f
mov dword [ecx + 0x1c], 0x9b05688c
mov dword [ecx + 0x20], 0x1f83d9ab
mov dword [ecx + 0x24], 0x5be0cd19
ret
mov dword [ecx + 8], 0xc1059ed8
mov dword [ecx + 0xc], 0x367cd507
mov dword [ecx + 0x10], 0x3070dd17
mov dword [ecx + 0x14], 0xf70e5939
mov dword [ecx + 0x18], 0xffc00b31
mov dword [ecx + 0x1c], 0x68581511
mov dword [ecx + 0x20], 0x64f98fa7
mov dword [ecx + 0x24], 0xbefa4fa4
ret
Function at 0x418100
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
mov dword [ecx + 0x18], 0xc3d2e1f0
ret
Function at 0x41c580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
lea eax, [esi + 1]
push eax
push 0
push ebx
call fcn.004d64c0
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x10], ecx
test esi, esi
je 0x41c61b
movzx eax, byte [ebp + 8]
mov dword [ebp - 0xc], eax
xor edi, edi
test eax, eax
je 0x41c613
mov eax, dword [ebp + 0xc]
lea edx, [ecx + ebx]
mov bl, byte [edx]
mov esi, ecx
mov dword [ebp - 0x18], edx
mov eax, dword [eax + 4]
shl eax, 5
mov dword [ebp - 0x14], eax
nop
cmp eax, esi
ja 0x41c5d8
xor eax, eax
jmp 0x41c5f0
mov eax, dword [ebp + 0xc]
mov edx, esi
shr edx, 5
mov ecx, esi
and ecx, 0x1f
mov eax, dword [eax + 8]
mov eax, dword [eax + edx*4]
shr eax, cl
and eax, 1
add esi, dword [ebp - 8]
mov ecx, edi
shl al, cl
inc edi
or bl, al
mov eax, dword [ebp - 0x14]
cmp edi, dword [ebp - 0xc]
jb 0x41c5d0
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov byte [eax], bl
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, esi
jb 0x41c5b2
mov edi, 1
xor al, al
cmp esi, edi
jb 0x41c669
mov bh, byte [edi + ebx]
mov bl, 1
mov ecx, dword [ebp - 4]
mov dh, bh
mov esi, dword [ebp - 4]
xor bh, al
and dh, al
mov al, bh
and al, 1
mov dl, byte [edi + ecx - 1]
sub bl, al
mov byte [edi + ecx], bh
movzx eax, bl
movzx ecx, dl
imul ecx, eax
shl bl, 7
or bl, dl
xor byte [edi + esi], cl
mov al, cl
mov ecx, esi
and al, bh
or al, dh
mov byte [edi + ecx - 1], bl
inc edi
mov ebx, ecx
cmp edi, dword [ebp - 8]
jbe 0x41c626
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426c80
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov edx, 1
nop dword [eax]
mov eax, edx
mov dword [ebp + esi*4 - 0x804], edx
and al, 0x80
mov dword [ebp + edx*4 - 0x404], esi
movsx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
inc esi
and ecx, 0x1b
xor ecx, eax
xor ecx, edx
movzx edx, cl
cmp esi, 0x100
jl 0x426ca0
mov esi, 1
mov edx, 0x547fd8
nop dword [eax]
mov eax, esi
mov dword [edx], esi
and al, 0x80
movsx ecx, al
lea eax, [esi + esi]
neg ecx
sbb ecx, ecx
add edx, 4
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
cmp edx, 0x548000
jl 0x426ce0
mov eax, 1
mov byte [0x548800], 0x63
mov byte [0x54673b], 0
mov dword [ebp - 0x808], eax
nop dword [eax]
mov ecx, dword [ebp + eax*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 eax, cl
xor ebx, eax
mov ecx, eax
sar ecx, 7
add eax, eax
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
add eax, eax
sar ecx, 7
or ecx, eax
movzx edx, cl
mov ecx, edx
sar ecx, 7
lea eax, [edx + edx]
or ecx, eax
xor ecx, 0x63
movzx eax, cl
xor eax, edx
xor ebx, eax
mov eax, dword [ebp - 0x808]
mov byte [eax + 0x548800], bl
mov byte [ebx + 0x5466d8], al
inc eax
mov dword [ebp - 0x808], eax
cmp eax, 0x100
jl 0x426d20
mov ebx, 0xff
xor esi, esi
mov dword [ebp - 0x80c], ebx
nop
movzx edx, byte [esi + 0x548800]
mov eax, edx
and al, 0x80
movsx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx eax, cl
mov ecx, eax
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, eax
mov dword [esi*4 + 0x5467d8], ecx
rol ecx, 8
mov dword [esi*4 + 0x546bd8], ecx
rol ecx, 8
mov dword [esi*4 + 0x546fd8], ecx
rol ecx, 8
mov dword [esi*4 + 0x5473d8], ecx
movzx ecx, byte [esi + 0x5466d8]
test ecx, ecx
je 0x426e60
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 edi, 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 0x426e6c
xor ebx, ebx
xor edi, edi
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, edi
mov dword [esi*4 + 0x5477d8], eax
rol eax, 8
mov dword [esi*4 + 0x547bd8], eax
rol eax, 8
mov dword [esi*4 + 0x548000], eax
rol eax, 8
mov dword [esi*4 + 0x548400], eax
inc esi
cmp esi, 0x100
jl 0x426da0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1fac
mov esp, ebp
pop ebp
ret
Function at 0x427d90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x541a34]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
push 0x118
lea eax, [esp + 0x14]
mov esi, edx
push 0
push eax
mov ebx, ecx
call fcn.004d64c0
push dword [ebp + 8]
lea edi, [ebx + 8]
mov edx, esi
lea ecx, [esp + 0x20]
mov dword [ebx + 4], edi
call fcn.00426ee0
mov edx, eax
add esp, 0x10
mov dword [esp + 0xc], edx
test edx, edx
jne 0x427f73
mov ecx, dword [esp + 0x10]
mov dword [ebx], ecx
shl ecx, 4
add ecx, dword [esp + 0x14]
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 0x427f5d
nop dword [eax + eax]
movzx eax, byte [ecx + 3]
dec esi
movzx edx, byte [eax + 0x548800]
movzx eax, byte [ecx + 2]
mov edx, dword [edx*4 + 0x548400]
movzx eax, byte [eax + 0x548800]
xor edx, dword [eax*4 + 0x548000]
movzx eax, byte [ecx + 1]
movzx eax, byte [eax + 0x548800]
xor edx, dword [eax*4 + 0x547bd8]
movzx eax, byte [ecx]
movzx eax, byte [eax + 0x548800]
xor edx, dword [eax*4 + 0x5477d8]
mov dword [edi], edx
movzx eax, byte [ecx + 4]
movzx edx, byte [eax + 0x548800]
movzx eax, byte [ecx + 7]
mov edx, dword [edx*4 + 0x5477d8]
movzx eax, byte [eax + 0x548800]
xor edx, dword [eax*4 + 0x548400]
movzx eax, byte [ecx + 6]
movzx eax, byte [eax + 0x548800]
xor edx, dword [eax*4 + 0x548000]
movzx eax, byte [ecx + 5]
movzx eax, byte [eax + 0x548800]
xor edx, dword [eax*4 + 0x547bd8]
mov dword [edi + 4], edx
movzx eax, byte [ecx + 8]
movzx edx, byte [eax + 0x548800]
movzx eax, byte [ecx + 0xb]
mov edx, dword [edx*4 + 0x5477d8]
movzx eax, byte [eax + 0x548800]
xor edx, dword [eax*4 + 0x548400]
movzx eax, byte [ecx + 0xa]
movzx eax, byte [eax + 0x548800]
xor edx, dword [eax*4 + 0x548000]
movzx eax, byte [ecx + 9]
movzx eax, byte [eax + 0x548800]
xor edx, dword [eax*4 + 0x547bd8]
mov dword [edi + 8], edx
movzx eax, byte [ecx + 0xc]
movzx edx, byte [eax + 0x548800]
movzx eax, byte [ecx + 0xf]
mov edx, dword [edx*4 + 0x5477d8]
movzx eax, byte [eax + 0x548800]
xor edx, dword [eax*4 + 0x548400]
movzx eax, byte [ecx + 0xe]
movzx eax, byte [eax + 0x548800]
xor edx, dword [eax*4 + 0x548000]
movzx eax, byte [ecx + 0xd]
sub ecx, 0x10
movzx eax, byte [eax + 0x548800]
xor edx, dword [eax*4 + 0x547bd8]
mov dword [edi + 0xc], edx
add edi, 0x10
test esi, esi
jg 0x427e20
mov edx, dword [esp + 0xc]
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
mov eax, 0x118
lea ecx, [esp + 0x10]
nop dword [eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x427f80
mov ecx, dword [esp + 0x12c]
mov eax, edx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d1fac
mov esp, ebp
pop ebp
ret
Function at 0x428ad0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], ecx
test al, 0xf
je 0x428aec
mov eax, 0xffffffde
mov esp, ebp
pop ebp
ret
push ebx
push esi
push edi
test edx, edx
jne 0x428b8b
test eax, eax
je 0x428c4a
mov ecx, dword [ebp + 0xc]
dec eax
mov esi, dword [ebp + 0x14]
mov edi, ecx
mov ebx, dword [ebp + 0x10]
sub edi, esi
shr eax, 4
lea edx, [ecx + 0xf]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp + 8], eax
nop word [eax + eax]
mov ecx, dword [ebp - 4]
mov edx, ebx
movups xmm2, xmmword [ebx]
push esi
call fcn.00428540
add esp, 4
cmp esi, dword [ebp - 0xc]
ja 0x428b60
lea eax, [esi + 0xf]
cmp eax, dword [ebp + 0xc]
jb 0x428b60
mov ecx, esi
mov edx, 0x10
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x428b45
mov eax, dword [ebp + 0xc]
jmp 0x428b70
mov eax, dword [ebp + 0xc]
movups xmm0, xmmword [esi]
movups xmm1, xmmword [eax]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
add esi, 0x10
add ebx, 0x10
sub edi, 0x10
sub dword [ebp + 8], 1
movups xmmword [eax], xmm2
jne 0x428b20
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x428c4a
mov ecx, dword [ebp + 0xc]
lea edx, [eax - 1]
mov edi, dword [ebp + 0x10]
mov ebx, ecx
mov esi, dword [ebp + 0x14]
sub ebx, edi
shr edx, 4
inc edx
mov dword [ebp + 8], ebx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], esi
lea eax, [edi + 0xf]
cmp esi, eax
ja 0x428bbe
lea eax, [esi + 0xf]
cmp eax, edi
jae 0x428bcc
lea eax, [ecx + 0xf]
cmp esi, eax
ja 0x428c00
lea eax, [esi + 0xf]
cmp eax, ecx
jb 0x428c00
mov ebx, esi
mov eax, edi
mov esi, dword [ebp + 8]
sub ebx, edi
mov edx, 0x10
nop word [eax + eax]
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [ebx + eax - 1], cl
sub edx, 1
jne 0x428be0
mov esi, dword [ebp - 8]
mov ebx, dword [ebp + 8]
jmp 0x428c0d
movups xmm1, xmmword [ecx]
movups xmm0, xmmword [edi]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
cmp dword [ebp - 0x10], 1
mov edx, esi
mov ecx, dword [ebp - 4]
push esi
jne 0x428c20
call fcn.00427fb0
jmp 0x428c25
call fcn.00428540
movups xmm0, xmmword [esi]
mov ecx, dword [ebp + 0xc]
sub ebx, 0x10
add esi, 0x10
mov dword [ebp + 8], ebx
add esp, 4
mov dword [ebp - 8], esi
add edi, 0x10
sub dword [ebp - 0xc], 1
movups xmmword [ecx], xmm0
jne 0x428bb0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push 0x40
mov dword [ebp - 0x50], eax
mov esi, ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x4c], edx
push 0
push eax
call fcn.004d64c0
mov eax, dword [ebx]
add esp, 0xc
mov dword [ebp - 0x48], 0
test eax, eax
jne 0x4296b1
xor al, al
jmp 0x4296b4
mov al, byte [eax + 8]
movzx ecx, al
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], ecx
test eax, eax
je 0x4297a1
push edi
cmp eax, ecx
mov edi, ecx
cmovb edi, eax
mov eax, dword [ebx]
test eax, eax
je 0x429721
push dword [ebx + 4]
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [ebx]
add esp, 4
test eax, eax
je 0x429721
push dword [ebp + 0xc]
mov eax, dword [eax + 0x14]
push dword [ebp - 0x50]
push dword [ebx + 4]
call eax
mov eax, dword [ebx]
add esp, 0xc
test eax, eax
je 0x429721
mov eax, dword [eax + 0x14]
lea ecx, [ebp - 0x48]
push 4
push ecx
push dword [ebx + 4]
call eax
mov eax, dword [ebx]
add esp, 0xc
test eax, eax
je 0x429721
mov eax, dword [eax + 0x18]
lea ecx, [ebp - 0x44]
push ecx
push dword [ebx + 4]
call eax
add esp, 8
xor ecx, ecx
test edi, edi
je 0x42978c
cmp edi, 0x20
jb 0x42977b
lea edx, [esi - 1]
lea eax, [ebp + edi - 0x45]
add edx, edi
cmp esi, eax
ja 0x429740
lea eax, [ebp - 0x44]
cmp edx, eax
jae 0x42977b
mov eax, edi
mov edx, edi
and eax, 0x1f
sub edx, eax
lea eax, [ebp - 0x34]
nop dword [eax]
movups xmm0, xmmword [esi]
add ecx, 0x20
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
movups xmm0, xmmword [esi + 0x10]
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [esi + 0x10], xmm1
add esi, 0x20
cmp ecx, edx
jb 0x429750
cmp ecx, edi
jae 0x42978c
nop
mov al, byte [ebp + ecx - 0x44]
inc ecx
xor byte [esi], al
inc esi
cmp ecx, edi
jb 0x429780
mov eax, dword [ebp - 0x4c]
inc byte [ebp - 0x45]
sub eax, edi
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
jne 0x4296c6
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1fac
mov esp, ebp
pop ebp
ret
Function at 0x42b1c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 8], ecx
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], ecx
push edi
test esi, esi
je 0x42b35b
mov edi, dword [ebp + 0xc]
xor edx, edx
cmp eax, esi
jae 0x42b1fe
nop dword [eax]
cmp byte [eax + edi], 0x20
jne 0x42b1fc
inc eax
inc edx
cmp eax, esi
jb 0x42b1f0
cmp eax, esi
je 0x42b272
mov ecx, esi
sub ecx, eax
cmp ecx, 2
jb 0x42b216
cmp byte [eax + edi], 0xd
jne 0x42b216
cmp byte [eax + edi + 1], 0xa
je 0x42b266
mov cl, byte [eax + edi]
cmp cl, 0xa
je 0x42b266
test edx, edx
jne 0x42b33e
cmp cl, 0x3d
jne 0x42b235
inc ebx
cmp ebx, 2
ja 0x42b33e
cmp cl, 0x7f
ja 0x42b33e
movzx ecx, cl
mov cl, byte [ecx + 0x524148]
cmp cl, 0x7f
je 0x42b33e
cmp cl, 0x40
jae 0x42b25d
test ebx, ebx
jne 0x42b33e
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
jmp 0x42b269
mov ecx, dword [ebp - 4]
inc eax
cmp eax, esi
jb 0x42b1e6
test ecx, ecx
je 0x42b35b
and ecx, 7
lea ecx, [ecx + ecx*2]
lea edx, [ecx*2 + 7]
mov ecx, dword [ebp - 4]
shr ecx, 3
shr edx, 3
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*2]
mov edx, dword [ebp - 8]
sub ecx, ebx
test edx, edx
je 0x42b34a
cmp dword [ebp - 0xc], ecx
jb 0x42b34a
xor ecx, ecx
mov dword [ebp - 4], 3
xor ebx, ebx
mov dword [ebp + 0x10], ecx
mov esi, edx
test eax, eax
je 0x42b32e
mov cl, byte [edi]
cmp cl, 0xd
je 0x42b325
cmp cl, 0xa
je 0x42b325
cmp cl, 0x20
je 0x42b325
movzx ecx, cl
mov dl, byte [ecx + 0x524148]
xor ecx, ecx
cmp dl, 0x40
sete cl
shl ebx, 6
sub dword [ebp - 4], ecx
movzx ecx, dl
mov edx, dword [ebp + 0x10]
and ecx, 0x3f
inc edx
or ebx, ecx
mov dword [ebp + 0x10], edx
cmp edx, 4
jne 0x42b325
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [ebp + 0x10], ecx
test edx, edx
je 0x42b310
mov ecx, ebx
shr ecx, 0x10
mov byte [esi], cl
inc esi
cmp edx, 1
jbe 0x42b31d
mov ecx, ebx
shr ecx, 8
mov byte [esi], cl
inc esi
cmp edx, 2
jbe 0x42b325
mov byte [esi], bl
inc esi
inc edi
sub eax, 1
jne 0x42b2c0
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
sub esi, edx
pop edi
mov dword [eax], esi
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffffd4
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov eax, 0xffffffd6
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x42c260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov eax, edx
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
push esi
push edi
test dl, 7
je 0x42c282
mov eax, 0xffffffce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x42c345
test edx, edx
je 0x42c3d7
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
lea edx, [ecx + 2]
sub ecx, eax
lea esi, [eax + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add ecx, 0xfffffffe
dec eax
mov dword [ebp - 0xc], ecx
shr eax, 3
inc eax
mov dword [ebp + 8], eax
nop dword [eax + eax]
movzx eax, byte [esi - 2]
lea edi, [ecx + esi]
xor al, byte [ebx]
mov byte [edi], al
movzx eax, byte [esi - 1]
xor al, byte [ebx + 1]
mov byte [edx - 1], al
movzx eax, byte [ebx + 2]
xor al, byte [esi]
mov byte [edx], al
movzx eax, byte [esi + 1]
xor al, byte [ebx + 3]
mov ecx, dword [ebp - 8]
mov byte [edx + 1], al
movzx eax, byte [esi + 2]
xor al, byte [ebx + 4]
mov byte [edx + 2], al
movzx eax, byte [esi + 3]
xor al, byte [ebx + 5]
mov byte [edx + 3], al
movzx eax, byte [esi + 4]
xor al, byte [ebx + 6]
mov byte [edx + 4], al
movzx eax, byte [esi + 5]
xor al, byte [ebx + 7]
mov byte [edx + 5], al
mov edx, edi
push edi
call fcn.0042b8d0
mov eax, dword [edi]
lea esi, [esi + 8]
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0xc]
add edx, 8
sub dword [ebp + 8], 1
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov dword [ebp - 4], edx
jne 0x42c2c0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
je 0x42c3d7
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
sub eax, ecx
lea esi, [ecx + 2]
mov dword [ebp + 8], esi
lea ecx, [eax - 2]
lea eax, [edx - 1]
mov dword [ebp - 0xc], ecx
shr eax, 3
inc eax
mov dword [ebp - 4], eax
nop dword [eax + eax]
mov edi, dword [ecx + esi]
lea edx, [ecx + esi]
mov ecx, dword [ebp - 8]
add esi, 0xfffffffe
mov ebx, dword [edx + 4]
push esi
call fcn.0042b8d0
mov ecx, dword [ebp + 0xc]
add esp, 4
movzx eax, byte [ecx]
xor byte [esi], al
mov esi, dword [ebp + 8]
movzx eax, byte [ecx + 1]
xor byte [esi - 1], al
movzx eax, byte [ecx + 2]
xor byte [esi], al
movzx eax, byte [ecx + 3]
xor byte [esi + 1], al
movzx eax, byte [ecx + 4]
xor byte [esi + 2], al
movzx eax, byte [ecx + 5]
xor byte [esi + 3], al
movzx eax, byte [ecx + 6]
xor byte [esi + 4], al
movzx eax, byte [ecx + 7]
xor byte [esi + 5], al
add esi, 8
sub dword [ebp - 4], 1
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword [ebp + 8], esi
jne 0x42c370
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42dec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov eax, edx
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
push esi
push edi
test dl, 7
je 0x42dee2
mov eax, 0xffffffce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x42dfa5
test edx, edx
je 0x42e037
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
lea edx, [ecx + 2]
sub ecx, eax
lea esi, [eax + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add ecx, 0xfffffffe
dec eax
mov dword [ebp - 0xc], ecx
shr eax, 3
inc eax
mov dword [ebp + 8], eax
nop dword [eax + eax]
movzx eax, byte [esi - 2]
lea edi, [ecx + esi]
xor al, byte [ebx]
mov byte [edi], al
movzx eax, byte [esi - 1]
xor al, byte [ebx + 1]
mov byte [edx - 1], al
movzx eax, byte [ebx + 2]
xor al, byte [esi]
mov byte [edx], al
movzx eax, byte [esi + 1]
xor al, byte [ebx + 3]
mov ecx, dword [ebp - 8]
mov byte [edx + 1], al
movzx eax, byte [esi + 2]
xor al, byte [ebx + 4]
mov byte [edx + 2], al
movzx eax, byte [esi + 3]
xor al, byte [ebx + 5]
mov byte [edx + 3], al
movzx eax, byte [esi + 4]
xor al, byte [ebx + 6]
mov byte [edx + 4], al
movzx eax, byte [esi + 5]
xor al, byte [ebx + 7]
mov byte [edx + 5], al
mov edx, edi
push edi
call fcn.0042c3f0
mov eax, dword [edi]
lea esi, [esi + 8]
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0xc]
add edx, 8
sub dword [ebp + 8], 1
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov dword [ebp - 4], edx
jne 0x42df20
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
je 0x42e037
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
sub eax, ecx
lea esi, [ecx + 2]
mov dword [ebp + 8], esi
lea ecx, [eax - 2]
lea eax, [edx - 1]
mov dword [ebp - 0xc], ecx
shr eax, 3
inc eax
mov dword [ebp - 4], eax
nop dword [eax + eax]
mov edi, dword [ecx + esi]
lea edx, [ecx + esi]
mov ecx, dword [ebp - 8]
add esi, 0xfffffffe
mov ebx, dword [edx + 4]
push esi
call fcn.0042c3f0
mov ecx, dword [ebp + 0xc]
add esp, 4
movzx eax, byte [ecx]
xor byte [esi], al
mov esi, dword [ebp + 8]
movzx eax, byte [ecx + 1]
xor byte [esi - 1], al
movzx eax, byte [ecx + 2]
xor byte [esi], al
movzx eax, byte [ecx + 3]
xor byte [esi + 1], al
movzx eax, byte [ecx + 4]
xor byte [esi + 2], al
movzx eax, byte [ecx + 5]
xor byte [esi + 3], al
movzx eax, byte [ecx + 6]
xor byte [esi + 4], al
movzx eax, byte [ecx + 7]
xor byte [esi + 5], al
add esi, 8
sub dword [ebp - 4], 1
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword [ebp + 8], esi
jne 0x42dfd0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [0x52640c]
mov ebx, ecx
push edi
mov edi, 0x526408
test esi, esi
je 0x43004c
mov ecx, dword [ebp + 0xc]
nop word [eax + eax]
mov eax, dword [esi + 0x1c]
cmp dword [eax], edx
jne 0x430042
cmp dword [esi + 8], ecx
jne 0x430042
cmp dword [esi + 4], 1
je 0x430056
mov esi, dword [edi + 0xc]
add edi, 8
test esi, esi
jne 0x430030
mov eax, 0xffffffec
pop edi
pop esi
pop ebx
pop ebp
ret
mov esi, dword [edi + 4]
test esi, esi
je 0x43004c
cmp dword [esi + 0x18], 0x10
jne 0x43004c
test ebx, ebx
je 0x43008e
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x43007c
mov eax, dword [ebx]
push ecx
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
call eax
add esp, 4
mov eax, 0x40
mov ecx, ebx
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x430083
mov edx, esi
mov ecx, ebx
call fcn.004176b0
test eax, eax
jne 0x430051
mov edx, dword [ebp + 8]
mov ecx, ebx
push 1
push dword [ebp + 0xc]
call fcn.00417700
add esp, 8
test eax, eax
jne 0x430051
pop edi
pop esi
mov ecx, ebx
pop ebx
pop ebp
jmp fcn.0042fdc0