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

Disassembly:
cmp dword [0x140179090], 0
jne 0x1400c70a5
xor edx, edx
mov ecx, 0x10001
jmp fcn.1400c7540
jmp 0x1400ca120
push rbx
sub rsp, 0xa0
mov rax, qword [0x140175540]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400ca1ba
nop word [rax + rax]
cmp dword [rsp + 0x38], 0x12
jne 0x1400ca185
mov rbx, qword [0x140179480]
test rbx, rbx
je 0x1400ca19b
mov rcx, rbx
call fcn.1400c67b0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400ca173
jmp 0x1400ca19b
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400ca160
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rax, rax
je 0x1400ca2b7
lea rdx, str.GLFW
mov qword [rsp + 0xc0], rdi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetPropW]
mov rdi, rax
test rax, rax
je 0x1400ca2af
movdqa xmm0, xmmword [0x140119bf0]
xor ebx, ebx
movdqa xmm1, xmmword [0x140119c00]
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x90], r15
lea r15, [0x14017ab68]
movdqu xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x70], xmm1
nop word [rax + rax]
movsxd rbp, dword [rsp + rbx*8 + 0x64]
mov ecx, dword [rsp + rbx*8 + 0x60]
movsx r14d, word [r15 + rbp*2]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x1400ca27e
cmp byte [rbp + rdi + 0x88], 1
jne 0x1400ca27e
call fcn.1400cbca0
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8d, r14d
mov edx, ebp
mov rcx, rdi
call fcn.1400c8080
inc rbx
cmp rbx, 4
jl 0x1400ca240
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xc0]
mov rbx, qword [0x14017b508]
test rbx, rbx
je 0x1400ca33c
mov rcx, qword [rbx + 0x350]
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x6c]
cdq
sub eax, edx
sar eax, 1
mov r9d, eax
cmp dword [rbx + 0x388], eax
jne 0x1400ca2fe
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
cmp dword [rbx + 0x38c], eax
je 0x1400ca33c
mov rcx, qword [rbx + 0x350]
mov eax, r8d
cdq
mov dword [rsp + 0x60], r9d
sub eax, edx
mov dword [rbx + 0x388], r9d
sar eax, 1
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov dword [rbx + 0x38c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400ef390
add rsp, 0xa0
pop rbx
ret
Function at 0x1400cb250
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
xor r10d, r10d
mov edi, r8d
mov rbx, rdx
mov r11d, 0x7fffffff
test ecx, ecx
jle 0x1400cb2b6
mov qword [rsp + 0x10], rsi
imul edi, r9d
mov r9, rdx
mov esi, ecx
nop word [rax + rax]
mov eax, dword [rbx + 4]
mov ecx, r11d
imul eax, dword [rbx]
lea rbx, [rbx + 0x10]
mov r8, r10
mov r10, r9
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, r11d
cmovl r11d, eax
cmp eax, ecx
cmovge r10, r8
add r9, 0x10
sub rsi, 1
jne 0x1400cb280
mov rsi, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov rax, r10
pop rdi
ret

Function at 0x1400cb9f0
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov qword [0x14017b508], rcx
lea rdi, [rcx + 0x350]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400cba4c
mov rcx, qword [rdi]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
movd xmm0, dword [rsp + 0x40]
movd xmm1, dword [rsp + 0x44]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
movsd qword [0x14017b4f8], xmm0
movsd qword [0x14017b500], xmm1
cmp dword [rbx + 0x7c], 0x34001
jne 0x1400cba90
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x1400cba71
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_SetCursor]
lea rdi, [rbx + 0x350]
jmp 0x1400cba98
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
lea rdi, [rbx + 0x350]
jmp 0x1400cba98
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, rbx
call fcn.1400c7d70
mov rcx, rbx
call fcn.1400cbe40
cmp dword [rbx + 0x1f8], 0
je 0x1400cbaeb
mov rax, qword [rdi]
lea rcx, [rsp + 0x20]
mov edx, 1
mov qword [rsp + 0x20], 0x20001
mov qword [rsp + 0x28], rax
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1400cbaeb
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.1400cda60
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400cbb00
Capabilities:
Register raw input devices

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x1f8], 0
mov rbx, rcx
je 0x1400cbb50
mov edx, 1
mov dword [rsp + 0x20], 0x20001
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], edx
mov qword [rsp + 0x28], 0
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1400cbb50
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.1400cda60
xor ecx, ecx
mov qword [0x14017b508], 0
call fcn.1400cbe40
cvttsd2si ecx, qword [0x14017b4f8]
lea rdx, [rsp + 0x40]
cvttsd2si eax, qword [0x14017b500]
mov dword [rsp + 0x40], ecx
mov dword [rbx + 0x388], ecx
mov rcx, qword [rbx + 0x350]
mov dword [rsp + 0x44], eax
mov dword [rbx + 0x38c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetCursorPos]
cmp dword [rbx + 0x7c], 0x34001
jne 0x1400cbbe4
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x1400cbbc8
mov rcx, qword [rcx + 8]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]
xor ecx, ecx
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]

Function at 0x1400cbca0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
mov ecx, 0x11
shr ebx, 0xf
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, ebx
mov esi, 0x8000
or edi, 2
mov ecx, 0x12
test si, ax
cmove edi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
and ax, si
mov ecx, 0x5c
mov esi, edi
or esi, 4
test ax, ax
cmove esi, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x5b
movzx ebx, ax
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, esi
mov ecx, 0x14
or edi, 8
or bx, ax
cmovns edi, esi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebx, edi
mov ecx, 0x90
or ebx, 0x10
test al, 1
cmove ebx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov rsi, qword [rsp + 0x38]
mov ecx, ebx
or ecx, 0x20
test al, 1
cmove ecx, ebx
mov rbx, qword [rsp + 0x30]
mov eax, ecx
add rsp, 0x20
pop rdi
ret

Function at 0x1400cd7c0
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx + 4], eax
cmp eax, 0xffffffff
jne 0x1400cd7f0
lea rdx, str.Win32:_Failed_to_allocate_TLS_index
mov ecx, 0x10008
call fcn.1400cda60
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov dword [rbx], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x1400ce280
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140175540]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [0x14017ae22]
mov r8d, 0x6d1
call sub.VCRUNTIME140.dll_memset
lea r14, [rsp + 0x40]
mov qword [rsp + 0x1e0], rdi
sub r14, 0x480
lea r15, [0x14017aba8]
xor r13d, r13d
lea r12, [0x14017aec2]
mov ebx, 0x20
movsx esi, word [r15]
cmp esi, 0xffffffff
je 0x1400ce425
cmp ebx, 0x140
jb 0x1400ce3a0
cmp ebx, 0x14e
ja 0x1400ce3a0
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x44], 0x61
mov dword [rsp + 0x48], 0x62
mov dword [rsp + 0x4c], 0x63
mov dword [rsp + 0x50], 0x64
mov dword [rsp + 0x54], 0x65
mov dword [rsp + 0x58], 0x66
mov dword [rsp + 0x5c], 0x67
mov dword [rsp + 0x60], 0x68
mov dword [rsp + 0x64], 0x69
mov dword [rsp + 0x68], WSACleanup
mov dword [rsp + 0x6c], WSACleanup
mov dword [rsp + 0x70], 0x6a
mov dword [rsp + 0x74], WSACleanup
mov dword [rsp + 0x78], 0x6b
mov edi, dword [r14]
jmp 0x1400ce3af
mov edx, 1
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edi, eax
mov dword [rsp + 0x28], r13d
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
mov dword [rsp + 0x20], 0x10
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 0xffffffff
jne 0x1400ce3f2
mov dword [rsp + 0x28], r13d
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
mov dword [rsp + 0x20], 0x10
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
jl 0x1400ce425
mov qword [rsp + 0x38], r13
lea r8, [rbp - 0x80]
mov qword [rsp + 0x30], r13
mov r9d, 1
mov dword [rsp + 0x28], 5
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
inc ebx
add r12, 5
add r14, 4
add r15, 2
cmp ebx, 0x15c
jle 0x1400ce302
mov rdi, qword [rsp + 0x1e0]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400ef390
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400d3260
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140175540]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [0x14017b738], 0
lea rax, str.libOSMesa.dll
lea rcx, str.OSMesa.dll
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 0
je 0x1400d32b5
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400ef390
add rsp, 0x48
ret
mov qword [rsp + 0x40], rbx
xor ebx, ebx
nop dword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14017b738], rax
test rax, rax
jne 0x1400d32f8
mov rax, qword [rsp + rbx*8 + 0x28]
inc rbx
test rax, rax
jne 0x1400d32c0
lea rdx, str.OSMesa:_Library_not_found
mov ecx, 0x10006
call fcn.1400c7540
jmp 0x1400d341d
lea rdx, str.OSMesaCreateContextExt
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017b738]
lea rdx, str.OSMesaCreateContextAttribs
mov qword [0x14017b740], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017b738]
lea rdx, str.OSMesaDestroyContext
mov qword [0x14017b748], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017b738]
lea rdx, str.OSMesaMakeCurrent
mov qword [0x14017b750], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017b738]
lea rdx, str.OSMesaGetColorBuffer
mov qword [0x14017b758], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017b738]
lea rdx, str.OSMesaGetDepthBuffer
mov qword [0x14017b760], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017b738]
lea rdx, str.OSMesaGetProcAddress
mov qword [0x14017b768], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x14017b740], 0
mov qword [0x14017b770], rax
je 0x1400d33ef
cmp qword [0x14017b750], 0
je 0x1400d33ef
cmp qword [0x14017b758], 0
je 0x1400d33ef
cmp qword [0x14017b760], 0
je 0x1400d33ef
cmp qword [0x14017b768], 0
je 0x1400d33ef
test rax, rax
je 0x1400d33ef
mov eax, 1
jmp 0x1400d341f
lea rdx, str.OSMesa:_Failed_to_load_required_entry_points
mov ecx, 0x10008
call fcn.1400c7540
mov rcx, qword [0x14017b738]
test rcx, rcx
je 0x1400d341d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x14017b738], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400ef390
add rsp, 0x48
ret
Function at 0x1400d94b0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x140175540]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rcx
mov qword [rcx], 0
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1400d9548
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [rsp + 0x20], 8
mov r9d, 1
xor r8d, r8d
lea rdx, str.Crypto_RNG
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1400d9548
mov dword [rsp + 0x20], 0x28
mov r9d, 1
xor r8d, r8d
lea rdx, str.Crypto_RNG
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1400d956c
mov rax, rbx
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400ef390
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str.CryptAcquireContext
lea rcx, [rsp + 0x30]
call fcn.140002bf0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400d9620
lea rdx, [0x14016ae78]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x1400d9a10
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140175540]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, r8
mov rdi, rdx
mov ecx, dword [0x1401b2cc0]
mov rax, qword gs:[0x58]
mov edx, 8
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x14017bba0], ecx
jg 0x1400d9aef
mov eax, ebx
cmp rbx, rax
jne 0x1400d9ab1
xor ecx, ecx
mov eax, ecx
test rbx, rbx
setne al
test ebx, ebx
setne cl
cmp eax, ecx
jne 0x1400d9ab1
mov r8, rdi
mov edx, ebx
mov rcx, qword [0x14017bb98]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x1400d9b32
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400ef390
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov ecx, 0x5b6
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str.GenerateBlock_size
lea rcx, [rsp + 0x20]
call fcn.140002bf0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400d9620
lea rdx, [0x14016ae78]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [0x14017bba0]
call fcn.1400ef7f0
cmp dword [0x14017bba0], 0xffffffff
jne 0x1400d9a5c
lea rcx, [0x14017bb98]
call fcn.1400d94b0
lea rcx, [0x1400fecf0]
call fcn.1400ef614
nop
lea rcx, [0x14017bba0]
call fcn.1400ef784
jmp 0x1400d9a5c
lea rdx, [0x14011cc90]
lea rcx, [rsp + 0x20]
call fcn.140002bf0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400d9620
lea rdx, [0x14016ae78]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400e7a90
Capabilities:
Encode data using xor

Disassembly:
mov r9, r8
xor r11d, r11d
mov r10, rdx
mov r8d, r11d
cmp r9, 8
jb 0x1400e7ac7
mov rdx, r9
shr rdx, 3
imul rax, rdx, 0xfffffffffffffff8
add r9, rax
mov rax, qword [rcx]
add rcx, 8
xor rax, qword [r10]
add r10, 8
or r8, rax
sub rdx, 1
jne 0x1400e7ab0
mov rdx, r8
shr rdx, 0x20
or edx, r8d
mov r8d, edx
mov eax, edx
shr r8d, 8
or r8d, edx
shr eax, 0x10
and r8d, 0xff00
or r8d, eax
movzx eax, dl
shr r8d, 8
or r8d, eax
test r9, r9
je 0x1400e7bb8
sub rcx, r10
cmp r9, 8
jb 0x1400e7b99
mov rax, r9
lea rdx, [r10 + 4]
and rax, 0xfffffffffffffff8
xorps xmm4, xmm4
xorps xmm3, xmm3
nop dword [rax + rax]
movd xmm2, dword [rcx + rdx - 4]
xorps xmm0, xmm0
movd xmm1, dword [rdx - 4]
lea rdx, [rdx + 8]
punpcklbw xmm2, xmm0
add r11, 8
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rdx - 8]
punpcklbw xmm1, xmm0
orps xmm4, xmm2
movd xmm2, dword [rcx + rdx - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp r11, rax
jb 0x1400e7b20
orps xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd eax, xmm3
or r8d, eax
cmp r11, r9
jae 0x1400e7bb8
add r10, r11
sub r9, r11
nop
movzx edx, byte [rcx + r10]
movzx eax, byte [r10]
lea r10, [r10 + 1]
xor edx, eax
or r8d, edx
sub r9, 1
jne 0x1400e7ba0
test r8d, r8d
sete al
ret
Function at 0x1400e7bc0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
test r9, r9
je 0x1400e7d56
cmp r9, 4
jb 0x1400e7bfa
mov r10, r9
shr r10, 2
imul rax, r10, 0xfffffffffffffffc
add r9, rax
mov eax, dword [rdx]
add rdx, 4
xor eax, dword [r8]
add r8, 4
mov dword [rcx], eax
add rcx, 4
sub r10, 1
jne 0x1400e7be1
xor r11d, r11d
test r9, r9
je 0x1400e7d56
cmp r9, 8
jb 0x1400e7d2d
lea r10, [rcx - 1]
lea rax, [r8 - 1]
add r10, r9
add rax, r9
cmp rcx, rax
ja 0x1400e7c2c
cmp r10, r8
jae 0x1400e7d2d
lea rax, [rdx - 1]
add rax, r9
cmp rcx, rax
ja 0x1400e7c41
cmp r10, rdx
jae 0x1400e7d2d
mov qword [rsp + 0x10], rbx
mov qword [rsp], rdi
cmp r9, 0x40
jb 0x1400e7ce7
mov r10, r9
mov qword [rsp + 0x18], rsi
and r10d, 0x3f
mov rbx, r9
sub rbx, r10
mov rdi, rdx
lea rax, [r8 + 0x10]
sub rdi, r8
mov rsi, rcx
sub rsi, r8
nop word [rax + rax]
movdqu xmm0, xmmword [rdi + rax - 0x10]
add r11, 0x40
movdqu xmm1, xmmword [rax - 0x10]
movdqu xmm2, xmmword [rdi + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rsi + rax - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rdi + rax - 0x30]
movdqu xmm1, xmmword [rax - 0x30]
movdqu xmmword [rsi + rax - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rdi + rax - 0x20]
movdqu xmm2, xmmword [rax - 0x20]
movdqu xmmword [rsi + rax - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rsi + rax - 0x20], xmm2
cmp r11, rbx
jb 0x1400e7c80
mov rsi, qword [rsp + 0x18]
cmp r10, 8
jb 0x1400e7d1f
mov r10, r9
and r10, 0xfffffffffffffff8
mov rbx, rdx
lea rax, [r11 + r8]
sub rbx, r8
mov rdi, rcx
sub rdi, r8
nop
movq xmm1, qword [rax + rbx]
add r11, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rdi + rax - 8], xmm1
cmp r11, r10
jb 0x1400e7d00
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp r11, r9
jae 0x1400e7d56
sub rdx, r8
lea r10, [r11 + r8]
sub rcx, r8
sub r9, r11
nop word [rax + rax]
movzx eax, byte [r10 + rdx]
xor al, byte [r10]
mov byte [rcx + r10], al
lea r10, [r10 + 1]
sub r9, 1
jne 0x1400e7d40
add rsp, 8
ret
Function at 0x1400eeba8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400eebe2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400eebe7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400eec30
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14013dda0]
cmp byte [rcx + rax], 0
je 0x1400eec30
dec r8
sub rdx, 1
jne 0x1400eec16
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400f0240
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400f028a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400f028a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400f028a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400f028a
cmp dword [rcx + 0x84], 0xe
jbe 0x1400f028a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400f028c
xor al, al
add rsp, 0x28
ret
Function at 0x14000cdf0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0xb0]
test rcx, rcx
je 0x14000ce8e
mov qword [rsp + 0x30], rdi
mov rdi, qword [rbx + 0x40]
add rdi, rcx
cmp dword [rdi + 8], 6
je 0x14000ce28
mov edx, 5
mov rcx, rbx
call fcn.14000d100
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx - 0x10]
mov qword [rcx], rax
mov eax, dword [rcx - 8]
mov dword [rcx + 8], eax
mov rax, qword [rdi]
mov rcx, qword [rbx + 0x10]
mov qword [rcx - 0x10], rax
mov eax, dword [rdi + 8]
mov rdi, qword [rsp + 0x30]
mov dword [rcx - 8], eax
mov rax, qword [rbx + 0x38]
sub rax, qword [rbx + 0x10]
cmp rax, 0x10
jg 0x14000ce73
mov edx, dword [rbx + 0x58]
mov rcx, rbx
cmp edx, 1
jl 0x14000ce6c
add edx, edx
jmp 0x14000ce6e
inc edx
call fcn.14000d220
add qword [rbx + 0x10], 0x10
mov r8d, 1
mov rdx, qword [rbx + 0x10]
mov rcx, rbx
add rdx, 0xffffffffffffffe0
call fcn.14000dc90
mov edx, 2
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14000d100

Function at 0x14000d100
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xa8]
mov rbx, rcx
test rax, rax
je 0x14000d132
mov dword [rax + 0x110], edx
mov edx, 1
mov rcx, qword [rcx + 0xa8]
add rcx, 0x10
call qword [sym.imp.VCRUNTIME140.dll_longjmp]
int3
mov rax, qword [rcx + 0x20]
mov byte [rcx + 0xa], dl
cmp qword [rax + 0x98], 0
je 0x14000d155
call fcn.14000d060
mov rax, qword [rbx + 0x20]
mov rcx, rbx
call qword [rax + 0x98]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140011560
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1401de080]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rsi, r8
mov qword [rsp + 0x30], rcx
lea r8, [rsp + 0x38]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], r8
mov rdi, rdx
mov r14, rcx
mov ebx, 0x200
nop dword [rax]
lea rax, [rsp + 0x20]
sub r8, rax
sub r8, 0x18
je 0x1400115e0
lea rdx, [rsp + 0x38]
call fcn.140001c80
inc dword [rsp + 0x28]
lea rax, [rsp + 0x38]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.140003880
cmp rbx, rsi
lea rcx, [rsp + 0x38]
mov rax, rsi
mov r9, rdi
cmovbe rax, rbx
mov edx, 1
mov r8, rax
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, qword [rsp + 0x20]
add r8, rax
mov qword [rsp + 0x20], r8
sub rsi, rax
je 0x140011621
cmp rax, rbx
jne 0x140011621
mov rcx, qword [rsp + 0x30]
jmp 0x1400115b0
lea rax, [rsp + 0x20]
sub r8, rax
sub r8, 0x18
je 0x140011654
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
call fcn.140001c80
mov ebx, dword [rsp + 0x28]
lea rax, [rsp + 0x38]
inc ebx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], ebx
jmp 0x140011658
mov ebx, dword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
cmp ebx, 2
jl 0x1400116a4
mov rcx, qword [rdi + 0x20]
mov rax, qword [rcx + 0x70]
cmp qword [rcx + 0x78], rax
jb 0x140011678
mov rcx, rdi
call fcn.140010080
mov r8, qword [rdi + 0x10]
mov edx, ebx
sub r8, qword [rdi + 0x18]
mov rcx, rdi
sar r8, 4
dec r8d
call fcn.140026b20
lea eax, [rbx - 1]
movsxd rcx, eax
neg rcx
shl rcx, 4
add qword [rdi + 0x10], rcx
jmp 0x1400116cd
test ebx, ebx
jne 0x1400116cd
mov rbx, qword [rdi + 0x10]
lea rdx, [0x1401ab32e]
xor r8d, r8d
mov rcx, rdi
call fcn.14001ef70
mov qword [rbx], rax
mov dword [rbx + 8], 4
add qword [rdi + 0x10], 0x10
mov dword [rsp + 0x28], 1
test rsi, rsi
je 0x140011743
mov edx, 0xffffffff
mov rcx, r14
call fcn.140001a70
mov rbx, rax
mov ecx, dword [rax + 8]
sub ecx, 3
je 0x140011720
sub ecx, 1
je 0x140011717
sub ecx, 1
je 0x14001170a
cmp ecx, 2
jne 0x14001173f
mov rax, qword [rax]
mov rcx, qword [rax + 0x20]
jmp 0x14001173a
mov rcx, qword [rax]
call fcn.140023b30
movsxd rcx, eax
jmp 0x14001173a
mov rax, qword [rax]
mov rcx, qword [rax + 0x10]
jmp 0x14001173a
mov rdx, rbx
mov rcx, r14
call fcn.140025dd0
test eax, eax
je 0x140011738
mov rax, qword [rbx]
mov rcx, qword [rax + 0x10]
jmp 0x14001173a
xor ecx, ecx
test rcx, rcx
jne 0x140011743
xor eax, eax
jmp 0x140011748
mov eax, 1
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140176e00
add rsp, 0x250
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret