joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180060230
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x20
mov rax, qword [rsp + 0x40]
lea r9d, [rcx + 0x156]
mov rdi, rdx
cmp ecx, r9d
jae 0x180060265
nop word [rax + rax]
mov r8d, ecx
sub r8d, 0x57
je 0x18006026b
sub r8d, 0x57
je 0x18006027b
cmp r8d, 0x1b
jne 0x18006026d
add rsp, 0x20
pop rdi
ret
xor eax, eax
add ecx, 0x72
cmp ecx, r9d
jb 0x180060250
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbx
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 0x42]
call fcn.18001bef0
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, dword [rdi]
lea rdx, str._n_nbzip2_libbzip2:_internal_error_number__d._nThis_is_a_bug_in_bzip2_libbzip2___s._nPlease_report_it_to_me_at:_jseward_bzip.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.__Julian_Seward__10_December_2007._n_n
mov rcx, rax
mov r9, rbx
call fcn.180085950
cmp dword [rdi], 0x3ef
mov rbx, qword [rsp + 0x30]
jne 0x1800602da
mov ecx, 2
call qword [sym.imp.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.180085950
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x180060650
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
imul r14d, ecx, 0x16e
mov r15, r8
mov rbx, rdx
mov ebp, ecx
mov esi, ecx
cmp ecx, r14d
ja 0x1800607fc
mov edi, dword [rsp + 0x40]
nop word [rax + rax]
cmp esi, 0x1838
ja 0x1800607b1
je 0x18006078e
cmp esi, 0x5b
je 0x180060819
cmp esi, 0x64
je 0x180060757
cmp esi, 0x10c
jne 0x1800607ee
cmp byte [rbx + 0x10], 0x77
jne 0x180060747
mov edi, 0xc
nop
cmp edi, 0xc
je 0x1800606f7
cmp edi, 0x1e0
jne 0x180060739
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
cmp eax, 0xffffffff
jne 0x180060739
mov ecx, 0x12a
call fcn.180073940
jmp 0x180060739
mov eax, dword [rbx + 0xc]
cmp eax, 8
jge 0x180060713
mov ecx, dword [rbx + 8]
inc eax
add ecx, ecx
cmp eax, 8
jl 0x180060702
mov dword [rbx + 0xc], eax
mov dword [rbx + 8], ecx
jmp 0x180060717
movzx ecx, byte [rbx + 8]
mov rdx, qword [rbx]
movzx ecx, cl
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
cmp eax, 0xffffffff
jne 0x180060732
mov ecx, 0x12a
call fcn.180073940
inc qword [0x1800a9600]
add edi, 0x1d4
cmp edi, 0x3a8
jbe 0x1800606d0
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov edi, eax
jmp 0x1800607ee
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x1800a8240]
lea r9, [0x1800a8660]
mov rcx, rax
lea rdx, str._NoAddRefReleaseOnCComPtr_IPsCategoryMetadataChanges_
call fcn.180085950
mov rcx, qword [0x1800a8240]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
jmp 0x1800607ee
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x1800a8240]
lea rdx, str.long16___OVERLOADABLE___convert_long_ulong16__
mov rcx, rax
call fcn.180085950
jmp 0x1800607ee
cmp esi, 0x300c
je 0x180060828
cmp esi, 0x40e8
jne 0x1800607ee
cmp edi, 0xffffffff
jne 0x1800607e5
cmp byte [rbx + 0x10], 0x77
jne 0x1800607d8
mov ecx, 0x12a
call fcn.180073940
jmp 0x1800607e5
xor edx, edx
xor r8d, r8d
lea ecx, [rdx + 0x64]
call fcn.180060650
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
imul eax, ebp, 0x3d
add esi, eax
cmp esi, r14d
jbe 0x180060690
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
xor eax, eax
cmp dword [r15], eax
setne al
mov dword [rbx + 0x60], eax
xor eax, eax
jmp 0x180060800
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x18006c450
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov rax, qword [0x1800a74e0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov ebx, dword [rsp + 0x40]
lea eax, [rcx + 8]
mov qword [rsp + 0x48], rdx
mov r13, r8
mov dword [rsp + 0x34], eax
mov r9, rdx
cmp ecx, eax
jae case.0x18006c4ea.6
mov r14, qword [rsp + 0x48]
lea edx, [rcx - 0x45]
mov r12, qword [rsp + 0x48]
lea r10, [0x180085b30]
mov rsi, qword [rsp + 0x48]
mov ecx, eax
movzx r15d, byte [rsp + 0x30]
movzx edi, byte [rsp + 0x30]
movzx ebp, byte [rsp + 0x30]
mov dword [rsp + 0x38], edx
lea r8, [0x180000000]
cmp edx, 0x18
ja case.default.0x18006c4ea
movzx eax, byte [r8 + rdx + 0x6c6c0]
mov ecx, dword [r8 + rax*4 + 0x6c69c]
add rcx, r8
jmp rcx
cmp r14, qword [r13 + 0x10]
jae 0x18006c566
mov eax, 0xe2
cmp eax, 0xe2
je 0x18006c54d
cmp eax, 0x194
je 0x18006c543
cmp eax, 0x246
je 0x18006c524
cmp eax, 0x2f8
jne 0x18006c550
movzx ecx, r15b
movzx edx, byte [rcx + rsi]
xor byte [r12 + r14], dl
inc r14
jmp 0x18006c550
movzx r8d, dil
movzx edx, bpl
movzx r15d, byte [r8 + rsi]
movzx ecx, byte [rdx + rsi]
mov byte [r8 + rsi], cl
mov byte [rdx + rsi], r15b
add r15b, byte [r8 + rsi]
jmp 0x18006c550
movzx ecx, dil
add bpl, byte [rcx + rsi]
jmp 0x18006c550
inc dil
add eax, 0xb2
cmp eax, 0x3aa
jb 0x18006c4f7
cmp r14, qword [r13 + 0x10]
jb 0x18006c4f2
mov edx, dword [rsp + 0x38]
mov byte [rsp + 0x150], dil
jmp case.0x18006c4ea.8
mov ebx, dword [r13 + 0x68]
jmp case.0x18006c4ea.8
xor r14d, r14d
mov r8, r9
cmp qword [r9 + 0x18], 0x10
jb 0x18006c58c
mov r8, qword [r9]
mov eax, dword [r9 + 0x10]
lea rcx, [rsp + 0x50]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], eax
mov edx, 0x8e
mov qword [rsp + 0x20], r14
call fcn.180018c40
mov edx, dword [rsp + 0x38]
lea r10, [0x180085b30]
mov r9, qword [rsp + 0x48]
jmp case.0x18006c4ea.8
cmp qword [r13 + 0x18], 0x10
lea rsi, [rsp + 0x50]
movzx edi, byte [rsp + 0x150]
mov r12, r13
movzx ebp, byte [rsp + 0x151]
jb case.0x18006c4ea.8
mov r12, qword [r13]
jmp case.0x18006c4ea.8
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], r10
mov ecx, 9
call fcn.18002da20
xor r8d, r8d
mov rcx, rax
lea edx, [r8 + 0x68]
call fcn.18003c5c0
mov edx, dword [rsp + 0x38]
lea r10, [0x180085b30]
mov r9, qword [rsp + 0x48]
jmp case.0x18006c4ea.8
mov byte [rsp + 0x151], bpl
mov ecx, dword [rsp + 0x34]
inc edx
mov dword [rsp + 0x38], edx
lea eax, [rdx + 0x45]
cmp eax, ecx
jb 0x18006c4c6
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1800864a0
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
imul ecx, dword [r13 + 0xc], 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [r13 + 8]
lea r8, [rsp + 0x40]
mov rcx, qword [r13]
mov edx, 0xab
mov dword [rsp + 0x40], eax
call fcn.180023ea0
jmp case.0x18006c4ea.7
Function at 0x1800727d0
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push r13
sub rsp, 0x1b0
mov rax, qword [0x1800a74e0]
xor rax, rsp
mov qword [rsp + 0x180], rax
lea eax, [rdx + 0xa]
mov r13, rcx
cmp edx, eax
jae 0x1800728b6
mov qword [r11 + 0x10], rbx
mov r8d, 0x7570
mov qword [r11 + 0x18], rbp
xor ebx, ebx
mov qword [r11 + 0x20], rsi
mov ebp, 0x6356
mov qword [r11 - 0x10], rdi
mov esi, 0x616d
mov rdi, qword [rsp + 0x60]
mov qword [r11 - 0x18], r12
mov r12d, 0xa
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
lea r15d, [rdx - 0xfb]
lea rdx, [0x180000000]
cmp r15d, 0x10
ja case.0x180072854.1
mov ecx, dword [rdx + r15*4 + 0x72a84]
add rcx, rdx
jmp rcx
xor r8d, r8d
xor edx, edx
mov ecx, 0x92
call fcn.18006a630
mov rdi, rax
mov r8d, 0x7570
lea rdx, [0x180000000]
inc r15d
sub r12, 1
jne 0x180072843
mov r15, qword [rsp + 0x190]
mov r14, qword [rsp + 0x198]
mov r12, qword [rsp + 0x1a0]
mov rdi, qword [rsp + 0x1a8]
mov rsi, qword [rsp + 0x1d8]
mov rbp, qword [rsp + 0x1d0]
mov rbx, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1800864a0
add rsp, 0x1b0
pop r13
ret
mov r8d, 0x100
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov r8, r13
xor edx, edx
mov ecx, 0xb6
call fcn.1800229c0
cmp eax, 2
jne 0x180072868
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rbx
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rbx
mov rdx, r13
mov qword [rsp + 0x30], rbx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0xef
mov dword [rsp + 0x60], 1
call fcn.18002ee60
jmp 0x180072868
mov word [rsp + 0x77], r8w
jmp case.0x180072854.1
mov r8d, 1
mov byte [rsp + 0x79], 0
lea rdx, [0x18009e372]
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
jmp 0x180072868
mov r8d, 1
lea rdx, [0x18009e379]
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov word [rsp + 0x69], si
jmp 0x180072868
mov r14d, 0xa
nop
mov ebp, 0xa
nop word [rax + rax]
mov esi, 0xa
nop word [rax + rax]
mov ebx, 0xfe
cmp ebx, 0x197
jne 0x1800729da
mov edx, 0xd3
mov rcx, rdi
call fcn.180081c70
add ebx, 0x99
cmp ebx, 0x362
jb 0x1800729c5
sub rsi, 1
jne 0x1800729c0
sub rbp, 1
jne 0x1800729b0
sub r14, 1
jne 0x1800729a0
mov rdx, rdi
lea ecx, [rsi + 0x59]
call fcn.180048560
xor ebx, ebx
mov esi, 0x616d
mov ebp, 0x6356
jmp 0x180072868
mov r8d, 3
lea rdx, [0x18009e394]
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov r8d, 1
lea rdx, [0x18009e3d2]
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov word [rsp + 0x75], bp
jmp 0x180072868
mov r8d, 5
mov byte [rsp + 0x6b], 0
lea rdx, [0x18009e3eb]
lea rcx, [rsp + 0x6b]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rsp + 0x70], 0x6f
jmp 0x180072868
mov byte [rsp + 0x71], 0
jmp case.0x180072854.1
Function at 0x18007d4e0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
imul r13d, edx, 0xb4
mov rbp, r9
movaps xmmword [rsp + 0x30], xmm6
mov rsi, r8
mov r12d, edx
mov r14, rcx
mov edi, edx
cmp edx, r13d
ja 0x18007d653
mov r15, qword [rsp + 0x90]
movdqa xmm6, xmmword [rsp + 0x20]
nop dword [rax]
cmp edi, 0x14c8
ja 0x18007d5d5
je 0x18007d5bb
cmp edi, 0x25
je 0x18007d642
cmp edi, 0x44
je 0x18007d58d
cmp edi, 0x118
je 0x18007d579
cmp edi, 0x50c
je 0x18007d56d
cmp edi, 0x9d4
je 0x18007d653
jmp 0x18007d62b
mov qword [r14], 0
jmp 0x18007d62b
movdqu xmm6, xmmword [rsi]
pxor xmm6, xmmword [rbp]
aesdec xmm6, xmmword [rsi + 0x10]
jmp 0x18007d62b
mov rbx, rbp
test rbp, rbp
je 0x18007d62b
nop dword [rax]
mov rdx, qword [r15]
mov rcx, qword [rbx]
call qword [rsi]
test eax, eax
jne 0x18007d63d
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x18007d5a0
jmp 0x18007d62b
aesdec xmm6, xmmword [rsi + 0x20]
aesdec xmm6, xmmword [rsi + 0x30]
aesdec xmm6, xmmword [rsi + 0x40]
aesdec xmm6, xmmword [rsi + 0x50]
jmp 0x18007d62b
cmp edi, 0x2878
je 0x18007d616
cmp edi, 0x3c28
je 0x18007d60b
cmp edi, 0x4fd8
je 0x18007d5f7
cmp edi, 0x6388
je 0x18007d653
jmp 0x18007d62b
movdqa xmm0, xmm6
aesdeclast xmm0, xmmword [rsi + 0xa0]
movdqu xmmword [r14], xmm0
jmp 0x18007d62b
aesdec xmm6, xmmword [rsi + 0x90]
jmp 0x18007d62b
aesdec xmm6, xmmword [rsi + 0x60]
aesdec xmm6, xmmword [rsi + 0x70]
aesdec xmm6, xmmword [rsi + 0x80]
lea eax, [r12 + r12*8]
lea edi, [rdi + rax*2]
cmp edi, r13d
jbe 0x18007d530
jmp 0x18007d653
mov qword [r14], rbx
jmp 0x18007d653
xor eax, eax
cmp dword [rsi], eax
setne al
mov dword [rbp + 0x6c], eax
mov dword [r14], 0
mov rbx, qword [rsp + 0x70]
mov rax, r14
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x18007d680
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1800a74e0]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea edi, [r8 - 7]
mov r14, rdx
mov r13, rcx
cmp r8d, edi
jbe 0x18007d744
mov rbp, qword [rsp + 0x30]
lea ebx, [r8 - 0x2e]
mov rsi, qword [rsp + 0x30]
lea r15, [0x180000000]
xor r12d, r12d
nop
cmp ebx, 0xe
ja case.0x18007d6e0.1
mov ecx, dword [r15 + rbx*4 + 0x7d900]
add rcx, r15
jmp rcx
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 1
mov r8, r13
mov edx, 0xaa
xor ecx, ecx
call fcn.18006b520
mov rbp, rax
jmp case.0x18007d6e0.1
test r13, r13
je case.0x18007d6e0.12
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], r12d
mov r8, r13
mov edx, 0xaa
xor ecx, ecx
call fcn.18006b520
mov rsi, rax
jmp case.0x18007d6e0.1
mov eax, dword [r14]
mov dword [r13 + 0x84], eax
jmp case.0x18007d6e0.1
cmp dword [r14], r12d
jl 0x18007d76d
dec ebx
lea eax, [rbx + 0x2e]
cmp eax, edi
ja 0x18007d6d0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800864a0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, 0xffffffff
jmp 0x18007d748
mov r15, qword [rsp + 0x30]
mov ebp, 0xf5
mov rsi, qword [rsp + 0x30]
movzx edi, byte [rsp + 0x28]
nop dword [rax + rax]
mov eax, ebp
sub eax, 0xf5
je 0x18007d7a8
cmp eax, 1
jne 0x18007d8b9
mov byte [rsp + 0x20], al
jmp 0x18007d744
mov rdx, r14
mov rcx, r13
call qword [r13]
test al, al
je 0x18007d87f
mov rax, qword [r14 + 8]
cmp qword [r14], rax
jne 0x18007d8b9
mov ebx, 0x106
nop dword [rax]
cmp ebx, 0x22078
ja 0x18007d855
je 0x18007d83e
cmp ebx, 0x106
je 0x18007d820
cmp ebx, 0xb62c
je 0x18007d803
cmp ebx, 0x16b52
jne 0x18007d8a7
mov dword [rsp + 0x35], 0x4b434f
jmp 0x18007d8a7
mov r8d, 2
lea rdx, [0x18009e2c8]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
jmp 0x18007d8a7
movzx eax, word [0x18009e258]
mov word [rsp + 0x30], ax
movzx eax, byte [0x18009e25a]
mov byte [rsp + 0x32], al
mov byte [rsp + 0x33], r12b
jmp 0x18007d8a7
mov eax, 0x4445
mov byte [rsp + 0x3a], r12b
mov word [rsp + 0x38], ax
mov dil, 1
mov rsi, r12
jmp 0x18007d8a7
cmp ebx, 0x2d59e
je 0x18007d889
cmp ebx, 0x38ac4
jne 0x18007d8a7
test dil, dil
je 0x18007d87f
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_NotifyChangeEventLog]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov byte [rsp + 0x20], r12b
jmp 0x18007d744
lea rdx, [rsp + 0x30]
xor ecx, ecx
mov r15, r12
call qword [sym.imp.ADVAPI32.dll_OpenEventLogA]
test rax, rax
movzx edi, dil
mov rsi, rax
cmove edi, r12d
add ebx, 0xb526
cmp ebx, 0x43ee4
jbe 0x18007d7d0
inc ebp
cmp ebp, 0xf7
jb 0x18007d790
mov eax, r12d
jmp 0x18007d748
xor edx, edx
mov rcx, rsi
lea r8d, [rdx + 0x35]
call fcn.18007d680
xor edx, edx
mov rcx, rbp
mov ebx, eax
lea r8d, [rdx + 0x35]
call fcn.18007d680
cmp ebx, eax
jle 0x18007d8f9
lea eax, [rbx + 1]
jmp 0x18007d748
inc eax
jmp 0x18007d748
Function at 0x1800858c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x10
mov r11d, ecx
mov ebx, 1
mov ecx, edx
mov r9, r8
mov r8d, dword [rsp]
mov r10d, 0x10f
rol ebx, cl
nop
mov eax, r10d
sub eax, 0x10f
je 0x18008592f
sub eax, 1
je 0x1800858fd
sub eax, 1
jne 0x180085932
and dword [r9], 0xff
jmp 0x180085932
shr r8d, 1
je 0x180085932
mov edx, dword [r9]
test r11d, r8d
mov ecx, 0
sete cl
lea eax, [rdx + rdx]
shr edx, 7
not edx
mov dword [r9], eax
and edx, 1
cmp ecx, edx
je 0x180085928
xor eax, 0x1d
mov dword [r9], eax
shr r8d, 1
jne 0x180085902
jmp 0x180085932
mov r8d, ebx
inc r10d
cmp r10d, 0x116
jb 0x1800858e0
add rsp, 0x10
pop rbx
ret

Function at 0x142c3b890
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x142c3b89d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x142c3b8ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x142c3b895
lea eax, [rcx + 1]
jmp 0x142c3b8bb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x142c3b8ce
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x142c3b8b4
sub eax, 3
jb 0x142c3b8ee
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x142c3b93d
sar eax, 1
movsxd rbp, eax
jb 0x142c3b924
jmp 0x142c3b8fc
add ebx, ebx
jne 0x142c3b8fa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x142c3b924
inc ecx
add ebx, ebx
jne 0x142c3b90a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x142c3b924
call r11
adc ecx, ecx
add ebx, ebx
jne 0x142c3b91d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x142c3b90c
add ecx, 2
jmp 0x142c3b929
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.142c3b852
jmp 0x142c3b89d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2c37000]
mov eax, dword [rdi]
or eax, eax
je 0x142c3b999
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2c3b49c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x142c3b949
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x142c3b993
mov qword [rbx], rax
add rbx, 8
jmp 0x142c3b969
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x142c3b9dd
cmp al, 0xef
ja 0x142c3b9c5
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x142c3b9a5
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x142c3b9b4
mov eax, dword [rdi]
add rdi, 4
jmp 0x142c3b9b4
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x142c3ba31
sub rsp, 0xffffffffffffff80
jmp 0x141ee42ac
Function at 0x140e03d2d
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push qword [rsp + 0x18]
popfq
lea rsp, [rsp + 0x20]
call fcn.140f0cc24
movsb byte [rdi], byte [rsi]
test al, 0x22
xor byte [r9 - 0x7126324c], cl
jae 0x140e03d2e
in al, dx
sbb dword [rbx + 0x26732092], ebp
xor byte [rcx - 0x3f], 0xc3
fnstcw word [rdi + 0x72]
cdq
invalid
Function at 0x180007260
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18025a080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180007339
cmp byte [rcx + 0x71], 0
je 0x180007339
mov rax, qword ds:[rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180007335
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1800072fa
sub eax, 1
je 0x1800072fe
cmp eax, 2
jne 0x180007335
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180080a90
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18000732c
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x180007335
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1800072e2
xor al, al
jmp 0x1800072e2
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180080a90
add rsp, 0x60
pop rbx
ret
Function at 0x180008f60
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x180008f82
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x180008f91
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 qword [rsp + 0x28], rbx
mov rbx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x180008fe6
cmp rax, rsi
mov rdi, rsi
mov rcx, rbp
cmovb rdi, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, rdi
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
mov rcx, rbp
add r14, rdi
sub rbx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
mov rdi, rbx
je 0x180009069
mov rcx, rbp
call int.180007380
nop dword [rax + rax]
cmp rbx, 0xfff
jbe 0x180009045
nop dword [rax]
mov r9, qword [rbp + 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 rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x180009082
nop dword [rax]
cmp rbx, rax
ja 0x180009010
test rdi, rdi
je 0x180009069
mov r9, qword ss:[rbp + 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 rdi, rax
sub rsi, rdi
mov rbx, qword [rsp + 0x28]
mov rax, rsi
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rsi, rbx
jmp 0x18000906c
mov esi, 0x23005bff
add byte [rcx], ah
add byte [rax + rax + 0xc7ffde], cl
mov ecx, 0xba00b0ff
inc dword [rsi]
invalid