joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5bf160
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea r12, [rsp - 8]
cmp r12, qword [r14 + 0x10]
jbe 0x5bf2bd
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
movabs rdx, 0xb28877559e815656
mov qword [rsp + 0x1c], rdx
movabs rdx, 0x92689f97587b9190
mov qword [rsp + 0x24], rdx
movabs rdx, 0x7e89ff7f92689f97
mov qword [rsp + 0x28], rdx
movabs rdx, 0x4e4ead716fa2e2b8
mov qword [rsp + 0x30], rdx
movabs rdx, 0x8170869faf986e87
mov qword [rsp + 0x38], rdx
movabs rdx, 0x3d6b88788e499b81
mov qword [rsp + 0x40], rdx
movabs rdx, 0x713230c06091001
mov qword [rsp + 0x48], rdx
movabs rdx, 0x241512090a252921
mov qword [rsp + 0x50], rdx
movabs rdx, 0x28200f2013270a09
mov qword [rsp + 0x58], rdx
movabs rdx, 0x1108090a21181c11
mov qword [rsp + 0x60], rdx
movabs rdx, 0x1192423290d1c05
mov qword [rsp + 0x68], rdx
movabs rdx, 0x1f02062005131402
mov qword [rsp + 0x70], rdx
movabs rdx, 0x11e131716032923
mov qword [rsp + 0x78], rdx
xor eax, eax
jmp 0x5bf260
movzx r9d, byte [rsp + rsi + 0x1c]
sub r9d, edx
lea edx, [r9 + 0x14]
mov byte [rsp + rdi + 0x1c], dl
lea edx, [r8 + 0x14]
mov byte [rsp + rsi + 0x1c], dl
add rax, 2
nop dword [rax + rax]
cmp rax, 0x38
jge 0x5bf28d
movzx edx, byte [rsp + rax + 0x48]
movzx esi, byte [rsp + rax + 0x49]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x2c
jae 0x5bf2b0
movzx r8d, byte [rsp + rdi + 0x1c]
sub r8d, edx
cmp rsi, 0x2c
jb 0x5bf23e
jmp 0x5bf2a4
xor eax, eax
lea rbx, [rsp + 0x1c]
mov ecx, 0x2c
call fcn.0044c140
sub rsp, 0xffffffffffffff80
pop rbp
ret
mov eax, esi
mov ecx, 0x2c
call fcn.00461b40
mov eax, edi
mov ecx, 0x2c
call fcn.00461b40
nop
nop dword [rax]
call fcn.0045f8c0
jmp fcn.005bf160
Function at 0x5c2340
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5c2426
push rbp
mov rbp, rsp
sub rsp, 0x28
lea rax, [0x005d87e0]
call fcn.0040cca0
movabs rcx, 0x1c396e04575c3aff
mov qword [rax], rcx
movabs rcx, 0x533a0f121c396e04
mov qword [rax + 4], rcx
movabs rcx, 0x2f48f030651312c0
mov qword [rax + 0xc], rcx
movabs rcx, 0x811090a11111307
mov qword [rsp + 0x10], rcx
movabs rcx, 0x1209110d10060c09
mov qword [rsp + 0x18], rcx
movabs rcx, 0xe0004110c040400
mov qword [rsp + 0x20], rcx
xor ecx, ecx
jmp 0x5c23d2
movzx r9d, byte [rsi + rax]
sub r9d, edx
lea edx, [r9 + 0x54]
mov byte [rax + rdi], dl
lea edx, [r8 + 0x54]
mov byte [rax + rsi], dl
add rcx, 2
cmp rcx, 0x18
jge 0x5c23fe
movzx edx, byte [rsp + rcx + 0x10]
movzx esi, byte [rsp + rcx + 0x11]
mov edi, edx
xor edx, esi
add edx, ecx
cmp rdi, 0x14
jae 0x5c2418
movzx r8d, byte [rdi + rax]
sub r8d, edx
cmp rsi, 0x14
jb 0x5c23b8
jmp 0x5c240c
mov ebx, 0x14
mov rcx, rbx
add rsp, 0x28
pop rbp
ret
mov eax, esi
mov ecx, 0x14
call fcn.00461b40
mov eax, edi
mov ecx, 0x14
nop
call fcn.00461b40
nop
call fcn.0045f8c0
jmp fcn.005c2340

Function at 0x5c27c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5c289a
push rbp
mov rbp, rsp
sub rsp, 0x28
lea rax, [0x005d8780]
call fcn.0040cca0
movabs rcx, 0x6144604b3a72354e
mov qword [rax], rcx
movabs rcx, 0x6c124e2e58576144
mov qword [rax + 6], rcx
movabs rcx, 0xb0805000b010408
mov qword [rsp + 0x16], rcx
movabs rcx, 0x50c0b0805000b01
mov qword [rsp + 0x18], rcx
movabs rcx, 0x906050908010903
mov qword [rsp + 0x20], rcx
xor ecx, ecx
jmp 0x5c2841
movzx r9d, byte [rsi + rax]
lea edx, [r9 + rdx]
lea edx, [rdx + 2]
mov byte [rax + rdi], dl
mov byte [rax + rsi], r8b
add rcx, 2
cmp rcx, 0x12
jge 0x5c2872
movzx edx, byte [rsp + rcx + 0x16]
movzx esi, byte [rsp + rcx + 0x17]
mov edi, edx
xor edx, esi
add edx, ecx
cmp rdi, 0xe
jae 0x5c288d
movzx r8d, byte [rdi + rax]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 2]
cmp rsi, 0xe
jb 0x5c282a
jmp 0x5c2881
mov ebx, 0xe
mov rcx, rbx
add rsp, 0x28
pop rbp
nop
ret
mov eax, esi
mov ecx, 0xe
call fcn.00461b40
mov eax, edi
mov ecx, 0xe
call fcn.00461b40
nop
call fcn.0045f8c0
nop
jmp fcn.005c27c0
Function at 0x5c2b60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5c2c26
push rbp
mov rbp, rsp
sub rsp, 0x30
movabs rdx, 0xad0e146ccacf1917
mov qword [rsp + 0x1d], rdx
mov byte [rsp + 0x25], 6
movabs rdx, 0x507000103000806
mov qword [rsp + 0x26], rdx
mov word [rsp + 0x2e], 0x205
xor eax, eax
nop
jmp 0x5c2bc0
movzx r9d, byte [rsp + rsi + 0x1d]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x50]
mov byte [rsp + rdi + 0x1d], dl
mov byte [rsp + rsi + 0x1d], r8b
add rax, 2
nop dword [rax]
cmp rax, 0xa
jge 0x5c2bf2
movzx edx, byte [rsp + rax + 0x26]
movzx esi, byte [rsp + rax + 0x27]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 9
jae 0x5c2c17
movzx r8d, byte [rsp + rdi + 0x1d]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x50]
cmp rsi, 9
jb 0x5c2ba2
jmp 0x5c2c0b
xor eax, eax
lea rbx, [rsp + 0x1d]
mov ecx, 9
nop
call fcn.0044c140
add rsp, 0x30
pop rbp
ret
mov eax, esi
mov ecx, 9
call fcn.00461b40
mov eax, edi
mov ecx, 9
nop
call fcn.00461b40
nop
call fcn.0045f8c0
jmp fcn.005c2b60

Function at 0x5c2f60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5c3026
push rbp
mov rbp, rsp
sub rsp, 0x20
lea rax, [0x005d8720]
call fcn.0040cca0
movabs rcx, 0x73e37eaaea659fb1
mov qword [rax], rcx
movabs rcx, 0x998bb273e37eaaea
mov qword [rax + 3], rcx
movabs rcx, 0x30106080a0a0306
mov qword [rsp + 0x14], rcx
mov dword [rsp + 0x1c], 0x90405
xor ecx, ecx
jmp 0x5c2fce
movzx r9d, byte [rsi + rax]
sub r9d, edx
lea edx, [r9 - 0x32]
mov byte [rax + rdi], dl
lea edx, [r8 - 0x32]
mov byte [rax + rsi], dl
add rcx, 2
cmp rcx, 0xc
jge 0x5c2ffa
movzx edx, byte [rsp + rcx + 0x14]
movzx esi, byte [rsp + rcx + 0x15]
mov edi, edx
xor edx, esi
add edx, ecx
cmp rdi, 0xb
jae 0x5c3014
movzx r8d, byte [rdi + rax]
sub r8d, edx
cmp rsi, 0xb
jb 0x5c2fb4
jmp 0x5c3008
mov ebx, 0xb
mov rcx, rbx
add rsp, 0x20
pop rbp
ret
mov eax, esi
mov ecx, 0xb
call fcn.00461b40
mov eax, edi
mov ecx, 0xb
nop dword [rax + rax]
call fcn.00461b40
nop
call fcn.0045f8c0
jmp fcn.005c2f60
Function at 0x5c4280
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5c4366
push rbp
mov rbp, rsp
sub rsp, 0x40
movabs rdx, 0x1474bac272bf9b9e
mov qword [rsp + 0x1e], rdx
movabs rdx, 0x8c8491846fbe1474
mov qword [rsp + 0x24], rdx
movabs rdx, 0x20400090c04070c
mov qword [rsp + 0x2c], rdx
movabs rdx, 0x802050102040009
mov qword [rsp + 0x30], rdx
movabs rdx, 0x2020d0b0c010a04
mov qword [rsp + 0x38], rdx
xor eax, eax
nop
jmp 0x5c4300
movzx r9d, byte [rsp + rsi + 0x1e]
lea edx, [r9 + rdx]
lea edx, [rdx - 0x39]
mov byte [rsp + rdi + 0x1e], dl
mov byte [rsp + rsi + 0x1e], r8b
add rax, 2
nop dword [rax]
cmp rax, 0x14
jge 0x5c4332
movzx edx, byte [rsp + rax + 0x2c]
movzx esi, byte [rsp + rax + 0x2d]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0xe
jae 0x5c4357
movzx r8d, byte [rsp + rdi + 0x1e]
lea r8d, [r8 + rdx]
lea r8d, [r8 - 0x39]
cmp rsi, 0xe
jb 0x5c42e2
jmp 0x5c434b
xor eax, eax
lea rbx, [rsp + 0x1e]
mov ecx, 0xe
nop
call fcn.0044c140
add rsp, 0x40
pop rbp
ret
mov eax, esi
mov ecx, 0xe
call fcn.00461b40
mov eax, edi
mov ecx, 0xe
nop
call fcn.00461b40
nop
call fcn.0045f8c0
jmp fcn.005c4280
Function at 0x140004b50
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x14003c038]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, rcx
mov qword [rsp + 0x20], rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r13, rax
xor edi, edi
test rax, rax
jne 0x140004bb4
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
jmp 0x140004ca3
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov r15, rdi
mov qword [rsp + 0x38], rdi
mov ebp, 1
mov rbx, qword [rsp + 0x30]
cmp dword [rsp + 0x20], ebp
jle 0x140004c8a
lea r14, [rax + 8]
nop dword [rax]
mov rdx, qword [r14]
lea rcx, [rsp + 0x48]
call fcn.140004ce0
nop
cmp rbx, r15
je 0x140004c26
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
add rbx, 0x20
mov qword [rsp + 0x30], rbx
jmp 0x140004c40
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140004720
mov r15, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x60]
cmp rax, 0x10
jb 0x140004c7a
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004ccc
call fcn.14000a828
inc ebp
add r14, 8
cmp ebp, dword [rsp + 0x20]
jl 0x140004be0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rsp + 0x28]
mov qword [rsi], rax
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
mov rax, rsi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000a8c0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
call fcn.140010d0c
nop
int3

Function at 0x1400163bc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400161e8
Function at 0x180003728
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1800dd010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, rdx
mov rbp, rcx
mov rcx, r8
mov rax, 0xfffffffffffff000
and rcx, rax
mov rsi, r8
mov qword [rdx], rcx
mov rdx, r8
sub rdx, rcx
lea r9, [rdi + 0x10]
add rdx, 0x1004
mov r8d, 0x40
and rdx, rax
mov qword [rdi + 8], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1800037b2
mov r9, qword [rdi + 8]
lea rdx, str.__unprotect_memory__p__size_llu______p__size_llu__n
mov r8, qword [rdi]
mov rcx, rbp
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x20], rsi
call fcn.180002d84
xor eax, eax
jmp 0x1800037ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, [rsp + 0x40]
call fcn.180003434
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rdi + 8]
lea rdx, str.Failed_to_unprotect_memory__p__size_llu______p__size_llu__error_lu__s__
mov r8, qword [rdi]
mov rcx, rbp
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x20], rsi
call fcn.180002dac
mov eax, 9
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180099220
mov rbx, qword [rsp + 0x108]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800081cc
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x180008226
mov r11b, 0x23
lea rdi, [0x1800a30d0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x180008210
cmp rdx, 2
jb 0x180008210
cmp byte [r10], r11b
jne 0x180008210
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x1800081ee
jmp 0x180008267
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x180008267
mov r11b, 0x23
lea rdi, [0x1800a30d0]
cmp dl, r11b
jne 0x18000824b
cmp byte [r10], r11b
jne 0x18000824b
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x180008239
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x18000839c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x1800083bc
and qword [r8], 0
lea rdx, [0x1800c38e8]
call fcn.180008278
mov rbx, rax
test rax, rax
je 0x1800084ad
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1800084a4
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 0x1800084a4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800084a4
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800084a4
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x1800084a4
mov rax, qword [0x1800e0b80]
test rax, rax
je 0x180008441
inc dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1800084a4
mov r9, rbx
mov r8, rbp
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, rbp
je 0x180008491
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800e0b80]
test rax, rax
je 0x180008486
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800084ad
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x18000849f
mov qword [rsi], rbp
mov rax, rdi
jmp 0x1800084af
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18000b0b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1800dd010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 0xf8]
mov r8, rdx
mov qword [rsp + 0x20], rdx
mov r9, rcx
movsxd rdx, dword [rcx + 0xf0]
mov r10d, 8
mov ebx, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x20]
not ebx
movzx eax, byte [rdx]
inc rdx
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x1800a30d0]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18000b0ef
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x1210], ebx
jne 0x18000b126
lea edx, [r10 + 0xc]
mov ecx, ebx
call fcn.18001b620
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180099220
add rsp, 0x30
pop rbx
ret
Function at 0x18000b13c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1800dd010]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsxd r8, dword [rcx + 0xf0]
mov r11d, 4
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov dword [rsp + 0x20], edx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x20]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x1800a30d0]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18000b17b
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x1210], ebx
jne 0x18000b1b5
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.18001b620
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180099220
add rsp, 0x30
pop rbx
ret

Function at 0x18000b1cc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1800dd010]
xor rax, rsp
mov qword [rsp + 0x10], rax
movss xmm2, dword [rcx + 0x110]
lea r9, [rsp]
movss xmm3, dword [rcx + 0x114]
mov r10d, 0x10
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0xf8]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0xf0]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
not r8d
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
movzx ecx, byte [r9]
lea rax, [0x1800a30d0]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x18000b249
not r8d
mov eax, r8d
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.180099220
add rsp, 0x28
ret
Function at 0x18001a318
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x2f40], 0
lea rbx, [rcx + 0x2f48]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001a3b1
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x18001a369
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18001c548
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.180008d40
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x2f40]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1800e0b78]
movsxd r8, eax
mov rax, qword [rdi + 0x2f50]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x18001a3b9
mov rcx, rbx
call fcn.180008d40
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18001aa74
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1800e0b80]
mov rbx, rcx
and dword [rax + 0x2ea4], 0
test rcx, rcx
je 0x18001aadd
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.18001aae8
lea rdx, [0x1800c38ec]
mov rcx, rbx
mov rdi, rax
call fcn.180008278
mov rbx, rax
test rax, rax
je 0x18001aadd
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180036554
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180036592
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
and qword [rsp + 0x28], 0
lea r8, [0x1800361ac]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800365a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800365a0
test edx, edx
jne 0x1800365a0
test r8, r8
jne 0x1800365a0
call fcn.180036344
mov eax, 1
add rsp, 0x38
ret

Function at 0x1800397d8
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
cmp byte [rcx], 0
je 0x1800397f6
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
call fcn.1800397d8
mov edx, eax
mov eax, edx
add rsp, 0x28
ret
Function at 0x18003b12c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor r8d, r8d
xor edx, edx
mov ecx, 0x208
call fcn.180013d78
xor edi, edi
test al, al
je 0x18003b17a
mov qword [rsp + 0x28], rdi
lea r9, [0x180000000]
lea r8, [0x18003608c]
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18003b17a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [0x1800e0b80]
mov r8d, 0x3f800000
mov ecx, 0x3f4ccccd
mov eax, 0x3e888889
xor edx, edx
mov dword [rbx + 0xb00], 0x40800000
mov dword [rbx + 0xbec], edi
mov dword [rbx + 0xbf0], 0x3e9a9a9b
mov dword [rbx + 0xbf4], 0x3dd0d0d1
mov dword [rbx + 0xbf8], r8d
mov qword [rbx + 0xd18], r8
mov qword [rbx + 0xd20], 0x3ec8c8c9
mov qword [rbx + 0xd28], r8
mov dword [rbx + 0xd30], ecx
mov dword [rbx + 0xd34], eax
mov dword [rbx + 0xd38], r8d
mov dword [rbx + 0xcfc], edi
mov qword [rbx + 0xd00], 0x3ec8c8c9
mov qword [rbx + 0xd08], r8
mov dword [rbx + 0xd10], ecx
mov dword [rbx + 0xd14], eax
mov qword [rbx + 0xd68], r8
mov qword [rbx + 0xd70], 0x3ec8c8c9
mov dword [rbx + 0xd78], r8d
xor r8d, r8d
mov dword [rbx + 0xd5c], edi
mov dword [rbx + 0xd60], ecx
mov ecx, 0x209
mov dword [rbx + 0xd64], eax
mov dword [rbx + 8], 0x20
call fcn.180013d78
test al, al
je 0x18003b260
cmp byte [0x1800e0be8], dil
sete cl
call fcn.180036e88
cmp byte [0x1800e0be8], dil
je 0x18003b28f
xor ecx, ecx
mov dword [rbx + 8], edi
call qword [0x1800e0d38]
mov rcx, qword [0x1800e0d10]
xor edx, edx
mov rcx, qword [rcx + 0x2678]
call qword [0x1800e0d28]
call fcn.180036f20
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x18003d458
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
mov r9, rcx
xor r8d, r8d
mov rcx, qword [rcx + 0x80]
mov r10b, dl
cmp byte [rcx], r8b
je 0x18003d4ae
movsx eax, byte [rcx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
inc rcx
call fcn.1800397d8
cmp eax, 0xf102793d
jne 0x18003d4ae
test r10b, r10b
je 0x18003d4a3
mov eax, 0x1f4
cmp word [r9 + 0x10], ax
setae r8b
jmp 0x18003d4a9
mov r8d, 1
mov al, r8b
jmp 0x18003d4b0
xor al, al
add rsp, 0x28
ret

Function at 0x18003d4b8
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
mov r8, rcx
mov r9b, dl
mov rcx, qword [rcx + 0x80]
cmp byte [rcx], 0
je 0x18003d50e
movsx eax, byte [rcx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
inc rcx
call fcn.1800397d8
cmp eax, 0x1c826fb7
jne 0x18003d50e
movzx ecx, word [r8 + 0x10]
mov eax, 0x13a4
sub cx, ax
mov eax, 1
cmp cx, ax
seta cl
test r9b, r9b
movzx edx, cl
cmovne eax, edx
jmp 0x18003d510
xor al, al
add rsp, 0x28
ret
Function at 0x18003de10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x18003de49
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbx, qword [rsi + 8]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18003dcdc
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18003df5b
mov rcx, qword [rcx]
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx edx, byte [r9 + rax + 0x10]
movabs r10, 0x100000001b3
xor r8, rdx
inc r9
imul r8, r10
cmp r9, 4
jb 0x18003dea2
mov r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
and r11, r8
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x18003dee1
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x18003df4f
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x18003df24
mov r10, qword [r10]
cmp r10, rax
je 0x18003deda
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18003deda
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x18003df79
cmp qword [rdi + r11*8], r10
jne 0x18003df1a
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x18003de92
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.18003dfa0
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18003df4f