joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180192a60
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov edi, edx
xor ebx, ebx
mov ebp, dword [rsi + 8]
test ebp, ebp
jle 0x180192a94
mov ecx, ebx
mov rcx, qword [rsi + rcx*8 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov edx, edi
rol edx, 0xd
add edx, edi
mov edi, eax
xor edi, edx
inc ebx
cmp ebp, ebx
jg 0x180192a76
mov eax, edi
rol eax, 0xf
add eax, edi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret

Function at 0x180192ab0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov edi, edx
xor ebx, ebx
mov ebp, dword [rsi + 8]
test ebp, ebp
jle 0x180192ae4
mov ecx, ebx
mov rcx, qword [rsi + rcx*8 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov edx, edi
rol edx, 0xd
add edx, edi
mov edi, eax
xor edi, edx
inc ebx
cmp ebp, ebx
jg 0x180192ac6
mov eax, edi
rol eax, 0xf
add eax, edi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
Function at 0x1400177d0
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x64], 0x811c9dc5
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
cmp qword [rsp + 0x58], rax
jge 0x14001788f
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x48], rcx
mov ecx, dword [rsp + 0x64]
mov dword [rsp + 0x3c], ecx
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
mov rax, qword [rax + 8]
mov r9, qword [rsp + 0x48]
mov qword [rsp + 0x28], r9
lea rcx, [0x1400ea6d8]
mov edx, 0x414
mov r8d, 0x14
mov qword [rsp + 0x20], rax
call fcn.1400bb4c0
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x3c]
movzx ecx, byte [rcx + rdx]
xor eax, ecx
imul eax, eax, 0x1000193
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
add rax, 1
mov qword [rsp + 0x50], rax
jmp 0x1400177f3
mov eax, dword [rsp + 0x64]
add rsp, 0x68
ret
Function at 0x14008db90
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x148
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rcx
mov dword [rsp + 0x144], 0
call sub.KERNEL32.dll_GetCommandLineW
mov rcx, rax
lea rdx, [rsp + 0x144]
call sub.SHELL32.dll_CommandLineToArgvW
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x138], rax
movsxd rcx, dword [rsp + 0x144]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x120], xmm0
mov rax, rsp
mov qword [rax + 0x20], rdx
lea r8, str.D:_Dev_Odin_core_os_os_windows.odin
lea r9, [rsp + 0x120]
call fcn.1400ca9f0
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
mov qword [rsp + 0x100], rcx
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xe8], 0xffffffffffffffff
mov rax, qword [rsp + 0xe8]
add rax, 1
mov qword [rsp + 0xe8], rax
cmp rax, qword [rsp + 0xf0]
jge 0x14008de5a
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0xd8], rax
mov r8, qword [rsp + 0xd8]
mov rax, rsp
mov qword [rax + 0x38], 0
mov qword [rax + 0x30], 0
mov dword [rax + 0x28], 0
mov qword [rax + 0x20], 0
mov ecx, 0xfde9
xor edx, edx
mov r9d, 0xffffffff
call sub.KERNEL32.dll_WideCharToMultiByte
mov rdx, qword [rsp + 0x68]
mov dword [rsp + 0xd4], eax
movsxd rcx, dword [rsp + 0xd4]
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
mov rax, rsp
mov qword [rax + 0x20], rdx
lea r8, str.D:_Dev_Odin_core_os_os_windows.odin
lea r9, [rsp + 0xc0]
call fcn.1400caa80
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x98], rax
mov r8, qword [rsp + 0xd8]
mov r10, qword [rsp + 0x98]
mov eax, dword [rsp + 0xd4]
mov ecx, 0xfde9
xor edx, edx
mov r9d, 0xffffffff
xor r11d, r11d
mov qword [rsp + 0x20], r10
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.KERNEL32.dll_WideCharToMultiByte
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
setg al
and al, 1
cmp al, 0
je 0x14008dd91
mov eax, dword [rsp + 0x94]
sub eax, 1
mov dword [rsp + 0x94], eax
mov r9, qword [rsp + 0xe0]
mov qword [rsp + 0x40], r9
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x100]
mov rax, rsp
mov qword [rax + 0x20], rcx
lea rcx, str.D:_Dev_Odin_core_os_os_windows.odin
mov edx, 0xa0
mov dword [rsp + 0x4c], edx
mov r8d, 0xc
call fcn.1400bb4c0
mov rax, qword [rsp + 0x40]
mov edx, dword [rsp + 0x4c]
shl rax, 4
mov qword [rsp + 0x58], rax
movsxd r9, dword [rsp + 0x94]
mov qword [rsp + 0x50], r9
mov rcx, qword [rsp + 0xa0]
mov rax, rsp
mov qword [rax + 0x20], rcx
lea rcx, str.D:_Dev_Odin_core_os_os_windows.odin
mov r8d, 0x1b
call fcn.1400bcb10
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
mov r8, qword [rsp + 0x98]
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x88], rdx
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
mov qword [rax + rcx + 8], r8
mov qword [rax + rcx], rdx
jmp 0x14008dc3d
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
movups xmm0, xmmword [rsp + 0xf8]
movups xmmword [rcx], xmm0
add rsp, 0x148
ret
Function at 0x14008e760
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x88
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x80], rcx
cmp qword [rax + 8], 0
sete al
and al, 1
cmp al, 0
je 0x14008e7ac
mov rax, qword [rsp + 0x38]
mov qword [rax], 0
xor eax, eax
add rsp, 0x88
ret
mov rax, qword [rsp + 0x40]
mov dword [rsp + 0x7c], 0
mov qword [rsp + 0x70], 0
mov rax, qword [rax + 8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x70]
cmp rax, qword [rsp + 0x68]
setl al
and al, 1
cmp al, 0
je 0x14008e8bf
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
sub rcx, qword [rsp + 0x70]
mov qword [rsp + 0x60], rcx
mov rcx, qword [rsp + 0x60]
mov edx, ecx
mov ecx, 0x40000000
cmp edx, 0x40000000
cmovl ecx, edx
mov dword [rsp + 0x5c], ecx
mov rcx, qword [rax]
mov qword [rsp + 0x28], rcx
mov r9, qword [rsp + 0x70]
mov qword [rsp + 0x30], r9
mov rax, qword [rax + 8]
lea rcx, str.D:_Dev_Odin_core_os_file_windows.odin
mov edx, 0x5b
mov r8d, 0x30
mov qword [rsp + 0x20], rax
call fcn.1400bb4c0
mov rdx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
add rdx, rax
mov r8d, dword [rsp + 0x5c]
lea r9, [rsp + 0x7c]
xor eax, eax
mov qword [rsp + 0x20], 0
call sub.KERNEL32.dll_WriteFile
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x7c], 0
setbe al
and al, 1
cmp al, 0
jne 0x14008e886
cmp dword [rsp + 0x58], 0
jne 0x14008e8ac
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [rsp + 0x38]
mov eax, eax
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x50]
mov qword [rcx], rdx
add rsp, 0x88
ret
mov eax, dword [rsp + 0x7c]
add rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], rax
jmp 0x14008e7cb
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
mov qword [rax], rcx
xor eax, eax
add rsp, 0x88
ret
Function at 0x14008f350
Capabilities:
Get file size

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x38]
call sub.KERNEL32.dll_GetFileSizeEx
cmp eax, 0
jne 0x14008f395
call sub.KERNEL32.dll_GetLastError
mov eax, eax
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov qword [rcx], rdx
add rsp, 0x48
ret

Function at 0x14008f3b0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0xd8
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0xd0], rdx
mov qword [rsp + 0xc8], rax
mov rax, qword [rcx]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xc0], 0x40000000
setg al
and al, 1
cmp al, 0
je 0x14008f47e
mov rcx, qword [rsp + 0xc0]
mov rax, rsp
mov qword [rax + 0x20], rcx
lea rcx, str.D:_Dev_Odin_core_os_file_windows.odin
mov edx, 0xe5
mov r8d, 0xc
mov r9d, 0x40000000
call fcn.1400bcb10
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], 0x40000000
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x98], 0
mov dword [rsp + 0x94], 0
mov dword [rsp + 0x90], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x80], 0
mov rdx, rcx
shr rdx, 0x20
mov dword [rsp + 0x94], edx
mov dword [rsp + 0x90], ecx
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
mov r8d, dword [rsp + 0x90]
mov r9d, dword [rsp + 0x94]
mov r10, qword [rsp + 0x98]
mov qword [rsp + 0x78], r10
mov dword [rsp + 0x74], r9d
mov dword [rsp + 0x70], r8d
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xc0]
mov r8d, eax
lea r9, [rsp + 0x54]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call sub.KERNEL32.dll_ReadFile
cmp eax, 0
jne 0x14008f586
call sub.KERNEL32.dll_GetLastError
mov eax, eax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x54], 0
mov rcx, qword [rsp + 0x28]
mov eax, dword [rsp + 0x54]
mov edx, eax
mov rax, qword [rsp + 0x48]
mov qword [rcx], rdx
add rsp, 0xd8
ret
Function at 0x14008f5b0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0xd8
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0xd0], rdx
mov qword [rsp + 0xc8], rax
mov rax, qword [rcx]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xc0], 0x40000000
setg al
and al, 1
cmp al, 0
je 0x14008f67e
mov rcx, qword [rsp + 0xc0]
mov rax, rsp
mov qword [rax + 0x20], rcx
lea rcx, str.D:_Dev_Odin_core_os_file_windows.odin
mov edx, 0xfd
mov r8d, 0xc
mov r9d, 0x40000000
call fcn.1400bcb10
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], 0x40000000
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x98], 0
mov dword [rsp + 0x94], 0
mov dword [rsp + 0x90], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x80], 0
mov rdx, rcx
shr rdx, 0x20
mov dword [rsp + 0x94], edx
mov dword [rsp + 0x90], ecx
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
mov r8d, dword [rsp + 0x90]
mov r9d, dword [rsp + 0x94]
mov r10, qword [rsp + 0x98]
mov qword [rsp + 0x78], r10
mov dword [rsp + 0x74], r9d
mov dword [rsp + 0x70], r8d
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xc0]
mov r8d, eax
lea r9, [rsp + 0x54]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call sub.KERNEL32.dll_WriteFile
cmp eax, 0
jne 0x14008f786
call sub.KERNEL32.dll_GetLastError
mov eax, eax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x54], 0
mov rcx, qword [rsp + 0x28]
mov eax, dword [rsp + 0x54]
mov edx, eax
mov rax, qword [rsp + 0x48]
mov qword [rcx], rdx
add rsp, 0xd8
ret
Function at 0x1400a6040
Capabilities:
Create thread

Disassembly:
sub rsp, 0x98
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rcx
mov r9, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x84], 0
mov qword [rsp + 0x78], 0
lea rdx, str.D:_Dev_Odin_core_thread_thread_windows.odin
lea r8, [rsp + 0x78]
mov rcx, r9
call fcn.1400bc3c0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
sete al
and al, 1
cmp al, 0
je 0x1400a60c0
xor eax, eax
add rsp, 0x98
ret
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rdx]
mov rdx, qword [rdx + 8]
mov qword [rax + 0x100], rdx
mov qword [rax + 0xf8], rcx
mov r9, qword [rsp + 0x60]
xor eax, eax
mov edx, eax
lea r8, [0x1400a75b0]
lea rax, [rsp + 0x84]
mov rcx, rdx
mov dword [rsp + 0x20], 4
mov qword [rsp + 0x28], rax
call sub.KERNEL32.dll_CreateThread
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
sete al
and al, 1
cmp al, 0
je 0x1400a614c
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x60]
add rdx, 0xf8
lea r8, str.D:_Dev_Odin_core_thread_thread_windows.odin
call fcn.1400bdfc0
xor eax, eax
add rsp, 0x98
ret
mov r9, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov qword [rax], rcx
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x84]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rcx, str.D:_Dev_Odin_core_thread_thread_windows.odin
mov edx, 0x4c
mov r8d, 0x43
mov qword [rsp + 0x20], 3
call fcn.1400bb4c0
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
lea rax, [0x14010c118]
mov edx, dword [rax + rdx*4]
call sub.KERNEL32.dll_SetThreadPriority
mov r9, qword [rsp + 0x38]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 1
sete al
and al, 1
cmp al, 0
setne cl
and cl, 1
lea rdx, [0x1400fd588]
lea r8, str.D:_Dev_Odin_core_thread_thread_windows.odin
call fcn.1400d61f0
mov rax, qword [rsp + 0x60]
add rsp, 0x98
ret

Function at 0x1400a67b0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
add rcx, 0x10
mov qword [rsp + 0x20], rcx
call fcn.1400a8050
mov rax, qword [rsp + 0x30]
mov cl, byte [rax + 0x18]
or cl, 1
mov byte [rax + 0x18], cl
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call sub.KERNEL32.dll_ResumeThread
mov rcx, qword [rsp + 0x20]
call fcn.1400a8030
nop
add rsp, 0x38
ret
Function at 0x1400a6950
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
add rcx, 0x10
mov qword [rsp + 0x20], rcx
call fcn.1400a8050
mov rax, qword [rsp + 0x30]
mov al, byte [rax + 0x18]
and al, 2
cmp al, 0
setne al
and al, 1
cmp al, 0
jne 0x1400a69a3
mov rax, qword [rsp + 0x30]
mov rcx, 0xffffffffffffffff
cmp qword [rax], rcx
sete al
and al, 1
cmp al, 0
je 0x1400a69b5
jmp 0x1400a69a5
mov rcx, qword [rsp + 0x20]
call fcn.1400a8030
nop
add rsp, 0x38
ret
mov rax, qword [rsp + 0x30]
mov cl, byte [rax + 0x18]
or cl, 2
mov byte [rax + 0x18], cl
mov rax, qword [rsp + 0x30]
mov al, byte [rax + 0x18]
and al, 1
cmp al, 0
sete al
and al, 1
cmp al, 0
je 0x1400a69f3
mov rax, qword [rsp + 0x30]
mov cl, byte [rax + 0x18]
or cl, 1
mov byte [rax + 0x18], cl
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call sub.KERNEL32.dll_CloseHandle
mov rax, qword [rsp + 0x30]
mov rcx, 0xffffffffffffffff
mov qword [rax], rcx
mov rcx, qword [rsp + 0x20]
call fcn.1400a8030
nop
add rsp, 0x38
ret

Function at 0x1400a6e50
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov edx, eax
call sub.KERNEL32.dll_TerminateThread
nop
add rsp, 0x48
ret
Function at 0x1400bb600
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x68], 0
cmp qword [rax + 8], 0
sete al
and al, 1
cmp al, 0
je 0x1400bb658
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x68], 0
mov qword [rax], 0
xor eax, eax
add rsp, 0x78
ret
mov ecx, 0xfffffff4
call sub.KERNEL32.dll_GetStdHandle
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
mov edx, 1
xor r8d, r8d
call sub.KERNEL32.dll_SetHandleInformation
mov rax, qword [rsp + 0x30]
mov dword [rsp + 0x5c], 0
mov qword [rsp + 0x50], 0
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp rax, qword [rsp + 0x48]
setl al
and al, 1
cmp al, 0
je 0x1400bb766
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, qword [rsp + 0x50]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x40]
mov edx, ecx
mov ecx, 0x40000000
cmp edx, 0x40000000
cmovl ecx, edx
mov dword [rsp + 0x3c], ecx
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rax]
add rdx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x3c]
lea r9, [rsp + 0x5c]
xor eax, eax
mov qword [rsp + 0x20], 0
call sub.KERNEL32.dll_WriteFile
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x5c], 0
setbe al
and al, 1
cmp al, 0
jne 0x1400bb71c
cmp dword [rsp + 0x38], 0
jne 0x1400bb753
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [rsp + 0x28]
mov eax, eax
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x68], rax
mov qword [rcx], rdx
add rsp, 0x78
ret
mov eax, dword [rsp + 0x5c]
add rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rax
jmp 0x1400bb698
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x68], rax
mov qword [rcx], rdx
add rsp, 0x78
ret

Function at 0x1400d6430
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x58
mov qword [rsp], r8
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rdx
movabs rdx, 0xcbf29ce484222325
add rcx, rdx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rax, qword [rsp]
cmp qword [rsp + 0x28], rax
jge 0x1400d64ec
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
xor rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
add rax, 1
mov qword [rsp + 0x20], rax
jmp 0x1400d6488
mov al, byte [rsp + 0x3f]
and al, 0x7f
mov byte [rsp + 0x3f], al
mov rax, qword [rsp + 0x38]
test rax, rax
sete cl
and cl, 1
movzx ecx, cl
or rax, rcx
add rsp, 0x58
ret
Function at 0x1400d6510
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x70
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x18]
mov rdx, qword [rdx + 8]
mov qword [rsp], rdx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rdx
movabs rdx, 0xcbf29ce484222325
add rcx, rdx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov rax, qword [rsp]
cmp qword [rsp + 0x40], rax
jge 0x1400d65e8
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
xor rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
add rax, 1
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
add rax, 1
mov qword [rsp + 0x38], rax
jmp 0x1400d6584
movabs rax, 0x7fffffffffffffff
and rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x50], 0
sete cl
and cl, 1
movzx ecx, cl
or rax, rcx
add rsp, 0x70
ret

Function at 0x1400d8188
Capabilities:
Parse pe header

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

Function at 0x1400db838
Capabilities:
Parse pe header

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

Function at 0x1400dba3c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400db838
Function at 0x1400deafc
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400deb2c
xor eax, eax
jmp 0x1400debef
mov rbp, rbx
cmp word [rax], si
je 0x1400deb51
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400deb38
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400deb34
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400dea1c
movsxd r14, eax
test eax, eax
jne 0x1400deb8f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400deb25
mov rcx, r14
call fcn.1400df9d8
mov rdi, rax
test rax, rax
jne 0x1400deba8
xor ecx, ecx
call fcn.1400dd07c
jmp 0x1400deb84
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400dea1c
test eax, eax
jne 0x1400debd9
mov rcx, rdi
call fcn.1400dd07c
jmp 0x1400debe3
xor ecx, ecx
call fcn.1400dd07c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret