joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400094f0
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x70
mov rax, qword [0x1400160d0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
call fcn.14000a470
test rax, rax
jne 0x140009535
xor al, al
jmp 0x140009610
cmp qword [rsp + 0x88], 0
jne 0x14000955f
mov eax, dword [rsp + 0x80]
lea rdx, [rsp + 0x20]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jge 0x14000955f
xor al, al
jmp 0x140009610
mov rax, qword [rsp + 0x90]
and rax, 0xfffffffffffff000
mov rcx, qword [rsp + 0xa8]
mov qword [rcx], rax
mov rax, qword [rsp + 0xa0]
mov qword [rax], 0
mov rax, qword [rsp + 0x98]
mov dword [rax], 0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeAttachProcess]
nop
mov rdx, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rax]
call fcn.140008c40
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xa0]
mov qword [rcx], rax
call qword [sym.imp.ntoskrnl.exe_KeDetachProcess]
cmp qword [rsp + 0x88], 0
jne 0x14000960c
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x14000960e
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400126c0
add rsp, 0x70
pop rdi
ret
Function at 0x140009b10
Capabilities:
Find process by pid

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0xc0000001
cmp qword [rsp + 0x78], 0
jne 0x140009b5f
mov eax, dword [rsp + 0x70]
lea rdx, [rsp + 0x38]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jge 0x140009b5f
xor al, al
jmp 0x140009cbb
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeAttachProcess]
nop
mov rcx, qword [rsp + 0x80]
call fcn.140009700
movzx eax, al
test eax, eax
je 0x140009c7a
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + rax - 1]
mov rcx, rax
call fcn.140009700
movzx eax, al
test eax, eax
je 0x140009c7a
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
cmp dword [0x14002007c], 0
je 0x140009bd7
call fcn.1400021a0
call fcn.14000fa80
cmp dword [0x14002007c], 0
jne 0x140009bf1
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x30], rax
jae 0x140009c10
mov eax, dword [rsp + 0x88]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x30]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x20], 0
jmp 0x140009c4d
lfence
mov r8d, dword [rsp + 0x88]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.14000aa60
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x28], eax
je 0x140009c45
mov dword [rsp + 0x20], 0xc0000001
jmp 0x140009c4d
mov dword [rsp + 0x20], 0
cmp dword [0x14002007c], 0
je 0x140009c7a
call fcn.14000fb40
mov qword [rsp + 0x48], rax
call fcn.14000fae0
call fcn.1400021b0
cmp qword [rsp + 0x48], 0
je 0x140009c7a
mov dword [rsp + 0x20], 0xc0000001
call qword [sym.imp.ntoskrnl.exe_KeDetachProcess]
jmp 0x140009c8a
cmp qword [rsp + 0x78], 0
jne 0x140009c9d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
cmp dword [rsp + 0x20], 0
jl 0x140009cae
mov dword [rsp + 0x24], 1
jmp 0x140009cb6
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x14000a010
Capabilities:
Find process by pid

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x98
mov rax, qword [0x1400160d0]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0xc0000001
cmp qword [rsp + 0x30], 0
jne 0x14000a07a
mov eax, dword [rsp + 0xb0]
lea rdx, [rsp + 0x30]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jge 0x14000a07a
xor al, al
jmp 0x14000a25f
lea rax, [rsp + 0x58]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeAttachProcess]
nop
mov rcx, qword [rsp + 0xc0]
call fcn.140009700
movzx eax, al
test eax, eax
je 0x14000a21b
mov eax, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
lea rax, [rcx + rax - 1]
mov rcx, rax
call fcn.140009700
movzx eax, al
test eax, eax
je 0x14000a21b
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x48], rax
cmp dword [0x14002007c], 0
jne 0x14000a10a
cmp dword [0x14002003c], 0
je 0x14000a140
call fcn.1400021a0
cmp dword [0x14002007c], 0
je 0x14000a11d
call fcn.14000fa80
cmp dword [0x14002003c], 0
je 0x14000a140
call fcn.140002740
btr rax, 0x10
mov rcx, rax
call fcn.140002840
mov dword [rsp + 0x24], 1
cmp dword [0x14002007c], 0
jne 0x14000a19f
cmp dword [0x14002003c], 0
jne 0x14000a163
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x40], rax
jb 0x14000a19f
mov r8d, dword [rsp + 0xc8]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.14000aa60
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xc8]
cmp dword [rsp + 0x38], eax
je 0x14000a195
mov dword [rsp + 0x20], 0xc0000001
jmp 0x14000a19d
mov dword [rsp + 0x20], 0
jmp 0x14000a1bc
mov eax, dword [rsp + 0xc8]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x20], 0
cmp dword [0x14002007c], 0
jne 0x14000a1cc
cmp dword [rsp + 0x24], 0
je 0x14000a21b
mov qword [rsp + 0x50], 0
cmp dword [rsp + 0x24], 0
je 0x14000a1ee
call fcn.140002740
bts rax, 0x10
mov rcx, rax
call fcn.140002840
cmp dword [0x14002007c], 0
je 0x14000a206
call fcn.14000fb40
mov qword [rsp + 0x50], rax
call fcn.14000fae0
call fcn.1400021b0
cmp qword [rsp + 0x50], 0
je 0x14000a21b
mov dword [rsp + 0x20], 0xc0000001
call qword [sym.imp.ntoskrnl.exe_KeDetachProcess]
jmp 0x14000a22b
cmp qword [rsp + 0xb8], 0
jne 0x14000a241
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
cmp dword [rsp + 0x20], 0
jl 0x14000a252
mov dword [rsp + 0x28], 1
jmp 0x14000a25a
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400126c0
add rsp, 0x98
pop rdi
pop rsi
ret
Function at 0x14000a470
Capabilities:
Check os version

Disassembly:
sub rsp, 0x168
mov rax, qword [0x1400160d0]
xor rax, rsp
mov qword [rsp + 0x150], rax
cmp qword [0x140016198], 0
jne 0x14000a555
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
test eax, eax
je 0x14000a4b5
xor eax, eax
jmp 0x14000a55c
cmp dword [rsp + 0x34], 0xa
jb 0x14000a544
cmp dword [rsp + 0x3c], 0x3839
jb 0x14000a544
call fcn.140002760
and rax, 0xfffffffffffff000
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_MmGetVirtualForPhysical]
mov qword [rsp + 0x28], rax
movabs rax, 0xffffff8000000000
mov rcx, qword [rsp + 0x28]
and rcx, rax
mov rax, rcx
mov qword [0x140016198], rax
movabs rax, 0x7ffffffff8
mov rcx, qword [0x140016198]
add rcx, rax
mov rax, rcx
mov qword [0x140020060], rax
movabs rax, 0x7b7ffffff8
mov rcx, qword [0x140016198]
add rcx, rax
mov rax, rcx
mov qword [0x140020068], rax
jmp 0x14000a555
movabs rax, 0xfffff68000000000
mov qword [0x140016198], rax
mov rax, qword [0x140016198]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400126c0
add rsp, 0x168
ret
Function at 0x140014fa0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov eax, dword [rcx]
mov rbx, rcx
mov rsi, rdx
test rdx, rdx
je 0x1400150c8
cmp eax, 1
je 0x140014ffb
call sym.enterOnceObject
lea rbp, [rax + 8]
mov rdi, rax
mov rcx, rbp
call sym.pthread_mutex_lock
mov r12d, dword [rbx]
test r12d, r12d
je 0x140015010
cmp r12d, 1
jne 0x1400150a0
mov rcx, rbp
call sym.pthread_mutex_unlock
test rdi, rdi
je 0x140014ffb
mov rcx, rdi
call sym.leaveOnceObject.part.0
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rax, [sym._pthread_once_cleanup]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x140026108]
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call r12
test rax, rax
je 0x140015108
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x140026108]
call r12
test rax, rax
je 0x1400150f0
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
lock or qword [rsp], 0
call rsi
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x140026108]
call r12
test rax, rax
je 0x1400150e0
mov rdx, qword [rsp + 0x30]
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
jmp 0x140014fe6
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov r9d, r12d
mov r8, rbx
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sym.fprintf
jmp 0x140014fe6
mov eax, 0x16
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call sym.__pthread_self_lite.part.0
test rax, rax
jne 0x140015089
jmp sym.pthread_once.cold
call sym.__pthread_self_lite.part.0
test rax, rax
jne 0x140015065
jmp 0x140025f4e
call sym.__pthread_self_lite.part.0
test rax, rax
jne 0x14001503f
jmp 0x140025f44
mov rax, qword [class.std::char_traits_char_]
ud2
lea rax, [rsp + 0x20]
mov qword [0], rax
ud2

Function at 0x140015390
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x140026108]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140015408
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call sym.pthread_spin_lock
cmp esi, dword [rbx + 0x48]
jae 0x1400153e3
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x1400153e3
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call sym.pthread_spin_unlock
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call sym.__pthread_self_lite.part.0
mov rbx, rax
jmp 0x1400153bd
Function at 0x140002d74
Capabilities:
Parse pe header

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

Function at 0x140008170
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400081df
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400081df
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400081df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400081df
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400081df
cmp dword [rcx + 0x84], 0xe
jbe 0x1400081df
cmp dword [rcx + 0xf8], 0
je 0x1400081df
mov ecx, ebx
call fcn.140008290
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000806c
nop
cmp dword [rbp + 0x20], 0
je 0x14000822d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140008238
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140008170

Function at 0x140008374
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140008170
Function at 0x14000b9bc
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000b9ec
xor eax, eax
jmp 0x14000baaf
mov rbp, rbx
cmp word [rax], si
je 0x14000ba11
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000b9f8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000b9f4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000b8dc
movsxd r14, eax
test eax, eax
jne 0x14000ba4f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000b9e5
mov rcx, r14
call fcn.140009d0c
mov rdi, rax
test rax, rax
jne 0x14000ba68
xor ecx, ecx
call fcn.140009f3c
jmp 0x14000ba44
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000b8dc
test eax, eax
jne 0x14000ba99
mov rcx, rdi
call fcn.140009f3c
jmp 0x14000baa3
xor ecx, ecx
call fcn.140009f3c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000edb0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000a9ac
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000ee3a
cmp byte [rbp - 0x21], r15b
je 0x14000ee35
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000ee70
call fcn.14000c1c0
test eax, eax
jne 0x14000ee5c
cmp byte [rbp - 0x21], r15b
je 0x14000ee54
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000ee70
cmp byte [rbp - 0x21], r15b
je 0x14000ee6d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140009f8c
test eax, eax
jne 0x14000ef10
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000a9ac
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000eeaf
cmp byte [rbp - 0x21], r15b
je 0x14000eee4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000eee4
call fcn.14000c1c0
test eax, eax
jne 0x14000eed0
cmp byte [rbp - 0x21], r15b
je 0x14000eec9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000eee4
cmp byte [rbp - 0x21], r15b
je 0x14000eee1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140009f8c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000ef10
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000ef13
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000ef21
mov rcx, rdi
call fcn.140009f3c
cmp byte [rbp + 0x3f], r15b
je 0x14000ef30
mov rcx, qword [rbp + 0x27]
call fcn.140009f3c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140011de0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140011e08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140011e08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180005750
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1800057ad
lea rbx, [0x18003ba50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180005794
cmp r10, 2
jb 0x180005794
cmp byte [r9], r8b
jne 0x180005794
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180005770
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800057ef
lea rbx, [0x18003ba50]
cmp r8b, 0x23
jne 0x1800057d3
cmp byte [r9], r8b
jne 0x1800057d3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1800057c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1800059d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1800059ea
mov qword [r8], 0
lea rdx, [0x18003b8a0]
call fcn.180005800
mov rbx, rax
test rax, rax
jne 0x180005a0a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180005ae3
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180005ae3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180005ae3
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180005ae3
cmp rdi, 0xffffffffffffffff
je 0x180005ae3
mov rax, qword [0x180047c68]
test rax, rax
je 0x180005a80
inc dword [rax + 0x3bc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180005ae3
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x180005ad0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180047c68]
test rax, rax
je 0x180005ac5
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180005aec
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180005ade
mov qword [r14], rdi
mov rax, rsi
jmp 0x180005aee
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180009900
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
xor eax, eax
lea r8, [0x18003b7dd]
mov dword [rsp + 0x2c], eax
lea r11, [0x18003ba50]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov edx, r10d
mov r9b, 0x57
nop
cmp r9b, 0x23
jne 0x180009953
cmp byte [r8], r9b
jne 0x180009953
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x180009940
mov ecx, dword [rbx + 0x2f14]
lea rax, [0x180015350]
mov edi, dword [rbx + 0x2f10]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x180015410]
mov qword [rsp + 0x38], rax
lea rax, [0x1800154f0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x180009a55
inc edi
test ecx, ecx
je 0x1800099bf
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800099c4
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x180009a55
mov rax, qword [0x180047c68]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x1800099e8
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0x2f18]
mov rsi, rax
test rdx, rdx
je 0x180009a43
movsxd rcx, dword [rbx + 0x2f10]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x2f18]
test rcx, rcx
je 0x180009a3d
mov rax, qword [0x180047c68]
test rax, rax
je 0x180009a3d
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2f18], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rbx + 0x2f14], edi
movsxd rax, dword [rbx + 0x2f10]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2f18]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x2f10]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x18000ae00
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18000ae50
lea r11, [0x18003ba50]
nop dword [rax]
cmp r9b, 0x23
jne 0x18000ae33
cmp byte [r8], r9b
jne 0x18000ae33
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18000ae20
mov rcx, qword [0x180047c68]
not eax
movsxd rdx, dword [rcx + 0x1a00]
mov r9, qword [rcx + 0x1a08]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x18000aeb1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x18000aea9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18000aeac
mov rdx, r8
test rdx, rdx
jne 0x18000ae80
cmp r9, r10
je 0x18000aec0
cmp dword [r9], eax
jne 0x18000aec0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret