joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007350
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xf0], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x14000738c
mov r8d, 0x73a
lea rdx, str.D:C_ProjectFIX_199ximgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0xf8]
lea rdx, [0x14013de30]
movsxd r8, dword [rsi + 0xf0]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [rsi]
not ebx
cmp dword [rcx + 0x3f50], ebx
jne 0x140007407
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001d840
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140007420
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0xf0], 0
mov rdi, rdx
mov rbx, rcx
jg 0x140007453
mov r8d, 0x73a
lea rdx, str.D:C_ProjectFIX_199ximgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rbx + 0x110]
lea r10, [0x14013de30]
movsxd rcx, dword [rbx + 0xf0]
mov rax, qword [rbx + 0xf8]
movss xmm2, dword [rdi]
movss xmm1, dword [rbx + 0x114]
subss xmm2, xmm0
movss xmm3, dword [rdi + 4]
mov r9d, dword [rax + rcx*4 - 4]
subss xmm3, xmm1
movss xmm4, dword [rdi + 8]
not r9d
movzx ecx, r9b
subss xmm4, xmm0
movss xmm0, dword [rdi + 0xc]
shr r9d, 8
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp + 0x20], xmm2
movzx eax, byte [rsp + 0x20]
xor rcx, rax
movss dword [rsp + 0x24], xmm3
mov eax, r8d
movss dword [rsp + 0x28], xmm4
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 0x2c], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x24]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x28]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
mov rbx, qword [rsp + 0x40]
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x2c]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x30
pop rdi
ret
Function at 0x1400164f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x140216dc0]
mov edi, ecx
cmp byte [rbx + 0x4b21], 0
jne 0x140016542
cmp byte [rbx + 0x4b22], 0
jne 0x140016542
movsx r9d, word [rbx + 0x5c54]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140003ab0
test dil, 2
je 0x14001666f
jmp 0x1400165cd
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1401484b8]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1401484a4]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x4808], rax
mov dword [rbx + 0x47f4], 1
movss dword [rbx + 0x4800], xmm0
movss dword [rbx + 0x4804], xmm1
movss xmm0, dword [rbx + 0x3900]
mulss xmm0, dword [0x14014841c]
or dword [rbx + 0x47f0], 0x41
movss dword [rbx + 0x4850], xmm0
movsx r9d, word [rbx + 0x5c54]
call fcn.140003ab0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140016620
lea r11, [0x14013de30]
nop dword [rax]
cmp r9b, 0x23
jne 0x140016603
cmp byte [r8], r9b
jne 0x140016603
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400165f0
not ecx
call fcn.14000b5e0
test rax, rax
je 0x14001666f
cmp byte [rax + 0xb6], 0
je 0x14001666f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5c54]
movsx r9d, word [rbx + 0x5c54]
call fcn.140003ab0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000e210
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14001c180
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5da8], 0
lea rbx, [rcx + 0x5db0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001c227
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001c1da
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001e630
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004310
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5da8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5db8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140216db8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001c22f
mov rcx, rbx
call fcn.140004310
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001c5f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140216dc0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001c653
mov qword [rsp], rbx
lea rbx, [0x14013de30]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001c633
cmp byte [r8], r9b
jne 0x14001c633
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001c620
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5d18]
not eax
mov r8, qword [r10 + 0x5d20]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001c67f
cmp dword [r8 + 8], eax
je 0x14001c686
add r8, 0x48
cmp r8, rcx
jne 0x14001c670
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14003ddb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x14003de17
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
lea r8, [r8 + 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x14003ddd2
mov ecx, dword [r10]
jmp 0x14003df38
cmp ecx, 0x270
jb 0x14003df38
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
nop word [rax + rax]
mov r9, qword [rbx + 8]
mov r8, rbx
add rbx, 8
mov rdx, r9
xor rdx, rax
and rdx, 0xffffffff80000000
xor rdx, r9
movzx eax, dl
and al, 1
neg al
mov rax, r9
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4e0]
xor rcx, rdx
mov qword [r8 - 0x9c0], rcx
sub rdi, 1
jne 0x14003de50
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov r9, qword [rbx]
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx + 8]
mov rdx, rbx
xor r9, r8
add rbx, 8
and r9, 0xffffffff80000000
xor r9, r8
movzx eax, r9b
and al, 1
neg al
sbb rcx, rcx
shr r9, 1
and rcx, r11
xor rcx, qword [rdx - 0xea0]
xor rcx, r9
mov r9, r8
mov qword [rdx - 0x9c0], rcx
sub rdi, 1
jne 0x14003deb0
mov rdx, qword [r10 + 8]
xor rdx, qword [r10 + 0x1380]
mov rdi, qword [rsp]
and rdx, 0xffffffff80000000
xor rdx, qword [r10 + 8]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret
Function at 0x14003e460
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, qword [0x14023c4c0]
mov rbx, r8
lea rsi, [rdi + 0x164]
lea rcx, [rdi + 0x16c]
mov dword [rsi], 1
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + 0x168], ebx
add rbx, 8
je 0x14003e573
mov rax, qword [rdi]
test rax, rax
jne 0x14003e4cb
mov r8d, 0x4f
lea rdx, str.D:C_ProjectFIX_199xexamples1999XDiscordRPCSourceFilesconnection_win.cpp
lea rcx, str.self
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jmp 0x14003e523
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
je 0x14003e523
test rsi, rsi
jne 0x14003e4f6
mov r8d, 0x56
lea rdx, str.D:C_ProjectFIX_199xexamples1999XDiscordRPCSourceFilesconnection_win.cpp
lea rcx, [0x140145598]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jmp 0x14003e523
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov r8d, ebx
mov qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x14003e523
cmp dword [rsp + 0x40], ebx
je 0x14003e573
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x14003e542
mov eax, dword [rdi + 8]
dec eax
test eax, 0xfffffffd
jne 0x14003e542
mov ecx, dword [rdi + 0x60]
lea rdx, [rdi + 0x64]
call r8
mov rbx, qword [rdi]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
xor al, al
mov byte [rbx], 0
mov dword [rdi + 8], 0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x48]
mov al, 1
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400469c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 8], ecx
push rbp
push rsi
sub rsp, 0x38
mov rsi, qword [0x140237ec0]
mov rbp, qword [0x140237ec8]
cmp rsi, rbp
je 0x140046afb
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x30], r14
xor r14d, r14d
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi]
mov r9d, 0x40
movsxd r8, dword [rsp + 0x50]
mov rcx, qword [0x14020f7a0]
lea rbx, [rax + 0x2c]
lea rdi, [rax + 0x28]
mov rdx, rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_ZwProtectVirtualMemory]
movsxd r8, dword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov rcx, qword [0x14020f7a0]
mov r9d, 0x40
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_ZwProtectVirtualMemory]
mov rcx, qword [0x14020f7a0]
lea r8, [rsp + 0x50]
mov r9d, 4
mov qword [rsp + 0x20], r14
mov rdx, rbx
call qword [sym.imp.ntdll.dll_ZwReadVirtualMemory]
mov rcx, qword [0x14020f7a0]
lea r8, [rsp + 0x50]
mov r9d, 4
mov qword [rsp + 0x20], r14
mov rdx, rdi
call qword [sym.imp.ntdll.dll_ZwWriteVirtualMemory]
movsxd r8, dword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov rcx, qword [0x14020f7a0]
mov r9d, 0x20
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_ZwProtectVirtualMemory]
movsxd r8, dword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov rcx, qword [0x14020f7a0]
mov r9d, 0x20
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_ZwProtectVirtualMemory]
add rsi, 8
cmp rsi, rbp
jne 0x140046a00
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
add rsp, 0x38
pop rsi
pop rbp
ret
Function at 0x140046b10
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rsi
push r14
push r15
mov rbp, rsp
sub rsp, 0x48
mov rsi, qword [0x140237ec0]
mov r15d, ecx
mov r14, qword [0x140237ec8]
cmp rsi, r14
je 0x140046cba
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x40], r12
xor r12d, r12d
nop dword [rax]
mov rax, qword [rsi]
mov r9d, 0x40
movsxd r8, dword [rbp + 0x30]
mov rcx, qword [0x14020f7a0]
lea rbx, [rax + 0x34]
lea rdi, [rax + 0x28]
mov rdx, rbx
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_ZwProtectVirtualMemory]
movsxd r8, dword [rbp + 0x30]
lea rax, [rbp + 0x38]
mov rcx, qword [0x14020f7a0]
mov r9d, 0x40
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_ZwProtectVirtualMemory]
mov rcx, qword [0x14020f7a0]
lea r8, [rbp + 0x30]
mov r9d, 4
mov qword [rsp + 0x20], r12
mov rdx, rbx
call qword [sym.imp.ntdll.dll_ZwReadVirtualMemory]
mov rcx, qword [0x14020f7a0]
lea r8, [rbp + 0x30]
mov r9d, 4
mov qword [rsp + 0x20], r12
mov rdx, rdi
call qword [sym.imp.ntdll.dll_ZwWriteVirtualMemory]
movsxd r8, dword [rbp + 0x30]
lea rax, [rbp + 0x38]
mov rcx, qword [0x14020f7a0]
mov r9d, 0x20
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_ZwProtectVirtualMemory]
movsxd r8, dword [rbp + 0x30]
lea rax, [rbp + 0x38]
mov rcx, qword [0x14020f7a0]
mov r9d, 0x20
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_ZwProtectVirtualMemory]
add rsi, 8
cmp rsi, r14
jne 0x140046b50
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x70]
cmp r15d, 1
jne 0x140046cba
cmp byte [0x140147ad9], 0
movsd xmm0, qword [str.s_WM]
movzx eax, word [0x140147ad8]
movsd qword [rbp - 0x18], xmm0
mov word [rbp - 0x10], ax
je 0x140046c93
xor byte [rbp - 0x17], 0x32
xor byte [rbp - 0x16], 0x33
xor byte [rbp - 0x15], 0x34
xor byte [rbp - 0x14], 0x35
xor byte [rbp - 0x13], 0x36
xor byte [rbp - 0x12], 0x37
xor byte [rbp - 0x11], 0x38
xor byte [rbp - 0x10], 0x39
xor byte [rbp - 0xf], 0x3a
mov byte [rbp - 0x18], 0x42
lea rax, [rbp - 0x18]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140046ca0
lea rdx, [rbp - 0x18]
lea rcx, [0x14020f758]
call fcn.14003ac40
add rsp, 0x48
pop r15
pop r14
pop rsi
pop rbp
ret
Function at 0x140049350
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x50
mov rbx, rcx
xor esi, esi
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x14004938e
xorps xmm0, xmm0
mov rax, rbx
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], sil
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret
mov ecx, 1
mov qword [rsp + 0x60], rdi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
jne 0x1400493d4
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rdi, qword [rsp + 0x60]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov rax, rbx
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], sil
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400493a6
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x28], xmm0
mov r8, 0xffffffffffffffff
movdqu xmmword [rsp + 0x38], xmm1
nop word [rax + rax]
inc r8
cmp byte [rax + r8], sil
jne 0x140049400
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14003af80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
movups xmm0, xmmword [rsp + 0x28]
mov rdi, qword [rsp + 0x60]
mov rax, rbx
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret
Function at 0x140049450
Capabilities:
Encode data using xor
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xb0
xor ebx, ebx
lea r9, [rsp + 0xc8]
mov dword [rsp + 0x38], ebx
mov rdi, rcx
mov qword [rsp + 0x30], rbx
lea rcx, [0x140147a08]
mov qword [rsp + 0x28], rbx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x14004962e
lea rdx, [rsp + 0x70]
call fcn.140049670
mov r9, rax
cmp byte [rax + 0x12], bl
je 0x140049651
cmp dword [0x1401691e0], 2
jl 0x1400495f6
movdqa xmm0, xmmword [0x140148700]
mov rcx, rax
movdqa xmm5, xmmword [0x140148660]
movdqa xmm4, xmmword [0x1401486f0]
movaps xmmword [rsp + 0xa0], xmm6
movdqa xmm6, xmmword [0x140148690]
movdqa xmmword [rsp + 0x50], xmm0
mov edx, dword [rsp + 0x50]
movaps xmmword [rsp + 0x90], xmm7
movdqa xmm7, xmmword [0x1401486a0]
nop
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
paddd xmm3, xmm5
movdqa xmm0, xmm2
pmuldq xmm1, xmm4
punpckhdq xmm0, xmm2
add ebx, 8
pmuldq xmm0, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 8], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
movd xmm0, edx
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm3, xmm0
movd dword [rcx - 4], xmm3
cmp ebx, 0x10
jl 0x140049500
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
cmp eax, 0x13
jge 0x140049651
movsxd r8, ebx
add r8, r9
nop dword [rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
inc ebx
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp ebx, 0x13
jge 0x140049651
jmp 0x140049600
mov edx, dword [rsp + 0xc8]
mov rcx, rdi
call fcn.140051cd0
mov rbx, qword [rsp + 0xc0]
mov rax, rdi
add rsp, 0xb0
pop rdi
ret
mov rdx, r9
lea rcx, [rsp + 0x50]
call fcn.140043080
lea rdx, [0x140165660]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140050c10
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140050c38
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140050c5e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140050c60
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140050cb9
test ecx, ecx
jle 0x140050c99
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140050cb9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140050cb9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x140050ce0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140050d11
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x140050d2f
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140050d4b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140050d4d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140050d89
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140050e1e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140050dc4
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140050dfe
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140050e1e
cmp rbx, rax
ja 0x140050dd0
test rbx, rbx
je 0x140050e1e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret