joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003e420
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push r14
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov rbp, r8
mov r14, rdx
lea rsi, [0x1400c9a50]
cmp qword [0x1400c9a68], 0x10
cmovae rsi, qword [0x1400c9a50]
mov ecx, 0x18
call fcn.1400602dc
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14003e493
mov qword [rax + 8], 0
mov dword [rax + 0x10], 1
mov rcx, rsi
call fcn.14005fe00
mov qword [rbx], rax
jmp 0x14003e495
xor ebx, ebx
test rbx, rbx
jne 0x14003e4a5
mov ecx, 0x8007000e
call fcn.14005fdd0
int3
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r14
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test eax, eax
setne r14b
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14003e514
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003e4f1
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], 0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003e507
call fcn.1400602c4
mov qword [rbx + 8], 0
mov edx, 0x18
mov rcx, rbx
call fcn.1400602c4
test r14b, r14b
je 0x14003e52d
mov ecx, esi
call fcn.14003dfd0
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x14003e52f
mov al, 1
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14004fb20
Capabilities:
Identify system language via api

Disassembly:
sub rsp, 0x28
cmp byte [0x1400c50f9], 0
je 0x14004fb38
mov eax, dword [0x1400c50fc]
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx r8d, ax
mov edx, r8d
and edx, 0x3ff
sub edx, 7
je 0x14004fb9e
sub edx, 3
je 0x14004fb7a
sub edx, 0xb
je 0x14004fb70
cmp edx, 1
je 0x14004fb66
xor eax, eax
add rsp, 0x28
ret
mov eax, 2
add rsp, 0x28
ret
mov eax, 5
add rsp, 0x28
ret
mov eax, 0xfc00
mov ecx, 0x800
and r8w, ax
mov edx, 1
cmp r8w, cx
mov eax, 3
cmovne eax, edx
add rsp, 0x28
ret
mov eax, 4
add rsp, 0x28
ret
Function at 0x140054f00
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov qword [rbp - 0x51], 0xfffffffffffffffe
mov qword [rsp + 0x128], rbx
mov rax, qword [0x1400c3030]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14d, r8d
mov rdi, rdx
mov rsi, rcx
xor r15d, r15d
mov dword [rbp - 0x75], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbx, rax
mov qword [rbp - 0x49], rax
test rax, rax
jne 0x140054fc4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x79], eax
lea rax, vtable.LogItem.0
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], r15
mov word [rbp - 0x31], r15w
mov qword [rbp + 7], 7
mov qword [rbp - 1], r15
mov word [rbp - 0x11], r15w
mov dword [rbp + 0xf], 1
mov dword [rbp + 0x13], 1
lea rdx, str.Cannot_create_read_event._Error:
lea rcx, [rbp - 0x39]
call fcn.1400257b0
mov rcx, rax
lea rdx, [rbp - 0x79]
call fcn.140025570
nop
jmp 0x1400550f5
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x61], r15
lea rax, [rbp - 0x71]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x75]
mov r8d, r14d
mov rdx, rdi
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x140055000
cmp eax, 0x3e5
jne 0x1400550fe
mov edx, dword [rsi + 0x34]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140055078
lea rax, vtable.LogItem.0
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], r15
mov word [rbp - 0x31], r15w
mov qword [rbp + 7], 7
mov qword [rbp - 1], r15
mov word [rbp - 0x11], r15w
mov dword [rbp + 0xf], 1
mov dword [rbp + 0x13], 1
lea rdx, str.Timeout_occured_while_reading_from_heci_device.
lea rcx, [rbp - 0x39]
call fcn.1400257b0
nop
lea rcx, [rbp - 0x39]
call fcn.140025350
mov rdx, rbx
mov rcx, rsi
call fcn.140053f70
jmp 0x140055106
mov r9d, 1
lea r8, [rbp - 0x75]
lea rdx, [rbp - 0x71]
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x14005510b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x79], eax
lea rax, vtable.LogItem.0
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], r15
mov word [rbp - 0x31], r15w
mov qword [rbp + 7], 7
mov qword [rbp - 1], r15
mov word [rbp - 0x11], r15w
mov dword [rbp + 0xf], 1
mov dword [rbp + 0x13], 1
lea rdx, str.Read_function_fail_to_finish._Error:
lea rcx, [rbp - 0x39]
call fcn.1400257b0
mov rcx, rax
lea rdx, [rbp - 0x79]
call fcn.140025570
nop
lea rcx, [rbp - 0x39]
call fcn.140025350
mov rcx, rsi
call fcn.140054d30
or edi, 0xffffffff
jmp 0x14005510e
mov edi, dword [rbp - 0x75]
cmp rbx, 0xffffffffffffffff
je 0x14005511d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400602a0
mov rbx, qword [rsp + 0x128]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005aa80
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x390], rbx
mov rax, qword [0x1400c3030]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov r10, rdx
mov rsi, rcx
xor ebx, ebx
mov dword [rsp + 0x28], ebx
lea rdi, [rbp + 0x40]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
mov rcx, r10
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jns 0x14005abac
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.OLE32.dll_CoTaskMemFree]
lea rcx, [rbp - 0x20]
call fcn.140024760
nop
mov rcx, rax
call fcn.14005b0a0
mov rdi, rax
lea rax, vtable.std::exception.0
mov qword [rbp - 0x80], rax
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rcx, [rdi + 8]
lea rdx, [rbp - 0x78]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
nop
lea rax, vtable.BaseException.0
mov qword [rbp - 0x80], rax
lea rdx, [rdi + 0x18]
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x58], rbx
mov byte [rbp - 0x68], bl
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x68]
call fcn.14002bb00
nop
lea rax, vtable.ExceptionStream_class_Exception__class_BaseException_.0
mov qword [rbp - 0x80], rax
lea rdx, [rdi + 0x38]
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x38], rbx
mov byte [rbp - 0x48], bl
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x48]
call fcn.14002bb00
nop
lea rax, vtable.Exception.0
mov qword [rbp - 0x80], rax
lea rdx, [0x1400beb30]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rbx
mov word [rsp + 0x60], bx
mov rdx, qword [rsp + 0x20]
cmp word [rdx], bx
jne 0x14005abce
mov r8, rbx
jmp 0x14005abdc
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], bx
jne 0x14005abd2
lea rcx, [rsp + 0x60]
call fcn.14002b600
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
lea rcx, [rbp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.OLE32.dll_CoTaskMemFree]
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x30], bx
cmp word [rbp + 0x40], 0
je 0x14005ac3a
lea rax, [rbp + 0x40]
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14005ac30
mov r8, rbx
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14002b600
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140024a50
nop
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x14005ac71
inc r8
mov rdx, qword [rsp + 0x60]
call fcn.14002bfa0
mov rax, rsi
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1400602a0
mov rbx, qword [rsp + 0x390]
add rsp, 0x360
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005c150
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x58]
sub rsp, 0x150
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400c3030]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rbx, rcx
call fcn.14005bfa0
cmp qword [rbx + 0x20], 8
jb 0x14005c193
mov rcx, qword [rbx + 8]
jmp 0x14005c197
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14005c2d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x40], 7
xor edi, edi
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x28]
call fcn.14002b750
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x40]
call fcn.140024a50
mov rbx, rax
lea rcx, [rbp - 0x20]
call fcn.140024760
nop
lea rdx, str.Error_when_deleting_file:
mov rcx, rax
call fcn.14002dc70
mov rcx, rax
mov rdx, rbx
call fcn.14003a050
mov rcx, rax
lea rdx, str.Last_error:
call fcn.14002dc70
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14003cdf0
mov rbx, rax
lea rax, vtable.std::exception.0
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
lea rcx, [rbx + 8]
lea rdx, [rsp + 0x68]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
nop
lea rax, vtable.BaseException.0
mov qword [rsp + 0x60], rax
lea rdx, [rbx + 0x18]
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x78], rdi
mov byte [rsp + 0x78], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x78]
call fcn.14002bb00
nop
lea rax, vtable.ExceptionStream_class_Exception__class_BaseException_.0
mov qword [rsp + 0x60], rax
lea rdx, [rbx + 0x38]
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x58], rdi
mov byte [rbp - 0x68], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x68]
call fcn.14002bb00
nop
lea rax, vtable.Exception.0
mov qword [rsp + 0x60], rax
lea rdx, [0x1400beb30]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400602a0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14005c300
Capabilities:
Move file

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x1c0], rbx
mov rax, qword [0x1400c3030]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rdi, rdx
mov rbx, rcx
call fcn.14005bfa0
cmp qword [rdi + 0x18], 8
jb 0x14005c34c
mov rdx, qword [rdi]
jmp 0x14005c34f
mov rdx, rdi
cmp qword [rbx + 0x20], 8
jb 0x14005c35c
mov rcx, qword [rbx + 8]
jmp 0x14005c360
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14005c4e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x48], 7
xor esi, esi
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x30], si
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14002b750
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140024a50
mov rdi, rax
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x50]
call fcn.14002b750
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.140024a50
mov rbx, rax
lea rcx, [rbp + 0x20]
call fcn.140024760
nop
lea rdx, str.Error_when_renaming_file_from
mov rcx, rax
call fcn.14002dc70
mov rcx, rax
mov rdx, rbx
call fcn.14003a050
mov rcx, rax
call fcn.14005ce10
mov rcx, rax
mov rdx, rdi
call fcn.14003a050
mov rcx, rax
lea rdx, str.Last_error:
call fcn.14002dc70
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14003cdf0
mov rbx, rax
lea rax, vtable.std::exception.0
mov qword [rbp - 0x80], rax
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rcx, [rbx + 8]
lea rdx, [rbp - 0x78]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
nop
lea rax, vtable.BaseException.0
mov qword [rbp - 0x80], rax
lea rdx, [rbx + 0x18]
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x58], rsi
mov byte [rbp - 0x68], sil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x68]
call fcn.14002bb00
nop
lea rax, vtable.ExceptionStream_class_Exception__class_BaseException_.0
mov qword [rbp - 0x80], rax
lea rdx, [rbx + 0x38]
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x48], sil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x48]
call fcn.14002bb00
nop
lea rax, vtable.Exception.0
mov qword [rbp - 0x80], rax
lea rdx, [0x1400beb30]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400602a0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x190
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005c6c0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1400c3030]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x38], r8d
xor r14d, r14d
mov dword [rsp + 0x30], r14d
test rdx, rdx
je 0x14005c881
mov edx, 0xc0000004
lea r9d, [r14 + 2]
call fcn.14005bca0
mov dword [rsp + 0x34], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x34]
mov r8d, esi
mov rdx, rdi
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14005c90b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rdx, [rbx + 8]
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.14002b750
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.140024a50
mov rbx, rax
lea rcx, [rbp + 0x10]
call fcn.140024760
nop
mov rcx, rax
call fcn.14005cfd0
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.1400558c0
mov rcx, rax
lea rdx, str._bytes_to_file
call fcn.14002dc70
mov rcx, rax
mov rdx, rbx
call fcn.14003a050
mov rcx, rax
lea rdx, str.Last_error:
call fcn.14002dc70
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.14003cdf0
mov rbx, rax
lea rax, vtable.std::exception.0
mov qword [rsp + 0x70], rax
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
lea rcx, [rbx + 8]
lea rdx, [rsp + 0x78]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
nop
lea rax, vtable.BaseException.0
mov qword [rsp + 0x70], rax
lea rdx, [rbx + 0x18]
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x68], r14
mov byte [rbp - 0x78], r14b
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x78]
call fcn.14002bb00
nop
lea rax, vtable.ExceptionStream_class_Exception__class_BaseException_.0
mov qword [rsp + 0x70], rax
lea rdx, [rbx + 0x38]
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x48], r14
mov byte [rbp - 0x58], r14b
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x58]
call fcn.14002bb00
nop
lea rax, vtable.Exception.0
mov qword [rsp + 0x70], rax
lea rdx, [0x1400beb30]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x60], r14
mov byte [rsp + 0x50], r14b
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Invalid_data_passed
lea rcx, [rsp + 0x50]
call fcn.14002b9d0
nop
mov dword [rsp + 0x30], 1
xor eax, eax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
lea rax, vtable.BaseException.0
mov qword [rbp - 0x30], rax
mov qword [rbp], reloc.WS2_32.dll_ntohs
mov qword [rbp - 8], r14
mov byte [rbp - 0x18], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x18]
call fcn.14002bb00
nop
lea rax, vtable.AssertException.0
mov qword [rbp - 0x30], rax
lea rdx, [0x1400bec68]
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400602a0
add rsp, 0x180
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14005f160
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1400c3030]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea r8, [0x1400a94c4]
lea rcx, [rsp + 0x20]
call fcn.14004b660
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x14005f1b3
mov rdx, qword [rsp + 0x20]
inc r8
call fcn.14002bfa0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400602a0
add rsp, 0x58
ret
Function at 0x14001bb70
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0x800
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.d3dx11_43.dll_D3DX11CompileFromMemory]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jge 0x14001bc5d
cmp qword [rsp + 0x78], 0
je 0x14001bc3f
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
call qword [rax + 0x18]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp qword [rsp + 0x78], 0
je 0x14001bc57
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
call qword [rax + 0x10]
mov eax, dword [rsp + 0x70]
jmp 0x14001bc77
cmp qword [rsp + 0x78], 0
je 0x14001bc75
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
call qword [rax + 0x10]
xor eax, eax
add rsp, 0x88
ret
Function at 0x14005c1f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.140116f80
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14005c225
mov eax, 0xfffffffd
jmp 0x14005c31f
mov rcx, qword [rsp + 0x78]
call fcn.140112d2c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x14005c244
mov eax, 0xfffffffd
jmp 0x14005c31f
cmp dword [rsp + 0x20], 0
jne 0x14005c252
xor eax, eax
jmp 0x14005c31f
mov eax, dword [rsp + 0x20]
inc eax
cdqe
lea rdx, [0x14014acf0]
mov rcx, rax
call fcn.140109274
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14005c28a
mov eax, 0xfffffffe
jmp 0x14005c31f
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov byte [rcx + rax], 0
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.140116f80
movsxd rax, dword [rsp + 0x20]
mov r9, qword [rsp + 0x78]
mov r8, rax
mov edx, 1
mov rcx, qword [rsp + 0x30]
call fcn.140119478
mov qword [rsp + 0x38], rax
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + 0x38], rax
je 0x14005c2ef
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.140108e7c
mov eax, 0xfffffffd
jmp 0x14005c31f
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.14005e300
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140108e7c
mov eax, dword [rsp + 0x28]
add rsp, 0x68
ret

Function at 0x140068eb0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x140394890]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x140068f3e
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x140068ee2
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret
Function at 0x140068f50
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x140394890]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x140069054
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x14006904f
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x140069024
cmp qword [rsp + 0x38], 2
jb 0x140069024
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140069024
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140069024
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140068f97
jmp 0x1400690e6
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x1400690e6
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x1400690bc
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400690bc
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400690bc
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140069054
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret

Function at 0x140069310
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.140119478
add rsp, 0x28
ret