joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ae2a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce4d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0xfffffffffffffff1
mov dword [esi], vtable.CThread.0
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov byte [esi + 0xe], bl
mov byte [esi + 0xc], 1
call fcn.0058a4b0
mov dword [ebp - 4], ebx
lea eax, [esi + 0x14]
mov dword [esi], vtable.CWaveLoader.0
push eax
mov dword [esi + 0x10], vtable.CCriticalSection.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 1
push 0x14
mov dword [esi + 0x30], ebx
call fcn.0052d4ce
add esp, 4
cmp eax, ebx
je 0x5ae32d
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x2c], eax
mov dword [eax], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 4], eax
mov byte [esi + 0x38], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.0052d2bb
push 0x666d40
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.0052d54e
int3

Function at 0x5ae430
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5cf51e
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x10]
call edx
cmp dword [esi + 0x30], 0
jne 0x5ae4a9
mov eax, dword [esi + 4]
test eax, eax
je 0x5ae483
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 0xe], 1
mov dword [esi + 4], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x38], 0
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0x10]
call eax
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x2c]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + 0x2c]
push edi
mov edi, dword [eax + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x10], edx
cmp eax, ecx
je 0x5ae4e2
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push eax
mov dword [ecx + 4], edx
call fcn.0052d217
add esp, 4
dec dword [esi + 0x30]
mov dword [edi + 0x1c], 2
mov eax, dword [edi + 8]
test eax, eax
je 0x5ae4fe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 8], eax
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 0xc]
lea ecx, [esi + 0x10]
call edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push eax
lea ecx, [edi + 0x44]
push ecx
push edx
call fcn.0059f230
mov dword [edi + 0x1c], 0
mov edi, dword [edi + 8]
test edi, edi
je 0x5ae547
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5aec50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cf35f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [ebp + 0xc]
push esi
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.004018d0
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x40], 0
call fcn.00405620
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
add esp, 4
call eax
lea ecx, [esp + 4]
push ecx
lea eax, [edi + 8]
lea esi, [esp + 0x18]
call fcn.0041bd10
mov edx, dword [eax]
mov ecx, dword [edi + 4]
mov esi, dword [eax + 4]
mov eax, dword [ecx]
mov dword [esp + 0xc], edx
mov edx, dword [eax + 0xc]
call edx
test esi, esi
je 0x5aed1d
cmp byte [esi + 0x88], 0
je 0x5aed1d
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push 0
add esi, 0x20
push esi
call fcn.004018d0
cmp dword [esp + 0x28], 0x10
jb 0x5aed09
mov eax, dword [esp + 0x14]
push eax
call fcn.0052d217
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
cmp dword [esp + 0x28], 0x10
jb 0x5aed31
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0052d217
add esp, 4
mov ecx, dword [esp + 0x34]
xor al, al
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x5b5f00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ced16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, dword [esi + 4]
mov eax, dword [ebx]
mov edx, dword [eax + 8]
push edi
mov ecx, ebx
mov dword [esp + 0xc], ebx
call edx
mov dword [esp + 0x1c], 0
cmp dword [esi + 0x30], 0
je 0x5b5f5c
mov ebx, dword [esi + 0x2c]
mov edi, dword [ebx]
cmp edi, ebx
je 0x5b5f58
mov eax, dword [edi + 8]
push eax
mov ecx, esi
call fcn.005b5d40
mov edi, dword [edi]
cmp edi, ebx
jne 0x5b5f47
mov ebx, dword [esp + 0xc]
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x2c]
mov dword [ecx + 4], ecx
mov dword [esi + 0x30], 0
cmp eax, dword [esi + 0x2c]
je 0x5b5f87
mov edi, dword [eax]
push eax
call fcn.0052d217
add esp, 4
mov eax, edi
cmp edi, dword [esi + 0x2c]
jne 0x5b5f75
mov dword [esp + 0x1c], 0xffffffff
mov dword [esi + 0x38], 0
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x14]
pop edi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5b7300
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce513
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, ecx
xor eax, eax
mov dword [ebx], vtable.CVersionInfo.0
push esi
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [edi + 0x14], 0x10
jb 0x5b7344
mov eax, dword [edi]
jmp 0x5b7346
mov eax, edi
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp + 8], eax
test eax, eax
je 0x5b737c
push eax
lea ecx, [ebx + 4]
call fcn.00401030
cmp dword [edi + 0x14], 0x10
jb 0x5b7369
mov edi, dword [edi]
mov edx, dword [ebx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push edx
push eax
push ecx
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x5b9470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x1c]
fld dword [ebx + 4]
mov ecx, eax
fldz
sar eax, 8
fcomp st(1)
mov byte [esp + 7], al
sar ecx, 0x10
push esi
push edi
mov byte [esp + 0xe], cl
fnstsw ax
test ah, 0x41
jp 0x5b94a8
fadd qword [0x648f08]
jmp 0x5b94ae
fsub qword [0x648f08]
call fcn.0052e550
fld dword [ebx + 4]
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
imul eax, esi
lea eax, [edx + eax*4]
mov dword [ebp + 8], eax
call fcn.0052e550
mov ecx, eax
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fld dword [ebx + 0xc]
fcompp
fnstsw ax
test ah, 0x41
jne 0x5b964a
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp + 0x18]
lea edx, [esi*4]
lea edi, [ecx + eax*8]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], edi
lea esp, [esp]
mov edx, dword [edi]
cmp edx, dword [edi + 4]
jg 0x5b9624
push ebx
mov ecx, edi
lea esi, [esp + 0x34]
call fcn.005a0100
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
cmp esi, dword [esp + 0x34]
jge 0x5b9624
movzx edx, byte [ebp + 0x20]
movzx eax, byte [esp + 0xe]
movzx ecx, byte [esp + 0xf]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sar edx, 8
imul edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
sar eax, 8
add edx, eax
mov ebx, dword [ecx + edx*4]
mov edx, dword [ebp + 8]
mov edi, dword [edx + esi*4]
movzx ecx, bl
imul ecx, dword [esp + 0x20]
mov eax, 0x80808081
mul ecx
shr edx, 7
mov ecx, edx
mov edx, ebx
and edx, 0xff0000
imul edx, dword [esp + 0x24]
mov eax, 0x80808081
mul edx
shr edx, 7
and edx, 0xff0000
and ecx, 0xff
or ecx, edx
mov edx, ebx
and edx, 0xff00
imul edx, dword [esp + 0x28]
mov eax, 0x80808081
mul edx
shr edx, 7
and edx, 0xff00
or ecx, edx
mov eax, edi
not eax
mov edx, eax
xor eax, ecx
and eax, 0xfefefe
and edx, ecx
lea eax, [eax + edx*2]
shr eax, 8
and eax, 0x10101
add eax, 0x7f7f7f
xor eax, 0x7f7f7f
mov edx, eax
or eax, edi
or edx, ecx
mov ecx, dword [ebp + 8]
sub eax, edx
mov edx, dword [esp + 0x40]
add dword [esp + 0x14], edx
xor eax, ebx
and eax, 0xffffff
xor eax, ebx
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x44]
add dword [esp + 0x18], eax
inc esi
cmp esi, dword [esp + 0x34]
jl 0x5b954f
mov ebx, dword [ebp + 0x1c]
mov edi, dword [esp + 0x1c]
inc dword [esp + 0x10]
fild dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
fld dword [ebx + 0xc]
add dword [ebp + 8], ecx
add edi, 0x18
fcompp
mov dword [esp + 0x1c], edi
fnstsw ax
test ah, 0x41
je 0x5b9500
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x5b9660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x20]
sub esp, 0x3c
push ebx
push esi
push edi
test eax, eax
je 0x5b983d
mov esi, dword [ebp + 0x1c]
fld dword [esi + 4]
mov ecx, eax
fldz
sar eax, 8
fcomp st(1)
mov byte [esp + 0xf], al
sar ecx, 0x10
mov byte [esp + 0xe], cl
fnstsw ax
test ah, 0x41
jp 0x5b96a0
fadd qword [0x648f08]
jmp 0x5b96a6
fsub qword [0x648f08]
call fcn.0052e550
fld dword [esi + 4]
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
imul eax, edi
lea eax, [edx + eax*4]
mov dword [ebp + 8], eax
call fcn.0052e550
mov ecx, eax
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fld dword [esi + 0xc]
fcompp
fnstsw ax
test ah, 0x41
jne 0x5b983d
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp + 0x18]
lea edx, [edi*4]
lea ebx, [ecx + eax*8]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], ebx
mov edx, dword [ebx]
cmp edx, dword [ebx + 4]
jg 0x5b9817
push esi
mov ecx, ebx
lea esi, [esp + 0x34]
call fcn.005a0100
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x18], eax
cmp esi, dword [esp + 0x34]
jge 0x5b9814
movzx ecx, byte [ebp + 0x20]
movzx edx, byte [esp + 0xe]
movzx eax, byte [esp + 0xf]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
sar ecx, 8
imul ecx, dword [ebp + 0x14]
mov edx, edi
sar edx, 8
add ecx, edx
mov ebx, dword [eax + ecx*4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + esi*4]
mov dword [esp + 0x14], edx
movzx ecx, bl
imul ecx, dword [esp + 0x20]
mov eax, 0x80808081
mul ecx
shr edx, 7
mov ecx, edx
mov edx, ebx
and edx, 0xff0000
imul edx, dword [esp + 0x24]
mov eax, 0x80808081
mul edx
shr edx, 7
and edx, 0xff0000
and ecx, 0xff
or ecx, edx
mov edx, ebx
and edx, 0xff00
imul edx, dword [esp + 0x28]
mov eax, 0x80808081
mul edx
shr edx, 7
and edx, 0xff00
or ecx, edx
mov edx, ecx
xor edx, dword [esp + 0x14]
mov eax, ecx
and eax, dword [esp + 0x14]
add edi, dword [esp + 0x40]
and edx, 0xfefefe
lea eax, [edx + eax*2]
shr eax, 8
and eax, 0x10101
add eax, 0x7f7f7f
xor eax, 0x7f7f7f
sub ecx, eax
add ecx, dword [esp + 0x14]
inc esi
or ecx, eax
mov eax, dword [ebp + 8]
xor ecx, ebx
and ecx, 0xffffff
xor ecx, ebx
mov dword [eax + esi*4 - 4], ecx
mov ecx, dword [esp + 0x44]
add dword [esp + 0x18], ecx
cmp esi, dword [esp + 0x34]
jl 0x5b973f
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebp + 0x1c]
inc dword [esp + 0x10]
fild dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
fld dword [esi + 0xc]
add dword [ebp + 8], edx
add ebx, 0x18
fcompp
mov dword [esp + 0x1c], ebx
fnstsw ax
test ah, 0x41
je 0x5b96f4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x5b9d50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 0x20]
push esi
push edi
test ebx, ebx
jle 0x5b9eef
cmp ebx, 0x100
jle 0x5b9d77
mov ebx, pe_nt_image_headers32
mov dword [ebp + 0x20], ebx
mov esi, dword [ebp + 0x1c]
fld dword [esi + 4]
fldz
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x5b9d90
fadd qword [0x648f08]
jmp 0x5b9d96
fsub qword [0x648f08]
call fcn.0052e550
imul eax, dword [ebp + 0x10]
fld dword [esi + 4]
mov ecx, dword [ebp + 8]
lea edi, [ecx + eax*4]
mov dword [ebp + 8], edi
call fcn.0052e550
mov ecx, eax
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fld dword [esi + 0xc]
fcompp
fnstsw ax
test ah, 0x41
jne 0x5b9eef
mov edx, dword [ebp + 0x10]
lea eax, [edx*4]
mov edx, dword [ebp + 0x18]
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jg 0x5b9ec9
push esi
lea esi, [esp + 0x24]
call fcn.005a0100
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
cmp esi, dword [esp + 0x24]
jge 0x5b9ec2
jmp 0x5b9e20
mov edx, dword [ebp + 0xc]
sar eax, 8
sar ecx, 8
imul ecx, dword [ebp + 0x14]
add ecx, eax
mov edx, dword [edx + ecx*4]
mov edi, dword [edi + esi*4]
mov ecx, edx
and ecx, 0xffff00ff
imul ecx, ebx
mov eax, edx
and eax, 0xff00
imul eax, ebx
xor ecx, eax
mov eax, edx
and eax, 0xff00ff
imul eax, ebx
and ecx, 0xff0000
xor ecx, eax
shr ecx, 8
mov eax, edi
not eax
mov ebx, eax
xor eax, ecx
and eax, 0xfefefe
and ebx, ecx
lea eax, [eax + ebx*2]
shr eax, 8
and eax, 0x10101
add eax, 0x7f7f7f
xor eax, 0x7f7f7f
mov ebx, eax
or eax, edi
mov edi, dword [ebp + 8]
or ebx, ecx
mov ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x34]
sub eax, ebx
mov ebx, dword [ebp + 0x20]
xor eax, edx
and eax, 0xffffff
xor eax, edx
mov dword [edi + esi*4], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x30]
inc esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
cmp esi, dword [esp + 0x24]
jl 0x5b9e20
mov ecx, dword [esp + 0x10]
mov esi, dword [ebp + 0x1c]
inc dword [esp + 0xc]
fild dword [esp + 0xc]
add edi, dword [esp + 0x1c]
fld dword [esi + 0xc]
add ecx, 0x18
mov dword [ebp + 8], edi
fcompp
mov dword [esp + 0x10], ecx
fnstsw ax
test ah, 0x41
je 0x5b9de5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x5b9f00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [ebp + 0x20]
test edi, edi
jle 0x5ba09a
cmp edi, 0x100
jle 0x5b9f24
mov edi, pe_nt_image_headers32
mov esi, dword [ebp + 0x1c]
fld dword [esi + 4]
fldz
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x5b9f3d
fadd qword [0x648f08]
jmp 0x5b9f43
fsub qword [0x648f08]
call fcn.0052e550
imul eax, dword [ebp + 0x10]
fld dword [esi + 4]
mov ecx, dword [ebp + 8]
lea ebx, [ecx + eax*4]
mov dword [ebp + 8], ebx
call fcn.0052e550
mov ecx, eax
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fld dword [esi + 0xc]
fcompp
fnstsw ax
test ah, 0x41
jne 0x5ba09a
mov edx, dword [ebp + 0x10]
lea eax, [edx*4]
mov edx, dword [ebp + 0x18]
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jg 0x5ba074
push esi
lea esi, [esp + 0x2c]
call fcn.005a0100
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
cmp esi, dword [esp + 0x2c]
jge 0x5ba06d
mov edx, dword [ebp + 0xc]
sar ecx, 8
imul ecx, dword [ebp + 0x14]
sar eax, 8
add ecx, eax
mov edx, dword [edx + ecx*4]
mov ecx, dword [ebx + esi*4]
mov eax, edx
and eax, 0xffff00ff
imul eax, edi
mov ebx, edx
and ebx, 0xff00
imul ebx, edi
xor eax, ebx
mov ebx, edx
and ebx, 0xff00ff
imul ebx, edi
and eax, 0xff0000
xor eax, ebx
shr eax, 8
mov dword [esp + 0x18], ecx
mov ebx, eax
and ebx, ecx
mov ecx, eax
xor ecx, dword [esp + 0x18]
inc esi
and ecx, 0xfefefe
lea ecx, [ecx + ebx*2]
mov ebx, dword [ebp + 8]
shr ecx, 8
and ecx, 0x10101
add ecx, 0x7f7f7f
xor ecx, 0x7f7f7f
sub eax, ecx
add eax, dword [esp + 0x18]
or eax, ecx
mov ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x3c]
xor eax, edx
and eax, 0xffffff
xor eax, edx
mov dword [ebx + esi*4 - 4], eax
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
cmp esi, dword [esp + 0x2c]
jl 0x5b9fc5
mov esi, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x14]
inc dword [esp + 0x10]
fild dword [esp + 0x10]
add ebx, dword [esp + 0x24]
fld dword [esi + 0xc]
add ecx, 0x18
mov dword [ebp + 8], ebx
fcompp
mov dword [esp + 0x14], ecx
fnstsw ax
test ah, 0x41
je 0x5b9f92
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x5ba3c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, dword [ebp + 0x20]
test edi, edi
jg 0x5ba3fe
mov edx, dword [ebp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1dc]
push edx
mov edx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push edx
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
cmp edi, 0x100
jl 0x5ba436
mov eax, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1e0]
push 0xffffff
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [ebp + 0x1c]
fld dword [esi + 4]
fldz
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x5ba44f
fadd qword [0x648f08]
jmp 0x5ba455
fsub qword [0x648f08]
call fcn.0052e550
fld dword [esi + 4]
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
imul eax, ebx
lea edx, [ecx + eax*4]
mov dword [ebp + 8], edx
call fcn.0052e550
mov ecx, eax
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fld dword [esi + 0xc]
fcompp
fnstsw ax
test ah, 0x41
jne 0x5ba563
mov edx, dword [ebp + 0x18]
lea eax, [ebx*4]
lea ecx, [ecx + ecx*2]
lea ebx, [edx + ecx*8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
jg 0x5ba53d
push esi
mov ecx, ebx
lea esi, [esp + 0x24]
call fcn.005a0100
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x14], eax
cmp ecx, dword [esp + 0x24]
jge 0x5ba53a
sar eax, 8
imul eax, dword [ebp + 0x14]
mov edx, esi
sar edx, 8
add eax, edx
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + eax*4]
mov eax, edx
not eax
mov ebx, eax
and ebx, 0xffff00ff
imul ebx, edi
mov edi, eax
and edi, 0xff00
imul edi, dword [ebp + 0x20]
add esi, dword [esp + 0x30]
xor ebx, edi
mov edi, dword [ebp + 0x20]
and eax, 0xff00ff
imul eax, edi
and ebx, 0xff0000
xor ebx, eax
mov eax, dword [ebp + 8]
shr ebx, 8
add ebx, edx
mov dword [eax + ecx*4], ebx
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x34]
inc ecx
mov dword [esp + 0x14], eax
cmp ecx, dword [esp + 0x24]
jl 0x5ba4d0
mov ebx, dword [esp + 0x18]
mov esi, dword [ebp + 0x1c]
inc dword [esp + 0x10]
fild dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
fld dword [esi + 0xc]
add dword [ebp + 8], ecx
add ebx, 0x18
fcompp
mov dword [esp + 0x18], ebx
fnstsw ax
test ah, 0x41
je 0x5ba4a3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x5ba570
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, dword [ebp + 0x20]
test edi, edi
jg 0x5ba5b0
mov edx, dword [ebp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1e0]
push 0
push edx
mov edx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push edx
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
cmp edi, 0x100
jl 0x5ba5e3
mov eax, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1dc]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [ebp + 0x1c]
fld dword [esi + 4]
fldz
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x5ba5fc
fadd qword [0x648f08]
jmp 0x5ba602
fsub qword [0x648f08]
call fcn.0052e550
fld dword [esi + 4]
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
imul eax, ebx
lea edx, [ecx + eax*4]
mov dword [ebp + 8], edx
call fcn.0052e550
mov ecx, eax
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fld dword [esi + 0xc]
fcompp
fnstsw ax
test ah, 0x41
jne 0x5ba710
mov edx, dword [ebp + 0x18]
lea eax, [ebx*4]
lea ecx, [ecx + ecx*2]
lea ebx, [edx + ecx*8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
jg 0x5ba6ea
push esi
mov ecx, ebx
lea esi, [esp + 0x24]
call fcn.005a0100
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
cmp ecx, dword [esp + 0x24]
jge 0x5ba6e7
sar eax, 8
imul eax, dword [ebp + 0x14]
mov esi, edx
sar esi, 8
add eax, esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + eax*4]
mov esi, eax
and esi, 0xffff00ff
mov ebx, eax
imul esi, edi
and ebx, 0xff00
imul ebx, edi
xor esi, ebx
add edx, dword [esp + 0x30]
mov ebx, eax
and ebx, 0xff00ff
imul ebx, edi
and esi, 0xff0000
xor esi, ebx
and eax, 0xff000000
shr esi, 8
or esi, eax
mov eax, dword [ebp + 8]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x34]
inc ecx
mov dword [esp + 0x14], eax
cmp ecx, dword [esp + 0x24]
jl 0x5ba67d
mov ebx, dword [esp + 0x18]
mov esi, dword [ebp + 0x1c]
inc dword [esp + 0x10]
fild dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
fld dword [esi + 0xc]
add dword [ebp + 8], ecx
add ebx, 0x18
fcompp
mov dword [esp + 0x18], ebx
fnstsw ax
test ah, 0x41
je 0x5ba650
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c