joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a32f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x6ab100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
cmp eax, 6
ja case.default.0x4a3311
jmp dword [eax*4 + 0x4a3540]
lea eax, [ebp - 0x310]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x104
ja case.default.0x4a3311
lea eax, [ebp - 0x310]
push eax
call fcn.0049f210
mov esi, eax
lea eax, [ebp - 0x108]
push 0x104
push eax
push esi
call fcn.0049f4d0
push esi
call fcn.0049eec0
lea eax, [ebp - 0x108]
push eax
call fcn.004a1990
add esp, 0x18
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e8cbe
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x104
lea ecx, [ebp - 0x310]
push ecx
push 0
push eax
call sub.KERNEL32.dll_K32GetModuleFileNameExW
lea eax, [ebp - 0x310]
push eax
call fcn.0049f210
mov esi, eax
lea eax, [ebp - 0x108]
push 0x104
push eax
push esi
call fcn.0049f4d0
push esi
call fcn.0049eec0
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.005e9f90
add esp, 0x1c
test eax, eax
je case.default.0x4a3311
mov byte [eax], 0
lea eax, [ebp - 0x108]
push eax
call fcn.004a1990
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e8cbe
mov esp, ebp
pop ebp
ret
mov edi, 0x1a
jmp 0x4a3408
mov edi, 0x28
jmp 0x4a3408
mov edi, 5
lea eax, [ebp - 0x310]
push eax
push 0
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne case.default.0x4a3311
lea eax, [ebp - 0x310]
push eax
call fcn.0049f210
mov esi, eax
lea eax, [ebp - 0x108]
push 0x104
push eax
push esi
call fcn.0049f4d0
push esi
call fcn.0049eec0
lea eax, [ebp - 0x108]
push eax
call fcn.004a1990
mov esi, eax
add esp, 0x18
test esi, esi
je case.default.0x4a3311
push ebx
cmp edi, 0x1a
jne 0x4a349d
call fcn.00480130
mov edi, eax
call fcn.00480120
mov ebx, eax
test ebx, ebx
je 0x4a34b0
cmp byte [ebx], 0
je 0x4a34b0
test edi, edi
je 0x4a3493
cmp byte [edi], 0
je 0x4a3493
push edi
push esi
call fcn.004a1830
add esp, 8
push ebx
push esi
call fcn.004a1830
add esp, 8
pop ebx
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e8cbe
mov esp, ebp
pop ebp
ret
push esi
call fcn.004a19e0
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e8cbe
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x104
lea ecx, [ebp - 0x310]
push ecx
push 0
push eax
call sub.KERNEL32.dll_K32GetModuleFileNameExW
lea eax, [ebp - 0x310]
push eax
call fcn.0049f210
mov esi, eax
lea eax, [ebp - 0x108]
push 0x104
push eax
push esi
call fcn.0049f4d0
push esi
call fcn.0049eec0
lea eax, [ebp - 0x108]
push eax
call fcn.004a18e0
add esp, 0x18
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e8cbe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.005e8cbe
mov esp, ebp
pop ebp
ret
Function at 0x4a6f60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ebp - 8], ecx
movzx ecx, word [eax + 8]
lea edi, [ebx + 3]
mov esi, ecx
and edi, 0xfffffffc
cmp ecx, 8
jae 0x4a6f92
mov eax, 8
xor edx, edx
div esi
mov esi, eax
jmp 0x4a6f95
shr esi, 3
push str.read_RGB_paletted_image
imul edi, esi
push str.C:dev_allegro_winpkguniversal_allegro_addonsimage_bmp.c
push 0x2e0
push edi
call fcn.0048b6d0
mov esi, eax
add esp, 0x10
mov dword [ebp + 0x10], esi
test esi, esi
jne 0x4a6ff2
push str.read_RGB_paletted_image
push 0x2e3
push str.C:dev_allegro_winpkguniversal_allegro_addonsimage_bmp.c
push 2
push dword [0x6aa6d8]
call fcn.0048b2f0
add esp, 0x14
test al, al
je 0x4a6fe9
push str.Failed_to_allocate_pixel_row_buffer_n
call fcn.0048b4d0
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 8]
mov eax, edi
sar eax, 0x1f
and eax, 2
dec eax
mov dword [ebp - 0xc], eax
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 8], eax
test eax, eax
jle 0x4a7086
xor eax, eax
lea ecx, [edi - 1]
test edi, edi
cmovns eax, ecx
mov dword [ebp - 4], eax
nop dword [eax]
mov ecx, dword [ebp + 0x18]
push 0
push ebx
mov edi, dword [ecx + 8]
imul edi, eax
add edi, dword [ecx]
push edi
push esi
push dword [ebp + 8]
call dword [ebp + 0x1c]
add esp, 0x14
xor esi, esi
test ebx, ebx
jle 0x4a7074
lea eax, [edi + 2]
mov edi, dword [ebp + 0x10]
movzx ecx, byte [esi + edi]
lea eax, [eax + 4]
mov edx, dword [ebp + 0x14]
inc esi
shl ecx, 4
add edx, ecx
movzx ecx, byte [edx]
mov byte [eax - 6], cl
movzx ecx, byte [edx + 4]
mov byte [eax - 5], cl
movzx ecx, byte [edx + 8]
mov byte [eax - 4], cl
movzx ecx, byte [edx + 0xc]
mov byte [eax - 3], cl
cmp esi, ebx
jl 0x4a7045
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
sub dword [ebp - 8], 1
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
jne 0x4a7020
push str.read_RGB_paletted_image
push str.C:dev_allegro_winpkguniversal_allegro_addonsimage_bmp.c
push 0x2f8
push esi
call fcn.0048b6b0
add esp, 0x10
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fc7b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x140
push 0
push esi
call fcn.005ea9f0
mov edi, dword [ebp + 0xc]
add esp, 0xc
mov ecx, 0x629524
movzx eax, word [edi + 4]
mov edx, dword [ecx]
test dword [ecx - 4], eax
je 0x4fc7e8
mov dword [esi + edx*4 + 0xc0], 0x7fff
jmp 0x4fc7f3
mov dword [esi + edx*4 + 0xc0], 0
add ecx, 0xc
cmp ecx, 0x6295cc
jl 0x4fc7d0
movzx eax, word [edi + 8]
push eax
call fcn.004fc760
fstp dword [esi]
movzx eax, word [edi + 0xa]
push eax
call fcn.004fc760
fstp dword [ebp + 8]
movss xmm0, dword [ebp + 8]
xorps xmm0, xmmword [0x6a3fc0]
movss dword [esi + 4], xmm0
movzx eax, word [edi + 0xc]
push eax
call fcn.004fc760
fstp dword [esi + 0xc]
movzx eax, word [edi + 0xe]
push eax
call fcn.004fc760
fstp dword [ebp + 8]
movss xmm0, dword [ebp + 8]
xorps xmm0, xmmword [0x6a3fc0]
movss dword [esi + 0x10], xmm0
movzx eax, byte [edi + 6]
push eax
call fcn.004fc880
fstp dword [esi + 0x18]
movzx eax, byte [edi + 7]
push eax
call fcn.004fc880
add esp, 0x18
fstp dword [esi + 0x24]
pop edi
pop esi
pop ebp
ret
Function at 0x4fff90
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp byte [0x6d97b0], 0
je 0x5000b6
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
test bl, bl
je 0x4fffc2
push ecx
call fcn.005000c0
mov esi, eax
add esp, 4
test esi, esi
jne 0x4fffd9
cmp ecx, 0x10
jne 0x4fffd2
push 3
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ecx, eax
movzx esi, byte [ecx + 0x62a558]
push 0
push esi
call fcn.00500260
mov eax, esi
add esp, 8
cdq
and edx, 0x1f
add eax, edx
mov edx, esi
sar eax, 5
and edx, 0x8000001f
jns 0x4ffffe
dec edx
or edx, 0xffffffe0
inc edx
mov ecx, dword [eax*4 + 0x6d983c]
btr ecx, edx
mov dword [eax*4 + 0x6d983c], ecx
cmp esi, 0xd7
jne 0x50002b
test byte [0x6d9857], 1
je 0x500051
push dword [ebp + 0x14]
push ebx
push 0xa1
jmp 0x500048
cmp esi, 0xd8
jne 0x500051
test dword [0x6d9854], 0x800000
je 0x500051
push dword [ebp + 0x14]
push ebx
push 0xa0
push edi
call fcn.004fff90
add esp, 0x10
push 0x6d97b8
call fcn.004a16f0
add esp, 4
test al, al
je 0x5000b3
mov dword [ebp - 0x40], 0xc
call fcn.004801d0
mov eax, dword [ebp + 0x14]
fstp qword [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 0
call fcn.00500370
mov eax, dword [0x6d985c]
push 0x6d97b8
mov dword [ebp - 0x24], eax
call fcn.004a1020
lea eax, [ebp - 0x40]
push eax
push 0x6d97b8
call fcn.004a1630
push 0x6d97b8
call fcn.004a10e0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x509b00
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x14]
cmp eax, 0xca
jne 0x509b37
push esi
call fcn.0050da00
add esp, 4
cmp byte [esi + 0x40], 0
je 0x509b2e
pop edi
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
pop ebp
ret
mov dword [esi + 0x14], 0xcb
jmp 0x509b42
cmp eax, 0xcb
jne 0x509bbe
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x509ba8
nop
mov eax, dword [esi + 8]
test eax, eax
je 0x509b5f
mov eax, dword [eax]
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x190]
push esi
mov eax, dword [eax]
call eax
add esp, 4
test eax, eax
je 0x509ba2
cmp eax, 2
je 0x509ba8
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x509b50
cmp eax, 3
je 0x509b87
cmp eax, 1
jne 0x509b50
inc dword [ecx + 4]
mov edx, dword [esi + 8]
mov edi, dword [edx + 8]
cmp dword [ecx + 4], edi
jl 0x509b50
mov eax, dword [esi + 0x11c]
add eax, edi
mov dword [edx + 8], eax
jmp 0x509b50
pop edi
xor al, al
pop esi
pop ebp
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.00509bf0
add esp, 4
pop edi
pop esi
pop ebp
ret
cmp eax, 0xcc
je 0x509be0
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x14
mov ecx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
mov eax, dword [eax]
call eax
add esp, 4
push esi
call fcn.00509bf0
add esp, 4
pop edi
pop esi
pop ebp
ret

Function at 0x509bf0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x14], 0xcc
lea edi, [esi + 0x180]
mov dword [ebp + 8], edi
lea ebx, [esi + 0x78]
je 0x509c27
mov eax, dword [edi]
push esi
mov eax, dword [eax]
call eax
add esp, 4
mov dword [ebx], 0
mov dword [esi + 0x14], 0xcc
jmp 0x509c2a
mov dword [ebp + 8], edi
mov eax, dword [edi]
cmp byte [eax + 8], 0
je 0x509ca2
mov eax, dword [ebx]
cmp eax, dword [esi + 0x60]
jae 0x509c82
nop dword [eax]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x509c5e
mov dword [ecx + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x60]
push esi
mov dword [ecx + 8], eax
mov eax, dword [esi + 8]
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [esi + 0x184]
mov edi, dword [ebx]
push 0
push ebx
mov eax, dword [eax + 4]
push 0
push esi
call eax
mov eax, dword [ebx]
add esp, 0x10
cmp eax, edi
je 0x509cb9
cmp eax, dword [esi + 0x60]
jb 0x509c40
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push esi
mov eax, dword [eax + 4]
call eax
mov eax, dword [edi]
push esi
mov eax, dword [eax]
call eax
mov dword [ebx], 0
add esp, 8
mov eax, dword [edi]
cmp byte [eax + 8], 0
jne 0x509c32
xor eax, eax
cmp byte [esi + 0x41], al
pop edi
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov al, 1
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret
Function at 0x523f30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x100
mov edx, dword [esi + 0x4c]
cmp edx, 1
mov ebx, dword [esi + 0x1a8]
sete al
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], edx
mov byte [ebx + 0x1c], al
mov eax, 0x2fe
push dword [esi + 0x64]
mov ecx, dword [esi + 4]
cmovne eax, edi
push eax
push 1
push esi
mov eax, dword [ecx + 8]
call eax
mov dword [ebx + 0x18], eax
xor edi, edi
mov eax, dword [ebx + 0x14]
add esp, 0x10
cmp dword [esi + 0x64], edi
jle 0x524043
mov ecx, dword [ebx + edi*4 + 0x20]
cdq
idiv ecx
cmp dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
jne 0x523fa1
mov eax, dword [ebx + 0x18]
add dword [eax + edi*4], 0xff
mov eax, dword [ebx + 0x18]
xor ebx, ebx
mov eax, dword [eax + edi*4]
mov dword [ebp - 8], eax
lea eax, [ecx - 1]
push eax
push ebx
push edi
push esi
call fcn.005242d0
add esp, 0x10
mov edx, eax
xor esi, esi
nop
cmp esi, edx
jle 0x523fdd
mov eax, dword [ebp - 0x10]
inc ebx
dec eax
push eax
push ebx
push edi
push dword [ebp + 8]
call fcn.005242d0
mov edx, eax
add esp, 0x10
cmp esi, edx
jg 0x523fc4
mov ecx, dword [ebp - 0xc]
movzx eax, bl
movzx ecx, cl
imul ecx, eax
mov eax, dword [ebp - 8]
mov byte [esi + eax], cl
inc esi
cmp esi, 0xff
jle 0x523fc0
cmp dword [ebp - 4], 1
jne 0x524030
mov ebx, eax
mov ecx, 1
lea edx, [ebx - 1]
nop dword [eax + eax]
movzx eax, byte [ebx]
lea edx, [edx - 1]
mov byte [edx + 1], al
movzx eax, byte [ebx + 0xff]
mov byte [ebx + ecx + 0xff], al
inc ecx
cmp ecx, 0xff
jle 0x524010
mov esi, dword [ebp + 8]
inc edi
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x14]
cmp edi, dword [esi + 0x64]
jl 0x523f84
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53cd20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x53cd41
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x53cd41
mov eax, dword [eax + 0x44]
test eax, eax
je 0x53cd41
push dword [ebp + 0xc]
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x546340
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.005465f0

Function at 0x5481f0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00548200

Function at 0x55a2e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
push 0
call fcn.005fcfca
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
jne 0x55a309
mov eax, 1
pop ebp
ret
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
pop ebp
ret

Function at 0x561810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jle 0x56188f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
sub ecx, eax
push esi
sub eax, ebx
mov dword [ebp + 0xc], ecx
push edi
mov dword [ebp + 8], eax
nop
lea esi, [eax + ebx]
lea eax, [esi + ecx]
push eax
push dword [ebx - 4]
call fcn.00561460
mov esi, dword [esi]
lea ebx, [ebx + 4]
mov ecx, eax
mov edi, esi
and edi, 0xffff00ff
and ecx, 0xffff00ff
add edi, ecx
mov edx, esi
movzx ecx, ax
and edx, 0xff00
add edx, ecx
and eax, 0xff00ffff
mov ecx, dword [ebp + 0xc]
xor edi, edx
and esi, 0xff00ff00
and edi, 0xff00ff
add eax, esi
add esp, 8
xor edi, eax
sub dword [ebp + 0x10], 1
mov eax, dword [ebp + 8]
mov dword [ebx - 4], edi
jne 0x561830
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x561ae0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx - 4]
jle 0x561b4a
mov ecx, dword [ebp + 8]
sub ecx, ebx
push esi
mov dword [ebp + 8], ecx
push edi
nop word [eax + eax]
mov esi, dword [ecx + ebx]
lea ebx, [ebx + 4]
mov ecx, eax
mov edi, esi
and edi, 0xffff00ff
and ecx, 0xffff00ff
add edi, ecx
mov edx, esi
movzx ecx, ax
and edx, 0xff00
add edx, ecx
and eax, 0xff00ffff
mov ecx, dword [ebp + 8]
xor edi, edx
and esi, 0xff00ff00
and edi, 0xff00ff
add eax, esi
xor eax, edi
sub dword [ebp + 0x10], 1
mov dword [ebx - 4], eax
jne 0x561b00
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x561b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jle 0x561bcf
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
sub ecx, eax
push esi
sub eax, ebx
mov dword [ebp + 0xc], ecx
push edi
mov dword [ebp + 8], eax
nop
lea esi, [eax + ebx]
lea eax, [esi + ecx]
push eax
push dword [ebx - 4]
call fcn.00561730
mov esi, dword [esi]
lea ebx, [ebx + 4]
mov ecx, eax
mov edi, esi
and edi, 0xffff00ff
and ecx, 0xffff00ff
add edi, ecx
mov edx, esi
movzx ecx, ax
and edx, 0xff00
add edx, ecx
and eax, 0xff00ffff
mov ecx, dword [ebp + 0xc]
xor edi, edx
and esi, 0xff00ff00
and edi, 0xff00ff
add eax, esi
add esp, 8
xor edi, eax
sub dword [ebp + 0x10], 1
mov eax, dword [ebp + 8]
mov dword [ebx - 4], edi
jne 0x561b70
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x562360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [esi + eax*4]
cmp esi, edi
jae 0x5623b3
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [esi]
lea eax, [eax + 2]
mov edx, ebx
mov ecx, ebx
shr edx, 0x10
add esi, 4
shr ecx, 0xd
xor dl, cl
mov ecx, ebx
and dl, 7
shr ecx, 0x10
xor dl, cl
mov ecx, ebx
mov byte [eax - 2], dl
mov edx, ebx
shr edx, 5
shr ecx, 3
xor dl, cl
shr ebx, 5
and dl, 0x1f
xor dl, bl
mov byte [eax - 1], dl
cmp esi, edi
jb 0x562376
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x5623c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [esi + eax*4]
cmp esi, edi
jae 0x562409
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [esi]
lea eax, [eax + 2]
mov edx, ebx
mov ecx, ebx
shr ecx, 0xc
add esi, 4
shr edx, 0x10
xor dl, cl
mov ecx, ebx
shr ecx, 0x10
and dl, 0xf
xor dl, cl
mov ecx, ebx
shr ecx, 0x1c
and bl, 0xf0
or cl, bl
mov byte [eax - 2], dl
mov byte [eax - 1], cl
cmp esi, edi
jb 0x5623d6
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x56e670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x6ab100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x34], eax
mov ebx, dword [eax + 0x28]
mov esi, dword [eax + 0x2c]
mov eax, esi
imul eax, ebx
push 1
mov dword [ebp - 0x24], ebx
cdq
push edx
push eax
call fcn.0054cbf0
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x3c], ecx
test ecx, ecx
je 0x56e82e
dec esi
lea eax, [ebx - 1]
mov dword [ebp - 0x20], eax
cmp esi, 1
jle 0x56e825
push edi
lea edx, [ebx*8]
mov dword [ebp - 0x18], edx
lea edi, [ebx + 1]
add edi, ecx
add edx, 8
mov ecx, dword [ebp - 0x18]
dec esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x1c], esi
cmp eax, 1
jle 0x56e7b1
dec eax
mov esi, edi
mov edi, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x34]
xorps xmm0, xmm0
movups xmmword [ebp - 0x14], xmm0
mov edx, dword [eax + 0x588c]
add edx, edi
mov ecx, edx
sub ecx, dword [ebp - 0x18]
mov ebx, dword [edx]
shr ebx, 5
mov eax, dword [ecx - 8]
and ebx, 3
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [ecx]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [ecx + 8]
shr eax, 5
and eax, 3
mov ecx, dword [ebp - 0x18]
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [edx - 8]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [edx + 8]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [ecx + edx - 8]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [ecx + edx]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [ecx + edx + 8]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
xor eax, eax
cmp dword [ebp + eax*4 - 0x14], 5
jge 0x56e790
inc eax
cmp eax, 4
jl 0x56e781
jmp 0x56e792
mov ebx, eax
mov byte [esi], bl
add edi, 8
inc esi
sub dword [ebp - 0x28], 1
jne 0x56e6f4
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
add edi, ebx
add edx, ecx
sub esi, 1
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x1c], esi
jne 0x56e6e3
mov edi, dword [ebp - 0x18]
mov ecx, ebx
add edi, 8
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], edi
mov edx, 1
cmp eax, edx
jle 0x56e813
mov esi, edi
mov eax, dword [ebp - 0x34]
lea esi, [esi + 8]
mov edi, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x588c]
lea eax, [ebx + edx]
movzx eax, byte [eax + edi]
inc edx
shl eax, 5
xor eax, dword [ecx + esi - 8]
and eax, 0x60
xor dword [ecx + esi - 8], eax
cmp edx, dword [ebp - 0x20]
jl 0x56e7e0
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
add edi, dword [ebp - 0x18]
add ebx, ecx
sub dword [ebp - 0x38], 1
mov dword [ebp - 0x1c], edi
jne 0x56e7d5
mov ecx, dword [ebp - 0x3c]
pop edi
push ecx
call fcn.0054ca10
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005e8cbe
mov esp, ebp
pop ebp
ret
Function at 0x570a20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x6ab100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [ebx + 0x40]
lea eax, [ebx + 0x44]
push 1
push 1
push edi
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x41c], esi
mov dword [ebp - 0x408], eax
call fcn.005854f0
push 2
push 3
push edi
call fcn.005854f0
dec esi
push 8
push esi
push edi
mov dword [ebp - 0x40c], esi
call fcn.005854f0
add esp, 0x24
cmp esi, 1
jl 0x570b31
mov edx, dword [ebp - 0x408]
lea ecx, [ebp - 0x404]
mov ebx, dword [edx + esi*4]
lea eax, [edx + esi*4]
sub ecx, edx
mov dword [ebp - 0x408], eax
mov dword [ebp - 0x410], ecx
nop word [eax + eax]
mov edi, dword [eax - 4]
lea esi, [eax - 4]
mov edx, ebx
mov eax, edi
and eax, 0xff00ff00
and edx, 0xff00
sub edx, eax
mov ecx, ebx
and ecx, 0xffff00ff
mov eax, edi
and eax, 0xff00ff
sub edx, 0xff01
sub ecx, eax
and ebx, 0xff00ff00
add ecx, 0xff00
mov eax, edi
and eax, 0xff00ff00
xor edx, ecx
mov ecx, dword [ebp - 0x410]
sub ebx, eax
mov eax, dword [ebp - 0x408]
add ebx, 0xff00ff
and edx, 0xff00ff
xor edx, ebx
sub dword [ebp - 0x40c], 1
mov ebx, edi
mov dword [ecx + eax], edx
mov eax, esi
mov dword [ebp - 0x408], eax
jne 0x570ab0
mov ebx, dword [ebp - 0x414]
mov edi, dword [ebp - 0x418]
push dword [ebp + 0xc]
mov eax, dword [ebx + 0x44]
push 0x14
push 1
push dword [ebp - 0x41c]
mov dword [ebp - 0x404], eax
lea eax, [ebx + 0x45c]
push eax
lea eax, [ebx + 0x444]
push eax
lea eax, [ebx + 0x48c]
push eax
lea eax, [ebp - 0x404]
push eax
push edi
call fcn.00570830
mov ecx, dword [ebp - 4]
add esp, 0x24
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005e8cbe
mov esp, ebp
pop ebp
ret