joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4075b3
Capabilities:
Check for peb ntglobalflag flag
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43f4e1
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
mov dword [esi], vtable.cdk::RSA.0
and dword [ebp - 4], 0
lea ecx, [esi + 0x80]
call fcn.0041374c
lea ecx, [esi + 0x78]
mov dword [ebp - 4], 1
call fcn.0041374c
lea ecx, [esi + 0x70]
mov dword [ebp - 4], 2
call fcn.0041374c
lea ecx, [esi + 0x68]
mov dword [ebp - 4], 3
call fcn.0041374c
lea ecx, [esi + 0x60]
mov dword [ebp - 4], 4
call fcn.0041374c
lea ecx, [esi + 0x58]
mov dword [ebp - 4], 5
call fcn.0041374c
lea ecx, [esi + 0x50]
mov dword [ebp - 4], 6
call fcn.0041374c
lea ecx, [esi + 0x48]
mov dword [ebp - 4], 7
call fcn.0041374c
lea ecx, [esi + 0x40]
mov dword [ebp - 4], 8
call fcn.0041374c
lea ecx, [esi + 0x38]
mov dword [ebp - 4], 9
call fcn.0041374c
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 0xa
call fcn.0041374c
lea ecx, [esi + 0x28]
mov dword [ebp - 4], 0xb
call fcn.0041374c
lea ecx, [esi + 0x20]
mov dword [ebp - 4], 0xc
call fcn.0041374c
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0xd
call fcn.0041374c
mov ecx, esi
call fcn.00404203
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x40c1ab
Capabilities:
Hash data using sha1

Disassembly:
push ebx
push ebp
push esi
mov ebx, ecx
xor ebp, ebp
push edi
push 0x180
push ebp
movzx esi, word [ebx + 0x1d0]
lea eax, [ebx + 0x20]
push eax
call fcn.0042afd0
add esp, 0xc
lea edi, [ebx + 0x1a8]
xor eax, eax
push 6
pop ecx
rep stosd dword es:[edi], eax
mov dword [ebx + 8], 0x67452301
mov dword [ebx + 0xc], 0xefcdab89
mov dword [ebx + 0x10], 0x98badcfe
mov dword [ebx + 0x14], 0x10325476
mov dword [ebx + 0x18], 0xc3d2e1f0
mov dword [ebx + 0x1a0], ebp
mov dword [ebx + 0x1a4], ebp
mov dword [ebx + 0x1c], ebp
mov dword [ebx + 0x1c0], ebp
mov dword [ebx + 0x1c4], ebp
mov dword [ebx + 0x1c8], ebp
call fcn.00403900
xor ecx, ecx
mov word [ebx + 0x1d0], si
test eax, eax
push ebp
sete cl
test eax, eax
mov dword [ebx + 0x1cc], ecx
mov ecx, ebx
sete al
mov byte [ebx + 0x1d2], al
call fcn.00404251
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40c38a
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov edx, ecx
push edi
push 0x40
mov dword [esp + 0x1c], edx
lea ecx, [edx + 0x80]
pop esi
mov eax, dword [ecx - 0x20]
xor eax, dword [ecx - 0x18]
xor eax, dword [ecx + 0x14]
xor eax, dword [ecx]
mov dword [ecx + 0x20], eax
cmp word [edx + 0x1d0], 0
jle 0x40c3bd
rol eax, 1
mov dword [ecx + 0x20], eax
add ecx, 4
sub esi, 1
jne 0x40c3a0
mov eax, dword [edx + 8]
mov ecx, eax
mov ebp, dword [edx + 0xc]
mov edi, dword [edx + 0x10]
mov ebx, dword [edx + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x10], eax
lea eax, [edx + 0x60]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0x14
mov eax, ebx
rol ecx, 5
xor eax, edi
lea esi, [edx + 0x5a827999]
and eax, ebp
mov edx, ebx
xor eax, ebx
mov ebx, edi
add ecx, eax
mov edi, ebp
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
ror edi, 2
add ecx, dword [eax]
add eax, 4
add esi, ecx
mov dword [esp + 0x1c], eax
sub dword [esp + 0x20], 1
mov ecx, esi
mov dword [esp + 0x14], ecx
jne 0x40c3f5
mov eax, dword [esp + 0x18]
push 0x14
add eax, 0xb0
mov dword [esp + 0x14], edx
pop ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov eax, ebx
rol esi, 5
xor eax, edi
add edx, 0x6ed9eba1
xor eax, ebp
add esi, eax
mov eax, dword [esp + 0x20]
add esi, dword [eax]
add eax, 4
add esi, edx
mov dword [esp + 0x20], eax
mov edx, ebx
mov ebx, edi
mov edi, ebp
mov ebp, dword [esp + 0x14]
ror edi, 2
sub dword [esp + 0x1c], 1
mov dword [esp + 0x14], esi
jne 0x40c449
mov eax, dword [esp + 0x18]
add eax, 0x100
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov ecx, edi
rol esi, 5
or ecx, ebp
mov eax, edi
and eax, ebp
and ecx, ebx
or ecx, eax
add edx, 0x8f1bbcdc
mov eax, dword [esp + 0x20]
add esi, edx
mov edx, ebx
mov ebx, edi
mov edi, ebp
mov ebp, dword [esp + 0x14]
ror edi, 2
add ecx, dword [eax]
add eax, 4
add esi, ecx
mov dword [esp + 0x20], eax
sub dword [esp + 0x1c], 1
mov dword [esp + 0x14], esi
jne 0x40c496
mov ecx, dword [esp + 0x18]
push 0x14
mov dword [esp + 0x14], edx
add ecx, 0x150
pop edx
mov eax, ebx
rol esi, 5
xor eax, edi
add esi, 0xca62c1d6
add esi, dword [ecx]
xor eax, ebp
add eax, dword [esp + 0x10]
lea ecx, [ecx + 4]
mov dword [esp + 0x10], ebx
add esi, eax
mov ebx, edi
mov edi, ebp
mov ebp, dword [esp + 0x14]
ror edi, 2
mov dword [esp + 0x14], esi
sub edx, 1
jne 0x40c4e5
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
add eax, esi
add dword [edx + 0x10], edi
add dword [edx + 0xc], ebp
add dword [edx + 0x14], ebx
pop edi
pop esi
mov dword [edx + 8], eax
mov eax, dword [esp + 8]
add dword [edx + 0x18], eax
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x40cc3a
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
sub esp, 0x124
push ebx
push ebp
push esi
mov esi, dword [esp + 0x138]
xor ebp, ebp
push edi
push 8
pop ecx
lea edi, [esp + 0x10]
mov dword [esp + 0x30], ebp
rep movsd dword es:[edi], dword [esi]
mov edx, ebp
mov eax, dword [esp + 0x138]
mov edi, ebp
mov dword [esp + edx*4 + 0x34], ebp
mov esi, ebp
lea ebx, [eax + edx*4]
movzx eax, byte [ebx]
push 0x18
pop ecx
sub ecx, esi
add esi, 8
shl eax, cl
or edi, eax
inc ebx
cmp esi, 0x20
jl 0x40cc6e
mov dword [esp + edx*4 + 0x34], edi
inc edx
cmp edx, 0x10
jl 0x40cc5c
push 0x30
lea edi, [esp + 0x70]
pop ebp
mov ecx, dword [edi - 0x34]
mov esi, ecx
mov edx, dword [edi]
mov eax, ecx
rol esi, 0xe
lea edi, [edi + 4]
ror eax, 7
xor esi, eax
shr ecx, 3
xor esi, ecx
mov eax, edx
mov ecx, edx
rol eax, 0xd
rol ecx, 0xf
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add esi, ecx
add esi, dword [edi - 0x3c]
add esi, dword [edi - 0x18]
mov dword [edi + 4], esi
sub ebp, 1
jne 0x40cc94
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov esi, ebx
mov eax, ebx
rol eax, 7
mov edx, edi
ror esi, 0xb
xor esi, eax
ror edx, 0xd
mov eax, ebx
ror eax, 6
xor esi, eax
mov eax, dword [esp + 0x24]
xor eax, ecx
and eax, ebx
xor eax, ecx
add esi, eax
mov eax, edi
add esi, dword [ebp + 0x44b7a8]
add esi, dword [esp + ebp + 0x34]
add ebp, 4
add esi, dword [esp + 0x2c]
rol eax, 0xa
xor edx, eax
mov eax, edi
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x14]
mov ecx, eax
and eax, edi
or ecx, edi
and ecx, dword [esp + 0x18]
or ecx, eax
mov eax, dword [esp + 0x28]
add edx, ecx
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
add ebx, esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], edi
lea edi, [edx + esi]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], eax
cmp ebp, 0x100
jl 0x40ccde
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x10]
mov ebx, dword [esp + 0x13c]
sub eax, ebx
push 2
mov dword [esp + 0x14], edi
pop ecx
movups xmm0, xmmword [ebx]
movups xmm1, xmmword [eax + ebx]
paddd xmm1, xmm0
movups xmmword [ebx], xmm1
lea ebx, [ebx + 0x10]
sub ecx, 1
jne 0x40cd88
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
Function at 0x40d19c
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esp + 0x14], esi
mov eax, dword [esi + 0x20e4]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp dword [esi + 0x20e8], edi
jne 0x40d1f2
test eax, eax
jle 0x40d26f
lea ecx, [esi + 0x18]
mov eax, dword [ecx + 0xc8]
xor dword [ecx], eax
lea ecx, [ecx + 8]
mov eax, dword [ecx + 0xc4]
xor dword [ecx - 4], eax
inc edi
mov eax, dword [esi + 0x20e4]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp edi, eax
jl 0x40d1c8
jmp 0x40d26f
mov dword [esp + 8], edi
push ebp
test eax, eax
jle 0x40d26e
push ebx
lea ebx, [esi + 0x18]
mov dword [esp + 0x14], ebx
xorps xmm0, xmm0
lea eax, [ebx + 0xc8]
movlpd qword [esp + 0x20], xmm0
mov esi, edi
mov edi, dword [esp + 0x24]
mov ebx, eax
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx]
mov ecx, esi
cdq
call fcn.00428440
add ebp, eax
adc edi, edx
add esi, 8
inc ebx
cmp esi, 0x40
jl 0x40d222
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
push 0
xor dword [ebx], ebp
xor dword [ebx + 4], edi
add ebx, 8
mov eax, dword [esi + 0x20e4]
mov ebp, dword [esp + 0x14]
cdq
inc ebp
and edx, 7
mov dword [esp + 0x14], ebp
add eax, edx
mov dword [esp + 0x18], ebx
sar eax, 3
pop edi
cmp ebp, eax
jl 0x40d203
pop ebx
pop ebp
lea eax, [esi + 0x18]
push 0x18
push eax
call fcn.0040d567
pop ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x40d567
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x44
and dword [esp + 0xc], 0
cmp dword [esp + 0x4c], 0
jle 0x40d733
push ebx
mov ebx, dword [esp + 0x4c]
push ebp
push esi
push edi
push 5
pop ebp
lea eax, [ebx + 0x78]
mov dword [esp + 0x28], ebp
xor esi, esi
mov edx, eax
mov ecx, dword [edx - 0x78]
xor ecx, dword [edx - 0x50]
mov eax, dword [edx - 0x74]
xor eax, dword [edx - 0x4c]
xor ecx, dword [edx - 0x28]
xor eax, dword [edx - 0x24]
xor ecx, dword [edx + 0x28]
xor eax, dword [edx + 0x2c]
xor ecx, dword [edx]
lea edx, [edx + 8]
xor eax, dword [edx - 4]
mov dword [esp + esi*8 + 0x2c], ecx
mov dword [esp + esi*8 + 0x30], eax
inc esi
cmp esi, ebp
jl 0x40d590
push 4
pop esi
mov edi, ebx
push 5
pop ecx
lea eax, [esi - 3]
cdq
idiv ecx
push 5
pop ebx
mov ecx, dword [esp + edx*8 + 0x2c]
mov eax, dword [esp + edx*8 + 0x30]
mov edx, eax
shld eax, ecx, 1
shr edx, 0x1f
add ecx, ecx
or edx, ecx
xor ecx, ecx
or ecx, eax
mov dword [esp + 0x18], edx
mov eax, esi
mov dword [esp + 0x10], ecx
cdq
idiv ebx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
xor ecx, dword [esp + edx*8 + 0x2c]
xor eax, dword [esp + edx*8 + 0x30]
mov edx, ebx
mov dword [esp + 0x10], eax
mov eax, edi
mov ebx, dword [esp + 0x10]
xor dword [eax], ecx
lea eax, [eax + 0x28]
xor dword [eax - 0x24], ebx
sub edx, 1
jne 0x40d610
inc esi
add edi, 8
sub ebp, 1
jne 0x40d5c2
mov ebx, dword [esp + 0x58]
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov edx, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
mov ebp, dword [ecx + 0x44bc48]
push 0x40
mov eax, dword [ebx + ebp*8]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + ebp*8 + 4]
mov ebx, dword [ecx + 0x44bbe8]
mov dword [esp + 0x28], eax
mov eax, edx
pop ecx
sub ecx, ebx
mov edx, esi
call fcn.00428460
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0x14]
mov ecx, ebx
mov edx, dword [esp + 0x18]
call fcn.00428440
mov ebx, dword [esp + 0x58]
or esi, eax
mov ecx, dword [esp + 0x10]
or edi, edx
mov edx, dword [esp + 0x20]
add ecx, 4
mov dword [esp + 0x10], ecx
mov dword [ebx + ebp*8], esi
mov esi, dword [esp + 0x24]
mov dword [ebx + ebp*8 + 4], edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
cmp ecx, 0x60
jl 0x40d63e
push 5
pop eax
mov ebp, ebx
mov dword [esp + 0x18], eax
push 0xa
pop ecx
mov esi, ebp
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
push 2
pop edi
mov ebx, eax
lea eax, [edi - 1]
cdq
push 5
pop ecx
idiv ecx
mov eax, edi
mov esi, dword [esp + edx*8 + 0x2c]
not esi
mov ecx, dword [esp + edx*8 + 0x30]
cdq
not ecx
idiv dword [esp + 0x28]
and esi, dword [esp + edx*8 + 0x2c]
and ecx, dword [esp + edx*8 + 0x30]
xor dword [ebp], esi
xor dword [ebp + 4], ecx
add ebp, 8
inc edi
sub ebx, 1
jne 0x40d6c2
sub dword [esp + 0x18], 1
push 5
pop eax
jne 0x40d6b2
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x58]
push 5
pop ebp
mov eax, dword [ecx*8 + 0x44bb28]
xor dword [ebx], eax
mov eax, dword [ecx*8 + 0x44bb2c]
xor dword [ebx + 4], eax
inc ecx
lea eax, [ebx + 0x78]
mov dword [esp + 0x1c], ecx
cmp ecx, dword [esp + 0x5c]
jl 0x40d58c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
Function at 0x40d81a
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0xc], esi
mov ebp, ecx
test edi, edi
jle 0x40d9de
push ebx
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebp + 0xc]
dec eax
cmp eax, 7
ja case.default.0x40d846
jmp dword [eax*4 + 0x40d9ea]
push ebx
push ebx
mov ecx, ebp
call fcn.0040da0a
jmp 0x40d9c7
mov ecx, dword [esp + 0x2c]
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
push ecx
push ecx
mov ecx, ebp
call fcn.0040da0a
mov eax, dword [esp + 0x2c]
lea esi, [ebp + 0x2c]
push eax
push esi
push eax
push 8
call fcn.0040e238
mov dword [esi], edi
mov edi, dword [esp + 0x38]
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x3c]
add esp, 0x10
mov esi, dword [esp + 0x10]
jmp 0x40d9c7
lea esi, [ebp + 0x2c]
mov ecx, ebp
push esi
push esi
call fcn.0040de3d
push ebx
push ebx
push esi
push 8
call fcn.0040e238
jmp 0x40d88b
cmp dword [ebp + 0x1bc], 0
je 0x40d8ca
push 8
pop eax
test eax, eax
jle 0x40d8ca
dec eax
add byte [eax + ebp + 0x1b4], 1
je 0x40d8bb
lea esi, [ebp + 0x2c]
mov ecx, ebp
push esi
lea eax, [ebp + 0x1b4]
push eax
call fcn.0040de3d
push ebx
push ebx
push esi
push 8
call fcn.0040e238
mov dword [ebp + 0x1bc], 1
jmp 0x40d88b
mov edi, dword [ebx]
lea esi, [ebp + 0x2c]
mov ebx, dword [ebx + 4]
mov ecx, ebp
push esi
push esi
call fcn.0040de3d
mov eax, dword [esp + 0x2c]
push eax
push eax
push esi
jmp 0x40d877
and dword [esp + 0x2c], 0
test edi, edi
jle 0x40d966
mov esi, dword [esp + 0x2c]
lea eax, [ebp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebp
call fcn.0040de3d
lea eax, [ebp + 0x2c]
mov ecx, ebp
push eax
push 8
call fcn.0040e217
mov eax, dword [ebx]
mov dword [ebp + 0x34], eax
mov eax, dword [ebx + 4]
mov dword [ebp + 0x38], eax
lea eax, [esi + ebx]
push eax
push eax
lea eax, [esp + 0x1c]
push eax
push 8
call fcn.0040e238
add esi, 8
lea eax, [ebp + 0x2c]
add esp, 0x10
cmp esi, edi
jl 0x40d91f
mov esi, dword [esp + 0x10]
xor edi, edi
jmp 0x40d9c7
xor esi, esi
test edi, edi
jle 0x40d9ac
lea eax, [ebp + 0x2c]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov ecx, ebp
call fcn.0040de3d
mov bl, byte [esi + ebx]
mov ecx, dword [esp + 0x2c]
mov al, bl
xor al, byte [esp + 0x1c]
mov byte [esi + ecx], al
lea eax, [ebp + 0x2c]
push eax
push 1
mov ecx, ebp
call fcn.0040e217
inc esi
mov byte [ebp + 0x33], bl
mov ebx, dword [esp + 0x2c]
lea eax, [ebp + 0x2c]
cmp esi, edi
jl 0x40d973
mov ebx, dword [esp + 0x2c]
xor edi, edi
jmp 0x40d88e
mov esi, 0x527
jmp 0x40d9c3
mov esi, 0x425
mov dword [esp + 0x10], esi
sub edi, 8
add ebx, 8
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
test edi, edi
jg 0x40d839
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x14
ret 8
Function at 0x40da9b
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
mov edx, dword [esp + 8]
push ebx
push ebp
push esi
movsx eax, byte [edx + 1]
movzx eax, al
shl eax, 0x10
movsx esi, byte [edx + 4]
push edi
movsx edi, byte [edx]
shl edi, 0x18
or edi, eax
shl esi, 0x18
movsx eax, byte [edx + 2]
movzx eax, al
shl eax, 8
or edi, eax
movsx eax, byte [edx + 3]
movzx eax, al
or edi, eax
movsx eax, byte [edx + 5]
movzx eax, al
shl eax, 0x10
or esi, eax
movsx eax, byte [edx + 6]
movzx ecx, al
movsx eax, byte [edx + 7]
movzx eax, al
shl ecx, 8
or ecx, eax
mov eax, edi
shr eax, 4
or esi, ecx
xor eax, esi
and eax, 0xf0f0f0f
xor esi, eax
shl eax, 4
xor edi, eax
mov eax, edi
shr eax, 0x10
xor eax, esi
movzx eax, ax
xor esi, eax
shl eax, 0x10
xor edi, eax
mov eax, esi
shr eax, 2
xor eax, edi
and eax, 0x33333333
xor edi, eax
shl eax, 2
xor esi, eax
mov ebp, esi
shr ebp, 8
xor ebp, edi
and ebp, 0xff00ff
xor edi, ebp
shl ebp, 8
xor ebp, esi
rol ebp, 1
mov esi, ebp
xor esi, edi
and esi, 0xaaaaaaaa
xor ebp, esi
xor esi, edi
rol esi, 1
xor edi, edi
mov ebx, dword [esp + 0x14]
mov edx, ebp
ror edx, 4
xor edx, dword [ebx + edi*8]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x462278]
xor ecx, dword [eax*4 + 0x462478]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x462678]
xor ecx, dword [edx*4 + 0x462878]
mov edx, dword [ebx + edi*8 + 4]
xor esi, ecx
xor edx, ebp
mov ecx, edx
mov eax, edx
shr eax, 0x10
shr ecx, 0x18
and eax, 0x3f
and ecx, 0x3f
mov ebx, dword [ecx*4 + 0x462378]
xor ebx, dword [eax*4 + 0x462578]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ebx, dword [eax*4 + 0x462778]
xor ebx, dword [edx*4 + 0x462978]
xor ebx, esi
inc edi
mov esi, ebp
mov ebp, ebx
cmp edi, 0x10
jl 0x40db51
ror ebx, 1
mov edx, ebx
mov ecx, dword [esp + 0x1c]
xor edx, esi
and edx, 0xaaaaaaaa
xor ebx, edx
xor edx, esi
ror edx, 1
mov eax, edx
shr eax, 8
xor eax, ebx
and eax, 0xff00ff
xor ebx, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, ebx
and eax, 0x33333333
xor ebx, eax
shl eax, 2
xor edx, eax
mov eax, ebx
shr eax, 0x10
xor eax, edx
movzx eax, ax
xor edx, eax
shl eax, 0x10
xor ebx, eax
mov eax, ebx
shr eax, 4
xor eax, edx
and eax, 0xf0f0f0f
xor edx, eax
shl eax, 4
xor ebx, eax
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 1], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 2], al
mov eax, edx
shr eax, 0x18
mov byte [ecx + 3], bl
mov byte [ecx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 5], al
mov eax, edx
pop edi
pop esi
shr eax, 8
pop ebp
mov byte [ecx + 6], al
mov byte [ecx + 7], dl
pop ebx
ret
Function at 0x40dc7d
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebp
mov ebp, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 4], eax
push edi
mov edi, ecx
test ebp, ebp
jle 0x40de15
push ebx
mov ebx, dword [esp + 0x28]
push esi
mov eax, dword [edi + 0xc]
dec eax
cmp eax, 7
ja case.default.0x40dca9
jmp dword [eax*4 + 0x40de1d]
push ebx
push ebx
mov ecx, edi
call fcn.0040de3d
mov eax, dword [esp + 0x10]
jmp 0x40de01
push ebx
push ebx
lea esi, [edi + 0x2c]
push esi
push 8
call fcn.0040e238
add esp, 0x10
mov ecx, edi
push ebx
push ebx
call fcn.0040de3d
mov eax, dword [ebx]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
jmp 0x40dcb9
lea esi, [edi + 0x2c]
mov ecx, edi
push esi
push esi
call fcn.0040de3d
push ebx
push ebx
push esi
push 8
call fcn.0040e238
add esp, 0x10
jmp 0x40dcb9
cmp dword [edi + 0x1bc], 0
je 0x40dd1d
push 8
pop eax
test eax, eax
jle 0x40dd1d
dec eax
add byte [eax + edi + 0x1b4], 1
je 0x40dd0e
lea esi, [edi + 0x2c]
mov ecx, edi
push esi
lea eax, [edi + 0x1b4]
push eax
call fcn.0040de3d
push ebx
push ebx
push esi
push 8
call fcn.0040e238
add esp, 0x10
mov dword [edi + 0x1bc], 1
jmp 0x40dcb9
lea esi, [edi + 0x2c]
mov ecx, edi
push esi
push esi
call fcn.0040de3d
push ebx
push ebx
push esi
push 8
call fcn.0040e238
add esp, 0x10
jmp 0x40dcdb
test ebp, ebp
jle 0x40ddb0
dec ebp
mov esi, ebx
shr ebp, 2
lea ebx, [edi + 0x2c]
inc ebp
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push ebx
call fcn.0040de3d
push ebx
push 4
mov ecx, edi
call fcn.0040e217
push esi
push esi
lea eax, [esp + 0x1c]
push eax
push 4
call fcn.0040e238
mov eax, dword [esi]
add esp, 0x10
add esi, 4
mov dword [edi + 0x30], eax
sub ebp, 1
jne 0x40dd77
mov ebx, dword [esp + 0x2c]
xor ebp, ebp
jmp 0x40dcb9
xor esi, esi
test ebp, ebp
jle 0x40ddb0
lea eax, [edi + 0x2c]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov ecx, edi
call fcn.0040de3d
mov al, byte [esp + 0x1c]
mov ecx, edi
xor byte [esi + ebx], al
lea eax, [edi + 0x2c]
push eax
push 1
call fcn.0040e217
mov al, byte [esi + ebx]
inc esi
mov byte [edi + 0x33], al
lea eax, [edi + 0x2c]
cmp esi, ebp
jl 0x40ddc0
jmp 0x40ddb0
mov eax, 0x527
jmp 0x40ddfd
mov eax, 0x425
mov dword [esp + 0x10], eax
sub ebp, 8
add ebx, 8
mov dword [esp + 0x2c], ebx
test ebp, ebp
jg 0x40dc9c
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x14
ret 8
Function at 0x40e01c
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x104
push ebx
mov ebx, dword [esp + 0x110]
push ebp
push esi
push edi
push 0x38
xor edi, edi
pop ebp
movsx esi, byte [edi + str.80_]
xor edx, edx
mov eax, esi
inc edx
and eax, 7
sar esi, 3
push 7
pop ecx
sub ecx, eax
movsx eax, byte [esi + ebx]
shl edx, cl
test eax, edx
setne al
mov byte [esp + edi + 0x5c], al
inc edi
cmp edi, ebp
jl 0x40e032
xor esi, esi
mov dword [esp + 0x1c], 0x10
lea edx, [esp + 0x98]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
xor ebx, ebx
mov dword [esp + 0x20], 0x1c
and dword [edx], ebx
xor ebp, ebp
and dword [edx - 4], ebx
xor edi, edi
movsx edx, byte [esi + 0x462238]
mov esi, dword [esp + 0x20]
push 0x38
pop ebx
cmp edi, 0x1c
lea eax, [edx + edi]
lea ecx, [eax - 0x1c]
cmove esi, ebx
cmp eax, esi
cmovl ecx, eax
mov al, byte [esp + ecx + 0x5c]
mov byte [esp + edi + 0x24], al
inc edi
cmp edi, ebx
jl 0x40e097
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov esi, dword [esp + 0x14]
mov edi, 0x800000
mov ebx, ecx
movsx eax, byte [ecx + 0x462248]
cmp byte [esp + eax + 0x24], 0
je 0x40e0d9
or ebp, edi
mov dword [edx - 4], ebp
movsx eax, byte [ecx + 0x462260]
cmp byte [esp + eax + 0x24], 0
je 0x40e0eb
or ebx, edi
mov dword [edx], ebx
shr edi, 1
inc ecx
cmp ecx, 0x18
jl 0x40e0c6
inc esi
add edx, 8
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
cmp esi, 0x10
jl 0x40e076
mov eax, dword [esp + 0x120]
lea ebp, [esp + 0x94]
mov ecx, dword [esp + 0x118]
test ecx, ecx
push 0xfffffffffffffff4
lea ebx, [eax + 0x78]
cmove ebx, eax
pop eax
push 4
pop edx
cmove eax, edx
mov dword [esp + 0x10], eax
mov esi, dword [ebp]
add ebp, edx
mov ecx, esi
and ecx, 0xfc0
shl ecx, 4
mov edi, dword [ebp]
mov edx, edi
shr edx, 4
mov eax, edi
and eax, 0xfc0
and edx, 0xfc000
or edx, eax
mov eax, esi
and eax, 0xfc0000
shr edx, 6
or ecx, eax
mov eax, edi
shl ecx, 6
and edi, 0x3f
or edx, ecx
shr eax, 4
mov ecx, esi
mov dword [ebx], edx
and ecx, 0x3f
and esi, 0x3f000
shl ecx, 4
and eax, 0x3f00
or ecx, esi
push 4
pop edx
shl ecx, 0xc
add ebx, edx
or ecx, eax
add ebp, edx
or ecx, edi
mov dword [ebx], ecx
add ebx, dword [esp + 0x10]
sub dword [esp + 0x1c], 1
jne 0x40e132
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret

Function at 0x40e238
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
test edx, edx
je 0x40e262
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
sub esi, ecx
sub edi, ecx
mov al, byte [esi + ecx]
xor al, byte [ecx]
mov byte [edi + ecx], al
inc ecx
sub edx, 1
jne 0x40e252
pop edi
pop esi
ret

Function at 0x40e521
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
dec esi
mov eax, esi
push edi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
push 0
pop ecx
js 0x40e551
mov edx, dword [esp + 0xc]
add esi, edx
mov al, byte [esi]
xor byte [ecx + edx], al
mov al, byte [ecx + edx]
xor byte [esi], al
mov al, byte [esi]
xor byte [ecx + edx], al
inc ecx
dec esi
cmp ecx, edi
jle 0x40e53c
pop edi
pop esi
ret