joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10026660
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
cmp dword [eax + 4], 0xe
ja case.default.0x10026671
mov ecx, dword [eax + 4]
jmp dword [ecx*4 + 0x100dda5c]
mov eax, dword [eax + 0xc]
bswap eax
mov dword [edx], eax
repz ret
mov eax, dword [eax + 0xc]
not eax
bswap eax
mov dword [edx], eax
ret
mov dword [esp + 8], edx
mov eax, dword [eax]
mov dword [esp + 4], eax
jmp sym.avutil_56.dll_av_md5_final
mov dword [esp + 8], edx
mov eax, dword [eax]
mov dword [esp + 4], eax
jmp sym.avutil_56.dll_av_murmur3_final
mov dword [esp + 8], edx
mov eax, dword [eax]
mov dword [esp + 4], eax
jmp sym.avutil_56.dll_av_ripemd_final
mov dword [esp + 8], edx
mov eax, dword [eax]
mov dword [esp + 4], eax
jmp sym.avutil_56.dll_av_sha_final
mov dword [esp + 8], edx
mov eax, dword [eax]
mov dword [esp + 4], eax
jmp sym.avutil_56.dll_av_sha512_final

Function at 0x10026c60
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebx
sub esp, 0x90
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
cmp dword [ebx + 4], esi
jae 0x10026d1d
mov eax, dword [ebx]
mov dword [esp], eax
call dword [ebx + 0x14]
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov eax, dword [ebx]
mov dword [esp], eax
call dword [ebx + 0x10]
lea eax, [ebx + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [ebx + 0x98], eax
mov eax, dword [ebx]
mov dword [esp], eax
call dword [ebx + 0x14]
mov ecx, dword [ebx + 0x98]
test ecx, ecx
jle 0x10026d3b
lea esi, [esp + 0x10]
xor eax, eax
nop
movzx edx, byte [ebx + eax + 0x18]
xor edx, 0x36
mov byte [esi + eax], dl
add eax, 1
cmp eax, ecx
jne 0x10026cd0
mov edi, dword [ebx + 4]
cmp edi, ecx
jle 0x10026d03
mov eax, edi
mov dword [esp + 4], 0x36
sub eax, ecx
add ecx, esi
mov dword [esp + 8], eax
mov dword [esp], ecx
call sub.msvcrt.dll_memset
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov eax, dword [ebx]
mov dword [esp], eax
call dword [ebx + 0x10]
add esp, 0x90
pop ebx
pop esi
pop edi
ret
lea eax, [ebx + 0x18]
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov dword [ebx + 0x98], esi
jmp 0x10026cb7
lea esi, [esp + 0x10]
jmp 0x10026ce2
Function at 0x10026d60
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov ebx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb8]
mov esi, dword [esp + 0xb4]
cmp dword [ebx + 8], eax
ja 0x10026e20
mov dword [esp + 4], esi
mov eax, dword [ebx]
mov dword [esp], eax
call dword [ebx + 0xc]
mov eax, dword [ebx]
mov dword [esp], eax
call dword [ebx + 0x14]
mov ecx, dword [ebx + 0x98]
test ecx, ecx
jle 0x10026e27
lea edi, [esp + 0x10]
xor eax, eax
movzx edx, byte [ebx + eax + 0x18]
xor edx, 0x5c
mov byte [edi + eax], dl
add eax, 1
cmp eax, ecx
jne 0x10026db0
mov ebp, dword [ebx + 4]
cmp ecx, ebp
jge 0x10026de3
mov eax, ebp
mov dword [esp + 4], 0x5c
sub eax, ecx
add ecx, edi
mov dword [esp + 8], eax
mov dword [esp], ecx
call sub.msvcrt.dll_memset
mov dword [esp + 8], ebp
mov dword [esp + 4], edi
mov eax, dword [ebx]
mov dword [esp], eax
call dword [ebx + 0x10]
mov eax, dword [ebx + 8]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], eax
call dword [ebx + 0x10]
mov dword [esp + 4], esi
mov eax, dword [ebx]
mov dword [esp], eax
call dword [ebx + 0xc]
mov eax, dword [ebx + 8]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0xffffffea
jmp 0x10026e15
lea edi, [esp + 0x10]
jmp 0x10026dc2

Function at 0x10026e30
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebx
sub esp, 0x90
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0xac]
cmp esi, dword [ebx + 4]
jbe 0x10026f2c
mov eax, dword [ebx]
mov dword [esp], eax
call dword [ebx + 0x14]
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov eax, dword [ebx]
mov dword [esp], eax
call dword [ebx + 0x10]
lea eax, [ebx + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [ebx + 0x98], eax
mov eax, dword [ebx]
mov dword [esp], eax
call dword [ebx + 0x14]
mov ecx, dword [ebx + 0x98]
test ecx, ecx
jle 0x10026f4a
lea esi, [esp + 0x10]
xor eax, eax
movzx edx, byte [ebx + eax + 0x18]
xor edx, 0x36
mov byte [esi + eax], dl
add eax, 1
cmp eax, ecx
jne 0x10026ea3
mov edi, dword [ebx + 4]
cmp ecx, edi
jge 0x10026ed6
mov eax, edi
mov dword [esp + 4], 0x36
sub eax, ecx
add ecx, esi
mov dword [esp + 8], eax
mov dword [esp], ecx
call sub.msvcrt.dll_memset
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov eax, dword [ebx]
mov dword [esp], eax
call dword [ebx + 0x10]
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call dword [ebx + 0x10]
mov eax, dword [esp + 0xb8]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
call sym.avutil_56.dll_av_hmac_final
add esp, 0x90
pop ebx
pop esi
pop edi
ret
lea eax, [ebx + 0x18]
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov dword [ebx + 0x98], esi
jmp 0x10026e87
lea esi, [esp + 0x10]
jmp 0x10026eb5
Function at 0x10027c30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x48]
mov eax, dword [esi + 0x178]
mov ecx, dword [ebx + 0x178]
test eax, eax
je 0x10027cf5
test ecx, ecx
mov edx, dword [eax + 4]
je 0x10027cc1
mov eax, dword [ecx + 4]
cmp edx, eax
je 0x10027d00
mov edi, dword [edx + 4]
mov dword [esp + 0x1c], edi
mov edi, dword [edi + 0xc]
test edi, edi
je 0x10027c80
cmp eax, dword [edi + 4]
je 0x10027d20
mov edi, dword [edx + 0x24]
cmp dword [esi + 0x50], edi
je 0x10027d60
mov ecx, dword [ebx + 0x50]
cmp dword [eax + 0x24], ecx
jne 0x10027d50
mov edx, dword [eax + 4]
mov edx, dword [edx]
mov edx, dword [edx + 0x4c]
test edx, edx
je 0x10027d50
mov dword [esp + 0xc], ebp
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call edx
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edx + 0x24]
cmp dword [esi + 0x50], eax
jne 0x10027d50
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x10027d50
mov dword [esp + 0xc], ebp
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], edx
call eax
cmp eax, 0xffffffd8
jne 0x10027cb9
mov ecx, dword [ebx + 0x178]
test ecx, ecx
je 0x10027d50
mov eax, dword [ecx + 4]
jmp 0x10027c8c
mov edi, dword [edx + 0x28]
cmp dword [esi + 0x50], edi
jne 0x10027c69
mov edi, dword [edx + 0x24]
cmp dword [ebx + 0x50], edi
jne 0x10027c69
nop
lea esi, [esi]
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x10027d72
mov esi, dword [eax + 4]
mov dword [esp], ebx
call sym.avutil_56.dll_av_frame_unref
mov eax, dword [esi]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp sym.avutil_56.dll_av_frame_ref
mov eax, 0xffffffd8
jmp 0x10027cb9
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x10027cf9
jmp 0x10027cd9
mov dword [esp + 8], str.Invalid_mapping_found_when_attempting_unmap._n
mov dword [esp + 4], 0x10
mov dword [esp], edx
call sym.avutil_56.dll_av_log
mov eax, 0xffffffea
jmp 0x10027cb9
Function at 0x10030a00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
rol esi, cl
inc ebp
stc
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.1003067d
push eax
push esi
push dword [ebp + 8]
call fcn.10030632
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1003067d
push eax
push esi
push dword [ebp + 8]
call fcn.10030632
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1003067d
push eax
push esi
push dword [ebp + 8]
call fcn.10030632
add esp, 0x30
Function at 0x10034840
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
imul dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, ecx
imul dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
jmp sym.avutil_56.dll_av_rescale_rnd
Function at 0x10035c70
Capabilities:
Hash data with md5

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x64
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x50], 0x10325476
mov dword [esp + 0x54], 0x98badcfe
mov dword [esp + 0x58], 0xefcdab89
mov eax, esi
lea ecx, [esi + 0x3f]
mov edx, edi
sar eax, 0x1f
test esi, esi
mov dword [esp + 0x5c], 0x67452301
cmovns ecx, esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x50]
sar ecx, 6
mov dword [esp + 8], esi
call fcn.10035210
mov eax, esi
and eax, 0x3f
je 0x10035d00
mov edx, esi
lea ecx, [esp + 0x10]
and edx, 0xffffffc0
add edi, edx
cmp eax, 4
mov edx, edi
jae 0x10035e90
xor esi, esi
test al, 2
jne 0x10035eb1
test al, 1
jne 0x10035ec4
nop
lea esi, [esi]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov esi, eax
mov edi, edx
shld edi, eax, 3
shl esi, 3
mov dword [esp], esi
mov esi, eax
mov dword [esp + 4], edi
add esi, 1
mov edi, edx
adc edi, 0
and eax, 0x3f
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
je 0x10035e40
cmp eax, 0x3f
mov byte [esp + eax + 0x10], pe_nt_image_headers32
je 0x10035e60
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x3f
cmp ecx, 0x38
je 0x10035db0
add eax, 1
adc edx, 0
test ecx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
je 0x10035d95
cmp ecx, 0x3f
mov byte [esp + ecx + 0x10], 0
jne 0x10035d43
lea edx, [esp + 0x10]
lea eax, [esp + 0x50]
mov ecx, 1
call fcn.10035210
lea eax, [esp + 0x50]
xor ecx, ecx
mov edx, 0x100df933
call fcn.10035210
jmp 0x10035d43
lea eax, [esp + 0x50]
xor ecx, ecx
mov edx, 0x100df932
call fcn.10035210
mov byte [esp + 0x10], 0
jmp 0x10035d43
mov ecx, dword [esp]
add eax, 8
mov esi, esp
mov dword [esp + 8], eax
lea eax, [esp + 0x48]
adc edx, 0
mov dword [esp + 0xc], edx
mov edx, esp
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x4c]
sub eax, ecx
sub esi, eax
add eax, 8
cmp eax, 4
jb 0x10035df7
and eax, 0xfffffffc
xor edi, edi
mov ebp, dword [esi + edi]
mov dword [ecx + edi], ebp
add edi, 4
cmp edi, eax
jb 0x10035dea
lea esi, [edx + 8]
lea eax, [esp + 0x50]
lea edx, [esp + 0x10]
mov ecx, 1
call fcn.10035210
lea eax, [esp + 0x50]
mov edx, esi
xor ecx, ecx
call fcn.10035210
mov eax, dword [esp + 0x5c]
mov dword [ebx], eax
mov eax, dword [esp + 0x58]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x54]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x50]
mov dword [ebx + 0xc], eax
add esp, 0x64
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x50]
xor ecx, ecx
mov edx, 0x100df930
call fcn.10035210
mov byte [esp + 0x10], pe_nt_image_headers32
jmp 0x10035d43
lea edx, [esp + 0x10]
lea eax, [esp + 0x50]
mov ecx, 1
call fcn.10035210
lea eax, [esp + 0x50]
xor ecx, ecx
mov edx, 0x100df931
call fcn.10035210
jmp 0x10035d43
and esi, 0x3c
xor edx, edx
mov ecx, dword [edi + edx]
mov dword [esp + edx + 0x10], ecx
add edx, 4
cmp edx, esi
jb 0x10035e95
lea esi, [esp + 0x10]
lea ecx, [esi + edx]
add edx, edi
jmp 0x10035ce6
movzx esi, word [edx]
test al, 1
mov word [ecx], si
mov esi, 2
je 0x10035d00
movzx eax, byte [edx + esi]
mov byte [ecx + esi], al
jmp 0x10035d00
Function at 0x1003c9e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test ecx, ecx
je 0x1003ca11
cmp dword [ecx + 0xc], 0
jne 0x1003ca11
test byte [ecx + 0x28], 0x80
jne 0x1003ca11
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov edx, eax
pop ebx
jmp fcn.1003b8b0
mov eax, 0xffffffea
pop ebx
ret

Function at 0x1003ca20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test ecx, ecx
je 0x1003ca51
cmp dword [ecx + 0xc], 1
jne 0x1003ca51
test byte [ecx + 0x28], 0x80
jne 0x1003ca51
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov edx, eax
pop ebx
jmp fcn.1003b8b0
mov eax, 0xffffffea
pop ebx
ret

Function at 0x1003ca60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test ecx, ecx
je 0x1003ca91
cmp dword [ecx + 0xc], 2
jne 0x1003ca91
test byte [ecx + 0x28], 0x80
jne 0x1003ca91
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov edx, eax
pop ebx
jmp fcn.1003b8b0
mov eax, 0xffffffea
pop ebx
ret

Function at 0x1003caa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test ecx, ecx
je 0x1003cad1
cmp dword [ecx + 0xc], 4
jne 0x1003cad1
test byte [ecx + 0x28], 0x80
jne 0x1003cad1
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov edx, eax
pop ebx
jmp fcn.1003b8b0
mov eax, 0xffffffea
pop ebx
ret

Function at 0x1003cae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test ecx, ecx
je 0x1003cb11
cmp dword [ecx + 0xc], 3
jne 0x1003cb11
test byte [ecx + 0x28], 0x80
jne 0x1003cb11
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov edx, eax
pop ebx
jmp fcn.1003b8b0
mov eax, 0xffffffea
pop ebx
ret

Function at 0x1003cb20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test ecx, ecx
je 0x1003cb51
cmp dword [ecx + 0xc], 6
jne 0x1003cb51
test byte [ecx + 0x28], 0x80
jne 0x1003cb51
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov edx, eax
pop ebx
jmp fcn.1003b8b0
mov eax, 0xffffffea
pop ebx
ret
Function at 0x10044630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
movzx ebx, byte [edx + 0x104]
mov edi, dword [edx + 0x100]
test eax, eax
mov dword [esp + 8], edi
mov ecx, edi
mov byte [esp + 3], bl
lea ebx, [eax - 1]
mov dword [esp + 0xc], ebx
jle 0x100446db
movzx ecx, cl
add eax, ebp
movzx ecx, byte [edx + ecx]
mov dword [esp + 4], eax
mov eax, edi
mov byte [esp + 2], al
movzx edi, al
nop
lea esi, [esi]
movzx eax, byte [esp + 3]
add ebp, 1
lea esi, [eax + edx]
movzx ebx, byte [esi]
mov byte [esi], cl
lea eax, [ebx + ecx]
mov ecx, dword [esp + 0x2c]
mov byte [edx + edi], bl
movzx ebx, al
test ecx, ecx
movzx eax, byte [edx + ebx]
je 0x100446b2
mov edi, dword [esp + 0x2c]
xor al, byte [edi]
lea ebx, [edi + 1]
mov dword [esp + 0x2c], ebx
add byte [esp + 2], 1
mov byte [ebp - 1], al
movzx edi, byte [esp + 2]
movzx ecx, byte [edx + edi]
add byte [esp + 3], cl
cmp ebp, dword [esp + 4]
jne 0x10044680
movzx eax, byte [esp + 8]
movzx esi, byte [esp + 0xc]
lea ecx, [eax + esi + 1]
movzx eax, byte [esp + 3]
movzx ecx, cl
mov dword [edx + 0x100], ecx
mov dword [edx + 0x104], eax
add esp, 0x10
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x1005a590
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x10
mov edi, dword [eax]
mov ebx, dword [ecx]
mov dword [esp + 0xc], edx
mov edx, dword [eax + 0x40]
mov ecx, dword [ecx + 4]
mov dword [esp], edi
mov edi, dword [eax + 4]
bswap ebx
bswap ecx
mov dword [esp + 4], edi
mov edi, dword [eax + 8]
mov dword [esp + 8], edi
mov edi, dword [eax + 0xc]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1005a640
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
sar ebp, 1
test ebp, ebp
jle 0x1005a621
imul ebp, ebp, 0x9e3779b9
xor esi, esi
lea esi, [esi]
mov edx, dword [esp]
mov eax, ecx
sub esi, 0x61c88647
shl eax, 4
add edx, eax
mov eax, ecx
shr eax, 5
add eax, dword [esp + 4]
xor eax, edx
lea edx, [ecx + esi]
xor eax, edx
mov edx, dword [esp + 8]
add ebx, eax
mov eax, ebx
shl eax, 4
add edx, eax
mov eax, ebx
shr eax, 5
add eax, edi
xor eax, edx
lea edx, [esi + ebx]
xor eax, edx
add ecx, eax
cmp ebp, esi
jne 0x1005a5e0
mov eax, dword [esp + 0xc]
bswap ebx
bswap ecx
mov dword [eax], ebx
mov dword [eax + 4], ecx
add esp, 0x10
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, edx
shr eax, 0x1f
add edx, eax
sar edx, 1
imul esi, edx, 0x9e3779b9
test edx, edx
jle 0x1005a621
imul edx, edx, 0x61c88647
lea ebp, [edx + esi]
lea esi, [esi]
mov edx, dword [esp + 8]
mov eax, ebx
shl eax, 4
add edx, eax
mov eax, ebx
shr eax, 5
add eax, edi
xor eax, edx
lea edx, [ebx + esi]
xor eax, edx
mov edx, dword [esp]
sub ecx, eax
mov eax, ecx
shl eax, 4
add edx, eax
mov eax, ecx
shr eax, 5
add eax, dword [esp + 4]
xor eax, edx
lea edx, [ecx + esi]
add esi, 0x61c88647
xor eax, edx
sub ebx, eax
cmp ebp, esi
jne 0x1005a660
jmp 0x1005a621
Function at 0x1005a700
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x14
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
test edx, edx
jne 0x1005a7c0
test ebx, ebx
mov esi, dword [esp + 0x38]
je 0x1005a7b0
nop
lea esi, [esi]
test esi, esi
je 0x1005a8d0
movzx eax, byte [edi]
mov edx, ebp
mov ecx, ebp
xor al, byte [esi]
mov byte [ebp], al
movzx eax, byte [edi + 1]
xor al, byte [esi + 1]
mov byte [ebp + 1], al
movzx eax, byte [edi + 2]
xor al, byte [esi + 2]
mov byte [ebp + 2], al
movzx eax, byte [edi + 3]
xor al, byte [esi + 3]
mov byte [ebp + 3], al
movzx eax, byte [edi + 4]
xor al, byte [esi + 4]
mov byte [ebp + 4], al
movzx eax, byte [edi + 5]
xor al, byte [esi + 5]
mov byte [ebp + 5], al
movzx eax, byte [edi + 6]
xor al, byte [esi + 6]
mov byte [ebp + 6], al
movzx eax, byte [edi + 7]
xor al, byte [esi + 7]
mov byte [ebp + 7], al
mov eax, dword [esp + 0x28]
mov dword [esp], 0
call fcn.1005a590
mov eax, dword [ebp]
mov edx, dword [ebp + 4]
mov dword [esi], eax
mov dword [esi + 4], edx
add edi, 8
add ebp, 8
sub ebx, 1
jne 0x1005a730
add esp, 0x14
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebx - 1]
test ebx, ebx
mov dword [esp + 0x10], eax
je 0x1005a7b0
mov dword [esp + 0x2c], ebp
nop
mov eax, dword [esp + 0x28]
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
mov eax, dword [eax]
bswap ebx
bswap ecx
mov edx, eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x40]
mov ebp, eax
shr ebp, 0x1f
add ebp, eax
sar ebp, 1
imul esi, ebp, 0x9e3779b9
test ebp, ebp
jle 0x1005a875
mov dword [esp + 0x30], edi
mov edi, edx
imul ebp, ebp, 0x61c88647
add ebp, esi
lea esi, [esi]
mov edx, dword [esp + 8]
mov eax, ebx
shl eax, 4
add edx, eax
mov eax, ebx
shr eax, 5
add eax, dword [esp + 0xc]
xor eax, edx
lea edx, [ebx + esi]
xor eax, edx
sub ecx, eax
mov eax, ecx
shl eax, 4
lea edx, [eax + edi]
mov eax, ecx
shr eax, 5
add eax, dword [esp + 4]
xor eax, edx
lea edx, [ecx + esi]
add esi, 0x61c88647
xor eax, edx
sub ebx, eax
cmp ebp, esi
jne 0x1005a830
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1005a8a0
mov eax, dword [esp + 0x38]
mov edx, dword [edi + 4]
mov esi, dword [esp + 0x38]
mov eax, dword [eax]
bswap eax
xor ebx, eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
bswap eax
xor ecx, eax
mov eax, dword [edi]
mov dword [esi + 4], edx
mov dword [esi], eax
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x10], 1
bswap ebx
bswap ecx
add edi, 8
add dword [esp + 0x2c], 8
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x1005a7d0
add esp, 0x14
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x28]
mov dword [esp], 0
mov ecx, edi
mov edx, ebp
call fcn.1005a590
jmp 0x1005a7a5
Function at 0x1005cb70
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
lea esi, [eax + 0x20]
sub esp, 0x18
mov edi, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x14], edx
mov edx, dword [ecx]
mov ecx, dword [ecx + 0xc]
xor ecx, dword [eax + 0xc]
xor edx, dword [eax]
xor edi, dword [eax + 4]
xor ebx, dword [eax + 8]
mov dword [esp + 0xc], ecx
lea ecx, [eax + 0xa0]
mov dword [esp + 4], edi
mov dword [esp], edx
mov dword [esp + 8], ebx
mov dword [esp + 0x10], ecx
lea esi, [esi]
mov ebx, edx
movzx ecx, dl
mov edi, dword [esp + 4]
shr ebx, 0x18
mov ecx, dword [eax + ecx*4 + 0xb4]
xor ecx, dword [eax + ebx*4 + 0xcb4]
movzx ebx, dh
xor ecx, dword [eax + ebx*4 + 0x4b4]
mov ebx, edx
rol edi, 8
shr ebx, 0x10
mov ebp, edi
mov edx, edi
movzx ebx, bl
shr ebp, 0x18
xor ecx, dword [eax + ebx*4 + 0x8b4]
mov ebx, edi
shr edi, 0x10
movzx ebx, bl
mov ebx, dword [eax + ebx*4 + 0xb4]
xor ebx, dword [eax + ebp*4 + 0xcb4]
movzx ebp, dh
mov edx, edi
xor ebx, dword [eax + ebp*4 + 0x4b4]
mov ebp, dword [esp + 0xc]
movzx edi, dl
mov edx, dword [esi]
xor ebx, dword [eax + edi*4 + 0x8b4]
rol ebp, 1
add edx, ecx
add ecx, dword [esi + 4]
mov edi, edx
add edi, ebx
xor edi, dword [esp + 8]
lea ecx, [ecx + ebx*2]
ror edi, 1
xor ecx, ebp
mov edx, edi
mov ebp, ecx
mov dword [esp + 0xc], ecx
mov ebx, edx
movzx ecx, dl
mov dword [esp + 8], edi
shr ebx, 0x18
mov ecx, dword [eax + ecx*4 + 0xb4]
xor ecx, dword [eax + ebx*4 + 0xcb4]
movzx ebx, dh
xor ecx, dword [eax + ebx*4 + 0x4b4]
mov ebx, edx
mov edx, ebp
rol edx, 8
shr ebx, 0x10
movzx ebx, bl
mov edi, edx
mov ebp, edx
xor ecx, dword [eax + ebx*4 + 0x8b4]
shr ebp, 0x18
shr edi, 0x10
movzx ebx, dl
mov ebx, dword [eax + ebx*4 + 0xb4]
xor ebx, dword [eax + ebp*4 + 0xcb4]
movzx ebp, dh
mov edx, edi
xor ebx, dword [eax + ebp*4 + 0x4b4]
movzx edi, dl
mov edx, dword [esi + 8]
xor ebx, dword [eax + edi*4 + 0x8b4]
add edx, ecx
mov edi, edx
mov edx, dword [esp]
add edi, ebx
xor edx, edi
mov edi, dword [esp + 4]
ror edx, 1
add ecx, dword [esi + 0xc]
add esi, 0x10
mov dword [esp], edx
rol edi, 1
lea ecx, [ecx + ebx*2]
xor ecx, edi
cmp dword [esp + 0x10], esi
mov dword [esp + 4], ecx
jne 0x1005cbb0
mov esi, dword [esp + 8]
xor esi, dword [eax + 0x10]
mov edi, ecx
xor edx, dword [eax + 0x18]
xor edi, dword [eax + 0x1c]
mov ecx, dword [esp + 0xc]
xor ecx, dword [eax + 0x14]
mov eax, esi
mov esi, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], edi
add esp, 0x18
pop ebx
pop esi
pop edi
pop ebp
ret