joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800ac250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x1800f6040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x1800ac3ec
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x1800ac3ec
cmp r10d, r14d
jne 0x1800ac2f0
sub rbx, 0x10
jmp 0x1800ac434
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x1800ac362
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x1800ac324
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x1800ac32c
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x1800ac34b
movzx edx, r11b
mov rcx, rsi
call fcn.1800ad400
test al, al
jne 0x1800ac445
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.1800ada70
test al, al
jne 0x1800ac445
mov edx, dword [rsi + 0x64]
lea r9, [0x1800addd0]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x1800ac38e
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1800ac0d0
jmp 0x1800ac3e2
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.1800ac0d0
test dil, dil
je 0x1800ac3da
cmp byte [rsi + 0x6a], 0
jne 0x1800ac3da
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x1800ac445
sub rbx, 0x10
jmp 0x1800ac434
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x1800ac449
mov ebp, dword [rbx]
jmp 0x1800ac2b0
mov al, 1
jmp 0x1800ac452
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1800b88d0
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x1800b27a0
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1800b27bc
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1800b2810
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800b2935
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x1800b2935
test rax, rax
je 0x1800b2935
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x1800b2935
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x1800b28aa
lea rax, [0x1800b2990]
jmp 0x1800b2903
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x1800b2935
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800b2923
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x1800b28d0
lea rax, [0x1800b2960]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x1800b294a
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x1800b3f20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1800b3f2b
xor eax, eax
ret
lea r11, [0x1800d7210]
not ecx
cmp r8d, 8
jb 0x1800b4001
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1800b3f50
test r8d, r8d
je 0x1800b402d
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x1800b4010
not ecx
mov eax, ecx
ret
Function at 0x140001b20
Capabilities:
Get file system object information

Disassembly:
sub rsp, 0x528
mov rax, qword [0x14001e008]
xor rax, rsp
mov qword [rsp + 0x510], rax
mov r9, rcx
lea rax, [rsp + 0x300]
lea rcx, [rsp + 0x300]
mov r8d, 0x104
sub r9, rcx
nop word [rax + rax]
lea rdx, [r8 + 0x7ffffefa]
test rdx, rdx
je 0x140001b83
movzx ecx, word [r9 + rax]
test cx, cx
je 0x140001b83
mov word [rax], cx
add rax, 2
sub r8, 1
jne 0x140001b60
test r8, r8
lea rcx, [rax - 2]
lea rdx, [rsp + 0x2f0]
cmovne rcx, rax
xor eax, eax
mov qword [rsp + 0x2f0], rax
mov word [rcx], ax
lea r8d, [rax + 3]
lea rcx, [rsp + 0x300]
call qword [sym.imp.SHELL32.dll_PathResolve]
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x2b8
call fcn.140007e40
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x2000
lea r8, [rsp + 0x30]
or edx, 0xffffffff
lea rcx, [rsp + 0x300]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x140001c21
cmp al, 0x50
jne 0x140001c21
movzx ecx, ax
shr cx, 8
cmp cl, 0x45
jne 0x140001c21
shr eax, 0x10
test ax, ax
jne 0x140001c21
xor eax, eax
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.1400056e0
add rsp, 0x528
ret
mov eax, 1
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.1400056e0
add rsp, 0x528
ret

Function at 0x140001c40
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x150
mov rax, qword [0x14001e008]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor eax, eax
mov dword [0x140025d04], 0
lea rdi, [rsp + 0x20]
mov ecx, 0x114
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140001cda
cmp dword [rsp + 0x30], 2
jne 0x140001cda
mov ecx, dword [rsp + 0x24]
cmp ecx, 5
jb 0x140001cda
jne 0x140001caa
cmp dword [rsp + 0x28], 1
jae 0x140001cac
mov eax, 1
jmp 0x140001cdc
jbe 0x140001cbe
mov eax, dword [0x140025d04]
bts eax, 0x1c
mov dword [0x140025d04], eax
jmp 0x140001cc4
mov eax, dword [0x140025d04]
cmp ecx, 6
jb 0x140001cd3
bts eax, 0x1d
mov dword [0x140025d04], eax
mov eax, 1
jmp 0x140001cdc
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400056e0
add rsp, 0x150
pop rdi
ret
Function at 0x140001ff0
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x14001e008]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
mov dword [rsp + 0x6c], 0
lea rax, [rsp + 0x60]
mov word [rsp + 0x70], 0x500
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x6c]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
lea r8d, [rbx + 0x20]
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x68], eax
test eax, eax
je 0x140002088
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rsp + 0x68]
test eax, eax
cmove ecx, ebx
mov dword [rsp + 0x68], ecx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400056e0
add rsp, 0x80
pop rbx
ret
Function at 0x1400045f0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x2c0
mov rax, qword [0x14001e008]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rdi, rcx
call fcn.140004780
test eax, eax
js 0x140004657
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140004772
mov eax, 0x80004005
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400056e0
mov rbx, qword [rsp + 0x2d8]
add rsp, 0x2c0
pop rdi
ret
mov r9d, dword [0x140025d20]
lea r8, str.Hidden_Start
or r9d, 0x24
lea rdx, str.In_order_to_use_Hstart_with__NOUAC_switch_you_need_to_create_the_Hstart_UAC_task_in_Task_Scheduler._Do_you_want_to_create_it_now_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x140004631
mov r8d, 0x104
lea rdx, [rsp + 0xa0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140004631
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x70]
call fcn.140007e40
lea rax, str.runas
mov dword [rsp + 0x20], 0x70
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x24], 0x40
mov qword [rsp + 0x38], rax
lea rax, str._REGTASK
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor ebx, ebx
test eax, eax
cmovne rbx, qword [rsp + 0x88]
je 0x140004631
test rbx, rbx
je 0x14000474f
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x90]
mov dword [rsp + 0x90], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x90], 0
jne 0x140004631
call fcn.140004780
test eax, eax
js 0x140004631
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140004631
xor eax, eax
jmp 0x140004636
Function at 0x140009d5c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140009b30
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140009b30
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140009b30
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140009b30
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140009b30
cmp dword [rcx + 0x84], 0xe
jbe 0x140009b30
cmp dword [rcx + 0xf8], esi
je 0x140009b30
mov ecx, r14d
call fcn.140009c78
mov ecx, 2
call fcn.14000ba7c
nop
cmp byte [0x140024c58], 0
jne 0x140009bfa
mov r15d, 1
mov eax, r15d
xchg dword [0x140024c48], eax
test ebx, ebx
jne 0x140009ba3
mov rdi, qword [0x14001e008]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140024c50]
cmp rcx, rax
je 0x140009b9a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400063b8]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140024e90]
jmp 0x140009baf
cmp ebx, r15d
jne 0x140009bb5
lea rcx, [0x140024ea8]
call fcn.14000a6c8
nop
test ebx, ebx
jne 0x140009bcc
lea rdx, [0x140012470]
lea rcx, [0x140012450]
call fcn.14000a9e0
lea rdx, [0x140012480]
lea rcx, [0x140012478]
call fcn.14000a9e0
movzx eax, byte [0x140024c58]
test esi, esi
cmove eax, r15d
mov byte [0x140024c58], al
jmp 0x140009bfa
mov ecx, 2
call fcn.14000bad0
test esi, esi
jne 0x140009c11
mov ecx, r14d
call fcn.140009c2c
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140009ac0
Function at 0x1400038f0
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xa0
mov qword [r11 - 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1400e44d0]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rsi, rdx
mov rdi, rcx
mov rdx, qword [rcx + 0x90]
test rdx, rdx
je 0x140003ad1
xor eax, eax
mov qword [r11 - 0x18], rax
or r8d, 0xffffffff
lea rcx, [r11 - 0x18]
call fcn.1400024c0
nop
xor eax, eax
mov qword [rsp + 0x88], rax
mov rdx, rdi
lea rcx, [rsp + 0x88]
call fcn.140002480
nop
mov rbx, qword [rdi + 0x100]
test rbx, rbx
je 0x140003ab6
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400030d0
nop
mov r10, qword [rbx]
mov r9d, 3
lea r8d, [r9 - 2]
mov rdx, rax
mov rcx, rbx
call qword [r10]
nop
lea rcx, [rsp + 0x30]
call fcn.140001a90
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400054c0
nop
mov rax, qword [rdi + 0x100]
xor ebx, ebx
lea r9d, [rbx + 2]
xor r8d, r8d
mov edx, ebx
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
cmp eax, 0xffffffff
jne 0x1400039fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Could_not_seek_file_stream__error_setting_file_pointer___i_.
lea rcx, [rsp + 0x30]
call fcn.14000a9e0
lea rdx, [0x1400e1d60]
lea rcx, [rsp + 0x30]
call fcn.140037734
int3
cmp qword [rsi + 0x18], 0x10
jb 0x140003a08
mov rdx, qword [rsi]
jmp 0x140003a0b
mov rdx, rsi
mov rsi, qword [rsi + 0x10]
mov rax, qword [rdi + 0x100]
mov dword [rsp + 0x80], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x80]
mov r8d, esi
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140003a6a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, esi
lea rdx, str.Could_not_write__i_bytes_to_file_stream___i_.
lea rcx, [rsp + 0x30]
call fcn.14000a9e0
lea rdx, [0x1400e1d60]
lea rcx, [rsp + 0x30]
call fcn.140037734
int3
mov rax, qword [rdi + 0x100]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x140003aab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Could_not_flush_file_stream_buffers___i_.
lea rcx, [rsp + 0x30]
call fcn.14000a9e0
lea rdx, [0x1400e1d60]
lea rcx, [rsp + 0x30]
call fcn.140037734
nop
lea rcx, [rsp + 0x70]
call fcn.1400048e0
nop
lea rcx, [rsp + 0x88]
call fcn.140002510
nop
lea rcx, [rsp + 0x90]
call fcn.140002510
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140035b70
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140009330
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x10
mov rax, qword [0x1400e44d0]
xor rax, rsp
mov qword [rsp], rax
mov r11, rdx
mov r9, rcx
movzx edx, byte [r8]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
mov r10, r8
xor rdx, rax
movzx eax, byte [r8 + 1]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 2]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 3]
mov r8, qword [r9 + 8]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [r9 + 0x30]
and rcx, rdx
mov rdx, qword [r9 + 0x18]
mov rax, rcx
add rax, rax
add rcx, rcx
mov rax, qword [rdx + rax*8]
mov rbx, qword [rdx + rcx*8]
lea r9, [rdx + rcx*8]
cmp rbx, r8
jne 0x1400093be
mov rcx, r8
jmp 0x1400093c5
mov rcx, qword [r9 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1400093e6
mov ecx, dword [r10]
cmp dword [rax + 0x10], ecx
je 0x1400093d7
mov rax, qword [rax]
jmp 0x1400093b4
mov ecx, dword [rax + 0x10]
cmp dword [r10], ecx
cmovne rax, r8
mov qword [r11], rax
jmp 0x1400093e9
mov qword [r11], r8
mov rax, r11
mov rcx, qword [rsp]
xor rcx, rsp
call fcn.140035b70
add rsp, 0x10
pop rbx
ret
Function at 0x140009e00
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x30
mov rax, qword [0x1400e44d0]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov rdi, rdx
mov r10, rcx
movzx edx, byte [r8 + 0x10]
movabs rcx, 0x100000001b3
mov r9, r8
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movzx eax, byte [r8 + 0x11]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x12]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x13]
mov r8, qword [r10 + 0x30]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [r10 + 0x18]
and r8, rdx
shl r8, 4
add rcx, r8
cmp qword [rcx + 8], r9
jne 0x140009ea8
cmp qword [rcx], r9
jne 0x140009e9e
mov rax, qword [r10 + 8]
mov qword [rcx], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [r8 + rcx + 8], rax
jmp 0x140009eb3
mov rax, qword [r9 + 8]
mov qword [rcx + 8], rax
jmp 0x140009eb3
cmp qword [rcx], r9
jne 0x140009eb8
mov rax, qword [r9]
mov qword [rcx], rax
mov r9, qword [rsp + 0x50]
mov rdx, qword [r9 + 8]
mov rcx, r9
mov rbx, qword [r9]
mov qword [rdx], rbx
mov r8, qword [r9]
mov rdx, qword [r9 + 8]
mov qword [r8 + 8], rdx
dec qword [r10 + 0x10]
call fcn.140035bd8
mov rax, rdi
mov qword [rdi], rbx
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.140035b70
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14000a570
Capabilities:
Create thread
Resume thread

Disassembly:
push rdi
mov eax, 0x1080
call fcn.140036640
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x1098], rbx
mov rax, qword [0x1400e44d0]
xor rax, rsp
mov qword [rsp + 0x1078], rax
mov rdi, rcx
xor eax, eax
mov qword [rsp + 0x1070], rax
lea rdx, [rcx + 0x10]
lea rcx, [rsp + 0x1070]
call fcn.140002480
nop
lea rax, [rdi + 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9, rdi
lea r8, [0x14000a840]
xor edx, edx
xor ecx, ecx
call fcn.14003c304
mov rbx, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x30], 0
mov rcx, qword [rdi]
cmp rax, rcx
je 0x14000a643
test rcx, rcx
je 0x14000a640
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14000a639
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Could_not_close_handle___i_.
lea rcx, [rsp + 0x50]
call fcn.140008bd0
lea rdx, [0x1400e1b88]
lea rcx, [rsp + 0x50]
call fcn.140037734
int3
mov qword [rdi], 0
mov qword [rdi], rbx
lea rcx, [rsp + 0x30]
call fcn.140001a20
mov qword [rsp + 0x38], 0
cmp qword [rdi], 0
sete bl
lea rcx, [rsp + 0x38]
call fcn.140001a20
test bl, bl
je 0x14000a68e
lea rdx, str.Thread_cannot_start.
lea rcx, [rsp + 0x50]
call fcn.140008bd0
lea rdx, [0x1400e1b88]
lea rcx, [rsp + 0x50]
call fcn.140037734
int3
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop
lea rcx, [rsp + 0x1070]
call fcn.140002510
mov rcx, qword [rsp + 0x1078]
xor rcx, rsp
call fcn.140035b70
mov rbx, qword [rsp + 0x1098]
add rsp, 0x1080
pop rdi
ret
Function at 0x14000a6d0
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1400e44d0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
xor eax, eax
mov qword [rsp + 0x28], rax
lea rdx, [rcx + 0x10]
lea rcx, [rsp + 0x28]
call fcn.140002480
nop
movzx eax, byte [rbx + 0x80]
test al, al
je 0x14000a722
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000a722
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xor eax, eax
xchg byte [rbx + 0x80], al
lea rcx, [rsp + 0x28]
call fcn.140002510
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140035b70
add rsp, 0x40
pop rbx
ret

Function at 0x14000aeb0
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0xfe0]
mov eax, 0x10e0
call fcn.140036640
sub rsp, rax
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x1400e44d0]
xor rax, rsp
mov qword [rbp + 0xfd8], rax
mov rsi, r9
mov rbx, rcx
mov qword [rsp + 0x70], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rbp + 0xfb8]
call fcn.14000b1a0
nop
xor eax, eax
mov qword [rbp + 0xfa0], rax
mov qword [rbp + 0xfa8], rax
mov qword [rbp + 0xfb0], rax
test rsi, rsi
je 0x14000af40
mov dword [rbp + 0xfa0], 0x18
mov dword [rbp + 0xfb0], 1
mov rax, qword [rsi]
mov qword [rbp + 0xfa8], rax
lea rax, vtable.Mutex.0
mov qword [rbx], rax
mov qword [rbx + 8], r14
mov dword [rsp + 0x20], 1
lea rdx, [rbp + 0xfb8]
lea rcx, [rsp + 0x30]
call fcn.140006510
nop
cmp qword [rax + 0x18], 8
jb 0x14000af72
mov rax, qword [rax]
lea rcx, [rbp + 0xfa0]
test rsi, rsi
cmove rcx, r14
mov r8, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
lea rcx, [rbx + 8]
call fcn.14000a8d0
nop
lea rcx, [rsp + 0x28]
call fcn.140001a20
nop
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x14000afc7
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140007740
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r14
mov word [rsp + 0x30], r14w
cmp qword [rbx + 8], 0
jne 0x14000b076
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x14000b02b
lea r8, [rbp + 0xfb8]
cmp qword [rbp + 0xfd0], 0x10
cmovae r8, qword [rbp + 0xfb8]
lea rdx, str.Access_is_denied_when_creating_mutex:__s
lea rcx, [rsp + 0x30]
call fcn.14000ae10
lea rdx, [0x1400e1da0]
lea rcx, [rsp + 0x30]
call fcn.140037734
int3
lea rdx, [rbp + 0xfb8]
lea rcx, [rsp + 0x30]
call fcn.1400064c0
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14000b049
mov rbx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, rbx
lea rdx, str.Could_not_create_open_mutex_with_name__s___i_.
lea rcx, [rbp - 0x80]
call fcn.140008bd0
lea rdx, [0x1400e1b88]
lea rcx, [rbp - 0x80]
call fcn.140037734
nop
lea rcx, [rbp + 0xfb8]
call fcn.140001a90
mov rax, rbx
mov rcx, qword [rbp + 0xfd8]
xor rcx, rsp
call fcn.140035b70
add rsp, 0x10e0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret