joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000dad0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14014b080]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x50], ebx
mov edi, r9d
mov qword [rsp + 0x58], r8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword gs:[0x58]
mov rsi, rax
mov eax, 4
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x14014f440], ecx
jle 0x14000db9a
lea rcx, [0x14014f440]
call fcn.1400e7bc8
cmp dword [0x14014f440], 0xffffffff
jne 0x14000db9a
movdqa xmm0, xmmword [0x140137510]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0xcff2fbd0
mov dword [rsp + 0x44], 0x100dbd3
nop dword [rax]
nop word [rax + rax]
lea eax, [rbx - 0x73]
xor byte [rsp + rbx + 0x30], al
inc rbx
cmp rbx, 0x16
jb 0x14000db60
mov rcx, qword [0x14014efc8]
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x47], 0
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14014f440]
mov qword [0x14014f430], rax
call fcn.1400e7b68
mov rax, qword [0x14014f430]
test rax, rax
je 0x14000dbc4
lea rcx, [rsp + 0x50]
mov r9d, edi
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x58]
mov rcx, rsi
lea rdx, [rsp + 0x48]
call rax
jmp 0x14000dbcf
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400e7a20
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret

Function at 0x14000f4d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000f52d
lea rbx, [0x140114230]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000f514
cmp r10, 2
jb 0x14000f514
cmp byte [r9], r8b
jne 0x14000f514
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14000f4f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000f56f
lea rbx, [0x140114230]
cmp r8b, 0x23
jne 0x14000f553
cmp byte [r9], r8b
jne 0x14000f553
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14000f540
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14000f6b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000f6ca
mov qword [r8], 0
lea rdx, [0x140135bbc]
call fcn.14000f580
mov rbx, rax
test rax, rax
jne 0x14000f6ea
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14000f7c1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000f7c1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000f7c1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000f7c1
cmp rdi, 0xffffffffffffffff
je 0x14000f7c1
mov rax, qword [0x14014eee0]
test rax, rax
je 0x14000f75e
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000f7c1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000f7ae
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14014eee0]
test rax, rax
je 0x14000f7a3
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000f7ca
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000f7bc
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000f7cc
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14001de60
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov rax, qword [0x14014eee0]
lea r10, [0x140114230]
mov r9, qword [rax + 0x1d18]
movsxd rdx, dword [r9 + 0x108]
mov rax, qword [r9 + 0x110]
mov r8d, dword [rax + rdx*4 - 4]
not r8d
movzx eax, cl
movzx edx, r8b
shr r8d, 8
xor rdx, rax
movzx eax, byte [rsp + 0x31]
xor r8d, dword [r10 + rdx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x32]
xor r8d, dword [r10 + rcx*4]
movzx ecx, r8b
shr r8d, 8
xor rcx, rax
movzx eax, byte [rsp + 0x33]
xor r8d, dword [r10 + rcx*4]
lea rcx, [r9 + 0x108]
movzx edx, r8b
xor rdx, rax
shr r8d, 8
xor r8d, dword [r10 + rdx*4]
lea rdx, [rsp + 0x30]
not r8d
mov dword [rsp + 0x30], r8d
call fcn.14002fa40
add rsp, 0x28
ret

Function at 0x14001edc0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14014b080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14014eee0]
mov edi, edx
cmp byte [rbx + 0x20d5], 0
jne 0x14001ee20
cmp byte [rbx + 0x20d6], 0
jne 0x14001ee20
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14000f450
test dil, 1
je 0x14001ef46
jmp 0x14001eeaf
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3178]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140136fe4]
mulss xmm1, dword [0x140136fcc]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1ddc], rax
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd4], xmm0
mov byte [rbx + 0x1dfc], 1
movss dword [rbx + 0x1dd8], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x140136f28]
or dword [rbx + 0x1dc0], 0x41
movss dword [rbx + 0x1e20], xmm0
call fcn.14000f450
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001ef00
lea r11, [0x140114230]
nop
cmp r9b, 0x23
jne 0x14001eee3
cmp byte [r8], r9b
jne 0x14001eee3
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 0x14001eed0
not ecx
call fcn.1400178b0
test rax, rax
je 0x14001ef46
cmp byte [rax + 0xcf], 0
je 0x14001ef46
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x3178]
call fcn.14000f450
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14001a390
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400e7a20
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140023c50
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 + 0x3260], 0
lea rbx, [rcx + 0x3268]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140023cf7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140023caa
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.140030350
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14000fd80
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3260]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3270]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14014eed8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140023cff
mov rcx, rbx
call fcn.14000fd80
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140024140
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140024192
lea r11, [0x140114230]
cmp r9b, 0x23
jne 0x140024175
cmp byte [r8], r9b
jne 0x140024175
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140024162
mov r11, qword [0x14014eee0]
mov r10, qword [r11 + 0x3228]
test r10, r10
je 0x1400241d9
lea r9, [r10 + 4]
test r9, r9
je 0x1400241d9
not eax
cmp dword [r9], eax
je 0x1400241e2
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x3220]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x1400241b0
mov rcx, rbx
pop rbx
jmp fcn.140024050
mov rax, r9
pop rbx
ret
Function at 0x140027720
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14002795e
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x14014b080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x140114230]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x140027926
mov rcx, rbp
call fcn.140026db0
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x1400277f1
movsxd rdx, dword [rbp + 0x31c0]
mov r8, qword [rbp + 0x31c8]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x1400277e1
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x1400277d9
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x1400277dc
mov rdx, rcx
test rdx, rdx
jne 0x1400277b0
cmp r8, r10
je 0x1400277f1
cmp dword [r8], r9d
jne 0x1400277f1
mov rcx, qword [r8 + 8]
jmp 0x1400277f3
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x140027887
cmp qword [rcx + 0x18], 0
jne 0x14002787c
mov qword [rcx + 0x18], rbx
jmp 0x140027887
cmp qword [rcx + 0x20], 0
jne 0x140027887
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov rcx, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400278bc
nop
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400278b0
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, reloc.WS2_32.dll_sendto
call fcn.14000f450
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x140027918
cmp r9b, 0x23
jne 0x1400278fb
cmp byte [r8], r9b
jne 0x1400278fb
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x1400278e8
not ecx
call fcn.1400178b0
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x140027770
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400e7a20
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140043070
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14014b080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14014f398]
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
mov rdi, qword [0x14014eee0]
movdqu xmmword [rsp + 0x20], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x20]
movd xmm1, eax
mov eax, dword [rsp + 0x2c]
sub eax, dword [rsp + 0x24]
cmp byte [reloc.WS2_32.dll_accept], 0
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
je 0x140043137
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x14014eee0]
mov ecx, dword [rbx + 0x161c]
test ecx, ecx
jns 0x14004310d
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1618]
test eax, eax
cmovg edx, eax
call fcn.14002fcf0
xor r9d, r9d
mov dword [rbx + 0x1618], 0
lea r8, [0x140042f40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov rbx, qword [rsp + 0x50]
mov byte [reloc.WS2_32.dll_accept], 0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x30]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x14014f3a0]
cvtsi2ss xmm0, qword [0x14014f3a8]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x14014f3a0], rcx
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_recv
and al, 1
mov byte [rdi + 0x13c], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_select
and al, 1
mov byte [rdi + 0x13d], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x13f], 0
mov byte [rdi + 0x13e], al
call fcn.140042a70
cmp byte [rdi + 0xcf], 0
mov rdi, qword [rsp + 0x40]
je 0x1400431e1
mov eax, 0xffffffff
jmp 0x1400431ee
mov rax, qword [0x14014eee0]
mov eax, dword [rax + 0x20d0]
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x140043201
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.1400428f0
call fcn.140042c70
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400e7a20
add rsp, 0x48
ret
Function at 0x140054e10
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x14014b080]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
xor edi, edi
movabs rax, 0x5928b7dbec71767d
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rcx, 0x1643ea5dda6aeaf0
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
movabs rax, 0x6919ffe8d8031e33
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x78], rax
movdqa xmm0, xmmword [rsp + 0x30]
pxor xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x140054ed0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.140005ab0
nop
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
mov r14, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x48]
test r15, r15
je 0x140054f6c
mov rdx, r15
mov rcx, rsi
call fcn.140082950
mov rbx, qword [rsi]
mov r8, r15
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [r15 + rbx]
mov qword [rsi + 8], rax
mov r8, qword [rsp + 0x58]
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x48]
cmp r14, 0x10
cmovae rcx, rbp
xor edx, edx
mov rax, rdi
div r8
add rdx, rcx
mov rcx, qword [rsi]
movzx eax, byte [rcx + rdi]
xor al, byte [rdx]
mov byte [rcx + rdi], al
inc rdi
cmp rdi, r15
jne 0x140054f40
cmp r14, 0x10
jb 0x140054fa6
lea rdx, [r14 + 1]
mov rax, rbp
cmp rdx, 0x1000
jb 0x140054f9e
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054f9e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbp
call fcn.1400e7f64
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400e7a20
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005f310
Capabilities:
Terminate process

Disassembly:
push rbp
sub rsp, 0x150
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14014b080]
xor rax, rsp
mov qword [rbp + 0x100], rax
lea rcx, [rbp + 0xa0]
call fcn.14005cd70
nop
lea rcx, [0x14014f090]
call fcn.14008d140
test al, al
je 0x14005f53f
movabs rax, 0x106d969aad607b60
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0x6230ca2db70f9ed0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0xe26ab92bc3b56dc
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0xe5dbfa31a2e80cf2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs rax, 0xd645c5d83e7295ec
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0x515d17b10aa1b051
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0x679985ab9e8fad6e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rax, 0x8b7f6e6705c0f99b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rax, 0x6919ffe8d8031e33
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
movabs rax, 0x1643ea5dda6aeaf0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs rax, 0x7d45c2e6cf5222bd
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
movabs rax, 0x86ba965388c257d2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movabs rax, 0xf621a0ac4d1bf987
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
movabs rax, 0x36327b9178c4c324
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
movabs rax, 0x4db3ac9ab6afc301
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xf0], rax
movabs rax, 0x8b7f6e6705caf3c6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xf8], rax
vmovdqu ymm0, ymmword [rbp + 0xc0]
vpxor ymm1, ymm0, ymmword [rbp + 0x20]
vmovdqa ymmword [rbp + 0x20], ymm1
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0xe0]
vmovdqa ymmword [rbp + 0x40], ymm1
lea r8, [rbp + 0xa0]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x60]
vzeroupper
call fcn.1400813e0
mov rcx, rax
call fcn.14005b070
call fcn.14005c470
lea rdx, [0x1400fd8b8]
lea rcx, [rbp + 0x80]
call fcn.140003da0
mov rdx, rax
lea rcx, [0x14014f090]
call fcn.14008b6c0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x14005f583
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f57e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f57e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7f64
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1400e7a20
add rsp, 0x150
pop rbp
ret
Function at 0x1400606a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x13d0
call fcn.1400e8700
sub rsp, rax
mov rax, qword [0x14014b080]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13b4], 0xffffffff
mov dword [rsp + 0x34], eax
lea ecx, [rdi + 1]
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x34], edx
inc rcx
cmp rcx, 0x270
jb 0x1400606f0
mov dword [rsp + 0x30], 0x270
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], dil
mov dword [rsp + 0x20], 1
mov edi, 5
nop dword [rax]
lea rcx, [rsp + 0x30]
call fcn.140083e60
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x14006076a
lea rcx, [rsp + 0x30]
call fcn.140083e60
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x140060755
shr rax, 0x20
lea edx, [rax - 0x7fffff9f]
mov rcx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
cmp rcx, r8
jae 0x14006079f
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp r8, 0x10
jb 0x140060795
mov rax, qword [rbx]
mov byte [rax + rcx], dl
mov byte [rax + rcx + 1], 0
jmp 0x1400607b2
movzx r9d, dl
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14000b550
sub rdi, 1
jne 0x140060740
mov rax, rbx
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400e7a20
mov rbx, qword [rsp + 0x13e8]
add rsp, 0x13d0
pop rdi
ret
Function at 0x1400607e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13d0
call fcn.1400e8700
sub rsp, rax
mov rax, qword [0x14014b080]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13b4], 0xffffffff
mov dword [rsp + 0x34], eax
lea ecx, [rsi + 1]
nop dword [rax]
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x34], edx
inc rcx
cmp rcx, 0x270
jb 0x140060840
mov dword [rsp + 0x30], 0x270
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov dword [rsp + 0x20], 1
mov edi, 5
nop dword [rax]
lea rcx, [rsp + 0x30]
call fcn.140083e60
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x1400608ba
lea rcx, [rsp + 0x30]
call fcn.140083e60
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x1400608a5
shr rax, 0x20
lea ecx, [rax - 0x7fffff9f]
movsx r9d, cl
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400608f5
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 8
jb 0x1400608e9
mov rax, qword [rbx]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], si
jmp 0x1400608fd
mov rcx, rbx
call fcn.140081e20
sub rdi, 1
jne 0x140060890
mov rax, rbx
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400e7a20
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret