joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100e3c90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 0x17
jne 0x100e3cc6
mov ecx, dword [ebp - 4]
call fcn.100e3fe0
movzx ecx, ax
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x100e3df1
mov edx, dword [ebp + 8]
cmp dword [edx], 0xd
jne 0x100e3d53
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ecx + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x100e3d49
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x34]
call edx
mov ecx, dword [ebp - 4]
add ecx, 0x568
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x560], edx
mov dword [ecx + 0x564], eax
mov edx, dword [ebp - 4]
mov byte [edx + 0x578], 1
jmp 0x100e3df1
mov eax, dword [ebp + 8]
cmp dword [eax], 0xe
jne 0x100e3d8e
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x578], 0
mov edx, dword [ebp - 4]
cmp dword [edx + 0x558], 0
je 0x100e3d8a
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x558]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x558]
mov edx, dword [eax + 8]
call edx
jmp 0x100e3df1
mov eax, dword [ebp + 8]
cmp dword [eax], 9
jne 0x100e3de5
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x558], 0
je 0x100e3de3
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x578]
test eax, eax
je 0x100e3de3
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x100e3de3
mov edx, dword [ebp + 8]
add edx, 0xc
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x558]
mov eax, dword [ebp - 4]
mov edx, dword [edx]
mov ecx, dword [eax + 0x558]
mov eax, dword [edx + 4]
call eax
jmp 0x100e3df1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.10063630
mov esp, ebp
pop ebp
ret 4
Function at 0x100e3e00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 0xd
jne 0x100e3e77
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ecx + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x100e3e6d
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0xc]
sub ecx, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + 0x55c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x10]
sub edx, dword [ecx + 4]
mov eax, dword [ebp - 4]
mov dword [eax + 0x560], edx
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x564], 1
jmp 0x100e3f10
mov edx, dword [ebp + 8]
cmp dword [edx], 0xe
jne 0x100e3eb2
mov eax, dword [ebp - 4]
mov byte [eax + 0x564], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x558], 0
je 0x100e3eae
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x558]
mov ecx, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x558]
mov eax, dword [edx + 8]
call eax
jmp 0x100e3f10
mov ecx, dword [ebp + 8]
cmp dword [ecx], 9
jne 0x100e3f04
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x100e3f04
mov eax, dword [ebp - 4]
cmp dword [eax + 0x558], 0
je 0x100e3f02
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x564]
test edx, edx
je 0x100e3f02
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x558]
mov eax, dword [ebp - 4]
mov edx, dword [edx]
mov ecx, dword [eax + 0x558]
mov eax, dword [edx]
call eax
jmp 0x100e3f10
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.10063630
mov esp, ebp
pop ebp
ret 4
Function at 0x100ee220
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015cc38
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x101a4494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x20]
test ecx, ecx
jne 0x100ee25a
xor eax, eax
jmp 0x100ee34d
mov ecx, dword [ebp - 0x10]
call fcn.100ee740
test eax, eax
je 0x100ee2a8
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0x100eedb0
push 0
push 0
call fcn.1013c85b
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0
jne 0x100ee299
xor eax, eax
jmp 0x100ee34d
mov eax, 1
jmp 0x100ee34d
mov eax, dword [ebp - 0x10]
add eax, 0x60
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x44]
push edx
lea ecx, [ebp - 0x24]
call fcn.10067dc0
mov dword [ebp - 4], 0
push 0xff
push 0xff
push 0xff
push 0xff
lea ecx, [ebp - 0x14]
call fcn.10067ba0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
call fcn.10086e30
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x28]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x24]
call fcn.100ec440
mov eax, dword [ebp - 0x10]
add eax, 0x60
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
mov ecx, dword [ebp - 0x10]
call fcn.100ee720
mov ecx, dword [ebp - 0x10]
call fcn.100eeb20
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10068200
mov eax, dword [ebp - 0x18]
jmp 0x100ee34d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x100f7c48
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x101455ad
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10145270

Function at 0x101455b8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.101453f1

Function at 0x1014d545
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1014d205
Function at 0x1389b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1a3b0d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1bd028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
push 4
lea ecx, [ebp - 0x14]
call fcn.00138bf0
mov eax, dword [ebp + 8]
push eax
call fcn.001389a0
add esp, 4
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00138d00
add esp, 8
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00138d80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00138c50
mov dword [ebp - 0x24], 0x1381c0
mov eax, dword [ebp - 0x18]
add eax, 4
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.00138c40
push eax
mov ecx, dword [ebp - 0x24]
push ecx
push 0
push 0
call fcn.001643d9
add esp, 0x18
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x138a5c
lea ecx, [ebp - 0x14]
call fcn.00138c10
jmp 0x138a6d
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], 0
push 6
call fcn.0013932a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00138c50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00155b7d
mov esp, ebp
pop ebp
ret 4

Function at 0x1565d3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x1a70dc]
test eax, eax
je 0x156612
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x156612
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x156612
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x156612
cmp dword [ecx + 0x74], 0xe
jbe 0x156612
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x18f97d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0018f575

Function at 0x1a3350
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1a337d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1a337d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402e70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4264b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, dword [ebp + 8]
push 0x64
push 0x428c48
push 0x67
push edi
call esi
push 0x64
push 0x428b80
push 0x6d
push edi
call esi
mov ecx, edi
call fcn.00402f80
push 0
push edi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x428c48
push 0x428b80
push 0
mov dword [0x428d10], edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x402f6b
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push 0
push eax
call esi
test eax, eax
je 0x402f56
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x402f45
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x402f25
pop ebx
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408cd3
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00408cd3
mov esp, ebp
pop ebp
ret 0x10
Function at 0x406720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cada
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4264b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.0040880a
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x4067c6
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.004097d9
push 0x425428
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.0040a25b
push edi
push esi
call fcn.004086dd
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00408cd3
mov esp, ebp
pop ebp
ret 4
Function at 0x4176ef
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4264b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040c5bb
mov dword [ebp - 0x14], eax
cmp dword [0x428b5c], esi
jne 0x4177e2
push 0x800
push esi
push 0x4227ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x41776f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4178c2
push esi
push esi
push 0x4227ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4178c2
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4178c2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x428b5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x428b60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x428b64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x428b6c], eax
test eax, eax
je 0x4177df
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x428b68], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x417807
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4177fa
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41781c
push 4
pop eax
jmp 0x4178c4
cmp dword [ebp - 0x14], esi
je 0x41781c
push dword [0x428b5c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x417801
mov eax, dword [0x428b68]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x41787a
cmp dword [0x428b6c], edi
je 0x41787a
push eax
call ebx
push dword [0x428b6c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41787a
test eax, eax
je 0x41787a
call ecx
test eax, eax
je 0x41786f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41786f
test byte [ebp - 8], 1
jne 0x41787a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4178aa
mov eax, dword [0x428b60]
cmp eax, edi
je 0x4178a7
push eax
call ebx
test eax, eax
je 0x4178a7
call eax
mov esi, eax
test esi, esi
je 0x4178a7
mov eax, dword [0x428b64]
cmp eax, edi
je 0x4178a7
push eax
call ebx
test eax, eax
je 0x4178a7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x428b5c]
call ebx
test eax, eax
je 0x4178c2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4178c4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408cd3
mov esp, ebp
pop ebp
ret
Function at 0x403f40
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 0x4040d4
movaps xmm5, xmmword [0x4f9200]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [str.efgh]
mov edx, 0x6c
movups xmm4, xmmword [0x4f9270]
mov dword [ebp - 8], ecx
sub edx, ebx
push esi
mov ecx, 0x6a
mov dword [ebp - 4], 0x65
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0x69
sub edi, ebx
mov esi, 0x6b
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0x61
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 0x403fb4
mov ebx, dword [ebp - 0x20]
pop edi
pop esi
cmp eax, 0x46
jae 0x4040d0
lea edx, [eax + ebx]
lea ecx, [eax + 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0x46
jb 0x4040c2
mov byte [ebx + 0x47], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4040e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4acadd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x82b540]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
cmp byte [esi + 7], 0
je 0x404132
xor edx, edx
nop dword [eax]
lea ecx, [esi + edx]
lea eax, [edx + 0x65]
inc edx
xor byte [ecx], al
cmp edx, 6
jb 0x404120
mov byte [esi + 7], 0
lea eax, [ebp - 0xd]
push eax
lea eax, [esi + 6]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.00408c40
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x404155
mov edi, dword [edi]
push eax
push edi
push 0
lea ecx, [ebp - 0x34]
call fcn.0040b380
mov esi, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x4041cf
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4041c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4041c5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00461e86
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4042d0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
cmp byte [edi + 9], 0
je 0x404349
movups xmm4, xmmword [0x4f9270]
mov esi, 0x68
push ebx
lea ebx, [esi - 0x66]
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 - 0x68]
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 - 0x68], xmm3
add esi, 4
sub ebx, 1
jne 0x4042f0
pop ebx
mov byte [edi + 9], 0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 1]
push eax
lea eax, [edi + 8]
push eax
push edi
call fcn.00408c40
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x404370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4acadd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x82b540]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
cmp byte [esi + 0xa], 0
je 0x4043c2
xor edx, edx
nop dword [eax]
lea ecx, [esi + edx]
lea eax, [edx + 0x65]
inc edx
xor byte [ecx], al
cmp edx, 9
jb 0x4043b0
mov byte [esi + 0xa], 0
lea eax, [ebp - 0xd]
push eax
lea eax, [esi + 9]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.00408c40
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x4043e5
mov edi, dword [edi]
push eax
push edi
push 0
lea ecx, [ebp - 0x34]
call fcn.0040b380
mov esi, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x40445f
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404455
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404455
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00461e86
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404480
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 + 0x44], 0
je 0x404614
movaps xmm5, xmmword [0x4f9200]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [str.efgh]
mov edx, 0x6c
movups xmm4, xmmword [0x4f9270]
mov dword [ebp - 8], ecx
sub edx, ebx
push esi
mov ecx, 0x6a
mov dword [ebp - 4], 0x65
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0x69
sub edi, ebx
mov esi, 0x6b
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0x61
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 0x4044f4
mov ebx, dword [ebp - 0x20]
pop edi
pop esi
cmp eax, 0x43
jae 0x404610
lea edx, [eax + ebx]
lea ecx, [eax + 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0x43
jb 0x404602
mov byte [ebx + 0x44], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret