joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e813
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x42e950]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41e853
cmp byte [ebx], 0xa
jne 0x41e853
or byte [eax + edi + 0x28], 4
jmp 0x41e858
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41e956
mov al, byte [edx]
cmp al, 0x1a
je 0x41e938
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41e887
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41e8ac
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41e8b6
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41e869
jmp 0x41e956
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x41e933
cmp dword [ebp - 0xc], 0
je 0x41e933
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x42e950]
test byte [eax + edi + 0x28], 0x48
je 0x41e90d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41e8f8
mov byte [esi], dl
jmp 0x41e909
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x42e950]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41e956
cmp byte [ebp - 1], 0xa
jne 0x41e91c
cmp esi, ebx
jne 0x41e91c
mov byte [esi], 0xa
jmp 0x41e955
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00418388
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41e956
mov byte [esi], 0xd
jmp 0x41e955
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x42e950]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41e952
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41e956
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41e95f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x42e950]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41e9a2
cmp word [esi], dx
jne 0x41e9a2
or byte [edi + eax + 0x28], 4
jmp 0x41e9a7
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41eafa
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41eada
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41e9e9
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41ea1f
cmp eax, edx
jae 0x41ea2b
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41e9c1
jmp 0x41eafa
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x41ead6
cmp dword [ebp - 0x14], 0
je 0x41ead6
mov eax, dword [ebx*4 + 0x42e950]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41eaae
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41ea77
mov word [esi], cx
jmp 0x41eaaa
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x42e950]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x42e950]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x42e950]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41eafa
pop ebx
cmp word [ebp - 4], bx
jne 0x41eabf
cmp esi, dword [ebp + 0xc]
jne 0x41eabf
mov word [esi], bx
jmp 0x41eaf7
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00418388
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41eafa
push 0xd
jmp 0x41eaf3
mov ecx, dword [ebx*4 + 0x42e950]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41eaf1
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41eafa
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40c828
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407067
mov dword [ebp - 0x14], eax
cmp dword [0x8143b4], esi
jne 0x40c91b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c8a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c9fb
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c9fb
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c9fb
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x8143b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x8143b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x8143bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8143c4], eax
test eax, eax
je 0x40c918
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8143c0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c940
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c933
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c955
push 4
pop eax
jmp 0x40c9fd
cmp dword [ebp - 0x14], esi
je 0x40c955
push dword [0x8143b4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c93a
mov eax, dword [0x8143c0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c9b3
cmp dword [0x8143c4], edi
je 0x40c9b3
push eax
call ebx
push dword [0x8143c4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c9b3
test eax, eax
je 0x40c9b3
call ecx
test eax, eax
je 0x40c9a8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c9a8
test byte [ebp - 8], 1
jne 0x40c9b3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c9e3
mov eax, dword [0x8143b8]
cmp eax, edi
je 0x40c9e0
push eax
call ebx
test eax, eax
je 0x40c9e0
call eax
mov esi, eax
test esi, esi
je 0x40c9e0
mov eax, dword [0x8143bc]
cmp eax, edi
je 0x40c9e0
push eax
call ebx
test eax, eax
je 0x40c9e0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x8143b4]
call ebx
test eax, eax
je 0x40c9fb
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c9fd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403f7b
mov esp, ebp
pop ebp
ret
Function at 0x13123f5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, 0x5a4d
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
cmp word [esi], ax
jne 0x1312558
mov ebx, dword [esi + 0x3c]
add ebx, esi
cmp dword [ebx], 0x4550
jne 0x1312558
mov eax, dword [edi + 0x688]
test eax, eax
je 0x1312558
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push 0xffffffffffffffff
call eax
test eax, eax
je 0x1312558
mov eax, 0x1c0
cmp word [ebp - 4], ax
je 0x131245d
mov eax, 0xaa64
cmp word [ebp - 4], ax
jne 0x1312558
cmp dword [ebx + 8], 0x27debf2c
jne 0x1312488
push 0x4b2e8f83
push 0x4b2e8de3
push 0x4b280000
mov edx, esi
mov ecx, edi
call fcn.0131236f
add esp, 0xc
xor eax, eax
jmp 0x131255d
cmp dword [ebx + 8], 0x88330560
jne 0x131249d
push 0x4b3fabde
push 0x4b3fa92b
jmp 0x1312470
cmp dword [ebx + 8], 0xe892dd44
jne 0x13124b2
push 0x4b406b8e
push 0x4b4068db
jmp 0x1312470
and dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push 0
push 1
push ecx
push 0x2bcd03a7
push esi
mov ecx, edi
call fcn.01312d7d
test eax, eax
js 0x131255d
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1312558
lea eax, [ebx - 0x140]
mov dword [ebp - 0x1c], 0x3f3f3fe8
push 8
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x18], 0x843f
push ecx
mov edx, 0x140
mov byte [ebp - 0x16], 0xc0
mov ecx, eax
mov dword [ebp - 0x24], 0x1b8
mov word [ebp - 0x20], 0x8400
mov byte [ebp - 0x1e], 0xc0
mov dword [ebp - 0x10], eax
call fcn.01313315
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1312528
mov ecx, dword [ebp - 0x10]
mov edx, 0x140
jmp 0x1312545
push 7
lea eax, [ebp - 0x1c]
mov edx, 0x200
push eax
mov ecx, ebx
call fcn.01313315
test eax, eax
jne 0x1312562
mov edx, 0x200
mov ecx, ebx
push 8
lea eax, [ebp - 0x24]
push eax
call fcn.01313315
test eax, eax
jne 0x1312481
mov eax, 0xe0010001
pop edi
pop esi
pop ebx
leave
ret
push eax
push dword [ebp - 0x14]
push esi
jmp 0x1312475

Function at 0x131319d
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x13131bb
mov eax, dword [ecx + 0x3c]
cmp eax, 0x400
jg 0x13131bb
add eax, ecx
cmp dword [eax], 0x4550
je 0x13131bd
xor eax, eax
ret
Function at 0x1316570
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov edx, 1
push ebx
push esi
push edi
xor esi, esi
mov eax, edx
mov dword [ebp + esi*4 - 0x808], edx
and al, 0x80
mov dword [ebp + edx*4 - 0x408], esi
movzx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
inc esi
and ecx, 0x1b
xor ecx, eax
xor ecx, edx
movzx edx, cl
cmp esi, 0x100
jl 0x1316583
mov esi, 1
mov edx, 0x131da98
nop dword [eax]
mov eax, esi
mov dword [edx], esi
and al, 0x80
movzx ecx, al
lea eax, [esi + esi]
neg ecx
sbb ecx, ecx
add edx, 4
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
cmp edx, 0x131dac0
jl 0x13165c0
mov eax, 1
mov byte [0x131b898], 0x63
mov byte [0x131c9fb], 0
mov dword [ebp - 4], eax
nop dword [eax]
mov ecx, dword [ebp + eax*4 - 0x408]
lea eax, [ebp - 0x40c]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
shr ecx, 7
add eax, eax
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
add eax, eax
shr ecx, 7
or ecx, eax
movzx edx, cl
mov ecx, edx
shr ecx, 7
lea eax, [edx + edx]
or ecx, eax
xor ecx, 0x63
movzx eax, cl
xor eax, edx
xor ebx, eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x131b898], bl
mov byte [ebx + 0x131c998], al
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x100
jl 0x1316600
mov ebx, 0xff
xor esi, esi
mov dword [ebp - 8], ebx
movzx edx, byte [esi + 0x131b898]
mov eax, edx
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx eax, cl
mov ecx, eax
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, eax
mov dword [esi*4 + 0x131b998], ecx
rol ecx, 8
mov dword [esi*4 + 0x131bd98], ecx
rol ecx, 8
mov dword [esi*4 + 0x131c198], ecx
rol ecx, 8
mov dword [esi*4 + 0x131c598], ecx
movzx ecx, byte [esi + 0x131c998]
test ecx, ecx
je 0x131672f
mov ecx, dword [ebp + ecx*4 - 0x408]
mov eax, dword [ebp - 0x3d0]
add eax, ecx
cdq
idiv ebx
mov eax, dword [ebp - 0x3e4]
add eax, ecx
mov edi, dword [ebp + edx*4 - 0x808]
cdq
idiv ebx
mov eax, dword [ebp - 0x3d4]
add eax, ecx
mov ebx, dword [ebp + edx*4 - 0x808]
cdq
idiv dword [ebp - 8]
mov eax, dword [ebp + edx*4 - 0x808]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x3dc]
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov eax, dword [ebp + edx*4 - 0x808]
jmp 0x1316738
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ebx
xor eax, eax
shl eax, 8
xor eax, dword [ebp - 4]
shl eax, 8
xor eax, ebx
mov ebx, 0xff
shl eax, 8
xor eax, edi
mov dword [esi*4 + 0x131ca98], eax
rol eax, 8
mov dword [esi*4 + 0x131ce98], eax
rol eax, 8
mov dword [esi*4 + 0x131d298], eax
rol eax, 8
mov dword [esi*4 + 0x131d698], eax
inc esi
cmp esi, 0x100
jl 0x1316675
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1316790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x18
test al, 0xf
je 0x13167a6
mov eax, 0xffffffde
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x13168fa
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
jne 0x1316842
mov ebx, dword [ebp + 0x18]
lea edx, [ecx + 0xf]
dec eax
mov dword [ebp - 8], edx
mov edi, ecx
shr eax, 4
sub edi, esi
inc eax
mov dword [ebp + 0x10], eax
movups xmm0, xmmword [ebx]
push esi
push ebx
push dword [ebp + 8]
movups xmmword [ebp - 0x18], xmm0
call fcn.01317ac0
add esp, 0xc
cmp esi, dword [ebp - 8]
ja 0x1316813
lea eax, [esi + 0xf]
cmp eax, dword [ebp + 0x14]
jb 0x1316813
mov ecx, esi
mov edx, 0x10
nop
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x1316800
mov eax, dword [ebp + 0x14]
jmp 0x1316823
mov eax, dword [ebp + 0x14]
movups xmm0, xmmword [esi]
movups xmm1, xmmword [eax]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
movups xmm0, xmmword [ebp - 0x18]
add esi, 0x10
add ebx, 0x10
sub edi, 0x10
sub dword [ebp + 0x10], 1
movups xmmword [eax], xmm0
jne 0x13167d6
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x18]
lea edx, [eax - 1]
mov ebx, ecx
shr edx, 4
sub ebx, edi
mov dword [ebp - 4], esi
inc edx
mov dword [ebp + 0x10], ebx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
nop dword [eax]
lea eax, [edi + 0xf]
cmp esi, eax
ja 0x131686e
lea eax, [esi + 0xf]
cmp eax, edi
jae 0x131687c
lea eax, [ecx + 0xf]
cmp esi, eax
ja 0x13168ad
lea eax, [esi + 0xf]
cmp eax, ecx
jb 0x13168ad
mov ebx, esi
mov ecx, edi
mov esi, dword [ebp + 0x10]
sub ebx, edi
mov edx, 0x10
nop word [eax + eax]
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub edx, 1
jne 0x1316890
mov esi, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
jmp 0x13168ba
movups xmm1, xmmword [ecx]
movups xmm0, xmmword [edi]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
cmp dword [ebp + 0xc], 1
push esi
push esi
push edx
jne 0x13168ca
call fcn.01318050
jmp 0x13168cf
call fcn.01317ac0
movups xmm0, xmmword [esi]
mov ecx, dword [ebp + 0x14]
sub ebx, 0x10
mov edx, dword [ebp + 8]
add esi, 0x10
add esp, 0xc
mov dword [ebp + 0x10], ebx
add edi, 0x10
mov dword [ebp - 4], esi
sub dword [ebp - 8], 1
movups xmmword [ecx], xmm0
jne 0x1316860
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1316940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
push edi
push dword [ebp + 0x10]
xor eax, eax
lea edi, [ebp - 0x118]
push dword [ebp + 0xc]
mov ecx, 0x46
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
lea esi, [edi + 8]
mov dword [edi + 4], esi
call fcn.01316b40
add esp, 0xc
mov dword [ebp + 8], eax
test eax, eax
jne 0x1316b34
mov ecx, dword [ebp - 0x118]
mov dword [edi], ecx
shl ecx, 4
add ecx, dword [ebp - 0x114]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
sub ecx, 0x10
mov dword [esi + 0xc], eax
add esi, 0x10
mov edi, dword [edi]
dec edi
test edi, edi
jle 0x1316b1b
push ebx
nop dword [eax]
movzx eax, byte [ecx + 3]
dec edi
movzx edx, byte [eax + 0x131b898]
movzx eax, byte [ecx + 2]
mov edx, dword [edx*4 + 0x131d698]
movzx eax, byte [eax + 0x131b898]
xor edx, dword [eax*4 + 0x131d298]
movzx eax, byte [ecx + 1]
movzx eax, byte [eax + 0x131b898]
xor edx, dword [eax*4 + 0x131ce98]
movzx eax, byte [ecx]
movzx eax, byte [eax + 0x131b898]
xor edx, dword [eax*4 + 0x131ca98]
mov dword [esi], edx
mov ebx, dword [ecx + 4]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x131b898]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x131d298]
movzx eax, byte [eax + 0x131b898]
xor edx, dword [eax*4 + 0x131ce98]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x131b898]
xor edx, dword [eax*4 + 0x131d698]
movzx eax, bl
movzx eax, byte [eax + 0x131b898]
xor edx, dword [eax*4 + 0x131ca98]
mov dword [esi + 4], edx
mov ebx, dword [ecx + 8]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x131b898]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x131d298]
movzx eax, byte [eax + 0x131b898]
xor edx, dword [eax*4 + 0x131ce98]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x131b898]
xor edx, dword [eax*4 + 0x131d698]
movzx eax, bl
movzx eax, byte [eax + 0x131b898]
xor edx, dword [eax*4 + 0x131ca98]
mov dword [esi + 8], edx
mov ebx, dword [ecx + 0xc]
mov eax, ebx
shr eax, 0x10
sub ecx, 0x10
movzx eax, al
movzx edx, byte [eax + 0x131b898]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x131d298]
movzx eax, byte [eax + 0x131b898]
xor edx, dword [eax*4 + 0x131ce98]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x131b898]
xor edx, dword [eax*4 + 0x131d698]
movzx eax, bl
movzx eax, byte [eax + 0x131b898]
xor edx, dword [eax*4 + 0x131ca98]
mov dword [esi + 0xc], edx
add esi, 0x10
test edi, edi
jg 0x13169c0
pop ebx
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1318ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], 0xa438
mov eax, dword [ebp - 0x34]
xor eax, 0x64
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0x34]
inc eax
xor eax, 0x62
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x34]
add eax, 2
xor eax, 0x67
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x34]
add eax, 3
xor eax, 0x68
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x34]
add eax, 4
xor eax, 0x65
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x34]
add eax, 5
xor eax, 0x6c
mov word [ebp - 0x26], ax
mov eax, dword [ebp - 0x34]
add eax, 6
xor eax, 0x70
mov word [ebp - 0x24], ax
mov eax, dword [ebp - 0x34]
add eax, 7
xor eax, 0x2e
mov word [ebp - 0x22], ax
mov eax, dword [ebp - 0x34]
add eax, 8
xor eax, 0x64
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x34]
add eax, 9
xor eax, 0x6c
mov word [ebp - 0x1e], ax
mov eax, dword [ebp - 0x34]
add eax, 0xa
xor eax, 0x6c
mov word [ebp - 0x1c], ax
xor eax, eax
mov word [ebp - 0x1a], ax
xor edx, edx
mov ax, word [ebp - 0x30]
mov ax, word [ebp + edx*2 - 0x30]
mov ecx, dword [ebp - 0x34]
add ecx, edx
movzx eax, ax
xor ecx, eax
mov word [ebp + edx*2 - 0x30], cx
inc edx
cmp edx, 0xb
jb 0x1318b53
push esi
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [edi + 0x69c]
call eax
mov esi, eax
test esi, esi
jne 0x1318b95
pop edi
mov eax, 0xe0d00721
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x18], 0x63
xor edx, edx
mov byte [ebp - 0x14], 0x2e
mov byte [ebp - 0x13], 0xa
mov byte [ebp - 0x12], 0xd
mov byte [ebp - 0x11], 0xa
mov byte [ebp - 0x10], 0x27
mov byte [ebp - 0xf], 0x16
mov byte [ebp - 0xe], 0xe
mov byte [ebp - 0xd], 0x13
mov byte [ebp - 0xc], 0x34
mov byte [ebp - 0xb], 0x11
mov byte [ebp - 0xa], 0xa
mov byte [ebp - 9], 0x17
mov byte [ebp - 8], 6
mov byte [ebp - 7], 0x27
mov byte [ebp - 6], 0x16
mov byte [ebp - 5], 0xe
mov byte [ebp - 4], 0x13
mov al, byte [ebp - 0x14]
mov byte [ebp - 3], 0
nop dword [eax]
mov al, byte [ebp + edx - 0x14]
movsx ecx, byte [ebp - 0x18]
movsx eax, al
xor eax, ecx
mov byte [ebp + edx - 0x14], al
inc edx
cmp edx, 0x11
jb 0x1318bf0
lea eax, [ebp - 0x14]
mov byte [ebp - 3], 0
push eax
mov eax, dword [edi + 0x6a4]
push esi
call eax
mov ecx, eax
test ecx, ecx
jne 0x1318c29
pop edi
mov eax, 0xe0d00728
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
pop esi
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x131aba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
xor ecx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x20]
mov word [edi], cx
test eax, eax
je 0x131adac
push ebx
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x131adab
mov ecx, 0xd962
mov edx, 0xd977
nop word [eax + eax]
mov dword [ebp - 0x2c], 0xd947
mov eax, 0xd975
mov word [ebp - 0x28], cx
mov word [ebp - 0x26], dx
mov word [ebp - 0x24], ax
mov eax, 0xd91f
mov word [ebp - 0x22], ax
xor eax, eax
mov word [ebp - 0x20], ax
xor edx, edx
mov ax, word [ebp - 0x28]
nop dword [eax]
mov ax, word [ebp + edx*2 - 0x28]
movzx ecx, ax
movzx eax, word [ebp - 0x2c]
xor ecx, eax
mov word [ebp + edx*2 - 0x28], cx
inc edx
cmp edx, 4
jb 0x131ac10
xor eax, eax
mov word [ebp - 0x20], ax
movsx eax, byte [esi + ebx + 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [esi + 0x768]
call eax
add esp, 0xc
cmp word [edi], 0
jne 0x131aca4
mov dword [ebp - 0x1c], 0x9ee5
mov eax, 0x9ec0
mov word [ebp - 0x18], ax
mov eax, 0x9e89
mov word [ebp - 0x16], ax
mov eax, 0x9e96
mov word [ebp - 0x14], ax
xor eax, eax
mov word [ebp - 0x12], ax
xor edx, edx
mov ax, word [ebp - 0x18]
nop dword [eax]
mov ax, word [ebp + edx*2 - 0x18]
movzx ecx, ax
movzx eax, word [ebp - 0x1c]
xor ecx, eax
mov word [ebp + edx*2 - 0x18], cx
inc edx
cmp edx, 3
jb 0x131ac80
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x18]
jmp 0x131ad09
mov dword [ebp - 0x10], 0xe6d3
mov eax, dword [ebp - 0x10]
xor eax, 0x25
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0x10]
inc eax
xor eax, 0x6c
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x10]
add eax, 2
xor eax, 0x73
mov word [ebp - 8], ax
mov eax, dword [ebp - 0x10]
add eax, 3
xor eax, 0x2d
mov word [ebp - 6], ax
xor eax, eax
mov word [ebp - 4], ax
mov ax, word [ebp - 0xc]
xor eax, eax
mov cx, word [ebp + eax*2 - 0xc]
mov edx, dword [ebp - 0x10]
add edx, eax
movzx ecx, cx
xor edx, ecx
mov word [ebp + eax*2 - 0xc], dx
inc eax
cmp eax, 4
jb 0x131ace6
xor eax, eax
mov word [ebp - 4], ax
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 0x454]
push eax
mov eax, dword [esi + 0x768]
call eax
mov dword [ebp - 0x40], 0xfde4
mov eax, 0xfdc1
mov word [ebp - 0x3c], ax
mov ecx, 0xfd88
mov word [ebp - 0x3a], cx
mov edx, 0xfd97
mov word [ebp - 0x38], dx
add esp, 0xc
mov word [ebp - 0x36], ax
xor eax, eax
mov word [ebp - 0x34], cx
mov word [ebp - 0x32], dx
xor edx, edx
mov word [ebp - 0x30], ax
mov ax, word [ebp - 0x3c]
nop word [eax + eax]
mov ax, word [ebp + edx*2 - 0x3c]
movzx ecx, ax
movzx eax, word [ebp - 0x40]
xor ecx, eax
mov word [ebp + edx*2 - 0x3c], cx
inc edx
cmp edx, 6
jb 0x131ad60
xor eax, eax
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [esi + 0x768]
push edi
call eax
mov ecx, 0xd962
add esp, 0x10
lea edx, [ecx + 0x15]
sub ebx, 1
jne 0x131abe0
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret