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

Disassembly:
mov eax, dword [0x477cfc]
push esi
mov esi, dword [esp + 8]
test eax, eax
jne 0x448ec6
call fcn.00448f10
test eax, eax
je 0x448ebc
or eax, 0xffffffff
pop esi
ret
mov dword [0x4739b0], 0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, eax
dec eax
test ecx, ecx
je 0x448f00
push ebx
push edi
lea edi, [eax + 1]
mov eax, dword [edx]
xor ebx, ebx
mov bl, byte [esi]
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
mov ebx, dword [0x477cfc]
shr eax, 8
mov ecx, dword [ebx + ecx*4]
inc esi
xor eax, ecx
dec edi
mov dword [edx], eax
jne 0x448eda
pop edi
pop ebx
mov eax, dword [edx]
pop esi
ret

Function at 0x448f10
Capabilities:
Hash data with crc32

Disassembly:
push 0x400
call dword [fcn.0046567c]
add esp, 4
mov dword [0x477cfc], eax
test eax, eax
jne 0x448f47
mov eax, dword [0x46562c]
push 0x4739e4
add eax, 0x40
push 0x4739b4
push eax
call dword [fcn.00465630]
add esp, 0xc
or eax, 0xffffffff
ret
push esi
xor edx, edx
jmp 0x448f51
mov eax, dword [0x477cfc]
mov ecx, edx
mov esi, 8
test cl, 1
je 0x448f67
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x448f69
shr ecx, 1
dec esi
jne 0x448f58
mov dword [eax + edx*4], ecx
inc edx
cmp edx, 0xff
jle 0x448f4c
xor eax, eax
pop esi
ret

Function at 0x449e20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
mov cl, 0x65
mov al, 0x72
push esi
xor esi, esi
mov byte [esp + 4], 0x54
mov byte [esp + 5], cl
mov byte [esp + 6], al
mov byte [esp + 7], 0x6d
mov byte [esp + 8], 0x69
mov byte [esp + 9], 0x6e
mov byte [esp + 0xa], 0x61
mov byte [esp + 0xb], 0x6c
mov byte [esp + 0xc], 0x20
mov byte [esp + 0xd], 0x53
mov byte [esp + 0xe], cl
mov byte [esp + 0xf], al
mov byte [esp + 0x10], 0x76
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], al
mov byte [esp + 0x13], 0
call dword [fcn.00465130]
test eax, 0x80000000
jne 0x449ea9
cmp al, 4
jbe 0x449e97
lea eax, [esp + 4]
push eax
call fcn.00449eb0
add esp, 4
pop esi
add esp, 0x10
ret
lea ecx, [esp + 4]
push ecx
call fcn.00449eb0
add esp, 4
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x44b350
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc0
push ebx
mov ebx, dword [esp + 0xc8]
test bl, 0x80
je 0x44b4c0
push esi
mov esi, dword [esp + 0xd0]
mov eax, esi
mov ecx, esi
and eax, 0xff00
xor edx, edx
shl ecx, 0x10
or eax, ecx
mov ecx, esi
and ecx, 0xff0000
push edi
shr esi, 0x10
or ecx, esi
mov esi, ebx
and esi, 0xf
shl eax, 8
shr ecx, 8
cmp esi, 3
ja case.default.0x44b3a1
jmp dword [esi*4 + 0x44b5c0]
mov edi, 0x20
mov esi, eax
shr esi, 0xd
and esi, 1
mov ebx, esi
xor esi, ecx
shl ebx, 0x1f
shr edx, 1
shl esi, 0x1f
shr eax, 1
or edx, ebx
or esi, eax
shr ecx, 1
dec edi
mov eax, esi
jne 0x44b3ad
jmp case.default.0x44b3a1
mov esi, 0x20
mov edi, eax
mov ebx, ecx
and edi, 0xffff0000
shl edi, 0xf
shr edx, 1
or edx, edi
mov edi, eax
and edi, 0xfffff000
shl ebx, 0xc
xor edi, ebx
mov ebx, eax
shl edi, 8
and ebx, 0xfff00000
xor edi, ebx
shl edi, 0xb
shr eax, 1
or eax, edi
shr ecx, 1
dec esi
jne 0x44b3d8
jmp case.default.0x44b3a1
push ebp
mov edi, 0x20
mov esi, ecx
mov ebp, eax
and esi, 1
and ebp, 0xfff80000
mov ebx, esi
shl ebx, 0x13
xor ebx, ebp
shl ebx, 0xc
shr edx, 1
or edx, ebx
mov ebx, eax
and bl, 0
shl esi, 8
xor ebx, esi
mov esi, eax
shl ebx, 0xf
and esi, 0xff800000
xor ebx, esi
shl ebx, 8
shr eax, 1
or eax, ebx
shr ecx, 1
dec edi
jne 0x44b41a
pop ebp
jmp case.default.0x44b3a1
mov esi, 0x20
mov edi, eax
mov ebx, ecx
and edi, 0xfffff800
shl ebx, 0xb
xor edi, ebx
mov ebx, eax
shl edi, 5
and ebx, 0xffff0000
xor edi, ebx
mov ebx, ecx
shl edi, 0xf
shr edx, 1
or edx, edi
mov edi, eax
and edi, 0xffffff80
shl ebx, 7
xor edi, ebx
mov ebx, eax
shl edi, 0x12
and ebx, 0xfe000000
xor edi, ebx
shl edi, 6
shr eax, 1
or eax, edi
shr ecx, 1
dec esi
jne 0x44b460
xor eax, eax
pop edi
mov al, dh
pop esi
mov ah, dl
and edx, 0xffff0000
or eax, edx
pop ebx
add esp, 0xc0
ret
lea edx, [esp + 4]
lea eax, [esp + 0x14]
push edx
push eax
mov byte [esp + 0xc], 0x29
mov byte [esp + 0xd], 0x56
mov byte [esp + 0xe], 0xb2
mov byte [esp + 0xf], 0x39
mov byte [esp + 0x10], 0xa0
mov byte [esp + 0x11], 0xce
mov byte [esp + 0x12], 0xeb
mov byte [esp + 0x13], 0x87
mov byte [esp + 0x14], 0x52
mov byte [esp + 0x15], 0xb4
mov byte [esp + 0x16], 0x76
mov byte [esp + 0x17], 0xfb
mov byte [esp + 0x18], 0xc
mov byte [esp + 0x19], 0x94
mov byte [esp + 0x1a], 0x37
mov byte [esp + 0x1b], 0x71
call fcn.0044d9c0
mov eax, dword [esp + 0xd4]
and ebx, 0xff
mov byte [esp + 0xc], al
mov ecx, eax
mov edx, eax
shr eax, 0x18
mov byte [esp + 0xf], al
mov al, bl
mov ah, al
mov ebx, eax
shl ebx, 0x10
shr ecx, 8
shr edx, 0x10
mov bx, ax
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], dl
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
push ecx
push edx
mov dword [esp + 0x20], ebx
call fcn.0044dab0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0044d9c0
mov eax, dword [esp + 0x1f]
mov edx, dword [esp + 0x1e]
mov ecx, dword [esp + 0x1d]
and eax, 0xff
shl eax, 8
and edx, 0xff
and ecx, 0xff
or eax, edx
mov edx, dword [esp + 0x1c]
shl eax, 8
or eax, ecx
add esp, 0x18
shl eax, 8
and edx, 0xff
pop ebx
or eax, edx
add esp, 0xc0
ret
Function at 0x44bf00
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edi
mov edi, dword [esi + 0xc]
mov edx, 0xc6ef3720
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], edi
mov edi, dword [esi + 8]
mov dword [esp + 0x24], edi
mov edi, dword [esi + 4]
mov esi, dword [esi]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov edi, 0x20
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov esi, ecx
shl esi, 4
add esi, ebx
mov ebx, ecx
shr ebx, 5
add ebx, ebp
mov ebp, dword [esp + 0x18]
xor esi, ebx
lea ebx, [edx + ecx]
xor esi, ebx
mov ebx, dword [esp + 0x14]
sub eax, esi
mov esi, eax
shl esi, 4
add esi, ebx
mov ebx, eax
shr ebx, 5
add ebx, ebp
xor esi, ebx
lea ebx, [edx + eax]
xor esi, ebx
add edx, 0x61c88647
sub ecx, esi
dec edi
jne 0x44bf39
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
mov dword [edx + 4], eax
pop ebx
add esp, 0xc
ret 8

Function at 0x44bfe0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edi
mov edi, dword [esi + 4]
xor edx, edx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x10], edi
mov edi, dword [esi]
mov dword [esp + 0x24], edi
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 8]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov edi, 0x20
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov esi, ecx
sub edx, 0x61c88647
shl esi, 4
add esi, ebx
mov ebx, ecx
shr ebx, 5
add ebx, ebp
mov ebp, dword [esp + 0x18]
xor esi, ebx
lea ebx, [edx + ecx]
xor esi, ebx
mov ebx, dword [esp + 0x14]
add eax, esi
mov esi, eax
shl esi, 4
add esi, ebx
mov ebx, eax
shr ebx, 5
add ebx, ebp
xor esi, ebx
lea ebx, [edx + eax]
xor esi, ebx
add ecx, esi
dec edi
jne 0x44c016
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], eax
mov dword [edx + 4], ecx
pop ebx
add esp, 0xc
ret 8
Function at 0x44d9c0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebp, ebp
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov ebx, 4
sub esi, ecx
lea eax, [edi + ecx]
lea edx, [esp + ebp + 0x10]
add edi, ebx
mov cl, byte [esi + eax]
mov byte [edx], cl
mov byte [eax], cl
add edx, 4
inc eax
dec ebx
jne 0x44d9e3
inc ebp
cmp ebp, 4
jl 0x44d9cb
cmp edi, 0xb0
jge 0x44da9a
mov ebp, 0x474144
xor eax, eax
lea ecx, [esp + 0x10]
inc eax
mov edx, eax
and edx, 0x80000003
jns 0x44da1e
dec edx
or edx, 0xfffffffc
inc edx
xor ebx, ebx
add ecx, 4
mov bl, byte [esp + edx*4 + 0x13]
mov dl, byte [ebx + 0x473f44]
mov bl, byte [ecx - 4]
xor bl, dl
cmp eax, 4
mov byte [ecx - 4], bl
jl 0x44da0e
mov al, byte [ebp]
mov cl, byte [esp + 0x10]
xor cl, al
add ebp, 4
mov byte [esp + 0x10], cl
mov esi, 1
lea eax, [esp + esi + 0x10]
mov ecx, 4
mov dl, byte [eax - 1]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
add eax, 4
dec ecx
jne 0x44da58
inc esi
cmp esi, 4
jl 0x44da4f
xor esi, esi
lea eax, [esp + esi + 0x10]
mov ecx, 4
mov ebx, dword [esp + 0x24]
mov dl, byte [eax]
add eax, 4
mov byte [edi + ebx], dl
inc edi
dec ecx
jne 0x44da78
inc esi
cmp esi, 4
jl 0x44da6f
cmp edi, 0xb0
jl 0x44da08
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x44dab0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
push ebp
push esi
call fcn.0044db40
add esp, 8
lea edi, [ebp + 0x10]
mov ebx, 9
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x473f44]
mov byte [eax + esi - 1], dl
jl 0x44dad0
push 0
push esi
call fcn.0044db70
push esi
call fcn.0044dbc0
push edi
push esi
call fcn.0044db40
add esp, 0x14
add edi, 0x10
dec ebx
jne 0x44dace
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x473f44]
mov byte [eax + esi - 1], dl
jl 0x44db05
push 0
push esi
call fcn.0044db70
add ebp, 0xa0
push ebp
push esi
call fcn.0044db40
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x44db40
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push ebx
push esi
sub ecx, eax
mov esi, 0x10
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x44db51
pop esi
pop ebx
ret
Function at 0x44dce0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
lea eax, [ebp + 0xa0]
push eax
push esi
call fcn.0044db40
add esp, 8
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x474044]
mov byte [eax + esi - 1], dl
jl 0x44dcfe
push 0x10
push esi
call fcn.0044db70
add esp, 8
lea edi, [ebp + 0x90]
mov ebx, 9
push edi
push esi
call fcn.0044db40
push esi
call fcn.0044dd70
add esp, 0xc
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x474044]
mov byte [eax + esi - 1], dl
jl 0x44dd3b
push 0x10
push esi
call fcn.0044db70
add esp, 8
sub edi, 0x10
dec ebx
jne 0x44dd29
push ebp
push esi
call fcn.0044db40
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x44dd70
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
xor edi, edi
lea eax, [esp + edi + 0x14]
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, ebp
sub eax, ecx
mov esi, 1
mov dword [esp + 0x10], eax
lea edx, [esi - 2]
and edx, 3
add edx, edi
mov al, byte [edx + ebp]
push eax
push 9
call fcn.0044dc90
lea ecx, [esi + 1]
mov bl, al
and ecx, 3
add ecx, edi
mov dl, byte [ecx + ebp]
push edx
push 0xd
call fcn.0044dc90
xor bl, al
mov eax, esi
and eax, 3
add eax, edi
mov cl, byte [eax + ebp]
push ecx
push 0xb
call fcn.0044dc90
mov edx, dword [esp + 0x28]
xor bl, al
mov eax, dword [esp + 0x40]
mov cl, byte [edx + eax]
push ecx
push 0xe
call fcn.0044dc90
add esp, 0x20
xor bl, al
mov eax, dword [esp + 0x28]
inc esi
mov byte [eax], bl
lea edx, [esi - 1]
inc eax
cmp edx, 4
mov dword [esp + 0x28], eax
jl 0x44dd96
add edi, 4
cmp edi, 0x10
jl 0x44dd7d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [ebp], eax
mov eax, dword [esp + 0x20]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
pop edi
mov dword [ebp + 0xc], eax
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4c1070
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [0x4bb288]
cmp edx, 1
jne 0x4c108b
push 0x4bb2bc
call fcn.004c3cc0
mov edx, dword [0x4bb288]
lea eax, [edx + 0x4ed1567b]
lea edx, [edx + edx*4]
push esi
push edi
mov esi, 0x4bb1a4
xor ecx, ecx
lea edi, [edx + edx*4]
mov edx, eax
imul eax, eax, 0x1003411d
shr edx, 9
add edx, 0x79d11093
xor eax, edx
mov dl, byte [ecx + edi*8 + 0x4ad652]
xor dl, al
mov byte [esi], dl
inc esi
inc ecx
cmp ecx, 0xc8
jl 0x4c10a0
mov byte [esi], 0
pop edi
mov eax, 0x4bb1a4
pop esi
ret
Function at 0x4d0240
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x4bc150]
push esi
mov esi, dword [esp + 8]
test eax, eax
jne 0x4d0266
call fcn.004d02b0
test eax, eax
je 0x4d025c
or eax, 0xffffffff
pop esi
ret
mov dword [0x4ba2f0], 0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, eax
dec eax
test ecx, ecx
je 0x4d02a0
push ebx
push edi
lea edi, [eax + 1]
mov eax, dword [edx]
xor ebx, ebx
mov bl, byte [esi]
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
mov ebx, dword [0x4bc150]
shr eax, 8
mov ecx, dword [ebx + ecx*4]
inc esi
xor eax, ecx
dec edi
mov dword [edx], eax
jne 0x4d027a
pop edi
pop ebx
mov eax, dword [edx]
pop esi
ret

Function at 0x4d02b0
Capabilities:
Hash data with crc32

Disassembly:
push 0x400
call dword [fcn.004be1f4]
add esp, 4
mov dword [0x4bc150], eax
test eax, eax
jne 0x4d02e7
mov eax, dword [0x4be204]
push 0x4ba324
add eax, 0x40
push 0x4ba2f4
push eax
call dword [fcn.004be200]
add esp, 0xc
or eax, 0xffffffff
ret
push esi
xor edx, edx
jmp 0x4d02f1
mov eax, dword [0x4bc150]
mov ecx, edx
mov esi, 8
test cl, 1
je 0x4d0307
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x4d0309
shr ecx, 1
dec esi
jne 0x4d02f8
mov dword [eax + edx*4], ecx
inc edx
cmp edx, 0xff
jle 0x4d02ec
xor eax, eax
pop esi
ret
Function at 0x4d1510
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
mov cl, 0x65
mov al, 0x72
push esi
xor esi, esi
mov byte [esp + 4], 0x54
mov byte [esp + 5], cl
mov byte [esp + 6], al
mov byte [esp + 7], 0x6d
mov byte [esp + 8], 0x69
mov byte [esp + 9], 0x6e
mov byte [esp + 0xa], 0x61
mov byte [esp + 0xb], 0x6c
mov byte [esp + 0xc], 0x20
mov byte [esp + 0xd], 0x53
mov byte [esp + 0xe], cl
mov byte [esp + 0xf], al
mov byte [esp + 0x10], 0x76
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], al
mov byte [esp + 0x13], 0
call dword [fcn.004be164]
test eax, 0x80000000
jne 0x4d1599
cmp al, 4
jbe 0x4d1587
lea eax, [esp + 4]
push eax
call fcn.004d15a0
add esp, 4
pop esi
add esp, 0x10
ret
lea ecx, [esp + 4]
push ecx
call fcn.004d15a0
add esp, 4
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x4d4fe0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc0
push ebx
mov ebx, dword [esp + 0xc8]
test bl, 0x80
je 0x4d5150
push esi
mov esi, dword [esp + 0xd0]
mov eax, esi
mov ecx, esi
and eax, 0xff00
xor edx, edx
shl ecx, 0x10
or eax, ecx
mov ecx, esi
and ecx, 0xff0000
push edi
shr esi, 0x10
or ecx, esi
mov esi, ebx
and esi, 0xf
shl eax, 8
shr ecx, 8
cmp esi, 3
ja case.default.0x4d5031
jmp dword [esi*4 + 0x4d5250]
mov edi, 0x20
mov esi, eax
shr esi, 0xd
and esi, 1
mov ebx, esi
xor esi, ecx
shl ebx, 0x1f
shr edx, 1
shl esi, 0x1f
shr eax, 1
or edx, ebx
or esi, eax
shr ecx, 1
dec edi
mov eax, esi
jne 0x4d503d
jmp case.default.0x4d5031
mov esi, 0x20
mov edi, eax
mov ebx, ecx
and edi, 0xffff0000
shl edi, 0xf
shr edx, 1
or edx, edi
mov edi, eax
and edi, 0xfffff000
shl ebx, 0xc
xor edi, ebx
mov ebx, eax
shl edi, 8
and ebx, 0xfff00000
xor edi, ebx
shl edi, 0xb
shr eax, 1
or eax, edi
shr ecx, 1
dec esi
jne 0x4d5068
jmp case.default.0x4d5031
push ebp
mov edi, 0x20
mov esi, ecx
mov ebp, eax
and esi, 1
and ebp, 0xfff80000
mov ebx, esi
shl ebx, 0x13
xor ebx, ebp
shl ebx, 0xc
shr edx, 1
or edx, ebx
mov ebx, eax
and bl, 0
shl esi, 8
xor ebx, esi
mov esi, eax
shl ebx, 0xf
and esi, 0xff800000
xor ebx, esi
shl ebx, 8
shr eax, 1
or eax, ebx
shr ecx, 1
dec edi
jne 0x4d50aa
pop ebp
jmp case.default.0x4d5031
mov esi, 0x20
mov edi, eax
mov ebx, ecx
and edi, 0xfffff800
shl ebx, 0xb
xor edi, ebx
mov ebx, eax
shl edi, 5
and ebx, 0xffff0000
xor edi, ebx
mov ebx, ecx
shl edi, 0xf
shr edx, 1
or edx, edi
mov edi, eax
and edi, 0xffffff80
shl ebx, 7
xor edi, ebx
mov ebx, eax
shl edi, 0x12
and ebx, 0xfe000000
xor edi, ebx
shl edi, 6
shr eax, 1
or eax, edi
shr ecx, 1
dec esi
jne 0x4d50f0
xor eax, eax
pop edi
mov al, dh
pop esi
mov ah, dl
and edx, 0xffff0000
or eax, edx
pop ebx
add esp, 0xc0
ret
lea edx, [esp + 4]
lea eax, [esp + 0x14]
push edx
push eax
mov byte [esp + 0xc], 0x29
mov byte [esp + 0xd], 0x56
mov byte [esp + 0xe], 0xb2
mov byte [esp + 0xf], 0x39
mov byte [esp + 0x10], 0xa0
mov byte [esp + 0x11], 0xce
mov byte [esp + 0x12], 0xeb
mov byte [esp + 0x13], 0x87
mov byte [esp + 0x14], 0x52
mov byte [esp + 0x15], 0xb4
mov byte [esp + 0x16], 0x76
mov byte [esp + 0x17], 0xfb
mov byte [esp + 0x18], 0xc
mov byte [esp + 0x19], 0x94
mov byte [esp + 0x1a], 0x37
mov byte [esp + 0x1b], 0x71
call fcn.004ddb30
mov eax, dword [esp + 0xd4]
and ebx, 0xff
mov byte [esp + 0xc], al
mov ecx, eax
mov edx, eax
shr eax, 0x18
mov byte [esp + 0xf], al
mov al, bl
mov ah, al
mov ebx, eax
shl ebx, 0x10
shr ecx, 8
shr edx, 0x10
mov bx, ax
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], dl
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
push ecx
push edx
mov dword [esp + 0x20], ebx
call fcn.004ddc20
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.004ddb30
mov eax, dword [esp + 0x1f]
mov edx, dword [esp + 0x1e]
mov ecx, dword [esp + 0x1d]
and eax, 0xff
shl eax, 8
and edx, 0xff
and ecx, 0xff
or eax, edx
mov edx, dword [esp + 0x1c]
shl eax, 8
or eax, ecx
add esp, 0x18
shl eax, 8
and edx, 0xff
pop ebx
or eax, edx
add esp, 0xc0
ret
Function at 0x4d66b0
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edi
mov edi, dword [esi + 0xc]
mov edx, 0xc6ef3720
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], edi
mov edi, dword [esi + 8]
mov dword [esp + 0x24], edi
mov edi, dword [esi + 4]
mov esi, dword [esi]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov edi, 0x20
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov esi, ecx
shl esi, 4
add esi, ebx
mov ebx, ecx
shr ebx, 5
add ebx, ebp
mov ebp, dword [esp + 0x18]
xor esi, ebx
lea ebx, [edx + ecx]
xor esi, ebx
mov ebx, dword [esp + 0x14]
sub eax, esi
mov esi, eax
shl esi, 4
add esi, ebx
mov ebx, eax
shr ebx, 5
add ebx, ebp
xor esi, ebx
lea ebx, [edx + eax]
xor esi, ebx
add edx, 0x61c88647
sub ecx, esi
dec edi
jne 0x4d66e9
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
mov dword [edx + 4], eax
pop ebx
add esp, 0xc
ret 8

Function at 0x4d6790
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edi
mov edi, dword [esi + 4]
xor edx, edx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x10], edi
mov edi, dword [esi]
mov dword [esp + 0x24], edi
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 8]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov edi, 0x20
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov esi, ecx
sub edx, 0x61c88647
shl esi, 4
add esi, ebx
mov ebx, ecx
shr ebx, 5
add ebx, ebp
mov ebp, dword [esp + 0x18]
xor esi, ebx
lea ebx, [edx + ecx]
xor esi, ebx
mov ebx, dword [esp + 0x14]
add eax, esi
mov esi, eax
shl esi, 4
add esi, ebx
mov ebx, eax
shr ebx, 5
add ebx, ebp
xor esi, ebx
lea ebx, [edx + eax]
xor esi, ebx
add ecx, esi
dec edi
jne 0x4d67c6
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], eax
mov dword [edx + 4], ecx
pop ebx
add esp, 0xc
ret 8
Function at 0x4ddb30
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebp, ebp
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov ebx, 4
sub esi, ecx
lea eax, [edi + ecx]
lea edx, [esp + ebp + 0x10]
add edi, ebx
mov cl, byte [esi + eax]
mov byte [edx], cl
mov byte [eax], cl
add edx, 4
inc eax
dec ebx
jne 0x4ddb53
inc ebp
cmp ebp, 4
jl 0x4ddb3b
cmp edi, 0xb0
jge 0x4ddc0a
mov ebp, 0x4baf10
xor eax, eax
lea ecx, [esp + 0x10]
inc eax
mov edx, eax
and edx, 0x80000003
jns 0x4ddb8e
dec edx
or edx, 0xfffffffc
inc edx
xor ebx, ebx
add ecx, 4
mov bl, byte [esp + edx*4 + 0x13]
mov dl, byte [ebx + 0x4bad10]
mov bl, byte [ecx - 4]
xor bl, dl
cmp eax, 4
mov byte [ecx - 4], bl
jl 0x4ddb7e
mov al, byte [ebp]
mov cl, byte [esp + 0x10]
xor cl, al
add ebp, 4
mov byte [esp + 0x10], cl
mov esi, 1
lea eax, [esp + esi + 0x10]
mov ecx, 4
mov dl, byte [eax - 1]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
add eax, 4
dec ecx
jne 0x4ddbc8
inc esi
cmp esi, 4
jl 0x4ddbbf
xor esi, esi
lea eax, [esp + esi + 0x10]
mov ecx, 4
mov ebx, dword [esp + 0x24]
mov dl, byte [eax]
add eax, 4
mov byte [edi + ebx], dl
inc edi
dec ecx
jne 0x4ddbe8
inc esi
cmp esi, 4
jl 0x4ddbdf
cmp edi, 0xb0
jl 0x4ddb78
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x4ddc20
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
push ebp
push esi
call fcn.004ddcb0
add esp, 8
lea edi, [ebp + 0x10]
mov ebx, 9
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x4bad10]
mov byte [eax + esi - 1], dl
jl 0x4ddc40
push 0
push esi
call fcn.004ddce0
push esi
call fcn.004ddd30
push edi
push esi
call fcn.004ddcb0
add esp, 0x14
add edi, 0x10
dec ebx
jne 0x4ddc3e
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x4bad10]
mov byte [eax + esi - 1], dl
jl 0x4ddc75
push 0
push esi
call fcn.004ddce0
add ebp, 0xa0
push ebp
push esi
call fcn.004ddcb0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4ddcb0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push ebx
push esi
sub ecx, eax
mov esi, 0x10
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x4ddcc1
pop esi
pop ebx
ret
Function at 0x4dde50
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
lea eax, [ebp + 0xa0]
push eax
push esi
call fcn.004ddcb0
add esp, 8
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x4bae10]
mov byte [eax + esi - 1], dl
jl 0x4dde6e
push 0x10
push esi
call fcn.004ddce0
add esp, 8
lea edi, [ebp + 0x90]
mov ebx, 9
push edi
push esi
call fcn.004ddcb0
push esi
call fcn.004ddee0
add esp, 0xc
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x4bae10]
mov byte [eax + esi - 1], dl
jl 0x4ddeab
push 0x10
push esi
call fcn.004ddce0
add esp, 8
sub edi, 0x10
dec ebx
jne 0x4dde99
push ebp
push esi
call fcn.004ddcb0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4ddee0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
xor edi, edi
lea eax, [esp + edi + 0x14]
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, ebp
sub eax, ecx
mov esi, 1
mov dword [esp + 0x10], eax
lea edx, [esi - 2]
and edx, 3
add edx, edi
mov al, byte [edx + ebp]
push eax
push 9
call fcn.004dde00
lea ecx, [esi + 1]
mov bl, al
and ecx, 3
add ecx, edi
mov dl, byte [ecx + ebp]
push edx
push 0xd
call fcn.004dde00
xor bl, al
mov eax, esi
and eax, 3
add eax, edi
mov cl, byte [eax + ebp]
push ecx
push 0xb
call fcn.004dde00
mov edx, dword [esp + 0x28]
xor bl, al
mov eax, dword [esp + 0x40]
mov cl, byte [edx + eax]
push ecx
push 0xe
call fcn.004dde00
add esp, 0x20
xor bl, al
mov eax, dword [esp + 0x28]
inc esi
mov byte [eax], bl
lea edx, [esi - 1]
inc eax
cmp edx, 4
mov dword [esp + 0x28], eax
jl 0x4ddf06
add edi, 4
cmp edi, 0x10
jl 0x4ddeed
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [ebp], eax
mov eax, dword [esp + 0x20]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
pop edi
mov dword [ebp + 0xc], eax
pop esi
pop ebp
pop ebx
add esp, 0x14
ret