joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140099914
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rbx, r8
mov edi, edx
jne 0x14009992e
mov eax, dword [rcx + 8]
jmp 0x1400999ad
mov rcx, qword [rcx]
lea rdx, str.FwAnalyzeFirewallPolicyOnProfile
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
jne 0x140099998
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
call fcn.1400abd44
cmp dword [rax], 2
jbe 0x140099994
lea rcx, str.Failed_to_get_address_of_FwAnalyzeFirewallPolicyOnProfile
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x58], rcx
lea rdx, [0x140472e58]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140004d64
mov eax, ebx
jmp 0x1400999ad
movabs r10, 0xa8fca7b07e5da970
mov rdx, rbx
mov ecx, edi
call qword [case.0x140084480.0]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400999c0
Capabilities:
Check if file exists
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1404fa650]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
and qword [rcx], 0
and dword [rcx + 8], 0
mov r8d, 0x104
lea rdx, [rsp + 0x60]
lea rcx, [0x1403bb2d8]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
nop dword [rax + rax]
test eax, eax
jne 0x140099a70
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbx + 8], eax
call fcn.1400abd44
cmp dword [rax], 2
jbe 0x140099b27
lea rcx, str.The_call_to_get_environment_variable_failed
mov qword [rsp + 0x38], rcx
mov ecx, dword [rbx + 8]
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea rdx, [0x140472e58]
mov rcx, rax
call fcn.140004d64
jmp 0x140099b27
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400d71b0
nop
lea rdx, str._system32FirewallAPI.dll
lea rcx, [rsp + 0x40]
call fcn.140099e70
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140078bc0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
nop dword [rax + rax]
mov rdx, rax
mov rcx, rbx
call fcn.14009a088
cmp qword [rbx], 0
jne 0x140099b1c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbx + 8], eax
call fcn.1400abd44
cmp dword [rax], 2
jbe 0x140099b1c
lea rcx, str.Failed_to_load_the_firewall_dll_library
mov qword [rsp + 0x38], rcx
mov ecx, dword [rbx + 8]
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea rdx, [0x140472e58]
mov rcx, rax
call fcn.140004d64
nop
lea rcx, [rsp + 0x40]
call fcn.14007bc80
nop
mov rax, rbx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140157600
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rbp
ret
Function at 0x1400a147c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0x98
mov rax, qword [0x1404fa650]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14, r9
mov rsi, rcx
xor r15d, r15d
mov dword [rbp - 0x49], r15d
cmp qword [r8 + 0x10], r15
jne 0x1400a158a
xor r8d, r8d
lea rcx, [rbp - 0x21]
call fcn.14008b410
lea rax, [rbp - 0x21]
lea ebx, [r15 + 5]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x41], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x31], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
test bl, 2
jne 0x1400a15bb
mov edi, 1
test dil, bl
jne 0x1400a159d
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae rdx, qword [rbp - 0x41]
movabs r9, 0xcbf29ce484222325
mov rax, qword [rbp - 0x31]
lea r8, [rax + rax]
mov rcx, r15
test r8, r8
je 0x1400a1545
movzx eax, byte [rcx + rdx]
xor r9, rax
movabs r10, 0x100000001b3
imul r9, r10
add rcx, rdi
cmp rcx, r8
jb 0x1400a1528
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x21]
mov rcx, rsi
call fcn.140099c94
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x1400a15ab
mov dil, r15b
lea rcx, [rbp - 0x41]
call fcn.14007bc80
mov al, dil
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140157600
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rbp - 1]
call fcn.1400a19e0
mov ebx, 2
jmp 0x1400a14ca
lea rcx, [rbp - 0x21]
call fcn.14007bc80
jmp 0x1400a1500
cmp rcx, qword [rsi + 8]
je 0x1400a155e
movzx eax, word [rcx + 0x30]
mov word [r14], ax
jmp 0x1400a1561
and ebx, 0xfffffffd
lea rcx, [rbp - 1]
call fcn.14007bc80
jmp 0x1400a14f2

Function at 0x1400a19a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x1400a19d3
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r10
cmp rcx, r8
jb 0x1400a19c0
mov rax, r9
ret
Function at 0x1400a2c20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp qword [rdx + 0x18], 8
mov r9, qword [rdx + 0x10]
jb 0x1400a2c2e
mov rdx, qword [rdx]
xor r8d, r8d
movabs rcx, 0xcbf29ce484222325
add r9, r9
je 0x1400a2c5e
movzx eax, byte [r8 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r10
cmp r8, r9
jb 0x1400a2c40
mov rax, rcx
ret
Function at 0x1400a3c0c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp qword [r8 + 0x18], 8
mov rbx, rdx
mov rdi, qword [r8 + 0x10]
mov r11, rcx
mov r10, r8
jb 0x1400a3c32
mov r10, qword [r8]
lea rdx, [rdi + rdi]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rdx, rdx
je 0x1400a3c65
movzx eax, byte [rcx + r10]
movabs rsi, 0x100000001b3
xor r9, rax
inc rcx
imul r9, rsi
cmp rcx, rdx
jb 0x1400a3c47
mov rcx, qword [r11 + 0x30]
mov rdx, qword [r11 + 0x18]
and rcx, r9
add rcx, rcx
mov rax, qword [rdx + rcx*8 + 8]
cmp rax, qword [r11 + 8]
je 0x1400a3ccf
mov rsi, qword [rdx + rcx*8]
lea rcx, [rax + 0x10]
cmp qword [rcx + 0x18], 8
mov rdx, qword [rcx + 0x10]
jb 0x1400a3c94
mov rcx, qword [rcx]
cmp qword [r8 + 0x18], 8
mov r9, r8
jae 0x1400a3cea
cmp rdi, rdx
jne 0x1400a3cef
mov rdx, rdi
test rdi, rdi
je 0x1400a3cca
sub r9, rcx
movzx r10d, word [rcx]
cmp word [r9 + rcx], r10w
jb 0x1400a3cef
ja 0x1400a3cef
cmp rdx, 1
je 0x1400a3cca
dec rdx
add rcx, 2
jmp 0x1400a3cae
test rax, rax
jne 0x1400a3cd3
mov rax, qword [r11 + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov qword [rbx], rax
mov rax, rbx
mov rbx, qword [rsp + 8]
ret
mov r9, qword [r8]
jmp 0x1400a3c9e
cmp rax, rsi
je 0x1400a3ccf
mov rax, qword [rax + 8]
jmp 0x1400a3c82
Function at 0x1400aa1cc
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor r14d, r14d
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
je 0x1400aa27b
test r8, r8
je 0x1400aa27b
movzx ebp, r14w
lea r15d, [r14 + 1]
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
sub rax, rcx
movzx r10d, bp
sar rax, 4
cmp r10, rax
jae 0x1400aa2d3
mov eax, r10d
add rax, rax
mov edx, dword [rcx + rax*8]
test edx, edx
je 0x1400aa332
cmp edx, r15d
je 0x1400aa31a
cmp edx, 2
je 0x1400aa2fb
jle 0x1400aa27b
cmp edx, 5
jg 0x1400aa297
mov rax, qword [rbx + 0x18]
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov rcx, qword [rax + r10*8]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.bcrypt.dll_BCryptHashData]
nop dword [rax + rax]
test eax, eax
jne 0x1400aa27b
add bp, r15w
jmp 0x1400aa206
cmp edx, 7
je 0x1400aa2e3
xor al, al
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
cmp edx, 6
jne 0x1400aa276
mov rax, qword [rbx + 0x18]
mov r9, qword [rbx + 0x30]
mov r8, qword [rbx + 0x38]
mov rcx, qword [rax + r10*8]
mov rdx, qword [rcx]
lea rcx, [rdx + 4]
lea rax, [rdx + 8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov rcx, rsi
mov qword [rsp + 0x20], rdx
mov rdx, rdi
call fcn.1400a8300
jmp 0x1400aa270
add qword [rbx + 0x38], rdi
mov al, r15b
mov byte [rbx + 0x9c0], r15b
jmp 0x1400aa27d
mov rcx, qword [rbx + 0x18]
mov r9, rdi
mov r8, rsi
mov rcx, qword [rcx + r10*8]
call fcn.14006b730
jmp 0x1400aa270
mov rdx, qword [rbx + 0x18]
lea rcx, [0x1403a0100]
mov r9, rdi
mov r8, rsi
mov rdx, qword [rdx + r10*8]
call fcn.14017e5c0
jmp 0x1400aa270
mov rcx, qword [rbx + 0x18]
mov r8, rdi
mov rdx, rsi
mov rcx, qword [rcx + r10*8]
call fcn.14017c11c
jmp 0x1400aa270
mov rcx, qword [rbx + 0x18]
mov r8, rdi
mov rdx, rsi
mov rcx, qword [rcx + r10*8]
call fcn.14017dac0
jmp 0x1400aa270
Function at 0x1400aa3c0
Capabilities:
Get file size

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x10], rdx
push rbp
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xc0
mov r15b, r9b
mov r14, r8
mov rdi, rdx
mov rsi, rcx
call fcn.1400a9c94
cmp byte [rax + 6], 0
jne 0x1400aa586
lea rcx, [rbp - 0x21]
call fcn.1400ad8c4
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400aa421
lock inc dword [rcx + 8]
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rcx
lea rax, [rbp - 0x51]
mov qword [rbp + 0x2f], rax
mov byte [rsp + 0x28], 0
lea r9, [rbp - 0x21]
mov edx, 0x120089
mov r8d, 7
mov rcx, rsi
call fcn.1400e08f0
mov ebx, eax
test eax, eax
js 0x1400aa5a7
mov rcx, qword [rbp - 0x49]
test rcx, rcx
jne 0x1400aa527
test ebx, ebx
js 0x1400aa4d6
lea rcx, [rbp - 1]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
nop dword [rax + rax]
mov al, byte [rbp - 9]
test al, al
jne 0x1400aa532
lea rdx, [rbp - 0x41]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
nop dword [rax + rax]
xor ebx, ebx
test eax, eax
setne bl
lea rcx, [rbp - 1]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
nop
test ebx, ebx
je 0x1400aa56c
mov al, byte [rbp + 0x7f]
mov byte [rsp + 0x20], al
mov r9b, r15b
mov r8, qword [rbp - 0x41]
mov rdx, r14
lea rcx, [rbp - 0x21]
call fcn.1400a9878
mov ebx, eax
lea rcx, [rbp - 0x21]
call fcn.1400ae484
lea rcx, [rbp + 0x17]
call fcn.1400ae524
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x1400aa4f7
call fcn.14008a1a0
nop
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x1400aa520
mov eax, ebx
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14008a1a0
jmp 0x1400aa500
call fcn.14008a1a0
nop
jmp 0x1400aa467
mov rax, qword [rbp + 7]
lock inc qword [rax + 0x38]
mov ecx, 0x323
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
lea rax, [rbp - 1]
mov qword [rbp + 0x27], rax
mov rax, qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov qword [rbp - 0x39], rax
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x39]
call fcn.140105f00
mov rcx, qword [rbp + 0x57]
lea r8, str.amcorewcd_sourcecommon_src_filehashesutils.cpp
mov edx, 0x1ab
call fcn.1400c9074
jmp 0x1400aa4d4
mov rdx, rdi
lea rcx, [rbp - 0x39]
call fcn.14006e64c
mov r8, r14
mov rdx, rax
mov rcx, rsi
call fcn.14017ab78
mov ebx, eax
jmp 0x1400aa4f7
mov ecx, eax
call fcn.1400aae10
test eax, eax
je 0x1400aa45a
cmp qword [rbp - 0x51], 0
je 0x1400aa45a
call fcn.14007cc0c
mov r8, qword [rbp - 0x51]
mov r8, qword [r8 + 0xf0]
lea rdx, [rbp + 0x1f]
mov rcx, rax
call fcn.1400c7fec
mov byte [rsp + 0x28], 0
lea r9, [rbp - 0x21]
mov edx, 0x120089
mov r8d, 7
mov rcx, rsi
call fcn.1400e08f0
mov ebx, eax
cmp byte [rbp + 0x23], 0
je 0x1400aa45a
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
nop dword [rax + rax]
jmp 0x1400aa45a
Function at 0x1400abd64
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov dword [rsp + 0x18], r8d
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x48
mov rax, qword gs:[0x58]
mov rsi, rcx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov edi, r8d
mov rbx, rdx
mov r9, qword [rax]
mov eax, dword [rcx + r9]
cmp dword [0x1405247d8], eax
jg 0x1400abead
mov r9, qword [rsi + 0x298]
movzx eax, word [rbx + 4]
movzx edx, word [rbx + 6]
xor rdx, rax
movsxd rax, dword [rbx]
mov r8, qword [r9 + 0x18]
xor rdx, rax
and rdx, qword [r9 + 0x30]
add rdx, rdx
mov rcx, qword [r8 + rdx*8 + 8]
cmp rcx, qword [r9 + 8]
je 0x1400abee3
mov r8, qword [r8 + rdx*8]
mov rax, qword [rbx]
sub rax, qword [rcx + 0x10]
jne 0x1400abde5
mov rax, qword [rbx + 8]
sub rax, qword [rcx + 0x18]
test rax, rax
jne 0x1400abe76
test rcx, rcx
je 0x1400abee3
cmp rcx, qword [r9 + 8]
je 0x1400abe84
xor edx, edx
movabs r8, 0xcbf29ce484222325
movzx eax, byte [rbp + rdx + 0x38]
movabs r9, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r9
cmp rdx, 4
jb 0x1400abe0d
mov rdx, qword [rcx + 0x80]
and rdx, r8
mov r8, qword [rcx + 0x68]
add rdx, rdx
mov rax, qword [r8 + rdx*8 + 8]
cmp rax, qword [rcx + 0x58]
je 0x1400abf1e
mov r9, qword [r8 + rdx*8]
cmp edi, dword [rax + 0x10]
jne 0x1400abea2
test rax, rax
je 0x1400abf1e
cmp rax, qword [rcx + 0x58]
je 0x1400abf27
add rax, 0x18
add rsp, 0x48
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp rcx, r8
je 0x1400abee3
mov rcx, qword [rcx + 8]
jmp 0x1400abdd4
lea rdx, [0x14015bb50]
call fcn.1400abf7c
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
ja 0x1400abeec
lea rax, [0x1405247e0]
jmp 0x1400abe6c
cmp rax, r9
je 0x1400abf1e
mov rax, qword [rax + 8]
jmp 0x1400abe50
lea rcx, [0x1405247d8]
call fcn.140159340
cmp dword [0x1405247d8], 0xffffffff
jne 0x1400abd9e
lea rcx, [0x14038cf10]
call fcn.140157b54
lea rcx, [0x1405247d8]
call fcn.1401592d8
jmp 0x1400abd9e
mov rcx, qword [r9 + 8]
jmp 0x1400abdf7
lea rax, str.Called_with_event_that_has_no_registered_provider_configuration
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], rax
lea rdx, [0x14045d247]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.14000172c
jmp 0x1400abe99
mov rax, qword [rcx + 0x58]
jmp 0x1400abe5e
call fcn.1400abd44
cmp dword [rax], 4
jbe 0x1400abe99
lea rcx, str.Called_with_event_that_has_no_registered_rule_configuration
mov dword [rbp + 0x28], edi
mov qword [rbp + 0x40], rcx
lea rdx, [0x14045d31f]
lea rcx, [rbp + 0x28]
mov qword [rbp + 0x30], rbx
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140008c10
jmp 0x1400abe99
Function at 0x1400ad5c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rbx, r8
mov rsi, rdx
mov r14, rcx
lea rbp, [rcx + 0x18]
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
mov qword [rsp + 0x60], rbp
mov r10, qword [rbx + 0x10]
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400ad604
mov r8, qword [rbx]
movabs rcx, 0xcbf29ce484222325
lea r9, [r10 + r10]
xor edx, edx
test r9, r9
je 0x1400ad637
movzx eax, byte [rdx + r8]
xor rcx, rax
movabs r11, 0x100000001b3
imul rcx, r11
inc rdx
cmp rdx, r9
jb 0x1400ad619
mov rax, qword [r14 + 0x88]
and rax, rcx
add rax, rax
mov rcx, qword [r14 + 0x70]
mov rdi, qword [rcx + rax*8 + 8]
cmp rdi, qword [r14 + 0x60]
je 0x1400ad6b0
mov r9, qword [rcx + rax*8]
lea rax, [rdi + 0x10]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400ad669
mov rax, qword [rax]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jae 0x1400ad6ee
cmp r10, rcx
jne 0x1400ad77b
mov rcx, r10
test r10, r10
je 0x1400ad6ab
sub rdx, rax
movzx r8d, word [rax]
cmp word [rdx + rax], r8w
jb 0x1400ad77b
ja 0x1400ad77b
cmp rcx, 1
je 0x1400ad6ab
dec rcx
add rax, 2
jmp 0x1400ad687
test rdi, rdi
jne 0x1400ad6f3
mov rax, qword [r14 + 0x48]
lock inc qword [rax + 0x48]
and qword [rsi], 0
and qword [rsi + 8], 0
test rbp, rbp
je 0x1400ad6d7
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
nop
mov rax, rsi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
mov rdx, qword [rbx]
jmp 0x1400ad673
cmp rdi, qword [r14 + 0x60]
je 0x1400ad6b0
mov rbx, qword [rdi + 0x40]
cmp qword [r14 + 0x40], 0
jne 0x1400ad74f
lea rcx, [r14 + 0x98]
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400ad761
mov rax, qword [r14 + 0x48]
lock inc qword [rax + 0x40]
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x1400ad72d
lock inc dword [rdx + 8]
mov rdx, qword [rdi + 0x38]
mov rax, qword [rdi + 0x30]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
test rbp, rbp
je 0x1400ad6d7
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
nop
jmp 0x1400ad6d7
lea rcx, [rbx + 0x30]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
jmp 0x1400ad704
cmp qword [rcx], rbx
je 0x1400ad713
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, rcx
mov rdx, qword [rcx]
call fcn.140171424
jmp 0x1400ad713
cmp rdi, r9
je 0x1400ad6b0
mov rdi, qword [rdi + 8]
jmp 0x1400ad657
Function at 0x1400addc8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov r14, r9
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
lea rsi, [rcx + 0xf8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
mov qword [rsp + 0x70], rsi
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x1400ade0c
mov rbx, qword [rbx]
movabs r8, 0xcbf29ce484222325
mov rcx, r8
xor edx, edx
movabs r10, 0x100000001b3
add r9, r9
je 0x1400ade3d
movzx eax, byte [rdx + rbx]
xor rcx, rax
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x1400ade2a
mov rax, r14
shl rax, 6
mov rdx, r14
shr rdx, 2
add rcx, rax
mov eax, 0x9e3779b9
add rdx, rax
add rdx, rcx
xor rdx, r14
mov qword [rsp + 0x78], rdx
xor ecx, ecx
movzx eax, byte [rsp + rcx + 0x78]
xor r8, rax
imul r8, r10
inc rcx
cmp rcx, 8
jb 0x1400ade63
mov rcx, qword [rbp + 0xe8]
and rcx, r8
add rcx, rcx
mov r8, qword [rbp + 0xd0]
mov rax, qword [r8 + rcx*8 + 8]
mov r9, qword [rbp + 0xc0]
mov r14, qword [rsp + 0x90]
cmp rax, r9
je 0x1400adf43
mov r10, qword [r8 + rcx*8]
cmp rdx, qword [rax + 0x10]
je 0x1400adec2
cmp rax, r10
je 0x1400adf43
mov rax, qword [rax + 8]
jmp 0x1400adead
test rax, rax
je 0x1400adf43
cmp rax, r9
je 0x1400adf43
and qword [rdi], 0
and qword [rdi + 8], 0
mov r8, qword [rax + 0x20]
test r8, r8
je 0x1400adee7
lock inc dword [r8 + 8]
mov r8, qword [rax + 0x20]
mov rdx, qword [rax + 0x18]
mov qword [rdi], rdx
mov qword [rdi + 8], r8
test rsi, rsi
jne 0x1400adf31
mov rcx, qword [r14 + 0x38]
test rcx, rcx
je 0x1400adf22
mov rax, qword [rcx]
cmp rcx, r14
setne dl
movabs r10, 0xed1dae5b305f0370
mov rax, qword [rax + 0x20]
call qword [case.0x140084480.0]
and qword [r14 + 0x38], 0
mov rax, rdi
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
nop
jmp 0x1400adef7
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140175168
mov rbx, rax
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xb8]
call fcn.140174d28
mov r8, qword [rax]
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
and qword [rbx], 0
and qword [rbx + 8], 0
mov qword [r8 + 0x18], rcx
mov rcx, qword [r8 + 0x20]
mov qword [r8 + 0x20], rdx
test rcx, rcx
je 0x1400adf93
call fcn.14008a1a0
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400adfa2
call fcn.14008a1a0
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x80]
lea rcx, [rbp + 0xb8]
call fcn.1401104a8
mov rax, qword [rax]
jmp 0x1400adecc
Function at 0x1400ae0e4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x1404fa650]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rbx, rdx
mov r14, rcx
mov rcx, qword [rdx]
lea rsi, [rcx + 0xe0]
and dword [rcx + 0x180], 0
mov rax, qword [rdx]
and dword [rax + 0x184], 0
mov rax, qword [rdx]
and dword [rax + 0x18c], 0
cmp qword [rcx + 0x148], 8
jb 0x1400ae258
cmp qword [rsi + 0x10], 0
je 0x1400ae258
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0x40]
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.1400d8fc4
mov edi, eax
test eax, eax
js 0x1400ae29e
cmp qword [rsp + 0x40], 4
jb 0x1400ae258
and qword [rsp + 0x40], 0
mov eax, 0x5a4d
cmp word [rbp - 0x60], ax
jne 0x1400ae22a
mov edi, 0x108
mov r8d, edi
xor edx, edx
lea rcx, [rbp - 0x20]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
movsxd r9, dword [rbp - 0x24]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8d, edi
lea rdx, [rbp - 0x20]
mov rcx, r14
call fcn.1400d8fc4
test eax, eax
js 0x1400ae28a
mov rax, qword [rsp + 0x40]
add rax, 0xffffffffffffff08
test rax, 0xffffffffffffffef
jne 0x1400ae22a
lea eax, [rdi + 0x44]
cmp dword [rbp - 0x20], 0x4550
jne 0x1400ae30f
mov rcx, qword [rbx]
mov eax, dword [rbp - 0x18]
mov dword [rcx + 0x180], eax
mov rcx, qword [rbx]
mov eax, dword [rbp + 0x38]
mov dword [rcx + 0x184], eax
mov rax, qword [rbx]
movzx ecx, word [rbp - 0x1c]
mov dword [rax + 0x18c], ecx
mov al, 1
test al, al
jne 0x1400ae25a
movaps xmm3, xmmword [rbp - 0x60]
movd eax, xmm3
cmp dword [0x1403bbedc], eax
je 0x1400ae282
movd eax, xmm3
cmp dword [str._PDF], eax
je 0x1400ae286
movq rcx, xmm3
cmp qword [0x1403be630], rcx
jne 0x1400ae258
mov al, 4
jmp 0x1400ae25a
xor al, al
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140157600
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov al, 5
jmp 0x1400ae25a
mov al, 3
jmp 0x1400ae25a
cmp eax, 0x800703e3
jne 0x1400ae22a
mov rax, qword [rbx]
bts dword [rax + 0x16c], 0x10
jmp 0x1400ae22a
cmp edi, 0x800703e3
jne 0x1400ae2b1
mov rcx, qword [rbx]
bts dword [rcx + 0x16c], 0x10
call fcn.1400abd44
mov r8, rax
cmp dword [rax], 3
jbe 0x1400ae308
mov dword [rsp + 0x40], edi
mov rcx, rsi
call fcn.1400c75e0
mov qword [rsp + 0x48], rax
lea rax, str.Failed_to_read_the_file_header._Cant_decide_if_the_file_is_PE.
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, [0x14045bd9f]
mov rcx, r8
call fcn.1400030f4
mov al, 0xff
jmp 0x1400ae25a
xor al, al
jmp 0x1400ae226