joyce8/EMBER2024-capa huggingface dataset:
Function at 0x555bcc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor ebx, ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x555bf0
cmp eax, 0
jbe 0x555cf9
jmp 0x555bf6
jle 0x555cf9
mov eax, dword [ebp + 8]
add eax, 0xffffff04
xor ecx, ecx
mov edx, 0xf8
call fcn.00403b7c
mov eax, dword [ebp + 8]
lea edx, [eax - 0x13c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
mov ecx, 0x40
mov esi, dword [eax]
call dword [esi + 0xc]
cmp eax, 0x40
jne 0x555cf9
mov eax, dword [ebp + 8]
cmp word [eax - 0x13c], 0x5a4d
jne 0x555cf9
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x100]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0x14]
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x100]
jne 0x555cf9
mov eax, dword [ebp + 8]
lea edx, [eax - 0xfc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
mov ecx, 4
mov esi, dword [eax]
call dword [esi + 0xc]
cmp eax, 4
jne 0x555cf9
mov eax, dword [ebp + 8]
cmp dword [eax - 0xfc], 0x4550
jne 0x555cf9
mov eax, dword [ebp + 8]
lea edx, [eax - 0xf8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
mov ecx, 0x14
mov esi, dword [eax]
call dword [esi + 0xc]
cmp eax, 0x14
jne 0x555cf9
mov eax, dword [ebp + 8]
cmp word [eax - 0xf8], 0x14c
jne 0x555cf9
mov eax, dword [ebp + 8]
movzx ecx, word [eax - 0xe8]
mov eax, dword [ebp + 8]
lea edx, [eax - 0xe4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp + 8]
movzx edx, word [edx - 0xe8]
cmp eax, edx
jne 0x555cf9
mov bl, 1
mov eax, ebx
pop esi
pop ebx
pop ebp
ret

Function at 0x556348
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor edx, edx
mov eax, dword [ebp + 8]
movzx eax, word [eax - 0xf6]
test ax, ax
jbe 0x556428
mov edx, dword [ebp + 8]
movzx eax, ax
dec eax
test eax, eax
jl 0x556426
inc eax
mov dword [ebp - 4], eax
xor ebx, ebx
mov esi, ebx
add esi, esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*8 + 0xc]
xor edx, edx
test eax, 0x20000000
je 0x5563be
test eax, 0x40000000
je 0x5563aa
test eax, 0x80000000
je 0x5563a5
or edx, 0x40
jmp 0x5563e5
or edx, 0x20
jmp 0x5563e5
test eax, 0x80000000
je 0x5563b9
or edx, 0x80
jmp 0x5563e5
or edx, 0x10
jmp 0x5563e5
test eax, 0x40000000
je 0x5563d6
test eax, 0x80000000
je 0x5563d1
or edx, 4
jmp 0x5563e5
or edx, 2
jmp 0x5563e5
test eax, 0x80000000
je 0x5563e2
or edx, 8
jmp 0x5563e5
or edx, 1
test eax, 0x4000000
je 0x5563f2
or edx, 0x200
mov eax, dword [ebp + 8]
add eax, 0xfffffebc
push eax
push edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*8 + 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*8]
push eax
call sub.kernel32.dll_VirtualProtect
inc ebx
dec dword [ebp - 4]
jne 0x556378
mov dl, 1
mov eax, edx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x559470
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
push ecx
mov ebx, 0x5d8d38
test edx, edx
jne 0x559483
xor eax, eax
jmp 0x559598
mov dword [esp], 1
cmp byte [esp], 0
je 0x5594a0
push ecx
push edx
push eax
call fcn.0055959c
add esp, 0xc
jmp 0x559598
push ecx
push edx
push eax
call fcn.0055985c
add esp, 0xc
jmp 0x559598
pop edx
pop esi
pop ebx
ret
Function at 0x55b108
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x3c]
sub eax, dword [ebx + 0x74]
sub eax, dword [ebx + 0x6c]
mov dword [ebp - 8], eax
jmp 0x55b143
mov edx, dword [ebx + 0x2c]
sub edx, 0x106
add edx, esi
cmp edx, dword [ebx + 0x6c]
ja 0x55b1c4
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov edi, esi
add edx, edi
push edx
push eax
call fcn.005587c8
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], edi
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x55b191
mov cx, word [ebp - 4]
sub cx, si
jmp 0x55b193
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x55b17a
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x55b1b9
mov cx, word [ebp - 4]
sub cx, si
jmp 0x55b1bb
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x55b1a2
add dword [ebp - 8], esi
mov edi, dword [ebx]
cmp dword [edi + 4], 0
je 0x55b226
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebx + 0x38]
add edx, dword [ebx + 0x6c]
add edx, dword [ebx + 0x74]
push edx
push edi
call fcn.0055add4
add esp, 0xc
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x55b211
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x6c]
movzx eax, byte [ecx + eax]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x55b226
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x55b117
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x561b90
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403b7c
ret

Function at 0x563b24
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405860
xor eax, eax
push ebp
push 0x563b9f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040b434
mov eax, dword [ebp - 8]
call fcn.00405870
push eax
call sub.IMAGEHLP.DLL_MakeSureDirectoryPathExists
push 0
mov eax, dword [ebp - 4]
call fcn.00405870
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.00405870
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x563ba6
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405404
ret
Function at 0x5698e4
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5699b0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x5699c8
call fcn.00405478
mov ebx, 1
mov esi, 0x40
push esi
push ebx
push 0x5699f4
push 0
lea eax, [ebp - 0xc]
push eax
call sub.advapi32.dll_CryptAcquireContextA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
xor eax, eax
push ebp
push 0x56998b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 0xd], 0
je 0x56995e
mov eax, dword [ebp - 8]
add eax, 8
push eax
push 8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CryptGenRandom
test eax, eax
jne 0x56996c
call fcn.005697cc
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x569992
cmp byte [ebp - 0xd], 0
je 0x56998a
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CryptReleaseContext
ret

Function at 0x569d28
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe8
mov edi, edx
mov esi, eax
test esi, esi
je 0x569d95
test edi, edi
je 0x569d95
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, edi
mov edx, dword [eax]
call dword [edx]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp]
mov edx, dword [esp + 4]
cmp edx, dword [esp + 0xc]
jne 0x569d6a
cmp eax, dword [esp + 8]
jae 0x569d7d
jmp 0x569d6c
jge 0x569d7d
mov eax, dword [esp]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
jmp 0x569d8d
mov eax, dword [esp + 8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ebx, eax
jmp 0x569d97
xor ebx, ebx
test ebx, ebx
jle 0x569dde
mov edx, dword [esi + 4]
mov ecx, dword [edi + 4]
mov eax, ebx
test eax, eax
jns 0x569daa
add eax, 3
sar eax, 2
dec eax
test eax, eax
jl 0x569dc0
inc eax
mov esi, dword [ecx]
xor dword [edx], esi
add edx, 4
add ecx, 4
dec eax
jne 0x569db3
mov eax, ebx
and eax, 0x80000003
jns 0x569dce
dec eax
or eax, 0xfffffffc
inc eax
dec eax
test eax, eax
jl 0x569dde
inc eax
movzx ebx, byte [ecx]
xor byte [edx], bl
inc edx
inc ecx
dec eax
jne 0x569dd4
add esp, 0x18
pop edi
pop esi
pop ebx
ret
Function at 0x569de8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffd0
mov edi, ecx
mov esi, edx
mov ebx, eax
test ebx, ebx
je 0x569eb3
test esi, esi
je 0x569eb3
test edi, edi
je 0x569eb3
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
cmp edx, dword [esp + 0x14]
jne 0x569e3e
cmp eax, dword [esp + 0x10]
jae 0x569e52
jmp 0x569e40
jge 0x569e52
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
jmp 0x569e62
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, edi
mov edx, dword [eax]
call dword [edx]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x24]
jne 0x569e86
cmp eax, dword [esp + 0x20]
jae 0x569e9a
jmp 0x569e88
jge 0x569e9a
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
jmp 0x569eaa
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
jmp 0x569eb8
xor eax, eax
mov dword [esp], eax
cmp dword [esp], 0
jle 0x569f14
mov edx, dword [ebx + 4]
mov ecx, dword [esi + 4]
mov ebx, dword [edi + 4]
mov eax, dword [esp]
test eax, eax
jns 0x569ed1
add eax, 3
sar eax, 2
dec eax
test eax, eax
jl 0x569eec
inc eax
mov esi, dword [ecx]
xor esi, dword [ebx]
mov dword [edx], esi
add edx, 4
add ecx, 4
add ebx, 4
dec eax
jne 0x569eda
mov esi, edx
mov edx, ecx
mov ecx, ebx
mov eax, dword [esp]
and eax, 0x80000003
jns 0x569f01
dec eax
or eax, 0xfffffffc
inc eax
dec eax
test eax, eax
jl 0x569f14
inc eax
movzx ebx, byte [edx]
xor bl, byte [ecx]
mov byte [esi], bl
inc esi
inc edx
inc ecx
dec eax
jne 0x569f07
add esp, 0x30
pop edi
pop esi
pop ebx
ret
Function at 0x56d3b4
Capabilities:
Encode data using xor
Encrypt data using hc-128

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], edx
mov ebx, 0x10
mov edx, eax
mov ecx, dword [esp]
mov esi, dword [edx]
mov dword [ecx], esi
add ecx, 4
add edx, 4
dec ebx
jne 0x56d3c6
mov ebx, 0x30
mov eax, dword [esp]
add eax, 0x38
mov ecx, dword [eax]
mov edx, ecx
shr edx, 0x11
mov esi, ecx
shl esi, 0xf
or edx, esi
mov esi, ecx
shr esi, 0x13
mov edi, ecx
shl edi, 0xd
or esi, edi
xor edx, esi
shr ecx, 0xa
xor edx, ecx
mov ecx, dword [eax - 0x34]
mov esi, ecx
shr esi, 7
mov edi, ecx
shl edi, 0x19
or esi, edi
mov edi, ecx
shr edi, 0x12
mov ebp, ecx
shl ebp, 0xe
or edi, ebp
xor esi, edi
shr ecx, 3
xor esi, ecx
mov ecx, esi
add edx, dword [eax - 0x14]
add ecx, edx
add ecx, dword [eax - 0x38]
mov edx, ecx
mov dword [eax + 8], edx
add eax, 4
dec ebx
jne 0x56d3de
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x56d43c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
add esp, 0xffffffd0
mov esi, edx
mov dword [esp], eax
mov ebx, 0x10
mov edx, dword [esp]
mov ecx, esi
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
add ecx, 8
add edx, 8
dec ebx
jne 0x56d450
mov ebx, 0x40
lea ecx, [esi + 0x70]
mov eax, dword [ecx]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
shrd eax, edx, 0x13
shr edx, 0x13
push edx
push eax
mov edx, dword [esp + 0x18]
shl edx, 0xd
xor eax, eax
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [esp + 0x1c]
shr eax, 0x1d
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
shld edx, eax, 3
add eax, eax
add eax, eax
add eax, eax
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
shrd eax, edx, 6
shr edx, 6
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov eax, dword [ecx - 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [ecx - 0x64]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
shrd eax, edx, 1
shr edx, 1
push edx
push eax
mov edx, dword [esp + 0x28]
shl edx, 0x1f
xor eax, eax
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
shrd eax, edx, 8
shr edx, 8
push edx
push eax
mov edx, dword [esp + 0x30]
shl edx, 0x18
xor eax, eax
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
shrd eax, edx, 7
shr edx, 7
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add eax, dword [ecx - 0x28]
adc edx, dword [ecx - 0x24]
add eax, dword [esp + 0x28]
adc edx, dword [esp + 0x2c]
add eax, dword [ecx - 0x70]
adc edx, dword [ecx - 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 8]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0xc]
mov dword [ecx + 0x14], eax
add ecx, 8
dec ebx
jne 0x56d46b
add esp, 0x30
pop esi
pop ebx
ret
Function at 0x56d5b8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp], edx
mov dword [esp + 8], 0x40
mov ebx, 0x5dcf28
mov edx, dword [esp]
mov ecx, dword [eax + 0x10]
mov esi, ecx
shr esi, 6
mov edi, ecx
shl edi, 0x1a
or esi, edi
mov edi, ecx
shr edi, 0xb
mov ebp, ecx
shl ebp, 0x15
or edi, ebp
xor esi, edi
mov edi, ecx
shr edi, 0x19
shl ecx, 7
or edi, ecx
xor esi, edi
mov ecx, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov dword [esp + 0xc], edi
mov edi, dword [eax + 0x18]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0xc]
and edi, ecx
not ecx
and ecx, dword [esp + 0x10]
xor edi, ecx
mov ecx, edi
add esi, dword [eax + 0x1c]
add ecx, esi
add ecx, dword [ebx]
add ecx, dword [edx]
mov dword [esp + 4], ecx
mov ecx, dword [eax]
mov esi, ecx
shr esi, 2
mov edi, ecx
shl edi, 0x1e
or esi, edi
mov edi, ecx
shr edi, 0xd
mov ebp, ecx
shl ebp, 0x13
or edi, ebp
xor esi, edi
mov edi, ecx
shr edi, 0x16
shl ecx, 0xa
or edi, ecx
xor esi, edi
mov dword [esp + 0x14], esi
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov edi, dword [eax + 8]
mov dword [esp + 0x18], edi
mov edi, esi
and edi, ecx
and ecx, dword [esp + 0x18]
xor edi, ecx
and esi, dword [esp + 0x18]
xor edi, esi
mov ecx, edi
add ecx, dword [esp + 0x14]
mov esi, dword [eax + 0x18]
mov dword [eax + 0x1c], esi
mov esi, dword [eax + 0x14]
mov dword [eax + 0x18], esi
mov esi, dword [eax + 0x10]
mov dword [eax + 0x14], esi
mov esi, dword [eax + 0xc]
add esi, dword [esp + 4]
mov dword [eax + 0x10], esi
mov esi, dword [eax + 8]
mov dword [eax + 0xc], esi
mov esi, dword [eax + 4]
mov dword [eax + 8], esi
mov esi, dword [eax]
mov dword [eax + 4], esi
add ecx, dword [esp + 4]
mov dword [eax], ecx
add edx, 4
add ebx, 4
dec dword [esp + 8]
jne 0x56d5d2
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5725ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 4
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x18], eax
xor eax, eax
mov esi, 4
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 4]
movzx ebx, byte [ecx]
movzx edi, byte [edx]
shl edi, 5
lea edi, [edi*8 + 0x5dd484]
xor al, byte [edi + ebx]
inc ecx
inc edx
dec esi
jne 0x5725db
mov edx, dword [ebp - 0x18]
mov byte [edx], al
inc dword [ebp - 0x18]
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5725ce
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], eax
mov ecx, 4
lea eax, [ebp - 8]
lea edx, [ebp - 4]
movzx ebx, byte [eax]
movzx ebx, byte [ebx + 0x5ddba4]
mov byte [edx], bl
inc edx
inc eax
dec ecx
jne 0x572c51
mov eax, dword [ebp - 4]
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x572fa8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor ecx, ecx
lea ebx, [ecx + edx]
mov esi, dword [eax + 0x10]
mov ebx, dword [esi + ebx*4 + 0x14]
xor dword [eax + ecx*4 + 0x14], ebx
inc ecx
cmp ecx, 4
jne 0x572fac
pop esi
pop ebx
ret
Function at 0x5807d4
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov esi, ecx
mov edi, edx
mov dword [esp], eax
mov eax, edi
call fcn.00406a98
mov dword [esp + 4], eax
cmp dword [esp + 4], 2
jge 0x580808
mov ecx, 0x137
mov edx, 0x580950
mov eax, 0x580994
call fcn.0040530c
mov eax, dword [esp + 4]
mov ebx, dword [edi + eax*4 - 4]
mov eax, dword [esi]
call fcn.00406a98
cmp eax, dword [esp + 4]
je 0x580837
mov eax, dword [esp + 4]
push eax
mov eax, esi
mov ecx, 1
mov edx, dword [0x407b30]
call fcn.00406c54
add esp, 4
mov ecx, dword [esp + 4]
add ecx, ecx
add ecx, ecx
mov edx, dword [esi]
mov eax, edi
call fcn.004032f0
xor eax, eax
mov dword [esp + 8], eax
mov eax, 0x34
cdq
idiv dword [esp + 4]
add eax, 5
cmp eax, 0
jb 0x58093e
mov dword [esp + 0x10], eax
add dword [esp + 8], 0x9e3779b9
mov eax, dword [esp + 8]
shr eax, 2
and eax, 3
mov dword [esp + 0xc], eax
mov eax, dword [esp + 4]
sub eax, 2
test eax, eax
jb 0x5808de
inc eax
mov dword [esp + 0x14], eax
xor eax, eax
mov edx, dword [esi]
mov edx, dword [edx + eax*4 + 4]
mov ecx, ebx
shr ecx, 5
mov edi, edx
add edi, edi
add edi, edi
xor ecx, edi
mov edi, edx
shr edi, 3
mov ebp, ebx
shl ebp, 4
xor edi, ebp
add ecx, edi
mov edi, eax
and edi, 3
xor edi, dword [esp + 0xc]
mov ebp, dword [esp]
xor ebx, dword [ebp + edi*4]
xor edx, dword [esp + 8]
add ebx, edx
xor ecx, ebx
mov edx, ecx
mov ecx, dword [esi]
mov ebx, dword [ecx + eax*4]
add ebx, edx
mov edx, dword [esi]
mov dword [edx + eax*4], ebx
inc eax
dec dword [esp + 0x14]
jne 0x580890
mov eax, dword [esi]
mov eax, dword [eax]
mov edx, ebx
shr edx, 5
mov ecx, eax
add ecx, ecx
add ecx, ecx
xor edx, ecx
mov ecx, eax
shr ecx, 3
mov edi, ebx
shl edi, 4
xor ecx, edi
add edx, ecx
mov ecx, dword [esp + 4]
dec ecx
and ecx, 3
xor ecx, dword [esp + 0xc]
mov edi, dword [esp]
xor ebx, dword [edi + ecx*4]
xor eax, dword [esp + 8]
add ebx, eax
xor edx, ebx
mov eax, edx
mov edx, dword [esi]
mov ecx, dword [esp + 4]
mov ebx, dword [edx + ecx*4 - 4]
add ebx, eax
mov eax, dword [esi]
mov edx, dword [esp + 4]
mov dword [eax + edx*4 - 4], ebx
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0xffffffff
jne 0x580868
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5809a8
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov esi, ecx
mov ebx, edx
mov dword [esp], eax
mov eax, ebx
call fcn.00406a98
mov dword [esp + 4], eax
cmp dword [esp + 4], 2
jge 0x5809dc
mov ecx, 0x159
mov edx, 0x580b1c
mov eax, 0x580b60
call fcn.0040530c
mov eax, dword [esi]
call fcn.00406a98
cmp eax, dword [esp + 4]
je 0x580a03
mov eax, dword [esp + 4]
push eax
mov eax, esi
mov ecx, 1
mov edx, dword [0x407b30]
call fcn.00406c54
add esp, 4
mov ecx, dword [esp + 4]
add ecx, ecx
add ecx, ecx
mov edx, dword [esi]
mov eax, ebx
call fcn.004032f0
mov eax, 0x34
xor edx, edx
div dword [esp + 4]
add eax, 6
imul eax, eax, 0x9e3779b9
mov dword [esp + 8], eax
mov eax, dword [esi]
mov edx, dword [eax]
cmp dword [esp + 8], 0
je 0x580b0c
mov eax, dword [esp + 8]
shr eax, 2
and eax, 3
mov dword [esp + 0xc], eax
mov eax, dword [esp + 4]
dec eax
cmp eax, 1
jb 0x580aa3
mov ecx, dword [esi]
mov ecx, dword [ecx + eax*4 - 4]
mov ebx, ecx
shr ebx, 5
mov edi, edx
add edi, edi
add edi, edi
xor ebx, edi
mov edi, edx
shr edi, 3
mov ebp, ecx
shl ebp, 4
xor edi, ebp
add ebx, edi
mov edi, eax
and edi, 3
xor edi, dword [esp + 0xc]
mov ebp, dword [esp]
xor ecx, dword [ebp + edi*4]
xor edx, dword [esp + 8]
add ecx, edx
xor ebx, ecx
mov dword [esp + 0x10], ebx
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
sub edx, dword [esp + 0x10]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
dec eax
test eax, eax
jne 0x580a53
mov eax, dword [esi]
mov ecx, dword [esp + 4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
shr eax, 5
mov ecx, edx
add ecx, ecx
add ecx, ecx
xor eax, ecx
mov ecx, edx
shr ecx, 3
mov ebx, dword [esp + 0x14]
shl ebx, 4
xor ecx, ebx
add eax, ecx
mov ecx, dword [esp + 0xc]
xor ecx, 0
mov ebx, dword [esp]
mov ecx, dword [ebx + ecx*4]
xor ecx, dword [esp + 0x14]
xor edx, dword [esp + 8]
add ecx, edx
xor eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov edx, dword [eax]
sub edx, dword [esp + 0x18]
mov eax, dword [esi]
mov dword [eax], edx
sub dword [esp + 8], 0x9e3779b9
cmp dword [esp + 8], 0
jne 0x580a3b
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret