joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ae90
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x14024460b], 1
jne 0x14000aeac
cmp byte [0x14024460a], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x14024460a]
mov byte [0x14024460b], 1
add rsp, 0x28
ret

Function at 0x14000aee0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov edi, edx
mov rbx, rcx
cmp byte [0x14024460b], 1
jne 0x14000af05
cmp byte [0x14024460a], 0
jne 0x14000af24
jmp 0x14000af5d
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14024460b], 1
test rax, rax
setne byte [0x14024460a]
je 0x14000af5d
mov r14, qword [fcn.140009b40]
mov ecx, 2
call r14
mov qword [rsp + 0x20], rsi
lea rdx, str.libunwind:___unw_get_reg_cursor_p__regNum_d__value_p__n
mov rcx, rax
mov r8, rbx
mov r9d, edi
call fcn.140007750
mov ecx, 2
call r14
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
mov rcx, rbx
mov edx, edi
call qword [0x140247008]
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x14000af91
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov edx, edi
call qword [0x140247008]
mov qword [rsi], rax
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14000afa0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rbx, r8
mov edi, edx
mov rsi, rcx
cmp byte [0x14024460b], 1
jne 0x14000afc6
cmp byte [0x14024460a], 0
jne 0x14000afe5
jmp 0x14000b01e
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14024460b], 1
test rax, rax
setne byte [0x14024460a]
je 0x14000b01e
mov r14, qword [fcn.140009b40]
mov ecx, 2
call r14
mov qword [rsp + 0x20], rbx
lea rdx, str.libunwind:___unw_set_reg_cursor_p__regNum_d__value0x_llx__n
mov rcx, rax
mov r8, rsi
mov r9d, edi
call fcn.140007750
mov ecx, 2
call r14
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x10]
mov rcx, rsi
mov edx, edi
call qword [0x140247008]
mov ebp, 0xffffe672
test al, al
je 0x14000b0bf
mov rax, qword [rsi]
mov rax, qword [rax + 0x20]
mov rcx, rsi
mov edx, edi
mov r8, rbx
call qword [0x140247008]
xor ebp, ebp
cmp edi, 0xffffffff
jne 0x14000b0bf
mov rax, qword [rsi]
mov rax, qword [rax + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call qword [0x140247008]
mov rax, qword [rsi]
mov rax, qword [rax + 0x68]
xor ebp, ebp
mov rcx, rsi
xor edx, edx
call qword [0x140247008]
cmp qword [rsp + 0x48], 0
je 0x14000b0bf
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
mov edx, 0xfffffffe
call qword [0x140247008]
add rax, qword [rsp + 0x48]
mov rcx, qword [rsi]
mov r9, qword [rcx + 0x20]
mov rcx, rsi
mov edx, 0xfffffffe
mov r8, rax
mov rax, r9
call qword [0x140247008]
mov eax, ebp
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x14000b0d0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x14024460b], 1
jne 0x14000b0ed
cmp byte [0x14024460a], 0
jne 0x14000b10c
jmp 0x14000b13b
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14024460b], 1
test rax, rax
setne byte [0x14024460a]
je 0x14000b13b
mov rdi, qword [fcn.140009b40]
mov ecx, 2
call rdi
lea rdx, str.libunwind:___unw_step_cursor_p__n
mov rcx, rax
mov r8, rsi
call fcn.140007750
mov ecx, 2
call rdi
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x40]
mov r8, qword [0x140247008]
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp r8

Function at 0x14000b160
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
cmp byte [0x14024460b], 1
jne 0x14000b181
cmp byte [0x14024460a], 0
jne 0x14000b1a0
jmp 0x14000b1d2
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14024460b], 1
test rax, rax
setne byte [0x14024460a]
je 0x14000b1d2
mov rbx, qword [fcn.140009b40]
mov ecx, 2
call rbx
lea rdx, str.libunwind:___unw_get_proc_info_cursor_p__info_p__n
mov rcx, rax
mov r8, rdi
mov r9, rsi
call fcn.140007750
mov ecx, 2
call rbx
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rdi]
mov rax, qword [rax + 0x48]
mov rcx, rdi
mov rdx, rsi
call qword [0x140247008]
xor ecx, ecx
cmp qword [rsi + 8], 0
mov eax, 0xffffe66b
cmovne eax, ecx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x14000b200
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x14024460b], 1
jne 0x14000b21d
cmp byte [0x14024460a], 0
jne 0x14000b23c
jmp 0x14000b26b
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14024460b], 1
test rax, rax
setne byte [0x14024460a]
je 0x14000b26b
mov rdi, qword [fcn.140009b40]
mov ecx, 2
call rdi
lea rdx, str.libunwind:___unw_resume_cursor_p__n
mov rcx, rax
mov r8, rsi
call fcn.140007750
mov ecx, 2
call rdi
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x50]
mov rcx, rsi
call qword [0x140247008]
mov eax, 0xffffe674
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x14000b290
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
cmp byte [0x14024460b], 1
jne 0x14000b2bb
cmp byte [0x14024460a], 0
jne 0x14000b2da
jmp 0x14000b312
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14024460b], 1
test rax, rax
setne byte [0x14024460a]
je 0x14000b312
mov r15, qword [fcn.140009b40]
mov ecx, 2
call r15
mov dword [rsp + 0x20], edi
lea rdx, str.libunwind:___unw_get_proc_name_cursor_p__buf_p__bufLen_lu__n
mov rcx, rax
mov r8, r14
mov r9, rbx
call fcn.140007750
mov ecx, 2
call r15
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [r14]
mov rax, qword [rax + 0x60]
mov rcx, r14
mov rdx, rbx
mov r8, rdi
mov r9, rsi
call qword [0x140247008]
xor ecx, ecx
test al, al
mov eax, 0xffffe674
cmovne eax, ecx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14000b350
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x140244609], 1
jne 0x14000b36c
cmp byte [0x140244608], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_UNWINDING
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x140244608]
mov byte [0x140244609], 1
add rsp, 0x28
ret
Function at 0x140001760
Capabilities:
Encode data using xor
Hash data using fnv

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 [0x140008040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, r8
mov r15, rdx
mov r12, rcx
mov qword [rsp + 0x20], r8
mov rbp, 0xffffffffffffffff
mov rbx, rbp
nop dword [rax + rax]
inc rbx
cmp byte [r8 + rbx], 0
jne 0x1400017a0
mov qword [rsp + 0x28], rbx
xor esi, esi
test rbx, rbx
je 0x140001805
mov r8, rbx
mov edx, 0x2e
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140001805
sub rax, rdi
cmp rax, 0xffffffffffffffff
je 0x140001805
mov rcx, rax
cmp rbx, rax
cmovb rcx, rbx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rcx
inc rax
cmp rbx, rax
jb 0x1400018eb
sub rbx, rax
cmp rbx, 0xffffffffffffffff
cmovb rbp, rbx
lea r9, [rdi + rax]
jmp 0x14000180e
mov r9, rsi
mov rbp, rsi
mov rcx, rbx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
mov ebx, esi
mov r10d, 0x3e2f2cf1
mov r11d, r10d
movabs r13, 0x100000001b3
test rcx, rcx
je 0x140001872
movq rdi, xmm0
mov r14, qword [rsp + 0x28]
nop dword [rax]
movzx r8d, byte [rdi]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx rax, cl
xor rax, r11
imul rax, r13
add r11, rax
inc ebx
lea rdi, [rdi + 1]
movsxd rax, ebx
cmp rax, r14
jb 0x140001840
test rbp, rbp
je 0x1400018b2
nop word [rax + rax]
movzx r8d, byte [r9]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx rdx, cl
xor rdx, r10
imul rdx, r13
add r10, rdx
inc esi
lea r9, [r9 + 1]
movsxd rdx, esi
cmp rdx, rbp
jb 0x140001880
mov r9, r11
mov r8, r10
mov rdx, r15
mov rcx, r12
call fcn.140001450
mov rax, r15
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140003df0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140003020
nop
int3
Function at 0x140002b80
Capabilities:
Execute command
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
xor dil, dil
mov bl, 1
movabs rsi, 0x7ffffffffe8287bf
movabs rbp, 0x7fffffffffffffff
mov r14d, 0xff
nop word [rax + rax]
mov ecx, 0x74
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140002bd6
test dil, dil
sete dil
cmp dil, bl
je 0x140002c77
lea rcx, [0x140005578]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Press_F5_to_start__F5_to_stop.
call fcn.140003040
lea rdx, [0x1400032b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test dil, dil
je 0x140002c3b
lea rdx, str.Harbor_Started.
call fcn.140003040
lea rdx, [0x1400032b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov bl, 1
jmp 0x140002c59
lea rdx, str.Harbor_Paused.
call fcn.140003040
lea rdx, [0x1400032b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor bl, bl
mov ecx, 0x11
movzx edx, bl
call fcn.140001dd0
mov ecx, 0x2a
movzx edx, bl
call fcn.140001dd0
movzx ebx, dil
call fcn.140002190
test al, al
je 0x140002c9b
mov ecx, 0x45
call fcn.140001c20
lea rcx, [rsp + 0x50]
call fcn.140001360
mov rax, qword [rsp + 0x50]
jmp 0x140002caf
lea rcx, [rsp + 0x50]
call fcn.140001360
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
cmp rax, rsi
je 0x140002cdb
mov ecx, 1
cmovl ecx, r14d
test cl, cl
jns 0x140002cdb
add rax, 0x17d7840
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], rax
call fcn.140003780
jmp 0x140002bc0
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], rbp
call fcn.140003780
jmp 0x140002bc0
Function at 0x1400033e0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x30
lea rcx, [0x140008750]
mov rbx, r8
mov rdi, rdx
call sub.KERNEL32.dll_AcquireSRWLockShared
movabs rcx, 0x100000001b3
movzx edx, bl
movabs rax, 0xcbf29ce484222325
xor r8d, r8d
xor rdx, rax
movzx eax, byte [rsp + 0x51]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x52]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x53]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x54]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x55]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x56]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x57]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x140008788]
and rcx, rdx
mov rdx, qword [0x140008760]
shl rcx, 4
add rcx, qword [0x140008770]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x1400034b5
mov rcx, qword [rcx]
cmp rbx, qword [rax + 0x10]
je 0x1400034b8
cmp rax, rcx
je 0x1400034b5
mov rax, qword [rax + 8]
cmp rbx, qword [rax + 0x10]
jne 0x1400034a4
jmp 0x1400034b8
mov rax, r8
test rax, rax
mov rcx, rdx
cmovne rcx, rax
lea rax, [rsp + 0x20]
cmp rcx, rdx
jne 0x1400034d8
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x28], r8
jmp 0x1400034e1
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rax]
lea rcx, [0x140008750]
movups xmmword [rdi], xmm0
call sub.KERNEL32.dll_ReleaseSRWLockShared
mov rbx, qword [rsp + 0x40]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x140003bd0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140003c05
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140002eb0
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 0x140003d74
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140003cec
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140003d63
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x140003d29
mov r10, qword [rdx]
cmp r10, rax
je 0x140003d23
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 [r11 + 8], rax
jmp 0x140003d63
cmp r9, rdx
je 0x140003d3f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140003d85
cmp r9, rdx
jne 0x140003d30
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140003c70
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
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 0x140003d63

Function at 0x14000493c
Capabilities:
Parse pe header

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

Disassembly:
mov r8, rcx
mov eax, 0xffffffff
movsx ecx, byte [rcx]
test ecx, ecx
je 0x1400010ac
xor eax, ecx
lea r8, [r8 + 1]
mov edx, eax
mov ecx, eax
shl ecx, 0x1f
sar ecx, 0x1f
and ecx, 0x77073096
shl edx, 0x18
sar edx, 0x1f
and edx, 0xedb88320
xor edx, ecx
mov ecx, eax
shl ecx, 0x1d
sar ecx, 0x1f
and ecx, 0x76dc419
xor edx, ecx
mov ecx, eax
shl ecx, 0x19
sar ecx, 0x1f
and ecx, 0x76dc4190
xor edx, ecx
mov ecx, eax
shl ecx, 0x1a
sar ecx, 0x1f
and ecx, 0x3b6e20c8
xor edx, ecx
mov ecx, eax
shl ecx, 0x1e
sar ecx, 0x1f
and ecx, 0xee0e612c
xor edx, ecx
mov ecx, eax
shl ecx, 0x1b
sar ecx, 0x1f
and ecx, 0x1db71064
xor edx, ecx
mov ecx, eax
shl ecx, 0x1c
sar ecx, 0x1f
and ecx, 0xedb8832
xor edx, ecx
mov ecx, eax
shr ecx, 8
mov eax, edx
xor eax, ecx
movsx ecx, byte [r8]
test ecx, ecx
jne 0x140001013
not eax
ret
Function at 0x140001d80
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rbx, qword [rcx + 0x20]
mov rbx, qword [rbx]
cmp qword [rbx + 0x50], 0
je 0x140001f4e
mov qword [rsp + 0x58], r14
xor r14d, r14d
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
nop dword [rax]
cmp word [rbx + 0x48], r14w
je 0x140001f2f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x140001e3d
mov r9, qword [rbx + 0x20]
lea rdx, str._i__Unhooking__ws___0x_p_...
mov r8, qword [rbx + 0x50]
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0xfffffff5
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor r9d, r9d
mov qword [rsp + 0x20], r14
mov rcx, rax
mov r8d, edi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x50]
call fcn.1400016f0
test eax, eax
jne 0x140001eb8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x140001eb8
lea rdx, str.____Failed__n
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0xfffffff5
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor r9d, r9d
mov qword [rsp + 0x20], r14
mov rcx, rax
mov r8d, edi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x140001f22
lea rdx, str.___DONE__n
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0xfffffff5
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor r9d, r9d
mov qword [rsp + 0x20], r14
mov rcx, rax
mov r8d, edi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rbx]
cmp qword [rbx + 0x50], r14
jne 0x140001dc0
mov rdi, qword [rsp + 0x50]
mov eax, 1
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
ret
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x140001f60
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x110
mov r9, rcx
test rcx, rcx
je 0x14000208c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000208c
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x14000208c
movups xmm0, xmmword [rax + 0x18]
lea rcx, [rsp + 0x20]
xor r10d, r10d
movups xmm1, xmmword [rax + 0x28]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x38]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm1
mov eax, dword [rsp + 0x90]
add rax, r9
mov r11d, dword [rax + 0x20]
mov ebp, dword [rax + 0x1c]
add r11, r9
mov ebx, dword [rax + 0x24]
add rbp, r9
mov esi, dword [rax + 0x14]
add rbx, r9
test esi, esi
je 0x14000208c
nop word [rax + rax]
movzx eax, word [rbx]
mov ecx, dword [r11]
add rcx, r9
mov edi, dword [rbp + rax*4]
add rdi, r9
call section..text
cmp eax, 0x9874186f
je 0x1400020a7
inc r10d
add rbx, 2
add r11, 4
cmp r10d, esi
jb 0x140002060
xor eax, eax
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rax, rdi
jmp 0x14000208e
Function at 0x1400020b0
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x140006018]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rbx, qword [rcx + 0x20]
test rbx, rbx
je 0x140002228
mov edi, 0x104
nop
movzx eax, word [rbx + 0x48]
test ax, ax
je 0x140002228
cmp ax, di
jae 0x140002228
mov r11, qword [rbx + 0x50]
xor eax, eax
movzx edx, word [r11]
test dx, dx
je 0x14000214e
xor r10d, r10d
nop dword [rax + rax]
movzx r9d, dl
lea ecx, [r9 - 0x20]
movzx edx, cl
lea r8d, [r9 - 0x61]
cmp r8b, 0x19
cmova edx, r9d
inc eax
mov byte [rsp + r10 + 0x20], dl
mov r10d, eax
movzx ecx, word [r11 + rax*2]
movzx edx, cl
test cx, cx
jne 0x140002120
mov ecx, eax
cmp rcx, rdi
jae 0x140002251
mov byte [rsp + rax + 0x20], 0
mov edx, 0xffffffff
movsx eax, byte [rsp + 0x20]
test eax, eax
je 0x14000221c
lea r8, [rsp + 0x20]
nop word [rax + rax]
xor edx, eax
lea r8, [r8 + 1]
mov ecx, edx
mov eax, edx
shl eax, 0x1f
sar eax, 0x1f
and eax, 0x77073096
shl ecx, 0x18
sar ecx, 0x1f
and ecx, 0xedb88320
xor ecx, eax
mov eax, edx
shl eax, 0x1d
sar eax, 0x1f
and eax, 0x76dc419
xor ecx, eax
mov eax, edx
shl eax, 0x19
sar eax, 0x1f
and eax, 0x76dc4190
xor ecx, eax
mov eax, edx
shl eax, 0x1a
sar eax, 0x1f
and eax, 0x3b6e20c8
xor ecx, eax
mov eax, edx
shl eax, 0x1e
sar eax, 0x1f
and eax, 0xee0e612c
xor ecx, eax
mov eax, edx
shl eax, 0x1b
sar eax, 0x1f
and eax, 0x1db71064
xor ecx, eax
mov eax, edx
shl eax, 0x1c
sar eax, 0x1f
and eax, 0xedb8832
xor ecx, eax
mov eax, edx
shr eax, 8
mov edx, ecx
xor edx, eax
movsx eax, byte [r8]
test eax, eax
jne 0x140002180
not edx
cmp edx, 0x63501409
je 0x14000224b
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400020f0
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140002d50
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rdi
ret
mov rax, qword [rbx + 0x20]
jmp 0x14000222a
call fcn.140002e78
int3
Function at 0x14000374c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003796
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003796
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003796
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003796
cmp dword [rcx + 0x84], 0xe
jbe 0x140003796
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003798
xor al, al
add rsp, 0x28
ret