joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000d410
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0xb0
xor r15d, r15d
mov dword [rsp + 0x20], r15d
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov r14d, r15d
xor eax, eax
lock cmpxchg qword [0x140016cc8], rbx
je 0x14000d479
cmp rax, rbx
jne 0x14000d46c
mov edi, 1
mov r14d, edi
jmp 0x14000d47e
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000d450
mov edi, 1
mov eax, dword [0x140016cd0]
cmp eax, edi
jne 0x14000d496
mov esi, 0x1f
mov ecx, esi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000d507
mov eax, dword [0x140016cd0]
test eax, eax
jne 0x14000d4fc
mov dword [0x140016cd0], edi
lea r12, [0x140010498]
lea rbx, [0x140010480]
mov qword [rsp + 0x30], rbx
mov eax, r15d
mov dword [rsp + 0x24], eax
cmp rbx, r12
jae 0x14000d4ee
test eax, eax
jne 0x14000d4f2
mov rsi, qword [rbx]
test rsi, rsi
je 0x14000d4e3
mov rcx, rsi
mov rax, qword [0x140010430]
call rax
call rsi
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x14000d4c0
test eax, eax
je 0x14000d502
mov eax, 0xff
jmp 0x14000d663
mov dword [0x140016400], edi
mov esi, 0x1f
mov eax, dword [0x140016cd0]
cmp eax, edi
jne 0x14000d52e
lea rdx, [0x140010478]
lea rcx, [0x140010440]
call sub.msvcrt.dll__initterm
mov dword [0x140016cd0], 2
test r14d, r14d
jne 0x14000d53d
mov rax, r15
xchg qword [0x140016cc8], rax
cmp qword [0x140016ce8], r15
je 0x14000d574
lea rcx, [0x140016ce8]
call fcn.14000daf0
test eax, eax
je 0x14000d574
mov rbx, qword [0x140016ce8]
mov rcx, rbx
mov rax, qword [0x140010430]
call rax
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call rbx
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rdx, qword [rax]
test rdx, rdx
jne 0x14000d58d
mov eax, 0xff
jmp 0x14000d663
mov qword [rsp + 0x28], rdx
mov ecx, dword [rsp + 0x20]
cmp word [rdx], 0x20
ja 0x14000d614
cmp word [rdx], r15w
je 0x14000d5a6
test ecx, ecx
jne 0x14000d614
movzx eax, word [rdx]
sub ax, di
cmp ax, si
ja 0x14000d5bc
add rdx, 2
mov qword [rsp + 0x28], rdx
jmp 0x14000d5a6
mov ecx, dword [rsp + 0x7c]
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
and cl, dil
cmovne r9d, eax
mov r8, rdx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400018e4
mov dword [0x1400163fc], eax
cmp dword [0x140016420], r15d
jne 0x14000d5fd
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140016400], r15d
jne 0x14000d612
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400163fc]
jmp 0x14000d663
cmp word [rdx], 0x22
jne 0x14000d628
mov eax, r15d
test ecx, ecx
sete al
mov ecx, eax
mov dword [rsp + 0x20], eax
add rdx, 2
mov qword [rsp + 0x28], rdx
jmp 0x14000d596
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret
sub rsp, 0x28
call fcn.1400a8000
add rsp, 0x28
jmp 0x14000d410
Function at 0x140008620
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
push r12
mov eax, 0x2110
push rbp
push rdi
push rsi
push rbx
call fcn.14000e7e0
sub rsp, rax
mov r8d, 0x1000
xor ebx, ebx
lea rsi, [rsp + 0x110]
mov rdx, rcx
lea rbp, [rsp + 0xa0]
mov dword [rsp + 0x5c], 0
mov rcx, rsi
call fcn.140008e90
mov edx, 1
lea rcx, [0x140007ae0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov rcx, rbp
mov dword [rsp + 0x60], 0x18
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x70], 1
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
pxor xmm0, xmm0
mov eax, 1
xor ecx, ecx
movups xmmword [rsp + 0xa8], xmm0
mov r12, qword [fcn.140016990]
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0xdc], 0x101
mov word [rsp + 0xe0], ax
call r12
mov rcx, rax
call sub.msvcrt.dll__fileno_1
mov rdi, qword [sym.imp.msvcrt.dll__get_osfhandle]
mov ecx, eax
call rdi
mov ecx, 1
cmp rax, 0xffffffffffffffff
cmove rax, rbx
mov qword [rsp + 0xf0], rax
call r12
mov rcx, rax
call sub.msvcrt.dll__fileno_1
mov ecx, eax
call rdi
mov ecx, 2
cmp rax, 0xffffffffffffffff
cmove rax, rbx
mov qword [rsp + 0xf8], rax
call r12
mov rcx, rax
call sub.msvcrt.dll__fileno_1
mov ecx, eax
call rdi
cmp rax, 0xffffffffffffffff
cmove rax, rbx
mov qword [rsp + 0x100], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
mov qword [rsp + 0x40], rbp
mov rcx, rsi
mov rdx, rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], 0
lea r8, [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400087c8
mov rcx, qword [rsp + 0x80]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x80]
lea rdx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [rsp + 0x5c]
add rsp, 0x2110
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rdx, str.Error_creating_child_process__n
lea rcx, str.CreateProcessW
call fcn.140002cf0
mov eax, 0xffffffff
add rsp, 0x2110
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x14000da20
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140016990
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140016990
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x14000da90
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140024364]
mov rbx, rcx
test esi, esi
jle 0x14000dbc0
mov rax, qword [0x140024368]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000dadb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000db65
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000dac0
mov rcx, rbx
call fcn.14000e500
mov rdi, rax
test rax, rax
je 0x14000dbe2
mov rax, qword [0x140024368]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000e640
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140024368]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000dbc7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000db5e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14000db70
add dword [0x140024364], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140024368]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000db5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000da20
nop dword [rax]
xor esi, esi
jmp 0x14000dae8
mov rax, qword [0x140024368]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14000da20
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14000da20
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000e170
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400243c0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400243a0]
test rbx, rbx
je 0x14000e1cc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x14000e1c3
test eax, eax
jne 0x14000e1c3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000e1a8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140001500
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rdi
push r12
push r13
sub rsp, 0x40
mov r13, rcx
mov rbp, r8
mov ecx, 0x39
mov r12, rdx
call fcn.1400b5158
mov rbx, rax
test rax, rax
je 0x140001700
xorps xmm0, xmm0
mov qword [rsp + 0x70], rsi
movups xmmword [rbx], xmm0
xor eax, eax
mov qword [rsp + 0x78], r14
movups xmmword [rbx + 0x10], xmm0
mov qword [rsp + 0x80], r15
movups xmmword [rbx + 0x20], xmm0
mov qword [rbx + 0x30], rax
lea ecx, [rax + 0x24]
mov byte [rbx + 0x38], al
call fcn.1400b5158
xor r15d, r15d
lea rsi, [rbx + 8]
mov r14, rax
test rax, rax
je 0x14000164d
xorps xmm0, xmm0
lea edx, [r15 + 1]
movups xmmword [r14], xmm0
xor eax, eax
xor r9d, r9d
movups xmmword [r14 + 0x10], xmm0
mov dword [r14 + 0x20], eax
xor r8d, r8d
mov rax, qword [rbx + 0x20]
xor ecx, ecx
mov qword [rsi], r14
mov qword [r14 + 0x10], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r14], rax
test rax, rax
jne 0x1400015b0
mov edi, 0x3f0
jmp 0x140001652
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [r14]
mov r9, rbx
mov dword [rsp + 0x30], r15d
mov r8, rax
mov rcx, rax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x1400015e5
mov edi, 0x3f0
jmp 0x140001652
mov ecx, 0x10
mov edi, r15d
call fcn.1400b5158
mov r15, rax
test rax, rax
jne 0x140001601
mov edi, 0x708
jmp 0x140001644
lea rax, [0x140001880]
mov qword [r15 + 8], r14
mov qword [r15], rax
lea r8, [0x140001e70]
xor eax, eax
mov r9, r15
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r14 + 8], rax
test rax, rax
jne 0x140001644
mov rcx, r15
call fcn.1400b5144
mov edi, 0x3eb
test edi, edi
je 0x140001699
xor r15d, r15d
jmp 0x140001652
mov edi, 0x708
mov rax, qword [rsi]
test rax, rax
je 0x140001661
mov dword [rax + 0x20], 1
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000167b
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r15
test r14, r14
je 0x140001699
mov rcx, qword [r14]
test rcx, rcx
je 0x140001691
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r14], r15
mov rcx, r14
call fcn.1400b5144
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x78]
test edi, edi
jne 0x1400016c9
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r12
mov qword [rbp], rbx
mov rsi, qword [rsp + 0x70]
mov eax, edi
add rsp, 0x40
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
mov rax, qword [rsi]
test rax, rax
je 0x1400016d8
mov dword [rax + 0x20], 1
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400016f6
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], 0
mov rcx, rbx
call fcn.1400b5144
jmp 0x1400016b6
mov eax, 0x708
add rsp, 0x40
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
Function at 0x140003d90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
xor ebx, ebx
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
test r8d, r8d
je 0x140003dd6
mov r9, rdx
mov r10d, edi
nop word [rax + rax]
movzx eax, byte [r9]
lea r9, [r9 + 1]
xor eax, ebx
imul ebx, eax, 0x1000193
sub r10, 1
jne 0x140003dc0
mov r8d, dword [0x14020a150]
cmp r8d, 4
jl 0x140003e26
test byte [0x14020a1cc], 1
je 0x140003e26
mov edx, 4
mov dword [rsp + 0x30], ebx
lea rax, str.Hash__08x_n
mov qword [rsp + 0x28], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_CMSourcesesif_hash_table.c
lea r8, str.esif_compute_hash
mov dword [rsp + 0x20], 0xa1
lea ecx, [rdx - 3]
call fcn.140077c20
mov r8d, dword [0x14020a150]
xor edx, edx
mov eax, ebx
div dword [rbp]
mov rax, qword [rbp + 8]
mov rbx, qword [rax + rdx*8]
cmp r8d, 4
jl 0x140003e8a
test byte [0x14020a1cc], 1
je 0x140003e8a
mov qword [rsp + 0x50], rbx
lea rax, str.Key__p__key_size__d__table__p_index__d_ll__p_n
mov dword [rsp + 0x48], edx
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_CMSourcesesif_hash_table.c
mov qword [rsp + 0x40], rbp
lea r8, str.esif_ht_get_ll
mov dword [rsp + 0x38], edi
mov edx, 4
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xf3
lea ecx, [rdx - 3]
call fcn.140077c20
mov rbp, qword [rsp + 0x78]
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x140005e40
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rdi
sub rsp, 0x170
mov rax, qword [0x140210ef8]
xor rax, rsp
mov qword [rsp + 0x160], rax
xorps xmm0, xmm0
mov rdi, rcx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005eb3
bt eax, 0xa
jae 0x140005eb3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005e9d
test al, 0x10
je 0x140005e9d
mov rcx, rdi
call fcn.1400d2fdc
jmp 0x140005ea5
mov rcx, rdi
call fcn.1400b6b3c
test eax, eax
je 0x140005eb3
mov eax, 0x1f
jmp 0x140006027
mov rcx, rdi
mov qword [rsp + 0x188], rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005ef7
bt eax, 0xa
jae 0x140005ef7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005eeb
test al, 0x10
je 0x140005eeb
mov rcx, rdi
call fcn.1400d2fdc
jmp 0x140005ef3
mov rcx, rdi
call fcn.1400b6b3c
test eax, eax
jne 0x140005f0e
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400d2a94
mov ebx, eax
test eax, eax
je 0x14000601d
test rdi, rdi
jne 0x140005f17
xor ebx, ebx
jmp 0x140005f27
mov edx, 0x104
mov rcx, rdi
call fcn.1400cf7a8
mov rbx, rax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x104
call fcn.1400a7d00
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rdi
mov edx, 0x104
call fcn.1400b5228
lea rcx, [rbx - 2]
cmp rcx, 0x102
ja 0x140005f7b
cmp byte [rsp + rbx + 0x4f], 0x5c
jne 0x140005f7b
dec rbx
cmp rbx, 0x104
jae 0x140006040
mov byte [rsp + rbx + 0x50], 0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005fbf
bt eax, 0xa
jae 0x140005fbf
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005fb1
test al, 0x10
je 0x140005fb1
lea rcx, [rsp + 0x50]
call fcn.1400d2fdc
jmp 0x140005fbb
lea rcx, [rsp + 0x50]
call fcn.1400b6b3c
test eax, eax
jne 0x140005fd4
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400d2a94
mov ebx, eax
test eax, eax
je 0x14000601d
lea rcx, [rsp + 0x50]
call fcn.1400d2d58
mov ebx, eax
test eax, eax
je 0x14000601d
mov edx, 0x5c
lea rcx, [rsp + 0x50]
call fcn.1400a8408
mov rdi, rax
test rax, rax
je 0x14000601d
lea rcx, [rsp + 0x50]
mov byte [rax], 0
call fcn.140005e40
mov ebx, eax
test eax, eax
jne 0x14000601d
lea rcx, [rsp + 0x50]
mov byte [rdi], 0x5c
call fcn.1400d2d58
mov ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400a6220
add rsp, 0x170
pop rdi
ret
call fcn.1400a6384
int3
Function at 0x140008430
Capabilities:
Hash data using sha256

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x58]
sub rsp, 0x148
mov rax, qword [0x140210ef8]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rbx, rcx
test rcx, rcx
je 0x140008608
mov rcx, qword [rcx + 0x108]
test rcx, rcx
je 0x140008608
mov qword [r11 + 0x10], rsi
mov qword [r11 - 0x18], r14
call fcn.140010760
xorps xmm0, xmm0
lea rdx, [rbp - 0x70]
mov r14, rax
mov rcx, rbx
xor eax, eax
mov dword [rbp + 0x20], eax
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
call fcn.140008050
mov esi, eax
test eax, eax
jne 0x1400085e2
mov eax, dword [rbp - 0x6c]
and eax, 0xff000000
cmp eax, 0x2000000
jne 0x1400085e2
mov ecx, 0x1000
mov qword [rsp + 0x170], rdi
call fcn.14000c820
mov rdi, rax
test rax, rax
jne 0x1400084f3
mov esi, 0x708
jmp 0x1400085da
mov rcx, qword [rbx + 0x108]
xorps xmm0, xmm0
xor eax, eax
mov dword [rsp + 0x20], 0x40200100
mov r8d, 0x1000
mov qword [rbp - 0x7c], rax
mov rdx, rdi
mov dword [rbp - 0x74], eax
movups xmmword [rsp + 0x44], xmm0
mov dword [rsp + 0x24], 0x6a09e667
movups xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x28], 0xbb67ae85
movups xmmword [rsp + 0x64], xmm0
mov dword [rsp + 0x2c], 0x3c6ef372
movups xmmword [rsp + 0x74], xmm0
mov dword [rsp + 0x30], 0xa54ff53a
mov dword [rsp + 0x34], 0x510e527f
mov dword [rsp + 0x38], 0x9b05688c
mov dword [rsp + 0x3c], 0x1f83d9ab
mov dword [rsp + 0x40], 0x5be0cd19
call fcn.140010c50
test rax, rax
je 0x1400085aa
lfence
nop dword [rax + rax]
mov r8, rax
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.14000dca0
mov rcx, qword [rbx + 0x108]
mov r8d, 0x1000
mov rdx, rdi
call fcn.140010c50
test rax, rax
jne 0x140008580
lea rcx, [rsp + 0x20]
call fcn.14000d9d0
mov r8d, 0x20
lea rdx, [rbp - 4]
lea rcx, [rsp + 0x24]
call fcn.1400a7f30
test eax, eax
mov ecx, 0xbbd
cmovne esi, ecx
mov rcx, rdi
call fcn.1400b5144
mov rdi, qword [rsp + 0x170]
mov rcx, qword [rbx + 0x108]
xor r8d, r8d
mov rdx, r14
call fcn.140010e10
mov r14, qword [rsp + 0x140]
mov eax, esi
mov rsi, qword [rsp + 0x168]
jmp 0x14000860d
mov eax, 0x8fc
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400a6220
add rsp, 0x148
pop rbx
pop rbp
ret
Function at 0x14000c790
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140210ef8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000c7e8
bt eax, 0xa
jae 0x14000c7e8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000c7d5
test al, 0x10
je 0x14000c7d5
mov rcx, rbx
call fcn.1400d2fdc
jmp 0x14000c7dd
mov rcx, rbx
call fcn.1400b6b3c
test eax, eax
je 0x14000c7e8
mov ecx, 0x1f
jmp 0x14000c7f7
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400d2a94
mov ecx, eax
xor eax, eax
test ecx, ecx
sete al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a6220
add rsp, 0x60
pop rbx
ret
Function at 0x14000dbc0
Capabilities:
Hash data using sha1
Hash data using sha256

Disassembly:
test rcx, rcx
je 0x14000dc64
xorps xmm0, xmm0
movzx edx, dx
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
sub edx, 1
je 0x14000dc3b
sub edx, 1
je 0x14000dbfc
cmp edx, 0xfe
jne 0x14000dc64
mov dword [rcx], 0x40200100
mov dword [rcx + 4], 0x6a09e667
mov dword [rcx + 8], 0xbb67ae85
mov dword [rcx + 0xc], 0x3c6ef372
mov dword [rcx + 0x10], 0xa54ff53a
mov dword [rcx + 0x14], 0x510e527f
mov dword [rcx + 0x18], 0x9b05688c
mov dword [rcx + 0x1c], 0x1f83d9ab
mov dword [rcx + 0x20], 0x5be0cd19
ret
mov dword [rcx], 0x40140001
mov dword [rcx + 4], 0x67452301
mov dword [rcx + 8], 0xefcdab89
mov dword [rcx + 0xc], 0x98badcfe
mov dword [rcx + 0x10], 0x10325476
mov dword [rcx + 0x14], 0xc3d2e1f0
ret
Function at 0x1400107a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140210ef8]
xor rax, rsp
mov qword [rsp + 0x50], rax
test rcx, rcx
je 0x1400107da
mov edx, dword [rcx]
sub edx, 1
je 0x1400107ee
cmp edx, 1
jne 0x1400107da
mov rax, qword [rcx + 0x18]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a6220
add rsp, 0x68
ret
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a6220
add rsp, 0x68
ret
mov qword [rsp + 0x60], rbx
mov rbx, qword [rcx + 8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140010833
bt eax, 0xa
jae 0x140010833
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140010827
test al, 0x10
je 0x140010827
mov rcx, rbx
call fcn.1400d2fdc
jmp 0x14001082f
mov rcx, rbx
call fcn.1400b6b3c
test eax, eax
jne 0x14001084b
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400d2a94
test eax, eax
jne 0x14001084b
movsxd rax, dword [rsp + 0x34]
jmp 0x14001084d
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a6220
add rsp, 0x68
ret
Function at 0x140010a00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x140210ef8]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rsi, [0x140120bc4]
mov rbx, rcx
test rcx, rcx
jne 0x140010a30
lea eax, [rcx + 0x16]
jmp 0x140010b98
mov qword [rsp + 0x70], rdi
call fcn.140010500
mov ecx, dword [rbx]
sub ecx, 1
je 0x140010a64
cmp ecx, 1
jne 0x140010a5a
cmp qword [rbx + 8], 0
je 0x140010a5a
xor edi, edi
mov qword [rbx + 0x20], rdi
mov eax, edi
jmp 0x140010b93
mov eax, 1
jmp 0x140010b93
mov rax, qword [rbx + 0x18]
test rax, rax
cmovne rsi, rax
cmp dword [rbx + 4], 2
je 0x140010a93
lea rdx, [0x1401211c8]
mov rcx, rsi
call fcn.1400d4380
test rax, rax
je 0x140010a93
mov eax, 0xd
jmp 0x140010b93
mov qword [rsp + 0x68], rbp
xor edi, edi
mov rbp, qword [rbx + 8]
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140010aec
bt eax, 0xa
jae 0x140010aec
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140010ad3
test al, 0x10
je 0x140010ad3
mov rcx, rbp
call fcn.1400d2fdc
jmp 0x140010adb
mov rcx, rbp
call fcn.1400b6b3c
test eax, eax
je 0x140010aec
mov rcx, rdi
mov eax, 0x1f
jmp 0x140010b8a
xorps xmm0, xmm0
lea rcx, [rsp + 0x28]
mov r9, 0xffffffffffffffff
mov r8, rsi
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
lea edx, [r9 + 0x21]
call fcn.1400b5228
lea rdx, [0x1401211c8]
mov rcx, rsi
call fcn.1400d4380
test rax, rax
je 0x140010b6d
mov edx, 0x63
mov rcx, rsi
call fcn.1400a7ea0
test rax, rax
jne 0x140010b6d
lea edx, [rax + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1400cf7a8
cmp rax, 0x20
jne 0x140010b51
mov byte [rsp + 0x47], dil
jmp 0x140010b6d
mov r9, 0xffffffffffffffff
lea r8, [0x1401211cc]
lea rcx, [rsp + 0x28]
lea edx, [r9 + 0x21]
call fcn.1400e6528
lea r8, [rsp + 0x28]
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.1400e68f8
mov rcx, qword [rsp + 0x20]
test rcx, rcx
cmovne eax, edi
mov rbp, qword [rsp + 0x68]
mov qword [rbx + 0x10], rcx
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a6220
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
ret
Function at 0x140011010
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
mov r14, r8
mov r12, rdx
mov rdi, rcx
test rcx, rcx
je 0x14001110f
test rdx, rdx
je 0x14001110f
cmp dword [rcx + 4], 2
jne 0x14001110f
mov ecx, dword [rcx]
sub ecx, 1
je 0x1400110f6
cmp ecx, 1
jne 0x14001110f
mov rax, qword [rdi + 0x20]
mov rsi, qword [rdi + 8]
lea rbp, [rax + r8]
test rsi, rsi
je 0x14001107c
cmp qword [rdi + 0x10], rbp
jae 0x1400110cd
and rbp, 0xfffffffffffffe00
mov qword [rsp + 0x40], rbx
add rbp, 0x200
mov rcx, rsi
mov rdx, rbp
mov rbx, rsi
call fcn.1400ced74
test rbx, rbx
mov rsi, rax
mov rbx, qword [rsp + 0x40]
jne 0x1400110bc
test rax, rax
je 0x14001110f
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.1400a7d00
test rsi, rsi
je 0x14001110f
mov rax, qword [rdi + 0x20]
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rbp
lea rcx, [rsi + rax]
mov r8, r14
mov rdx, r12
call fcn.1400111f0
add qword [rdi + 0x20], r14
mov r15, r14
mov rcx, qword [rdi + 0x20]
cmp rcx, qword [rdi + 0x18]
cmovbe rcx, qword [rdi + 0x18]
mov qword [rdi + 0x18], rcx
jmp 0x14001110f
mov r9, qword [rdi + 0x10]
test r9, r9
je 0x14001110f
mov edx, 1
mov rcx, r12
call fcn.1400e8210
mov r15, rax
mov rbp, qword [rsp + 0x48]
mov rax, r15
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret