joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140031f10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140031f34
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140031f6b
mov rax, qword [rcx + 0x58]
movsxd rcx, dword [rax]
add rcx, rdx
cmp rdx, rcx
jae 0x140031f6b
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x80], rsi
je 0x140032094
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140031fae
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140031fd9
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140032099
lea rax, [rsp + 0x90]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14003204e
sub eax, 1
je 0x14003204e
cmp eax, 2
jne 0x140032094
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140032099
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x14003207f
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140032094
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov eax, edi
jne 0x140032099
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x1400327a0
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 0x1400327d1
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 0x1400327ef
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 qword [rsp + 0x38], rdi
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140032810
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140032812
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140032844
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
mov rbx, rdi
je 0x1400328e1
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140032882
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 rdi, 0xfff
jbe 0x1400328c1
nop dword [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]
sub rdi, rax
add r14, rax
mov rbx, rdi
cmp rax, 0xfff
jne 0x140032902
cmp rdi, rax
ja 0x140032890
test rbx, rbx
je 0x1400328e1
mov r9, qword [rsi + 0x80]
mov r8, rdi
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 + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
sub rbp, rdi
jmp 0x1400328e4
Function at 0x140032910
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x140032947
mov rbx, qword [rsp + 0x40]
mov rdi, 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__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140032968
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14003296a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400329c3
test ecx, ecx
jle 0x1400329a3
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400329c3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400329c3
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14003bd90
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movzx edi, byte [r8]
mov r12, rdx
movabs rdx, 0x100000001b3
mov r9, rcx
mov rcx, qword [rcx + 0x50]
movabs rax, 0xcbf29ce484222325
xor rdi, rax
dec rcx
movzx eax, byte [r8 + 1]
xor r13d, r13d
mov r15, qword [r9 + 0x38]
imul rdi, rdx
mov qword [rsp + 0x78], rcx
lea r14, [r13 - 1]
xor rdi, rax
movzx eax, byte [r8 + 2]
imul rdi, rdx
xor rdi, rax
movzx eax, byte [r8 + 3]
imul rdi, rdx
xor rdi, rax
movzx eax, byte [r8 + 4]
imul rdi, rdx
xor rdi, rax
movzx eax, byte [r8 + 5]
imul rdi, rdx
xor rdi, rax
movzx eax, byte [r8 + 6]
imul rdi, rdx
xor rdi, rax
movzx eax, byte [r8 + 7]
imul rdi, rdx
xor rdi, rax
movabs rax, 0xaaaaaaaaaaaaaaab
imul rdi, rdx
and rdi, rcx
mul rdi
movzx r8d, di
mov rbx, rdx
mov edx, 1
shr rbx, 5
movzx eax, bx
mov rsi, rbx
add ax, ax
shl rsi, 4
lea ecx, [rax + rbx]
shl cx, 4
sub r8w, cx
movzx eax, r8w
mov ecx, r8d
shr rax, 3
and ecx, 7
add rax, r15
shl dx, cl
movzx eax, byte [rax + rsi + 0xa]
and dx, ax
je 0x14003bf88
movzx ebp, di
nop dword [rax + rax]
cmp qword [r9 + 0x30], 0
je 0x14003bee6
test dx, dx
je 0x14003bee6
lea rcx, [r15 + 0xa]
movzx edx, r8w
add rcx, rsi
call fcn.1400411a0
mov r9, qword [rsp + 0x60]
movzx ecx, ax
mov rax, qword [r15 + rsi]
shl rcx, 5
mov rcx, qword [rcx + rax]
cmp qword [r9 + 0x28], rcx
jne 0x14003bee6
cmp r14, 0xffffffffffffffff
mov rax, rdi
cmovne rax, r14
mov r14, rax
jmp 0x14003bf23
movzx eax, bx
lea rcx, [r15 + 0xa]
add bx, bx
add rcx, rsi
add ax, bx
shl ax, 4
sub bp, ax
movzx edx, bp
call fcn.1400411a0
movzx ecx, ax
mov rax, qword [r15 + rsi]
shl rcx, 5
mov rcx, qword [rcx + rax]
mov rax, qword [rsp + 0x70]
cmp qword [rax], rcx
je 0x14003bf9d
mov r9, qword [rsp + 0x60]
inc r13
movabs rax, 0xaaaaaaaaaaaaaaab
add rdi, r13
and rdi, qword [rsp + 0x78]
mul rdi
movzx r8d, di
movzx ebp, di
mov rbx, rdx
mov edx, 1
shr rbx, 5
movzx eax, bx
mov rsi, rbx
add ax, ax
shl rsi, 4
lea ecx, [rax + rbx]
shl cx, 4
sub r8w, cx
movzx eax, r8w
mov ecx, r8d
shr rax, 3
and ecx, 7
add rax, r15
shl dx, cl
movzx eax, byte [rax + rsi + 0xa]
and dx, ax
jne 0x14003bea0
mov qword [r12], 0xffffffffffffffff
cmp r14, 0xffffffffffffffff
jne 0x14003bfac
mov qword [r12 + 8], rdi
jmp 0x14003bfb1
mov qword [r12], rdi
mov qword [r12 + 8], 0xffffffffffffffff
jmp 0x14003bfb1
mov qword [r12 + 8], r14
mov rbx, qword [rsp + 0x68]
mov rax, r12
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140062e10
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x30
mov r14, r8
mov r15, rdx
mov qword [rdx], 0
movzx eax, word [r8 + 8]
mov word [rdx + 8], ax
test ax, ax
je 0x140062ec1
movzx edi, word [r8 + 8]
mov ecx, edi
shl rcx, 5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x140062e83
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r8d, edi
lea rdx, [0x140130080]
call fcn.140077b30
lea ecx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [r15], rax
mov rdi, qword [r14]
movzx esi, word [r14 + 8]
shl rsi, 5
add rsi, rdi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
cmp rdi, rsi
je 0x140062ec1
mov rdx, rdi
mov rcx, rbx
call fcn.14005bab0
add rbx, 0x20
mov qword [rsp + 0x28], rbx
add rdi, 0x20
cmp rdi, rsi
jne 0x140062ea4
mov eax, dword [r14 + 0xa]
mov dword [r15 + 0xa], eax
movzx eax, word [r14 + 0xe]
mov word [r15 + 0xe], ax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret

Function at 0x140062ef0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x30
mov r14, r8
mov r15, rdx
mov qword [rdx], 0
movzx eax, word [r8 + 8]
mov word [rdx + 8], ax
test ax, ax
je 0x140062fa1
movzx edi, word [r8 + 8]
mov ecx, edi
shl rcx, 5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x140062f63
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r8d, edi
lea rdx, [0x140130080]
call fcn.140077b30
lea ecx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [r15], rax
mov rdi, qword [r14]
movzx esi, word [r14 + 8]
shl rsi, 5
add rsi, rdi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
cmp rdi, rsi
je 0x140062fa1
mov rdx, rdi
mov rcx, rbx
call fcn.14005bb80
add rbx, 0x20
mov qword [rsp + 0x28], rbx
add rdi, 0x20
cmp rdi, rsi
jne 0x140062f84
mov eax, dword [r14 + 0xa]
mov dword [r15 + 0xa], eax
movzx eax, word [r14 + 0xe]
mov word [r15 + 0xe], ax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x140063680
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14, rcx
movzx r13d, dx
and r13d, 7
movzx eax, dx
shr rax, 3
lea rsi, [rcx + 0xa]
add rsi, rax
mov qword [rsp + 0x60], rsi
mov r8d, 1
mov ecx, r13d
shl r8w, cl
test byte [rsi], r8b
je 0x140063829
lea rcx, [r14 + 0xa]
call fcn.1400411a0
movzx edi, ax
movzx ebx, word [r14 + 8]
cmp bx, 1
jne 0x1400636f7
mov rcx, r14
call fcn.140063fc0
xor r15d, r15d
jmp 0x140063813
dec bx
movzx ecx, bx
shl rcx, 5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
jne 0x140063738
movzx ebx, bx
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r8d, ebx
lea rdx, [0x140130080]
call fcn.140077b30
lea ecx, [r15 + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r12, rdi
shl r12, 5
mov rbx, qword [r14]
lea rsi, [rbx + r12]
mov qword [rsp + 0x20], r15
mov rdi, r15
mov qword [rsp + 0x28], r15
cmp rbx, rsi
je 0x140063780
nop dword [rax + rax]
mov rdx, rbx
mov rcx, rdi
call fcn.14005bab0
add rdi, 0x20
mov qword [rsp + 0x28], rdi
add rbx, 0x20
cmp rbx, rsi
jne 0x140063760
mov rbx, qword [r14]
lea rdi, [r12 + r15]
movzx eax, word [r14 + 8]
mov ebp, eax
shl rbp, 5
add rbp, rbx
lea rsi, [r12 + 0x20]
add rsi, rbx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rdi
cmp rsi, rbp
je 0x1400637d5
nop dword [rax]
mov rdx, rsi
mov rcx, rdi
call fcn.14005bab0
add rdi, 0x20
mov qword [rsp + 0x28], rdi
add rsi, 0x20
cmp rsi, rbp
jne 0x1400637b0
mov rbx, qword [r14]
movzx eax, word [r14 + 8]
test rbx, rbx
je 0x14006380e
movzx edi, ax
shl rdi, 5
add rdi, rbx
cmp rbx, rdi
je 0x140063805
nop dword [rax]
lea rcx, [rbx + 8]
call fcn.14005db20
add rbx, 0x20
cmp rbx, rdi
jne 0x1400637f0
mov rbx, qword [r14]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rsp + 0x60]
mov qword [r14], r15
mov eax, 0xffff
add word [r14 + 8], ax
movzx eax, byte [rsi]
btr eax, r13d
mov byte [rsi], al
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140063850
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14, rcx
movzx r13d, dx
and r13d, 7
movzx eax, dx
shr rax, 3
lea rsi, [rcx + 0xa]
add rsi, rax
mov qword [rsp + 0x60], rsi
mov r8d, 1
mov ecx, r13d
shl r8w, cl
test byte [rsi], r8b
je 0x1400639f9
lea rcx, [r14 + 0xa]
call fcn.14006e790
movzx edi, ax
movzx ebx, word [r14 + 8]
cmp bx, 1
jne 0x1400638c7
mov rcx, r14
call fcn.140063fc0
xor r15d, r15d
jmp 0x1400639e3
dec bx
movzx ecx, bx
shl rcx, 5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
jne 0x140063908
movzx ebx, bx
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r8d, ebx
lea rdx, [0x140130080]
call fcn.140077b30
lea ecx, [r15 + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r12, rdi
shl r12, 5
mov rbx, qword [r14]
lea rsi, [rbx + r12]
mov qword [rsp + 0x20], r15
mov rdi, r15
mov qword [rsp + 0x28], r15
cmp rbx, rsi
je 0x140063950
nop dword [rax + rax]
mov rdx, rbx
mov rcx, rdi
call fcn.14005bb80
add rdi, 0x20
mov qword [rsp + 0x28], rdi
add rbx, 0x20
cmp rbx, rsi
jne 0x140063930
mov rbx, qword [r14]
lea rdi, [r12 + r15]
movzx eax, word [r14 + 8]
mov ebp, eax
shl rbp, 5
add rbp, rbx
lea rsi, [r12 + 0x20]
add rsi, rbx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rdi
cmp rsi, rbp
je 0x1400639a5
nop dword [rax]
mov rdx, rsi
mov rcx, rdi
call fcn.14005bb80
add rdi, 0x20
mov qword [rsp + 0x28], rdi
add rsi, 0x20
cmp rsi, rbp
jne 0x140063980
mov rbx, qword [r14]
movzx eax, word [r14 + 8]
test rbx, rbx
je 0x1400639de
movzx edi, ax
shl rdi, 5
add rdi, rbx
cmp rbx, rdi
je 0x1400639d5
nop dword [rax]
lea rcx, [rbx + 8]
call fcn.14005db20
add rbx, 0x20
cmp rbx, rdi
jne 0x1400639c0
mov rbx, qword [r14]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rsp + 0x60]
mov qword [r14], r15
mov eax, 0xffff
add word [r14 + 8], ax
movzx eax, byte [rsi]
btr eax, r13d
mov byte [rsi], al
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140063d80
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movzx edi, byte [r8]
mov r12, rdx
movabs rdx, 0x100000001b3
mov r9, rcx
mov rcx, qword [rcx + 0x50]
movabs rax, 0xcbf29ce484222325
xor rdi, rax
dec rcx
movzx eax, byte [r8 + 1]
xor r13d, r13d
mov r15, qword [r9 + 0x38]
imul rdi, rdx
mov qword [rsp + 0x78], rcx
lea r14, [r13 - 1]
xor rdi, rax
movzx eax, byte [r8 + 2]
imul rdi, rdx
xor rdi, rax
movzx eax, byte [r8 + 3]
imul rdi, rdx
xor rdi, rax
movzx eax, byte [r8 + 4]
imul rdi, rdx
xor rdi, rax
movzx eax, byte [r8 + 5]
imul rdi, rdx
xor rdi, rax
movzx eax, byte [r8 + 6]
imul rdi, rdx
xor rdi, rax
movzx eax, byte [r8 + 7]
imul rdi, rdx
xor rdi, rax
movabs rax, 0xaaaaaaaaaaaaaaab
imul rdi, rdx
and rdi, rcx
mul rdi
movzx r8d, di
mov rbx, rdx
mov edx, 1
shr rbx, 5
movzx eax, bx
mov rsi, rbx
add ax, ax
shl rsi, 4
lea ecx, [rax + rbx]
shl cx, 4
sub r8w, cx
movzx eax, r8w
mov ecx, r8d
shr rax, 3
and ecx, 7
add rax, r15
shl dx, cl
movzx eax, byte [rax + rsi + 0xa]
and dx, ax
je 0x140063f78
movzx ebp, di
nop dword [rax + rax]
cmp qword [r9 + 0x30], 0
je 0x140063ed6
test dx, dx
je 0x140063ed6
lea rcx, [r15 + 0xa]
movzx edx, r8w
add rcx, rsi
call fcn.14006e790
mov r9, qword [rsp + 0x60]
movzx ecx, ax
mov rax, qword [r15 + rsi]
shl rcx, 5
mov rcx, qword [rcx + rax]
cmp qword [r9 + 0x28], rcx
jne 0x140063ed6
cmp r14, 0xffffffffffffffff
mov rax, rdi
cmovne rax, r14
mov r14, rax
jmp 0x140063f13
movzx eax, bx
lea rcx, [r15 + 0xa]
add bx, bx
add rcx, rsi
add ax, bx
shl ax, 4
sub bp, ax
movzx edx, bp
call fcn.14006e790
movzx ecx, ax
mov rax, qword [r15 + rsi]
shl rcx, 5
mov rcx, qword [rcx + rax]
mov rax, qword [rsp + 0x70]
cmp qword [rax], rcx
je 0x140063f8d
mov r9, qword [rsp + 0x60]
inc r13
movabs rax, 0xaaaaaaaaaaaaaaab
add rdi, r13
and rdi, qword [rsp + 0x78]
mul rdi
movzx r8d, di
movzx ebp, di
mov rbx, rdx
mov edx, 1
shr rbx, 5
movzx eax, bx
mov rsi, rbx
add ax, ax
shl rsi, 4
lea ecx, [rax + rbx]
shl cx, 4
sub r8w, cx
movzx eax, r8w
mov ecx, r8d
shr rax, 3
and ecx, 7
add rax, r15
shl dx, cl
movzx eax, byte [rax + rsi + 0xa]
and dx, ax
jne 0x140063e90
mov qword [r12], 0xffffffffffffffff
cmp r14, 0xffffffffffffffff
jne 0x140063f9c
mov qword [r12 + 8], rdi
jmp 0x140063fa1
mov qword [r12], rdi
mov qword [r12 + 8], 0xffffffffffffffff
jmp 0x140063fa1
mov qword [r12 + 8], r14
mov rbx, qword [rsp + 0x68]
mov rax, r12
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140074360
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx ebx, dx
mov rsi, rcx
add rcx, 0xa
movzx edx, bx
call fcn.1400411a0
movzx edi, ax
mov r13d, ebx
and r13d, 7
mov r12d, ebx
shr r12, 3
mov edx, 1
mov ecx, r13d
shl dx, cl
test byte [r12 + rsi + 0xa], dl
je 0x1400743d1
mov r14d, edi
shl r14, 5
mov rcx, qword [rsi]
add rcx, 8
add rcx, r14
call fcn.14005db20
jmp 0x1400744bf
movzx ebx, word [rsi + 8]
inc bx
movzx ecx, bx
shl rcx, 5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
jne 0x140074416
movzx ebx, bx
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r8d, ebx
lea rdx, [0x140130080]
call fcn.140077b30
lea ecx, [r15 + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r14, rdi
shl r14, 5
mov rbx, qword [rsi]
lea rbp, [rbx + r14]
mov qword [rsp + 0x20], r15
mov rdi, r15
mov qword [rsp + 0x28], r15
cmp rbx, rbp
je 0x140074460
nop word [rax + rax]
mov rdx, rbx
mov rcx, rdi
call fcn.14005bab0
add rdi, 0x20
mov qword [rsp + 0x28], rdi
add rbx, 0x20
cmp rbx, rbp
jne 0x140074440
mov rbx, qword [rsi]
lea rdi, [r15 + 0x20]
add rdi, r14
movzx ebp, word [rsi + 8]
shl rbp, 5
add rbp, rbx
add rbx, r14
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rdi
cmp rbx, rbp
je 0x1400744a1
mov rdx, rbx
mov rcx, rdi
call fcn.14005bab0
add rdi, 0x20
mov qword [rsp + 0x28], rdi
add rbx, 0x20
cmp rbx, rbp
jne 0x140074484
mov rcx, rsi
call fcn.140063fc0
mov qword [rsi], r15
inc word [rsi + 8]
movzx eax, byte [r12 + rsi + 0xa]
bts eax, r13d
mov byte [r12 + rsi + 0xa], al
mov rcx, qword [rsi]
add rcx, r14
mov rdx, qword [rsp + 0x70]
call fcn.14005bab0
mov rax, qword [rsi]
add rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140074500
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx ebx, dx
mov rsi, rcx
add rcx, 0xa
movzx edx, bx
call fcn.14006e790
movzx edi, ax
mov r13d, ebx
and r13d, 7
mov r12d, ebx
shr r12, 3
mov edx, 1
mov ecx, r13d
shl dx, cl
test byte [r12 + rsi + 0xa], dl
je 0x140074571
mov r14d, edi
shl r14, 5
mov rcx, qword [rsi]
add rcx, 8
add rcx, r14
call fcn.14005db20
jmp 0x14007465f
movzx ebx, word [rsi + 8]
inc bx
movzx ecx, bx
shl rcx, 5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
jne 0x1400745b6
movzx ebx, bx
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r8d, ebx
lea rdx, [0x140130080]
call fcn.140077b30
lea ecx, [r15 + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r14, rdi
shl r14, 5
mov rbx, qword [rsi]
lea rbp, [rbx + r14]
mov qword [rsp + 0x20], r15
mov rdi, r15
mov qword [rsp + 0x28], r15
cmp rbx, rbp
je 0x140074600
nop word [rax + rax]
mov rdx, rbx
mov rcx, rdi
call fcn.14005bb80
add rdi, 0x20
mov qword [rsp + 0x28], rdi
add rbx, 0x20
cmp rbx, rbp
jne 0x1400745e0
mov rbx, qword [rsi]
lea rdi, [r15 + 0x20]
add rdi, r14
movzx ebp, word [rsi + 8]
shl rbp, 5
add rbp, rbx
add rbx, r14
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rdi
cmp rbx, rbp
je 0x140074641
mov rdx, rbx
mov rcx, rdi
call fcn.14005bb80
add rdi, 0x20
mov qword [rsp + 0x28], rdi
add rbx, 0x20
cmp rbx, rbp
jne 0x140074624
mov rcx, rsi
call fcn.140063fc0
mov qword [rsi], r15
inc word [rsi + 8]
movzx eax, byte [r12 + rsi + 0xa]
bts eax, r13d
mov byte [r12 + rsi + 0xa], al
mov rcx, qword [rsi]
add rcx, r14
mov rdx, qword [rsp + 0x70]
call fcn.14005bb80
mov rax, qword [rsi]
add rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret