joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003050
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
mov rax, qword [0x18001c008]
xor rax, rsp
mov qword [rsp + 0x28], rax
test edx, edx
je 0x18000307a
cmp edx, 1
jne 0x180003188
call fcn.180002350
jmp 0x180003188
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x30], r15
xor r15d, r15d
mov ebx, r15d
cmp dword [0x180033100], ebx
jbe 0x18000317e
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x38], r14
lea r14, [0x180000000]
mov qword [rsp + 0x40], rdi
mov eax, ebx
xor r9b, r9b
mov rbp, qword [r14 + rax*8 + 0x32900]
mov rsi, qword [r14 + rax*8 + 0x32100]
mov r8, rbp
nop dword [rax]
movzx eax, byte [r8]
movzx eax, byte [rax + r14 + 0x30de0]
cmp al, 0x10
jb 0x1800030f2
mov rcx, qword [r14 + rax*8 + 0x19a20]
lea rdx, [r8 + 1]
call fcn.1800031a0
test al, al
je 0x18000315c
movzx ecx, al
add r9b, al
add r8, rcx
cmp r9b, 0xe
jb 0x1800030d0
movzx edi, r9b
mov r8d, 0x40
mov edx, edi
mov dword [rsp + 0x20], r15d
lea r9, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18000315c
mov r8d, edi
mov rdx, rbp
mov rcx, rsi
call fcn.180005020
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov edx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFree]
inc ebx
cmp ebx, dword [0x180033100]
jb 0x1800030b1
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x30]
mov eax, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800033e0
add rsp, 0x48
ret

Function at 0x1800031d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x18001c008]
xor rax, rsp
mov qword [rsp + 0x28], rax
movzx esi, r8b
lea r9, [rsp + 0x20]
mov rbx, rdx
mov dword [rsp + 0x20], 0
mov rdi, rcx
mov r8d, 0x40
mov rcx, rbx
lea eax, [rsi + 0xe]
mov edx, eax
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1800032a8
mov dword [rbx], 0x25ff
mov r11, rdi
mov word [rbx + 4], 0
mov r10, rdi
mov byte [rbx + 6], dil
mov r9, rdi
shr r11, 8
mov r8, rdi
mov byte [rbx + 7], r11b
mov rdx, rdi
shr r10, 0x10
mov rcx, rdi
mov byte [rbx + 8], r10b
mov rax, rdi
shr r9, 0x18
mov byte [rbx + 9], r9b
shr r8, 0x20
mov byte [rbx + 0xa], r8b
shr rdx, 0x28
shr rcx, 0x30
shr rax, 0x38
mov byte [rbx + 0xb], dl
mov byte [rbx + 0xc], cl
mov byte [rbx + 0xd], al
test sil, sil
je 0x18000328d
lea rcx, [rbx + 0xe]
mov r8, rsi
mov dl, 0x90
call fcn.180004600
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800033e0
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800032d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push r14
push r15
sub rsp, 0x20
mov r14, r8
mov qword [rsp + 0x40], rsi
lea r8, [0x180000000]
mov qword [rsp + 0x48], rdi
mov rbp, rdx
mov r15, rcx
xor bl, bl
mov r9, rdx
nop dword [rax]
movzx eax, byte [r9]
movzx eax, byte [rax + r8 + 0x30de0]
cmp al, 0x10
jb 0x180003322
mov rcx, qword [r8 + rax*8 + 0x19a20]
lea rdx, [r9 + 1]
call fcn.1800031a0
test al, al
je 0x1800033a4
movzx ecx, al
add bl, al
add r9, rcx
cmp bl, 0xe
jb 0x180003300
xor ecx, ecx
movzx esi, bl
mov r8d, 0x3000
lea rdx, [rsi + 0xe]
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x1800033a4
mov r8d, esi
mov rdx, rbp
mov rcx, rax
call fcn.180005020
lea rdx, [rsi + rdi]
xor r8d, r8d
lea rcx, [rsi + rbp]
call fcn.1800031d0
test eax, eax
je 0x180003393
lea r8d, [rbx - 0xe]
mov qword [r14], rdi
mov rdx, rbp
mov rcx, r15
call fcn.1800031d0
test eax, eax
jne 0x1800033bf
mov qword [r14], 0
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, 1
jmp 0x1800033a6
Function at 0x18000ab4c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18000ab7c
xor eax, eax
jmp 0x18000ac3f
mov rbp, rbx
cmp word [rax], si
je 0x18000aba1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18000ab88
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000ab84
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18000aa6c
movsxd r14, eax
test eax, eax
jne 0x18000abdf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000ab75
mov rcx, r14
call fcn.18000bddc
mov rdi, rax
test rax, rax
jne 0x18000abf8
xor ecx, ecx
call fcn.1800090a4
jmp 0x18000abd4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18000aa6c
test eax, eax
jne 0x18000ac29
mov rcx, rdi
call fcn.1800090a4
jmp 0x18000ac33
xor ecx, ecx
call fcn.1800090a4
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140003310
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 0x14000336d
lea rbx, [0x1400d5e00]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003354
cmp r10, 2
jb 0x140003354
cmp byte [r9], r8b
jne 0x140003354
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 0x140003330
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400033af
lea rbx, [0x1400d5e00]
cmp r8b, 0x23
jne 0x140003393
cmp byte [r9], r8b
jne 0x140003393
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 0x140003380
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400034f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000350a
mov qword [r8], 0
lea rdx, [0x1400d5844]
call fcn.1400033c0
mov rbx, rax
test rax, rax
jne 0x14000352a
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 0x140003601
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 0x140003601
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003601
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 0x140003601
cmp rdi, 0xffffffffffffffff
je 0x140003601
mov rax, qword [0x1400f0be0]
test rax, rax
je 0x14000359e
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 0x140003601
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 0x1400035ee
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400f0be0]
test rax, rax
je 0x1400035e3
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000360a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400035fc
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000360c
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 0x140011ae0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov rax, qword [0x1400f0be0]
lea r10, [0x1400d5e00]
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.1400231d0
add rsp, 0x28
ret

Function at 0x140012650
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400ef080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400f0be0]
mov edi, edx
cmp byte [rbx + 0x20d5], 0
jne 0x1400126b0
cmp byte [rbx + 0x20d6], 0
jne 0x1400126b0
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140003290
test dil, 1
je 0x1400127d6
jmp 0x14001273f
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 [0x1400db75c]
mulss xmm1, dword [0x1400db73c]
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 [0x1400db6a8]
or dword [rbx + 0x1dc0], 0x41
movss dword [rbx + 0x1e20], xmm0
call fcn.140003290
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140012790
lea r11, [0x1400d5e00]
nop
cmp r9b, 0x23
jne 0x140012773
cmp byte [r8], r9b
jne 0x140012773
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 0x140012760
not ecx
call fcn.14000b530
test rax, rax
je 0x1400127d6
cmp byte [rax + 0xcf], 0
je 0x1400127d6
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.140003290
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000e010
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400c1210
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400174d0
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 0x140017577
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001752a
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.140023ae0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003bc0
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, [0x1400f0bd8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001757f
mov rcx, rbx
call fcn.140003bc0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400179c0
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 0x140017a12
lea r11, [0x1400d5e00]
cmp r9b, 0x23
jne 0x1400179f5
cmp byte [r8], r9b
jne 0x1400179f5
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 0x1400179e2
mov r11, qword [0x1400f0be0]
mov r10, qword [r11 + 0x3228]
test r10, r10
je 0x140017a59
lea r9, [r10 + 4]
test r9, r9
je 0x140017a59
not eax
cmp dword [r9], eax
je 0x140017a62
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 0x140017a30
mov rcx, rbx
pop rbx
jmp fcn.1400178d0
mov rax, r9
pop rbx
ret
Function at 0x14001aeb0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14001b0ee
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1400ef080]
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, [0x1400d5e00]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x14001b0b6
mov rcx, rbp
call fcn.14001a540
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x14001af81
movsxd rdx, dword [rbp + 0x31c0]
mov r8, qword [rbp + 0x31c8]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x14001af71
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14001af69
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14001af6c
mov rdx, rcx
test rdx, rdx
jne 0x14001af40
cmp r8, r10
je 0x14001af81
cmp dword [r8], r9d
jne 0x14001af81
mov rcx, qword [r8 + 8]
jmp 0x14001af83
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 0x14001b017
cmp qword [rcx + 0x18], 0
jne 0x14001b00c
mov qword [rcx + 0x18], rbx
jmp 0x14001b017
cmp qword [rcx + 0x20], 0
jne 0x14001b017
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 0x14001b04c
nop
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001b040
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, reloc.WS2_32.dll_sendto
call fcn.140003290
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x14001b0a8
cmp r9b, 0x23
jne 0x14001b08b
cmp byte [r8], r9b
jne 0x14001b08b
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 0x14001b078
not ecx
call fcn.14000b530
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001af00
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.1400c1210
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x1400489c0
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.1400c1f70
sub rsp, rax
mov rax, qword [0x1400ef080]
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 0x140048a10
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.140058880
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x140048a8a
lea rcx, [rsp + 0x30]
call fcn.140058880
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x140048a75
shr rax, 0x20
lea edx, [rax - 0x7fffff9f]
mov rcx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
cmp rcx, r8
jae 0x140048abf
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp r8, 0x10
jb 0x140048ab5
mov rax, qword [rbx]
mov byte [rax + rcx], dl
mov byte [rax + rcx + 1], 0
jmp 0x140048acb
movzx r9d, dl
mov rcx, rbx
call fcn.140057240
sub rdi, 1
jne 0x140048a60
mov rax, rbx
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400c1210
mov rbx, qword [rsp + 0x13e8]
add rsp, 0x13d0
pop rdi
ret

Function at 0x14004cf60
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1a], 0
je 0x14004cf83
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x18]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x19
jb 0x14004cf70
mov byte [rcx + 0x1a], 0
mov rax, rcx
ret

Function at 0x14004cf90
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1f], 0
je 0x14004cfb3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x18]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1e
jb 0x14004cfa0
mov byte [rcx + 0x1f], 0
mov rax, rcx
ret

Function at 0x14004cfc0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x22], 0
je 0x14004cfe3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x18]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x21
jb 0x14004cfd0
mov byte [rcx + 0x22], 0
mov rax, rcx
ret

Function at 0x14004cff0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1c], 0
je 0x14004d013
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x18]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1b
jb 0x14004d000
mov byte [rcx + 0x1c], 0
mov rax, rcx
ret

Function at 0x14004d020
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x16], 0
je 0x14004d043
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x18]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x15
jb 0x14004d030
mov byte [rcx + 0x16], 0
mov rax, rcx
ret
Function at 0x140053b10
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 0x140053b38
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 0x140053b5e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140053b60
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140053bb9
test ecx, ecx
jle 0x140053b99
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 0x140053bb9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140053bb9
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 0x140053be0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140053c02
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140053c18
add rsp, 0x30
pop r14
pop rsi
pop rbp
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 + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140053c34
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140053c36
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140053c72
mov qword [rsp + 0x20], 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 + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140053d0e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140053cad
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 0x140053cee
nop word [rax + 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 0x140053d0e
cmp rbx, rax
ja 0x140053cc0
test rbx, rbx
je 0x140053d0e
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
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret