joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432422
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x489870]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x202
xor esi, esi
lea eax, [ebp - 0x208]
push esi
push eax
call fcn.0045a980
add esp, 0xc
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x210], 0x100
call fcn.00432386
test eax, eax
je 0x4324c7
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x4324c7
lea eax, [ebp - 0x20c]
push eax
push 1
lea eax, [ebp - 0x208]
push eax
push esi
mov esi, dword [0x48c570]
mov ecx, esi
call dword [0x467454]
call esi
test eax, eax
jne 0x4324c7
mov ecx, dword [ebp - 0x20c]
mov esi, dword [0x48c568]
push ebx
push ecx
cmp dword [ecx + 0xc], 2
mov ecx, esi
sete bl
call dword [0x467454]
call esi
mov al, bl
pop ebx
jmp 0x4324c9
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00455de6
leave
ret

Function at 0x43290b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x10c
mov eax, 0x465528
call fcn.00461432
mov esi, edx
push ecx
lea ecx, [ebp - 0x118]
call fcn.0041e8a6
and dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
push 0x4757d8
call fcn.0041ec0e
mov ecx, esi
call fcn.0041eac6
lea ecx, [ebp - 0x118]
test al, al
je 0x432959
push str.Zoom.lnk
call fcn.0041ec0e
jmp 0x43295f
push esi
call fcn.0041ebf1
lea ecx, [ebp - 0x118]
call fcn.0041e9b0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x118]
setne bl
call fcn.0041e913
mov al, bl
call fcn.004613ed
ret

Function at 0x432c45
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x489870]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
je 0x432d05
push esi
call fcn.00439835
pop ecx
test eax, eax
je 0x432d05
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x432d05
push 0x410
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0045a980
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push 0x207
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x414]
push eax
push 0
push 0x4764dc
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x432cf3
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x432d05
lea esi, [ebp - 0x414]
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne al
jmp 0x432d07
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00455de6
leave
ret
Function at 0x432d14
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
test ecx, ecx
je 0x432de8
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x432de8
xor eax, eax
mov dword [ebp - 8], edi
push edi
mov word [ebp - 4], ax
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x432de1
cmp dword [ebp - 8], 2
jne 0x432de1
mov eax, 0x5a4d
cmp word [ebp - 4], ax
jne 0x432de1
push edi
push edi
push 0x3c
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x432de1
cmp dword [ebp - 8], 2
jne 0x432de1
movzx eax, word [ebp - 4]
push edi
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 8]
mov dword [ebp - 0xc], edi
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x432de1
cmp dword [ebp - 8], 4
jne 0x432de1
cmp dword [ebp - 0xc], 0x4550
jne 0x432de1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x432dea
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x438a27
Capabilities:
Terminate process

Disassembly:
push 0x234
mov eax, 0x46693e
call fcn.00461432
mov edi, ecx
push ecx
push edi
lea ecx, [ebp - 0x240]
call fcn.0041f48c
xor ebx, ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], ebx
call fcn.0041f3f2
mov esi, eax
jmp 0x438aa2
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], ebx
push eax
push 0x64
push 0xa
push ebx
push ebx
push 0x11
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push ebx
push ebx
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [ebp - 0x23c]
test esi, esi
je 0x438aa6
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp - 0x234]
jae 0x438aa6
mov esi, dword [esi + eax*4]
inc eax
mov dword [ebp - 0x230], eax
test esi, esi
jne 0x438a59
push edi
push 0
xor ebx, ebx
push 0x100001
inc ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x438b4f
push 0x7d0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x438b46
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, eax
test ebx, ebx
jne 0x438b46
push 0xffffffffffffffff
push 0x4764dc
lea ecx, [ebp - 0x11c]
call fcn.0041e875
push 0xffffffffffffffff
push str._TerminateProcess_Failed_
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 1
call fcn.0041e875
mov esi, eax
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 2
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 2
pop edx
mov ecx, 0x32c8
call fcn.00431765
add esp, 0xc
lea ecx, [ebp - 0x224]
call fcn.0041e913
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], bl
call fcn.0041e913
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x438bb2
push 0xffffffffffffffff
push 0x4764dc
lea ecx, [ebp - 0x11c]
call fcn.0041e875
push 0xffffffffffffffff
push str._OpenProcess_Failed_
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 3
call fcn.0041e875
mov esi, eax
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 4
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 2
pop edx
mov ecx, 0x32c8
call fcn.00431765
add esp, 0xc
lea ecx, [ebp - 0x224]
call fcn.0041e913
lea ecx, [ebp - 0x11c]
call fcn.0041e913
lea ecx, [ebp - 0x240]
call fcn.0041f4af
mov eax, ebx
call fcn.004613ed
ret
Function at 0x438bc5
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466978
mov eax, dword fs:[0]
push eax
mov eax, 0x142c
call fcn.00456c00
mov eax, dword [0x489870]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0041ead1
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x1428]
push eax
push 0x1000
lea eax, [ebp - 0x1420]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x438c6f
push 0x14f
push str.C:zoomcodeEP_2017Client_srcinstallwindowsNoMSIInstallerZoomProductUtil.cpp
push 1
lea ecx, [ebp - 0x1424]
call fcn.0040c17a
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov edx, str._FindRunningInstance__failed_to_enum_processes__error_code:
mov ecx, 0x48b190
call fcn.00405dcc
pop ecx
mov ecx, eax
call fcn.00406c0b
lea ecx, [ebp - 0x1424]
call fcn.0040c319
xor eax, eax
jmp 0x438dc8
mov eax, dword [ebp - 0x1428]
xor ecx, ecx
shr eax, 2
mov dword [ebp - 0x1434], eax
mov dword [ebp - 0x1424], ecx
test eax, eax
je 0x438dbb
push dword [ebp + ecx*4 - 0x1420]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1430], eax
test eax, eax
je 0x438d6d
push 5
pop ecx
push 0x1f4
lea eax, [ebp - 0x204]
mov esi, str._unknown_
lea edi, [ebp - 0x218]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0045a980
add esp, 0xc
lea eax, [ebp - 0x40c]
mov esi, str._unknown_
lea edi, [ebp - 0x420]
push 5
pop ecx
push 0x1f4
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0045a980
mov esi, dword [ebp - 0x1430]
lea eax, [ebp - 0x1428]
add esp, 0xc
push eax
push 4
lea eax, [ebp - 0x142c]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x438d4c
mov edi, 0x104
lea eax, [ebp - 0x218]
push edi
push eax
push dword [ebp - 0x142c]
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
push edi
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x142c]
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 8
lea eax, [ebp - 0x218]
push eax
push str.Zoom.exe
call fcn.00447685
add esp, 0xc
test eax, eax
je 0x438d88
mov ecx, dword [ebp - 0x1424]
inc ecx
mov dword [ebp - 0x1424], ecx
cmp ecx, dword [ebp - 0x1434]
jb 0x438c8e
jmp 0x438dbb
lea eax, [ebp - 0x420]
mov ecx, ebx
push eax
call fcn.0041eb21
push 0x5c
mov ecx, ebx
call fcn.0041ee33
cmp eax, 0xffffffff
jne 0x438db2
push 0x2f
mov ecx, ebx
call fcn.0041ee33
cmp eax, 0xffffffff
je 0x438dbb
push ecx
push eax
mov ecx, ebx
call fcn.0041ec91
mov ecx, ebx
call fcn.0041eac6
movzx eax, al
xor eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455de6
leave
ret
Function at 0x438fbc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x1c
mov eax, 0x461cb5
call fcn.00461432
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 0xc]
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
push eax
call fcn.0040aaae
and dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x438fed
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040b2aa
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 0x14]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
cmp ecx, 8
jb 0x43902d
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x28]
call fcn.004031ab
pop ecx
pop ecx
mov eax, ebx
call fcn.004613ed
ret 8

Function at 0x439673
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push dword [ebp + 8]
push 0x439600
push eax
push eax
call fcn.0044781c
add esp, 0x18
mov dword [esi], eax
pop esi
pop ebp
ret 4

Function at 0x44ae35
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044aae6
Function at 0x4583e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test ebx, ebx
jg 0x458404
jl 0x4583fb
test esi, esi
jne 0x458404
xor eax, eax
xor edx, edx
jmp 0x4584f7
cmp dword [edi + 0x38], 0
je 0x458419
push ebx
push esi
push dword [ebp + 8]
call fcn.0040cb40
jmp 0x4584f7
mov eax, dword [edi + 0x1c]
mov ecx, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], esi
mov ecx, dword [eax]
test ecx, ecx
je 0x45846d
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x45846d
cmp eax, esi
jb 0x45843f
mov eax, esi
mov dword [ebp - 4], esi
push eax
push ecx
push dword [ebp + 8]
call fcn.0045b2b0
mov edx, dword [ebp - 4]
mov ecx, esi
mov eax, dword [ebp + 8]
sub ecx, edx
add eax, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
add esp, 0xc
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0xc], ecx
sub dword [eax], edx
mov eax, dword [edi + 0x1c]
add dword [eax], edx
jmp 0x458473
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [edi + 0x4c], 0
je 0x4584eb
mov ecx, edi
call fcn.00457c90
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
cmp eax, 0xfff
jbe 0x4584c7
mov ecx, dword [ebp - 4]
push dword [edi + 0x4c]
push 0xfff
push 1
push ecx
call fcn.0043e1ee
mov ecx, dword [ebp - 4]
add esp, 0x10
mov edx, dword [ebp - 8]
add ecx, eax
sub edx, eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
cmp eax, 0xfff
jne 0x4584c3
cmp edx, eax
ja 0x458490
jmp 0x4584ca
sub esi, edx
jmp 0x4584f0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, eax
test eax, eax
je 0x4584ee
push dword [edi + 0x4c]
push edx
push 1
push dword [ebp - 4]
call fcn.0043e1ee
mov ecx, dword [ebp - 0xc]
add esp, 0x10
sub ecx, eax
jmp 0x4584ee
mov ecx, dword [ebp - 0xc]
sub esi, ecx
sbb ebx, 0
mov eax, esi
mov edx, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x459400
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x489870]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0xffff
push edi
mov edi, ecx
cmp ax, bx
jne 0x459425
xor eax, eax
jmp 0x459481
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x459452
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [ecx + esi*2]
cmp ecx, eax
jae 0x459452
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
jmp 0x459506
cmp dword [edi + 0x4c], 0
je 0x45947b
mov ecx, edi
call fcn.00459044
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x459491
push dword [edi + 0x4c]
push ebx
call fcn.00458aba
pop ecx
test al, al
movzx eax, bx
pop ecx
jne 0x459480
mov eax, 0xffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00455de6
leave
ret 4
mov word [ebp - 0x28], bx
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x467454]
mov ecx, dword [ebp - 0x2c]
call esi
test eax, eax
js 0x45947b
cmp eax, 1
jle 0x4594d9
cmp eax, 3
jne 0x45947b
push dword [edi + 0x4c]
push dword [ebp - 0x28]
jmp 0x45946d
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x4594f6
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.0043dea7
add esp, 0x10
cmp esi, eax
jne 0x45947b
lea eax, [ebp - 0x28]
mov byte [edi + 0x3e], 1
cmp dword [ebp - 0x34], eax
je 0x45947b
mov ax, bx
jmp 0x459480
Function at 0x405a90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, ecx
push esi
mov esi, 1
mov dword [edx], 0x1571
mov dword [edx + 0x9c0], 1
nop dword [eax + eax]
mov ecx, dword [edx + esi*4 - 4]
shr ecx, 0x1e
xor ecx, dword [edx + esi*4 - 4]
imul eax, ecx, 0x6c078965
add eax, esi
mov dword [edx + esi*4], eax
mov esi, dword [edx + 0x9c0]
inc esi
mov dword [edx + 0x9c0], esi
cmp esi, 0x270
jb 0x405ab0
mov ecx, dword [edx + 0x9bc]
xor ecx, dword [edx + 0x630]
mov esi, dword [edx]
jge 0x405af8
xor ecx, 0x1908b0df
add ecx, ecx
or ecx, 1
jmp 0x405afa
add ecx, ecx
mov eax, esi
xor eax, ecx
and eax, 0x7fffffff
xor eax, esi
mov dword [edx], eax
xor eax, eax
pop esi
nop word [eax + eax]
cmp dword [edx + eax*4], 0
jne 0x405b24
inc eax
cmp eax, 0x270
jb 0x405b10
mov dword [edx], 0x80000000
mov eax, edx
ret
Function at 0x406370
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
xor eax, eax
cmp dword [0x5184ac], 2
push edi
mov edi, ecx
jl 0x4063e5
movaps xmm3, xmmword [0x513bd0]
movaps xmm4, xmmword [0x513c00]
movaps xmm5, xmmword [0x513c10]
movaps xmm6, xmmword [0x513bc0]
nop dword [eax]
movups xmm2, xmmword [edi + eax*4 + 4]
movups xmm1, xmmword [edi + eax*4]
movaps xmm0, xmm2
andps xmm2, xmm6
andps xmm1, xmm4
andps xmm0, xmm3
orps xmm1, xmm0
movups xmm0, xmmword [edi + eax*4 + 0x634]
psrld xmm1, 1
pmulld xmm2, xmm5
xorps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [edi + eax*4], xmm1
add eax, 4
cmp eax, 0xdc
jb 0x4063a0
cmp eax, 0xde
jae 0x406416
mov edx, dword [edi + eax*4]
mov esi, dword [edi + eax*4 + 4]
xor edx, esi
and edx, 0x7ffffffe
and esi, 1
xor edx, dword [edi + eax*4]
imul ecx, esi, 0x9908b0df
shr edx, 1
xor edx, ecx
xor edx, dword [edi + eax*4 + 0x634]
mov dword [edi + eax*4], edx
inc eax
cmp eax, 0xde
jb 0x4063e5
mov esi, dword [edi + 0x37c]
mov ecx, esi
mov eax, dword [edi + 0x378]
xor ecx, eax
and ecx, 0x7ffffffe
mov edx, dword [edi + 0x380]
xor ecx, eax
mov eax, esi
shr ecx, 1
and eax, 1
imul eax, eax, 0x9908b0df
xor ecx, eax
mov eax, edx
xor ecx, dword [edi + 0x9ac]
and eax, 1
mov dword [edi + 0x378], ecx
mov ecx, esi
xor ecx, edx
imul eax, eax, 0x9908b0df
and ecx, 0x7ffffffe
xor ecx, esi
mov esi, dword [edi + 0x384]
shr ecx, 1
xor ecx, eax
mov eax, esi
xor ecx, dword [edi + 0x9b0]
and eax, 1
mov dword [edi + 0x37c], ecx
mov ecx, esi
xor ecx, edx
imul eax, eax, 0x9908b0df
and ecx, 0x7ffffffe
xor ecx, edx
mov edx, dword [edi + 0x388]
shr ecx, 1
xor ecx, eax
mov eax, edx
xor ecx, dword [edi + 0x9b4]
and eax, 1
mov dword [edi + 0x380], ecx
mov ecx, edx
xor ecx, esi
imul eax, eax, 0x9908b0df
and ecx, 0x7ffffffe
xor ecx, esi
mov esi, 0xe3
shr ecx, 1
xor ecx, eax
mov eax, dword [edi + 0x38c]
xor ecx, dword [edi + 0x9b8]
mov dword [edi + 0x384], ecx
mov ecx, eax
xor ecx, edx
and eax, 1
and ecx, 0x7ffffffe
imul eax, eax, 0x9908b0df
xor ecx, edx
shr ecx, 1
xor ecx, eax
xor ecx, dword [edi + 0x9bc]
mov dword [edi + 0x388], ecx
mov edx, dword [edi + esi*4 + 4]
mov ecx, edx
xor ecx, dword [edi + esi*4]
and edx, 1
and ecx, 0x7ffffffe
imul eax, edx, 0x9908b0df
xor ecx, dword [edi + esi*4]
shr ecx, 1
xor ecx, eax
xor ecx, dword [edi + esi*4 - 0x38c]
mov dword [edi + esi*4], ecx
inc esi
cmp esi, 0x26f
jb 0x406500
mov eax, dword [edi + 0x9bc]
mov ecx, dword [edi]
mov edx, ecx
xor edx, eax
mov dword [edi + 0x9c0], 0
and edx, 0x7ffffffe
and ecx, 1
xor edx, eax
imul eax, ecx, 0x9908b0df
shr edx, 1
xor edx, eax
xor edx, dword [edi + 0x630]
mov dword [edi + 0x9bc], edx
pop edi
pop esi
pop ebx
ret
Function at 0x41aa40
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
lea ecx, [edx + 0x3f8]
lea esi, [eax + 0x3f8]
cmp eax, ecx
ja 0x41aa7b
cmp esi, edx
jb 0x41aa7b
sub edx, eax
mov esi, 0x80
mov ecx, dword [eax + edx]
lea eax, [eax + 8]
xor dword [eax - 8], ecx
mov ecx, dword [eax + edx - 4]
xor dword [eax - 4], ecx
sub esi, 1
jne 0x41aa64
pop esi
ret
lea esi, [edx + 0x30]
sub edx, eax
lea ecx, [eax + 0x10]
mov eax, 0x10
nop dword [eax + eax]
lea ecx, [ecx + 0x40]
lea esi, [esi + 0x40]
movups xmm0, xmmword [ecx - 0x50]
movups xmm1, xmmword [esi - 0x70]
xorps xmm1, xmm0
movups xmmword [ecx - 0x50], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [edx + ecx - 0x40]
xorps xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm0, xmmword [ecx - 0x30]
movups xmm1, xmmword [esi - 0x50]
xorps xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
movups xmm1, xmmword [esi - 0x40]
movups xmm0, xmmword [ecx - 0x20]
xorps xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
sub eax, 1
jne 0x41aa90
pop esi
ret
Function at 0x41e5f0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
movzx ecx, byte [esi + 3]
shl ecx, 8
movzx eax, byte [esi + 2]
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
mov dword [edx + 0x14], ecx
movzx ecx, byte [esi + 7]
shl ecx, 8
movzx eax, byte [esi + 6]
or ecx, eax
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 4]
shl ecx, 8
or ecx, eax
mov dword [edx + 0x28], ecx
movzx ecx, byte [esi + 0xb]
movzx eax, byte [esi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 8]
shl ecx, 8
or ecx, eax
mov dword [edx + 0x3c], ecx
movzx ecx, byte [esi + 0xf]
movzx eax, byte [esi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xc]
shl ecx, 8
or ecx, eax
mov dword [edx + 0x30], ecx
movzx ecx, byte [esi + 0x13]
movzx eax, byte [esi + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x10]
shl ecx, 8
or ecx, eax
mov dword [edx + 0x1c], ecx
movzx ecx, byte [esi + 0x17]
movzx eax, byte [esi + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x14]
shl ecx, 8
or ecx, eax
mov dword [edx + 0x10], ecx
movzx ecx, byte [esi + 0x1b]
movzx eax, byte [esi + 0x1a]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x18]
shl ecx, 8
or ecx, eax
mov dword [edx + 0x24], ecx
movzx ecx, byte [esi + 0x1f]
movzx eax, byte [esi + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x1c]
shl ecx, 8
or ecx, eax
mov dword [edx + 0x38], ecx
mov dword [edx], 0x61707865
mov dword [edx + 4], 0x3320646e
mov dword [edx + 8], 0x79622d32
mov dword [edx + 0xc], 0x6b206574
pop esi
ret
Function at 0x422b90
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x60
mov eax, dword [ebp + 8]
mov ecx, 4
movups xmm3, xmmword [0x4433e0]
movups xmm4, xmmword [0x4433f0]
movups xmm2, xmmword [eax]
movups xmm5, xmmword [eax + 0x10]
mov eax, dword [ebp + 0xc]
movaps xmmword [esp + 0x20], xmm2
movaps xmm7, xmm5
movaps xmmword [esp + 0x30], xmm5
xorps xmm7, xmm4
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm2
xorps xmm2, xmm3
xorps xmm1, xmm5
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x50], xmm1
movaps xmm6, xmm0
movaps xmmword [esp], xmm1
nop dword [eax]
movaps xmm0, xmm3
movaps xmm5, xmm2
movaps xmm1, xmm4
aesenc xmm0, xmm2
movaps xmm2, xmmword [esp]
aesenc xmm1, xmm3
movaps xmm3, xmm6
aesenc xmm3, xmmword [esp]
aesenc xmm2, xmm4
movaps xmm4, xmm1
aesenc xmm5, xmm7
aesenc xmm4, xmm0
aesenc xmm7, xmm6
xorps xmm7, xmmword [esp + 0x20]
movaps xmm6, xmm0
movaps xmm0, xmm2
aesenc xmm0, xmm1
movaps xmm1, xmm3
aesenc xmm1, xmm2
movaps xmm2, xmm7
aesenc xmm2, xmm3
movaps xmm3, xmm4
aesenc xmm6, xmm5
aesenc xmm3, xmm6
movaps xmmword [esp + 0x10], xmm3
movaps xmm3, xmm0
aesenc xmm3, xmm4
movaps xmm4, xmm1
aesenc xmm4, xmm0
movaps xmm0, xmm2
aesenc xmm5, xmm7
xorps xmm5, xmmword [esp + 0x30]
movaps xmm7, xmm3
aesenc xmm0, xmm1
movaps xmm1, xmm5
aesenc xmm1, xmm2
movaps xmm2, xmm4
aesenc xmm6, xmm5
movaps xmm5, xmmword [esp + 0x10]
xorps xmm6, xmmword [esp + 0x40]
aesenc xmm2, xmm3
movaps xmm3, xmm0
aesenc xmm3, xmm4
movaps xmm4, xmm1
aesenc xmm7, xmm5
aesenc xmm5, xmm6
xorps xmm5, xmmword [esp + 0x50]
movaps xmmword [esp + 0x10], xmm5
movups xmmword [eax], xmm5
aesenc xmm4, xmm0
movaps xmm0, xmm6
movaps xmm6, xmmword [esp + 0x10]
aesenc xmm0, xmm1
movaps xmmword [esp], xmm0
sub ecx, 1
jne 0x422bf0
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax + 0x20], xmm4
movups xmmword [eax + 0x30], xmm3
movups xmmword [eax + 0x40], xmm2
movups xmmword [eax + 0x50], xmm7
mov esp, ebp
pop ebp
ret
Function at 0x4288e0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], 0
push esi
nop dword [eax + eax]
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx + eax]
mov ecx, dword [esp + 4]
movzx esi, byte [ecx + eax]
inc eax
movzx ecx, dl
xor esi, ecx
mov ecx, dword [esp + 0xc]
or ecx, esi
mov dword [esp + 0xc], ecx
cmp eax, 0x10
jl 0x428900
mov eax, dword [esp + 0xc]
dec eax
shr eax, 8
and eax, 1
pop esi
dec eax
pop ecx
ret

Function at 0x428940
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], 0
push esi
nop dword [eax + eax]
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx + eax]
mov ecx, dword [esp + 4]
movzx esi, byte [ecx + eax]
inc eax
movzx ecx, dl
xor esi, ecx
mov ecx, dword [esp + 0xc]
or ecx, esi
mov dword [esp + 0xc], ecx
cmp eax, 0x20
jl 0x428960
mov eax, dword [esp + 0xc]
dec eax
shr eax, 8
and eax, 1
pop esi
dec eax
pop ecx
ret