joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005b6e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.14004a060
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x14005b736
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x14005b78d
mov ebp, 0x4b0000
jmp 0x14005b79b
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.14004c630
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x14005b7b1
mov eax, r12d
jmp 0x14005b7ba
mov edx, edi
mov ecx, ebp
call fcn.14004c630
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x14005b7d6
shl esi, 0x10
mov ecx, esi
jmp 0x14005b8c5
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x14005b834
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.14004a060
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x14005b824
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.14004c500
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.14004a060
add ebx, eax
jmp 0x14005b8ce
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x14005b841
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x14005b880
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.14004a060
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x14005b885
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.14004c500
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.14004a060
add ebx, eax
jmp 0x14005b8ce
cmp eax, r12d
jge 0x14005b8be
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.14004a060
sub ebp, eax
sub r15d, esi
je 0x14005b8be
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.14004c500
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.14004a060
add ebx, eax
jmp 0x14005b8ce
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.14004a060
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
jmp fcn.14004a060
Function at 0x1400aad70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x140177010]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x1400aaf0c
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x1400aaf0c
cmp r10d, r14d
jne 0x1400aae10
sub rbx, 0x10
jmp 0x1400aaf54
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x1400aae82
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x1400aae44
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x1400aae4c
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x1400aae6b
movzx edx, r11b
mov rcx, rsi
call fcn.1400abe50
test al, al
jne 0x1400aaf65
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.1400ac580
test al, al
jne 0x1400aaf65
mov edx, dword [rsi + 0x64]
lea r9, [0x1400ac8e0]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x1400aaeae
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1400aabf0
jmp 0x1400aaf02
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.1400aabf0
test dil, dil
je 0x1400aaefa
cmp byte [rsi + 0x6a], 0
jne 0x1400aaefa
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x1400aaf65
sub rbx, 0x10
jmp 0x1400aaf54
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x1400aaf69
mov ebp, dword [rbx]
jmp 0x1400aadd0
mov al, 1
jmp 0x1400aaf72
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400caeb0
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x1400aafa0
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r14d, r14d
sub rax, 0x34
mov qword [rcx + 0x78], r14
mov qword [rcx + 0x28], rax
mov ebp, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r14w
mov esi, r14d
mov dword [rcx + 0x3c], r14d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r14w
cmp r14w, word [rcx + 0xb8]
jge 0x1400ab0eb
movzx r10d, r14w
mov edi, r14d
mov r8, qword [rbx + 0xd0]
mov r9d, ebp
mov dword [rbx + 0x88], r14d
movzx edx, r10w
mov qword [rbx + 0x80], r14
mov rcx, rbx
movzx r8d, word [rdi + r8]
call fcn.1400ab480
test al, al
jne 0x1400ab186
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
movzx r10d, word [rdi + rax]
lea eax, [r8 - 1]
test edx, eax
jne 0x1400ab07b
cmp edx, dword [rbx + 0x60]
jl 0x1400ab07b
cmp edx, dword [rbx + 0x64]
jg 0x1400ab07b
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x1400ab07b
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rcx + 0x18]
xor cl, byte [rax + 0x18]
test cl, 8
jne 0x1400ab07b
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x1400ab09e
test byte [r9 + 0x18], 8
je 0x1400ab09e
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x1400ab0af
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.1400abe50
test al, al
jne 0x1400ab186
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x1400ab0d2
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc esi
add rdi, 2
inc r10w
cmp esi, eax
jl 0x1400ab004
movzx edi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp di, 1
jbe 0x1400ab18a
test rdx, rdx
je 0x1400ab18a
mov ebp, 0xffff
nop dword [rax + rax]
lea rsi, [rdx + 8]
cmp di, 1
jbe 0x1400ab128
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x1400ab12b
mov r10, r14
mov qword [rsi], r10
test byte [rdx + 0x18], 8
mov r11d, dword [rdx + 0x20]
mov r8d, r11d
mov eax, dword [rdx + 0x1c]
je 0x1400ab146
dec r11d
add r11d, eax
jmp 0x1400ab15d
sub r8d, eax
inc r8d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.1400ac170
test al, al
jne 0x1400ab186
lea edx, [r11 + 1]
mov rcx, rbx
call fcn.1400ac170
test al, al
jne 0x1400ab186
mov rdx, qword [rsi]
add di, bp
jne 0x1400ab110
jmp 0x1400ab18e
mov al, 1
jmp 0x1400ab199
mov qword [rbx + 0x78], r14
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400cbc94
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400cbcde
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400cbcde
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400cbcde
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400cbcde
cmp dword [rcx + 0x84], 0xe
jbe 0x1400cbcde
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400cbce0
xor al, al
add rsp, 0x28
ret
Function at 0x1400cf160
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov r9, rcx
mov r10, rdx
mov rdx, qword [r8 + 0x1b8]
mov ecx, 0x3020100
mov dword [r8 + 0x1c4], ecx
mov r11, r8
mov eax, 1
add ecx, 0x4040404
mov dword [r8 + rax*4 + 0x1c4], ecx
inc rax
cmp rax, rdx
jbe 0x1400cf181
xor r8d, r8d
test r10, r10
je 0x1400cf1e3
nop
movzx eax, byte [r9]
or r8, rax
movzx ecx, byte [rax + r11 + 0x1c4]
mov byte [r9], cl
mov byte [r11 + 0x1c3], cl
nop word [rax + rax]
movzx ecx, byte [rax + r11 + 0x1c3]
mov rdx, rax
sub rax, 1
mov byte [rdx + r11 + 0x1c4], cl
jns 0x1400cf1c0
inc r9
sub r10, 1
jne 0x1400cf1a0
shr r8, 2
mov qword [r11 + 0x1b8], r8
ret

Function at 0x1400d35e0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
call fcn.1400d3640
mov ecx, 2
mov rbx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
lea rdx, str._n_nbzip2_libbzip2:_internal_error_number__d._nThis_is_a_bug_in_bzip2_libbzip2___s._nPlease_report_it_to:_bzip2_devel_sourceware.org.__If_this_happened_nwhen_you_were_using_some_program_which_uses_libbzip2_as_a_ncomponent__you_should_also_report_this_bug_to_the_author_s__nof_that_program.__Please_make_an_effort_to_report_this_bug__ntimely_and_accurate_bug_reports_eventually_lead_to_higher_nquality_software.__Thanks._n_n
mov r9, rbx
mov r8d, edi
call fcn.1400b4ec0
cmp edi, 0x3ef
jne 0x1400d3634
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
lea rdx, str._n_A_special_note_about_internal_error_number_1007__n_nExperience_suggests_that_a_common_cause_of_i.e._1007_nis_unreliable_memory_or_other_hardware.__The_1007_assertion_njust_happens_to_cross_check_the_results_of_huge_numbers_of_nmemory_reads_writes__and_so_acts__unintendedly__as_a_stress_ntest_of_your_memory_system._n_nI_suggest_the_following:_try_compressing_the_file_again__npossibly_monitoring_progress_in_detail_with_the__vv_flag._n_n_If_the_error_cannot_be_reproduced__and_or_happens_at_different_n__points_in_compression__you_may_have_a_flaky_memory_system._n__Try_a_memory_test_program.__I_have_used_Memtest86_n___www.memtest86.com_.__At_the_time_of_writing_it_is_free__GPLd_._n__Memtest86_tests_memory_much_more_thorougly_than_your_BIOSs_n__power_on_test__and_may_find_failures_that_the_BIOS_doesnt._n_n_If_the_error_can_be_repeatably_reproduced__this_is_a_bug_in_n__bzip2__and_I_would_very_much_like_to_hear_about_it.__Please_n__let_me_know__and__ideally__save_a_copy_of_the_file_causing_the_n__problem____without_which_I_will_be_unable_to_investigate_it._n_n
call fcn.1400b4ec0
mov ecx, 3
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x140003a40
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003a74
cmp word [rcx], 0x5a4d
jne 0x140003a74
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003a74
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003a74
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003980
test eax, eax
jne 0x140003a90
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.1400039f0
test rax, rax
je 0x140003a85
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.140004236
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x140004140
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.1400040e0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140004594
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x14053b078]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x14053b074]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x1400045e2
mov rdx, qword [rax]
cmp r12, rdx
jb 0x1400045da
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x1400046c9
inc ebx
add rax, 0x28
jmp 0x1400045ba
mov rcx, r12
call fcn.140004dc1
mov rbp, rax
test rax, rax
jne 0x140004601
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140004530
movsxd rbx, ebx
mov rax, qword [0x14053b078]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.140004e6f
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14053b078]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140004663
mov rax, qword [0x14053b078]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140004530
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400046c3
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400046c3
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14053b078]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400046c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140004530
inc dword [0x14053b074]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140004af0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x14053b0e0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14053b0c0]
test rbx, rbx
je 0x140004b3c
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140004b36
test eax, eax
jne 0x140004b36
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140004b0e
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140004cf0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140004d13
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140004d13
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140004d14
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140004d4e
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140004d45
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140004d50
inc r8d
add rax, 0x28
jmp 0x140004d2c
xor eax, eax
ret

Function at 0x140004dc1
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140537230]
mov r8, rcx
mov rcx, r9
call fcn.140004cf0
test eax, eax
je 0x140004ded
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140004d14
xor eax, eax
add rsp, 0x28
ret
Function at 0x180005900
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x180005ab3
lea rax, [rdx - 1]
or rax, rdi
bsr rcx, rax
inc ecx
shl rdi, cl
mov rbx, qword [rsi + 8]
lea rdx, [rdi + rdi]
mov r8, rbx
lea rcx, [rsi + 0x18]
call fcn.1800057c0
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov qword [rsp + 0x48], rsi
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x180005a71
movabs rbp, 0xcbf29ce484222325
movabs rdi, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rdx]
movzx r9d, byte [rcx + 0x10]
xor r9, rbp
imul r9, rdi
movzx eax, byte [rcx + 0x11]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x12]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x13]
xor r9, rax
imul r9, rdi
mov r11, qword [rsi + 0x30]
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800059f0
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x180005a65
mov rax, qword [r11 + 8]
mov r8d, dword [rcx + 0x10]
cmp r8d, dword [rax + 0x10]
jne 0x180005a2d
mov r8, qword [rax]
cmp r8, rcx
je 0x180005a27
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x180005a65
cmp r9, rax
je 0x180005a41
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
je 0x180005a8d
cmp r9, rax
jne 0x180005a32
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x1800059a0
mov qword [rsp + 0x48], 0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rax, qword [rax]
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
jmp 0x180005a65
lea rcx, str.invalid_hash_bucket_count
call fcn.18004c764
int3
Function at 0x180074fc0
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x10
mov rdi, rsp
mov ecx, 4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x20]
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x18007502e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x18007502e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x18007502e
xor eax, eax
jmp 0x180075075
mov dword [rsp], 1
jmp 0x18007503f
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x180075070
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x18007506e
xor eax, eax
jmp 0x180075075
jmp 0x180075037
mov eax, 1
add rsp, 0x10
pop rdi
ret
Function at 0x1802e7bb7
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp], rdi
mov r11d, 0xd1cd314
lea rdi, [r11 + r11*2 + 0x4fbbfe08]
shr r11b, 1
lea r11, [0x1802e8440]
mov edi, 0x97331381
rol edi, 0x71
movzx edi, byte [rbp + rdi*2 - 0x4e065ccc]
xor edi, ebx
push 0xe9a758a
and edi, 0xff
mov edi, dword [r11 + rdi*4]
dec qword [rsp]
shr ebx, 8
xor ebx, edi
rol word [rsp + 4], 0xa1
inc rbp
xor ebx, 0xe19005bf
and dword [rsp + 3], 0x4ba049a0
dec r9
lea rsp, [rsp + 8]
jne 0x1802e7bd3
mov edi, 0x29391a08
not rdi
pop rdi
mov r11d, 0xbd0d70a4
pop r11

Function at 0x1802fc780
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp], 0xfffffffffd284708
neg byte [rsp + 0xc]
mov r9, qword [rsi + 8]
adc rsi, 0xc
neg qword [rsp + 8]
push 0xffffffff92835c3e
xor ecx, ecx
test r9, r9
jmp 0x1802e7cf5

Function at 0x18031c0f7
Capabilities:
Encode data using xor

Disassembly:
push r10
jmp 0x1802fb91e
lea rsp, [rsp + 0x18]
je 0x1802fb9a0
push rsi
jmp 0x18031ad61

Function at 0x140001000
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rsi, rcx
mov edx, 0x58
xor ecx, ecx
mov rbx, r8
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
xor edx, edx
mov rcx, rax
mov rbp, rax
lea r8d, [rdx + 0x58]
call fcn.140002f80
or byte [rsi + 0xc2], 2
lea r9, [0x1400010b0]
mov qword [rsp + 0x38], rbx
xor r8d, r8d
mov byte [rsp + 0x30], 1
mov rdx, rsi
mov qword [rsp + 0x28], rdi
mov rcx, rbp
and qword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_KeInitializeApc]
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe_KeInsertQueueApc]
test al, al
jne 0x140001091
lea rcx, [0x140003360]
call sub.ntoskrnl.exe_DbgPrint
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14000d5a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14000d5d4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14000d5c0
ret