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

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

Function at 0x49d250
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
push edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
bswap eax
mov edx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
bswap eax
mov ecx, dword [ecx + 0x14]
mov edi, dword [ecx + 8]
mov dword [esp + 0xc], edi
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x1c], edi
mov edi, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x14], edi
mov esi, 0xc6ef3720
mov dword [esp + 0x10], ecx
mov edi, 0x20
lea ecx, [ecx]
mov ecx, edx
shr ecx, 5
add ecx, dword [esp + 0x1c]
mov ebx, edx
shl ebx, 4
add ebx, dword [esp + 0xc]
xor ecx, ebx
lea ebx, [esi + edx]
xor ecx, ebx
sub eax, ecx
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x10]
mov ebx, eax
shr ebx, 5
add ebx, dword [esp + 0x14]
xor ecx, ebx
lea ebx, [esi + eax]
xor ecx, ebx
sub edx, ecx
add esi, 0x61c88647
dec edi
jne 0x49d2a0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
bswap eax
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
bswap eax
pop edi
pop esi
mov dword [ecx + 4], eax
pop ebx
add esp, 0xc
ret 8
Function at 0x49d340
Capabilities:
Encrypt data using twofish

Disassembly:
push ecx
mov al, byte [esp + 0xc]
test al, al
je 0x49d413
movzx eax, al
mov cl, byte [eax + 0x50325f]
mov eax, dword [esp + 0x10]
add eax, eax
add eax, eax
lea edx, [eax + 1]
and edx, 0x1f
push ebx
mov bl, byte [edx + 0x503140]
lea edx, [eax + 2]
and edx, 0x1f
movzx edx, byte [edx + 0x503140]
mov byte [esp + 0x10], dl
lea edx, [eax + 3]
and eax, 0x1f
movzx eax, byte [eax + 0x503140]
movzx eax, byte [eax + 0x50325f]
and edx, 0x1f
movzx edx, byte [edx + 0x503140]
mov byte [esp + 7], dl
push esi
movzx esi, cl
add eax, esi
cdq
mov ecx, 0xff
idiv ecx
mov ecx, dword [esp + 0x10]
movzx eax, bl
push edi
mov edi, 0xff
movzx edx, byte [edx + 0x503160]
xor byte [ecx], dl
movzx eax, byte [eax + 0x50325f]
add eax, esi
cdq
idiv edi
movzx eax, byte [esp + 0x18]
movzx edx, byte [edx + 0x503160]
xor byte [ecx + 1], dl
movzx eax, byte [eax + 0x50325f]
add eax, esi
cdq
idiv edi
movzx eax, byte [esp + 0xf]
movzx edx, byte [edx + 0x503160]
xor byte [ecx + 2], dl
movzx eax, byte [eax + 0x50325f]
add eax, esi
mov esi, edi
cdq
idiv esi
pop edi
pop esi
pop ebx
movzx edx, byte [edx + 0x503160]
xor byte [ecx + 3], dl
pop ecx
ret
Function at 0x49d420
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, ecx
mov ecx, dword [edx + 0x54]
mov eax, dword [ecx]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor eax, dword [esi]
push edi
mov edi, dword [ecx + 8]
xor edi, dword [esi + 8]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 4]
xor eax, dword [esi + 4]
mov ecx, dword [ecx + 0xc]
xor ecx, dword [esi + 0xc]
mov esi, dword [edx + 0x34]
mov dword [esp + 0x14], esi
mov esi, dword [edx + 0x24]
mov dword [esp + 0x1c], esi
mov esi, dword [edx + 0x14]
mov dword [esp + 0x18], esi
mov esi, dword [edx + 0x54]
mov dword [esp + 0x10], edi
mov edi, dword [edx + 0x44]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], eax
add esi, 0x24
mov dword [esp + 0x24], 8
lea esp, [esp]
mov ebp, dword [esp + 0x18]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
mov edx, eax
shr edx, 0x18
mov edx, dword [ebp + edx*4]
mov ebp, dword [esp + 0x14]
xor edx, dword [ebp + ebx*4]
mov ebp, dword [esp + 0x34]
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
xor edx, dword [edi + ebx*4]
movzx ebx, al
mov eax, dword [esp + 0x1c]
xor edx, dword [eax + ebx*4]
mov ebx, ebp
shr ebx, 8
movzx ebx, bl
mov eax, dword [eax + ebx*4]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov ecx, ebp
shr ecx, 0x10
movzx ebp, cl
xor eax, dword [ebx + ebp*4]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x18]
shr ebx, 0x18
xor eax, dword [edi + ebx*4]
movzx ebx, byte [esp + 0x34]
xor eax, dword [ebp + ebx*4]
mov ebp, dword [esi - 4]
mov ebx, dword [esi]
mov ecx, dword [esp + 0x28]
add eax, edx
add ebp, eax
xor ebp, dword [esp + 0x10]
add ebx, edx
add ebx, eax
ror ebp, 1
rol ecx, 1
xor ecx, ebx
mov edx, ecx
shr edx, 8
movzx ebx, dl
mov edx, dword [esp + 0x18]
mov eax, ecx
shr eax, 0x18
mov edx, dword [edx + eax*4]
mov eax, dword [esp + 0x14]
xor edx, dword [eax + ebx*4]
mov eax, ecx
shr eax, 0x10
movzx eax, al
xor edx, dword [edi + eax*4]
mov eax, dword [esp + 0x1c]
movzx ebx, cl
xor edx, dword [eax + ebx*4]
mov ebx, ebp
shr ebx, 8
movzx ebx, bl
mov eax, dword [eax + ebx*4]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov ecx, ebp
mov dword [esp + 0x10], ebp
shr ecx, 0x10
movzx ebp, cl
xor eax, dword [ebx + ebp*4]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
shr ebx, 0x18
xor eax, dword [edi + ebx*4]
movzx ebx, byte [esp + 0x10]
xor eax, dword [ebp + ebx*4]
mov ebx, dword [esi + 4]
add eax, edx
add ebx, eax
xor ebx, dword [esp + 0x34]
mov ebp, dword [esi + 8]
mov ecx, dword [esp + 0x28]
ror ebx, 1
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x20]
add ebp, edx
rol ebx, 1
add eax, ebp
xor eax, ebx
add esi, 0x10
dec dword [esp + 0x24]
mov dword [esp + 0x20], eax
jne 0x49d480
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + 0x54]
mov edi, dword [edx + 0x10]
xor ecx, dword [edx + 0x14]
xor eax, dword [edx + 0x1c]
mov esi, dword [esp + 0x34]
xor esi, dword [edx + 0x18]
mov edx, dword [esp + 0x38]
xor edi, dword [esp + 0x10]
mov dword [edx + 8], esi
mov dword [edx], edi
pop edi
pop esi
pop ebp
mov dword [edx + 4], ecx
mov dword [edx + 0xc], eax
pop ebx
add esp, 0x20
ret 8
Function at 0x49d5e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
push ebx
mov edx, ecx
mov ecx, dword [edx + 0x54]
mov ebx, dword [ecx + 0x18]
mov eax, dword [ecx + 0x14]
push ebp
mov ebp, dword [edx + 0x14]
push esi
mov esi, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x1c]
push edi
mov edi, dword [esp + 0x3c]
xor ebx, dword [edi + 8]
xor esi, dword [edi]
xor eax, dword [edi + 4]
xor ecx, dword [edi + 0xc]
mov edi, dword [edx + 0x44]
mov dword [esp + 0x3c], ebx
mov ebx, dword [edx + 0x34]
mov dword [esp + 0x10], ebx
mov ebx, dword [edx + 0x24]
mov dword [esp + 0x34], edx
mov edx, dword [edx + 0x54]
mov dword [esp + 0x20], ebx
lea ebx, [edx + 0x94]
add edx, 0x90
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], 8
mov edi, edi
mov ebx, eax
shr ebx, 8
mov edx, eax
movzx ebx, bl
shr edx, 0x18
mov edx, dword [ebp + edx*4]
mov ebp, dword [esp + 0x10]
xor edx, dword [ebp + ebx*4]
mov ebp, dword [esp + 0x20]
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
xor edx, dword [edi + ebx*4]
movzx eax, al
xor edx, dword [ebp + eax*4]
mov eax, esi
shr eax, 8
movzx eax, al
mov eax, dword [ebp + eax*4]
mov ebp, dword [esp + 0x10]
mov ebx, esi
shr ebx, 0x10
movzx ebx, bl
xor eax, dword [ebp + ebx*4]
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 8]
shr esi, 0x18
xor eax, dword [edi + esi*4]
movzx esi, byte [esp + 0x1c]
xor eax, dword [ebp + esi*4]
mov esi, dword [esp + 0x3c]
add eax, edx
add ebx, eax
rol esi, 1
xor esi, ebx
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx + 8]
add ebx, edx
add ebx, eax
xor ecx, ebx
mov ebx, dword [esp + 0x10]
ror ecx, 1
mov eax, ecx
shr eax, 8
movzx eax, al
mov edx, ecx
shr edx, 0x18
mov edx, dword [ebp + edx*4]
xor edx, dword [ebx + eax*4]
mov eax, ecx
shr eax, 0x10
movzx eax, al
xor edx, dword [edi + eax*4]
mov eax, dword [esp + 0x20]
movzx ebx, cl
xor edx, dword [eax + ebx*4]
mov ebx, esi
shr ebx, 8
mov dword [esp + 0x3c], esi
movzx ebx, bl
mov eax, dword [eax + ebx*4]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov ecx, esi
shr ecx, 0x10
movzx esi, cl
xor eax, dword [ebx + esi*4]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx]
shr esi, 0x18
xor eax, dword [edi + esi*4]
movzx esi, byte [esp + 0x3c]
xor eax, dword [ebp + esi*4]
mov esi, dword [esp + 0x1c]
add eax, edx
rol esi, 1
add ebx, eax
xor esi, ebx
mov dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx]
mov ecx, dword [esp + 0x30]
add ebx, edx
add eax, ebx
xor eax, dword [esp + 0x24]
mov edx, 0x10
sub dword [esp + 0x14], edx
sub dword [esp + 0x18], edx
ror eax, 1
dec dword [esp + 0x28]
mov dword [esp + 0x24], eax
jne 0x49d650
mov edx, dword [esp + 0x34]
mov edx, dword [edx + 0x54]
xor esi, dword [edx + 8]
mov edi, dword [edx]
xor ecx, dword [edx + 4]
xor eax, dword [edx + 0xc]
mov edx, dword [esp + 0x40]
xor edi, dword [esp + 0x3c]
mov dword [edx + 8], esi
mov dword [edx], edi
pop edi
pop esi
pop ebp
mov dword [edx + 4], ecx
mov dword [edx + 0xc], eax
pop ebx
add esp, 0x28
ret 8
Function at 0x49e040
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
push edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
bswap eax
mov edx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
bswap eax
mov ecx, dword [ecx + 0x14]
mov esi, 0x20
jmp 0x49e070
mov edi, eax
shr edi, 5
mov ebx, eax
shl ebx, 4
xor edi, ebx
add edi, eax
xor edi, dword [ecx]
add ecx, 8
add edx, edi
mov edi, edx
shr edi, 5
mov ebx, edx
shl ebx, 4
xor edi, ebx
add edi, edx
xor edi, dword [ecx - 4]
add eax, edi
dec esi
jne 0x49e070
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
bswap eax
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0xc]
bswap eax
pop edi
pop esi
mov dword [ecx + 4], eax
pop ebx
pop ecx
ret 8

Function at 0x49e0c0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
push edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
bswap eax
mov edx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
bswap eax
mov ecx, dword [ecx + 0x14]
lea esi, [ecx + 0xf8]
add ecx, 0xfc
mov edi, 0x20
mov ebx, edx
shr ebx, 5
mov ebp, edx
shl ebp, 4
xor ebx, ebp
add ebx, edx
xor ebx, dword [ecx]
sub ecx, 8
sub eax, ebx
mov ebx, eax
shr ebx, 5
mov ebp, eax
shl ebp, 4
xor ebx, ebp
add ebx, eax
xor ebx, dword [esi]
sub esi, 8
sub edx, ebx
dec edi
jne 0x49e0f8
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
bswap eax
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
bswap eax
pop edi
pop esi
pop ebp
mov dword [ecx + 4], eax
pop ebx
pop ecx
ret 8
Function at 0x49f800
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.0049f760
mov ebp, dword [esp + 0x24]
xor eax, eax
jmp 0x49f820
mov cl, byte [eax + ebp]
mov esi, dword [esp + 0x10]
ror cl, 3
mov byte [esi + eax], cl
xor byte [esi + 8], cl
mov edx, dword [ebx + 0x14]
mov ecx, dword [esp + 0x10]
lea esi, [eax + edx]
movzx edx, byte [eax + ebp + 8]
mov byte [esi], dl
mov edx, dword [esp + 0x10]
lea edi, [edx + eax + 9]
movzx edx, byte [esi]
mov byte [edi], dl
movzx edx, dl
xor byte [ecx + 0x11], dl
inc eax
cmp eax, 8
jne 0x49f820
xor edi, edi
cmp dword [ebx + 0x24], edi
je 0x49f8ae
xor ecx, ecx
xor eax, eax
mov esi, dword [esp + 0x10]
mov dl, byte [esi + eax]
ror dl, 2
mov byte [esi + eax], dl
inc eax
cmp eax, 0x12
jne 0x49f865
xor eax, eax
lea ebx, [ebx]
movzx edx, byte [ecx + eax + 0x504730]
mov esi, dword [esp + 0x10]
mov dl, byte [edx + esi]
add dl, byte [ecx + eax + 0x504660]
mov ebp, dword [ebx + 0x14]
lea esi, [ecx + eax]
inc eax
mov byte [esi + ebp + 8], dl
cmp eax, 0x10
jne 0x49f880
inc edi
add ecx, eax
cmp edi, dword [ebx + 0x24]
jne 0x49f863
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push edx
mov edx, dword [esp + 0x14]
push edx
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8

Function at 0x49fba0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx + 0x14]
mov edx, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [ecx + 0x24]
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
add edi, dword [edx]
add eax, dword [edx + 4]
xor ebx, ebx
test ebp, ebp
je 0x49fc37
mov edx, dword [ecx + 0x14]
add edx, 0xc
push esi
mov ecx, eax
and ecx, 0x1f
mov esi, eax
xor esi, edi
rol esi, cl
add ebx, 4
add edx, 0x20
add esi, dword [edx - 0x24]
xor eax, esi
mov ecx, esi
and ecx, 0x1f
rol eax, cl
add eax, dword [edx - 0x20]
mov ecx, eax
and ecx, 0x1f
mov edi, eax
xor edi, esi
rol edi, cl
add edi, dword [edx - 0x1c]
xor eax, edi
mov ecx, edi
and ecx, 0x1f
rol eax, cl
add eax, dword [edx - 0x18]
mov ecx, eax
and ecx, 0x1f
mov esi, eax
xor esi, edi
rol esi, cl
add esi, dword [edx - 0x14]
xor eax, esi
mov ecx, esi
and ecx, 0x1f
rol eax, cl
add eax, dword [edx - 0x10]
mov ecx, eax
mov edi, eax
and ecx, 0x1f
xor edi, esi
rol edi, cl
add edi, dword [edx - 0xc]
mov ecx, edi
xor eax, edi
and ecx, 0x1f
rol eax, cl
add eax, dword [edx - 8]
cmp ebx, ebp
jne 0x49fbc4
pop esi
mov ecx, dword [esp + 0x14]
mov dword [ecx], edi
pop edi
pop ebp
mov dword [ecx + 4], eax
pop ebx
ret 8
Function at 0x49fc50
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [eax]
mov eax, dword [eax + 4]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebx + 0x24]
test edi, edi
je 0x49fcd9
mov ecx, dword [ebx + 0x14]
push esi
lea esi, [ecx + edi*8 - 4]
lea esp, [esp]
sub eax, dword [esi + 8]
mov ecx, edx
and ecx, 0x1f
ror eax, cl
sub esi, 0x20
xor eax, edx
sub edx, dword [esi + 0x24]
mov ecx, eax
and ecx, 0x1f
ror edx, cl
xor edx, eax
sub eax, dword [esi + 0x20]
mov ecx, edx
and ecx, 0x1f
ror eax, cl
xor eax, edx
sub edx, dword [esi + 0x1c]
mov ecx, eax
and ecx, 0x1f
ror edx, cl
xor edx, eax
sub eax, dword [esi + 0x18]
mov ecx, edx
and ecx, 0x1f
ror eax, cl
xor eax, edx
sub edx, dword [esi + 0x14]
mov ecx, eax
and ecx, 0x1f
ror edx, cl
xor edx, eax
sub eax, dword [esi + 0x10]
mov ecx, edx
and ecx, 0x1f
ror eax, cl
xor eax, edx
sub edx, dword [esi + 0xc]
mov ecx, eax
and ecx, 0x1f
ror edx, cl
xor edx, eax
sub edi, 4
jne 0x49fc70
pop esi
mov ecx, dword [ebx + 0x14]
sub eax, dword [ecx + 4]
sub edx, dword [ecx]
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ecx], edx
mov dword [ecx + 4], eax
pop ebx
ret 8
Function at 0x49fcf0
Capabilities:
Encrypt data using rc6

Disassembly:
push 0xffffffffffffffff
push 0x4dd548
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53132c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, ecx
mov ebx, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x18]
lea eax, [ebx - 1]
shr eax, 2
inc eax
mov dword [esp + 0x3c], eax
cmp eax, ecx
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x14]
jb 0x49fd3b
lea eax, [esp + 0x3c]
mov eax, dword [eax]
lea eax, [eax + eax*2]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xb7e15163
mov eax, 1
cmp dword [ebp + 0x18], eax
je 0x49fd76
jmp 0x49fd60
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax*4 - 4]
sub edx, 0x61c88647
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebp + 0x18]
jne 0x49fd60
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
push 1
mov dword [esp + 0x34], edi
call fcn.00479b90
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
add esp, 4
push edi
push edi
mov ecx, esi
mov dword [esp + 0x2c], esi
call edx
mov eax, dword [esi]
mov edx, dword [eax]
push 0x20
mov ecx, esi
call edx
mov ecx, eax
lea eax, [ebx - 1]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], 0xffffffff
cmp eax, edi
jl 0x49fde3
mov esi, dword [esp + 0x38]
movzx esi, byte [eax + esi]
mov edx, eax
shr edx, 2
mov ebx, dword [ecx + edx*4]
lea edx, [ecx + edx*4]
shl ebx, 8
add esi, ebx
dec eax
mov dword [edx], esi
jns 0x49fdc6
xor ebx, ebx
xor esi, esi
cmp dword [esp + 0x14], edi
je 0x49fe33
lea ecx, [ecx]
xor edx, edx
mov eax, ebx
div dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
add esi, edi
add esi, dword [eax + edx*4]
rol esi, 3
lea eax, [eax + edx*4]
mov dword [esp + 0x38], eax
xor edx, edx
mov eax, ebx
div dword [esp + 0x3c]
inc ebx
lea eax, [ecx + edx*4]
lea ecx, [edi + esi]
add edi, dword [eax]
and ecx, 0x1f
add edi, esi
rol edi, cl
mov ecx, dword [esp + 0x38]
mov dword [ecx], esi
mov ecx, dword [esp + 0x18]
mov dword [eax], edi
cmp ebx, dword [esp + 0x14]
jne 0x49fdf0
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
push 0x20
push ecx
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x4a08c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push esi
mov dword [esp + 4], ecx
push edi
lea ecx, [esp + 0xc]
call fcn.004a0810
mov ecx, dword [esp + 0x24]
xor eax, eax
shr ecx, 1
je 0x4a08f5
mov edx, dword [esp + 0x20]
mov si, word [edx + eax*2]
mov edi, dword [esp + 0xc]
rol si, 8
mov word [edi + eax*2], si
inc eax
cmp eax, ecx
jne 0x4a08e0
push ebx
push ebp
mov ebx, 1
mov eax, 0x10
mov dword [esp + 0x2c], 8
lea esp, [esp]
mov esi, dword [esp + 0x14]
movzx ecx, word [eax + esi - 0x10]
mov edx, ecx
shr ecx, 7
movzx ecx, word [ecx*2 + 0x4f46b0]
and edx, 0x7f
xor cx, dx
movzx edx, byte [edx + str.e23Z_]
movzx edi, cx
mov ecx, ebx
and ecx, 7
movzx ecx, word [esi + ecx*2]
mov ebp, ecx
and ecx, 0x1ff
shr ebp, 9
xor dx, bp
xor dx, di
and dx, 0x7f
xor ecx, edi
movzx ecx, word [ecx*2 + 0x4f46b0]
movzx edx, dx
xor cx, dx
shl edx, 9
or cx, dx
mov word [eax + esi], cx
mov ecx, dword [esp + 0x14]
movzx edx, word [eax + ecx]
shr dx, 9
mov word [eax + ecx + 0x10], dx
mov ecx, dword [esp + 0x14]
movzx edx, word [eax + ecx]
mov esi, 0x1ff
and dx, si
mov word [eax + ecx + 0x20], dx
add eax, 2
inc ebx
dec dword [esp + 0x2c]
jne 0x4a0910
mov ecx, dword [esp + 0x10]
pop ebp
xor eax, eax
pop ebx
lea ebx, [ebx]
movzx edx, byte [eax + 0x4f4b18]
mov edi, dword [esp + 0xc]
movzx edx, word [edi + edx*2]
mov esi, dword [ecx + 0x14]
mov word [esi + eax*2], dx
movzx edx, byte [eax + 0x4f4ab0]
mov edi, dword [esp + 0xc]
movzx edx, word [edi + edx*2]
mov esi, dword [ecx + 0x24]
mov word [esi + eax*2], dx
inc eax
cmp eax, 0x64
jne 0x4a09b0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
push edx
mov edx, dword [esp + 0x10]
push edx
call eax
pop edi
pop esi
add esp, 0x14
ret 8
Function at 0x4a1490
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4dd673
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53132c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x2c], esi
mov eax, 0x20
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 8
lea ecx, [esi + 0x14]
mov dword [esp + 0x38], 0
mov dword [esi], vtable.Botan::GOST_28147_89.0
call fcn.0047f9e0
lea ecx, [esi + 0x24]
mov byte [esp + 0x38], 1
call fcn.00484230
xor esi, esi
xor ecx, ecx
mov edi, 0xb
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edi
mov ebx, ecx
mov ebp, ecx
inc ecx
mov edx, ecx
shr ebx, 1
and ebp, 1
shr edx, 1
and ecx, 1
xor eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
and edi, 0x1f
jmp 0x4a153a
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov ecx, eax
and ecx, 0xf
lea ecx, [ebx + ecx*4]
mov cl, byte [ecx + edx]
movzx ecx, cl
test ebp, ebp
jne 0x4a1557
shr ecx, 4
jmp 0x4a155a
and ecx, 0xf
mov ebp, dword [esp + 0x24]
mov ebx, eax
shr ebx, 4
cmp dword [esp + 0x28], 0
lea ebx, [ebp + ebx*4]
mov dl, byte [ebx + edx]
movzx edx, dl
jne 0x4a1579
shr edx, 4
jmp 0x4a157c
and edx, 0xf
movzx ebx, dl
movzx edx, cl
shl ebx, 4
or ebx, edx
mov edx, dword [esp + 0x2c]
mov ecx, edi
rol ebx, cl
mov ecx, dword [edx + 0x14]
inc eax
add esi, 4
mov dword [esi + ecx - 4], ebx
cmp eax, 0x100
jne 0x4a1532
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add edi, 8
add ecx, 2
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edi
cmp edi, 0x2b
jne 0x4a150a
mov eax, edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x4a1e50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [esp + 0x14], 0x18
mov dword [esp + 0x10], 0x20
nop
mov edx, edi
and edx, 3
mov ecx, 3
sub ecx, edx
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov edx, eax
shr edx, cl
mov ebp, 0xffffff
inc edi
movzx ecx, dl
movzx edx, byte [ecx + 0x504800]
mov ebx, dword [edx*4 + 0x504900]
mov ecx, esi
rol ebx, cl
add esi, 8
xor ebx, eax
mov eax, 0xffffff
sar eax, cl
mov ecx, dword [esp + 0x10]
sub dword [esp + 0x10], 8
shl ebp, cl
mov ecx, dword [esp + 0x14]
shl edx, cl
sub ecx, 8
or eax, ebp
and eax, ebx
or eax, edx
mov dword [esp + 0x14], ecx
cmp esi, 0x20
jne 0x4a1e70
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x4a1ee0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x18]
push ebx
push ebp
lea eax, [edx*8]
mov ecx, 0x20
sub ecx, eax
push esi
mov ebp, 0xffffff
shl ebp, cl
mov ecx, eax
mov esi, 0xffffff
sar esi, cl
mov ecx, 3
sub ecx, edx
add ecx, ecx
push edi
xor edi, edi
or ebp, esi
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x2c]
mov ebx, dword [ebx + 4]
xor edx, edx
xor esi, esi
mov eax, edi
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x4a1f94
mov ecx, dword [esp + 0x28]
and ecx, 3
mov ebp, 3
sub ebp, ecx
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx]
add ebp, ebp
add ebp, ebp
add ebp, ebp
mov ebx, dword [edi]
mov ecx, ebp
shr ebx, cl
add edi, 4
movzx ecx, bl
xor ecx, eax
movzx eax, byte [ecx + 0x504800]
mov ecx, dword [esp + 0x28]
mov ebx, dword [eax*4 + 0x504900]
add ecx, ecx
add ecx, ecx
add ecx, ecx
add ecx, esi
rol ebx, cl
inc esi
xor edx, ebx
cmp esi, dword [esp + 0x14]
jb 0x4a1f55
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
shl eax, cl
mov esi, ebp
and esi, edx
mov edx, dword [esp + 0x24]
mov edx, dword [edx]
or eax, esi
mov dword [edx + edi*4], eax
inc edi
mov dword [esp + 0x10], edi
cmp edi, 0x100
jne 0x4a1f26
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret