joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f650
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x80]
mov rdi, rcx
movsxd r12, edx
mov r13, r8
call sub.msvcrt.dll_strlen
mov rsi, rax
lea ebx, [rax + 0xf]
lea eax, [rax + 0x52]
cdqe
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.0040f810
sub rsp, rax
movsxd r14, esi
movabs rax, 0x656d68732d636367
lea r15, [rsp + 0x20]
lea rcx, [rsp + 0x2f]
mov r8, r14
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov eax, 0x326d
mov dword [rsp + 0x28], 0x64742d6d
mov word [rsp + 0x2c], ax
movsxd rbx, ebx
mov byte [rsp + 0x2e], 0x2d
call sub.msvcrt.dll_memcpy
lea rax, [r15 + r14 + 0x10]
lea r14d, [rsi + 0x50]
movabs rdx, 0x6161616161616161
xor ecx, ecx
mov r8, r15
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], rdx
mov qword [rax + 0x30], rdx
mov qword [rax + 0x38], rdx
movsxd rax, r14d
xor edx, edx
mov byte [rsp + rax + 0x20], 0
mov byte [rsp + rbx + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov byte [rsp + rbx + 0x20], 0x2d
mov rdi, rax
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40f739
int3
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x40f7d8
mov rcx, r12
call sub.msvcrt.dll_malloc
lea r9d, [rsi + 0x10]
mov rbx, rax
mov r10d, 0x40
bt rbx, r10
jae 0x40f774
mov r11d, r14d
sub r11d, r10d
movsxd r11, r11d
mov byte [r15 + r11], 0x41
sub r10d, 1
jne 0x40f760
mov dword [rbp - 0x54], r9d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
mov r9d, dword [rbp - 0x54]
je 0x40f7d5
lea r8d, [rsi + 0x51]
movzx ecx, ax
mov rdx, r15
call fcn.0040f5d0
cmp rax, rbx
mov rsi, rax
je 0x40f7f0
mov rcx, rbx
call fcn.00419c48
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
lea rsp, [rbp - 0x48]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
int3
lea r9d, [rsi + 0x10]
lea r8d, [rsi + 0x51]
movzx ecx, ax
mov rdx, r15
call fcn.0040f5d0
mov rsi, rax
jmp 0x40f7af
xor edx, edx
mov r8, r12
mov rcx, rbx
call sub.msvcrt.dll_memset
test r13, r13
je 0x40f7af
mov rcx, rbx
call r13
jmp 0x40f7af
Function at 0x41a1d0
Capabilities:
Check mutex on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
mov rcx, qword [0x004a84b8]
mov esi, edx
test rcx, rcx
je 0x41a170
call fcn.0041fd80
cmp dword [rbx], 0xbab1f00d
jne 0x41a197
mov eax, dword [rbx + 4]
test eax, eax
jle 0x41a197
mov eax, dword [rbx + 4]
test eax, eax
jle 0x41a123
mov eax, dword [rbx + 4]
sub eax, 1
mov dword [rbx + 4], eax
mov rcx, qword [0x004a84b8]
test rcx, rcx
je 0x41a140
call fcn.0041fe30
mov eax, esi
add rsp, 0x38
pop rbx
pop rsi
ret
lea r8, [0x00419eb0]
lea rcx, str.mutex_global_shmem
mov edx, 8
call fcn.0041ff10
mov rcx, rax
mov qword [0x004a84b8], rax
call fcn.0041fe30
mov eax, esi
add rsp, 0x38
pop rbx
pop rsi
ret
lea rcx, str.mutex_global_shmem
lea r8, [0x00419eb0]
mov edx, 8
call fcn.0041ff10
mov rcx, rax
mov qword [0x004a84b8], rax
jmp 0x41a0f7
call qword [sym.imp.msvcrt.dll___iob_func]
lea r9, str.C:_crossdev_src_winpthreads_git20141130_src_mutex.c
lea rcx, [rax + 0x60]
lea r8, str._m___valid__LIFE_MUTEX____m___busy___0_
lea rdx, [0x0048bde0]
mov dword [rsp + 0x20], 0x39
call sub.msvcrt.dll_fprintf
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop
lea r8, [0x00419eb0]
lea rcx, str.mutex_global_shmem
mov edx, 8
jmp fcn.0041ff10

Function at 0x41b910
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x004a8528]
test rbx, rbx
je 0x41b940
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
mov rax, qword [0x004a8528]
test rax, rax
je 0x41b964
cmp dword [rax], 0xffffffff
je 0x41b985
add rsp, 0x20
pop rbx
ret
lea r8, [0x0041ada0]
lea rcx, str._pthread_tls_shmem
mov edx, 4
call fcn.0041ff10
mov rbx, rax
mov qword [0x004a8528], rax
jmp 0x41b921
lea r8, [0x0041ada0]
lea rcx, str._pthread_tls_shmem
mov edx, 4
call fcn.0041ff10
mov qword [0x004a8528], rax
jmp 0x41b935
call sub.msvcrt.dll_abort
nop
nop dword [rax + rax]
Function at 0x41be20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rcx, qword [0x004a8530]
test rcx, rcx
je 0x41bf60
call fcn.0041bd90
mov rax, qword [0x004a8528]
test rax, rax
je 0x41bf83
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x41be63
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.0041b760
test rax, rax
mov rbx, rax
je 0x41bfcb
cmp qword [0x004ab050], 0
je 0x41bfcb
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
mov dword [rbx + 0x68], eax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rsi, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], 0xffffffffffffffff
mov qword [rbx + 0x60], 0xffffffffffffffff
mov dword [rbx + 0xb0], 0
mov qword [rbx + 0x28], 0
call rsi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rdi, rax
call rsi
mov dword [rsp + 0x30], 2
mov rcx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbx + 0x28]
mov r8, rbp
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x41bfd2
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [rbx + 0xb8], eax
movzx eax, byte [rbx + 0x40]
mov dword [rbx + 0xb4], 0
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
mov rax, qword [0x004a8528]
test rax, rax
je 0x41bfa7
mov rdx, rbx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x41bfd2
mov rax, rbx
jmp 0x41be5a
lea rcx, str._pthread_tls_once_shmem
xor r8d, r8d
mov edx, 4
call fcn.0041ff10
mov rcx, rax
mov qword [0x004a8530], rax
jmp 0x41be38
lea r8, [0x0041ada0]
lea rcx, str._pthread_tls_shmem
mov edx, 4
call fcn.0041ff10
mov qword [0x004a8528], rax
jmp 0x41be4d
lea r8, [0x0041ada0]
lea rcx, str._pthread_tls_shmem
mov edx, 4
call fcn.0041ff10
mov qword [0x004a8528], rax
jmp 0x41bf48
xor eax, eax
jmp 0x41be5a
call sub.msvcrt.dll_abort
nop
nop dword [rax + rax]
lea rcx, str._pthread_key_dest_shmem
xor r8d, r8d
mov edx, 8
jmp fcn.0041ff10
Function at 0x41bfe0
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rcx, qword [0x004a8530]
test rcx, rcx
je 0x41bf60
call fcn.0041bd90
mov rax, qword [0x004a8528]
test rax, rax
je 0x41bf83
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x41be63
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.0041b760
test rax, rax
mov rbx, rax
je 0x41bfcb
cmp qword [0x004ab050], 0
je 0x41bfcb
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
mov dword [rbx + 0x68], eax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rsi, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], 0xffffffffffffffff
mov qword [rbx + 0x60], 0xffffffffffffffff
mov dword [rbx + 0xb0], 0
mov qword [rbx + 0x28], 0
call rsi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rdi, rax
call rsi
mov dword [rsp + 0x30], 2
mov rcx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbx + 0x28]
mov r8, rbp
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x41bfd2
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [rbx + 0xb8], eax
movzx eax, byte [rbx + 0x40]
mov dword [rbx + 0xb4], 0
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
mov rax, qword [0x004a8528]
test rax, rax
je 0x41bfa7
mov rdx, rbx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x41bfd2
mov rax, rbx
jmp 0x41be5a
lea rcx, str._pthread_tls_once_shmem
xor r8d, r8d
mov edx, 4
call fcn.0041ff10
mov rcx, rax
mov qword [0x004a8530], rax
jmp 0x41be38
lea r8, [0x0041ada0]
lea rcx, str._pthread_tls_shmem
mov edx, 4
call fcn.0041ff10
mov qword [0x004a8528], rax
jmp 0x41be4d
lea r8, [0x0041ada0]
lea rcx, str._pthread_tls_shmem
mov edx, 4
call fcn.0041ff10
mov qword [0x004a8528], rax
jmp 0x41bf48
xor eax, eax
jmp 0x41be5a
call sub.msvcrt.dll_abort
nop
nop dword [rax + rax]
lea rcx, str._pthread_key_dest_shmem
xor r8d, r8d
mov edx, 8
jmp fcn.0041ff10
Function at 0x41ff10
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x80]
mov rdi, rcx
movsxd r12, edx
mov r13, r8
call sub.msvcrt.dll_strlen
mov r14, rax
lea ebx, [rax + 0xf]
lea eax, [rax + 0x51]
cdqe
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.0040f810
sub rsp, rax
movsxd r15, r14d
movabs rax, 0x656d68732d636367
lea rsi, [rsp + 0x20]
lea rcx, [rsp + 0x2f]
mov r8, r15
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov eax, 0x326d
mov dword [rsp + 0x28], 0x64742d6d
mov word [rsp + 0x2c], ax
movsxd rbx, ebx
mov byte [rsp + 0x2e], 0x2d
call sub.msvcrt.dll_memcpy
lea rax, [rsi + r15 + 0x10]
lea r15d, [r14 + 0x50]
movabs rdx, 0x6161616161616161
xor ecx, ecx
mov r8, rsi
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], rdx
mov qword [rax + 0x30], rdx
mov qword [rax + 0x38], rdx
movsxd rax, r15d
xor edx, edx
mov byte [rsp + rax + 0x20], 0
mov byte [rsp + rbx + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov byte [rsp + rbx + 0x20], 0x2d
mov rdi, rax
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41fff9
int3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x420092
mov rcx, r12
add r14d, 0x10
call sub.msvcrt.dll_malloc
mov r10d, 0x40
mov rbx, rax
bt rbx, r10
jae 0x420034
mov r11d, r15d
sub r11d, r10d
movsxd r11, r11d
mov byte [rsi + r11], 0x41
sub r10d, 1
jne 0x420020
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x42008f
mov rdx, rsi
movzx ecx, ax
mov r9d, r14d
mov r8d, r15d
call fcn.0041fe90
cmp rax, rbx
mov rsi, rax
je 0x4200a9
mov rcx, rbx
call fcn.00419c48
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
lea rsp, [rbp - 0x58]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
int3
lea r9d, [r14 + 0x10]
mov rdx, rsi
movzx ecx, ax
mov r8d, r15d
call fcn.0041fe90
mov rsi, rax
jmp 0x420069
xor edx, edx
mov r8, r12
mov rcx, rbx
call sub.msvcrt.dll_memset
test r13, r13
je 0x420069
mov rcx, rbx
call r13
jmp 0x420069

Function at 0x421980
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [0x00471620]
lea rcx, str.__terminate_handler_sh
mov edx, 8
jmp fcn.0040f650

Function at 0x4219a0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [0x00471630]
lea rcx, str.__unexpected_handler_sh
mov edx, 8
jmp fcn.0040f650
Function at 0x451a60
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rbp, rcx
mov rdi, rdx
mov esi, r8d
mov rcx, rbp
call fcn.00451940
mov r8d, esi
mov rdx, rdi
mov ecx, eax
call sub.msvcrt.dll__read
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
je 0x451ab0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x451a7a
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140002514
Capabilities:
Parse pe header

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

Function at 0x1400052e8
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 0x140005357
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005357
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005357
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005357
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005357
cmp dword [rcx + 0x84], 0xe
jbe 0x140005357
cmp dword [rcx + 0xf8], 0
je 0x140005357
mov ecx, ebx
call fcn.140005408
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.1400051e4
nop
cmp dword [rbp + 0x20], 0
je 0x1400053a5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400053b0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400052e8

Function at 0x1400054ec
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400052e8
Function at 0x1400086c0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140008747
mov rsi, rbx
cmp word [rax], bp
je 0x140008706
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400086f0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400086ec
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140009f24
mov rdi, rax
test rax, rax
je 0x140008734
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000de40
mov rbp, rdi
xor ecx, ecx
call fcn.140007320
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000d870
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000d898
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000d898
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003740
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x1400037e0
jmp 0x1400037cf
jae 0x1400038ae
cmp r8, 0x201
jae 0x1400037e0
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x140003846
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x14000381e
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.140016620
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x14000386f
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14000391a
mov r8d, r13d
cmp r12, r8
jne 0x1400037c0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000394e
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1400037cf
jmp 0x1400037e0
cmp r14, r8
jb 0x140003968
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.140004870
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x140003903
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.140001610
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x1400038ee
jmp 0x140003903
lea rcx, str.internal_error:_entered_unreachable_code_rustc_90b35a6239c3d8bdabc530a6a0816f7ff89a0aaflibrary_alloc_src_vecmod.rs
lea r8, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.140017160
jmp 0x14000397d
lea rax, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.1400174b0
ud2
Function at 0x1400087c0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rax, qword [rbp + 0x70]
mov qword [rbp - 8], r9
lea rcx, [rbp]
mov qword [rbp], rax
movups xmm0, xmmword [0x14003f190]
movaps xmmword [rbp + 0x10], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xor r8d, r8d
test r9b, 1
cmove rcx, r8
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140008856
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp + 0x10]
cmp eax, 0x103
je 0x140008883
test eax, eax
js 0x140008862
mov rdx, qword [rbp + 0x18]
xor eax, eax
jmp 0x140008879
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb8
pop rsi
pop rbp
ret
mov dword [rbp + 0x28], 0
mov byte [rbp + 0x2c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x30]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x28]
lea rdx, [rbp - 0x38]
call fcn.140004600
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.140001f50
mov ecx, 7
int 0x29
ud2
Function at 0x140015fa4
Capabilities:
Parse pe header

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

Function at 0x140bab802
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp], rsi
mov esi, 0x3e3c9006
imul rsi, rsi
jo fcn.140b99e9c
lea r10, [0x140b9d0c8]
mov esi, 0x5dbd459a
or si, si
or si, 0xbd2a
movzx esi, byte [rbp + rsi - 0x5dbdfdba]
push 0xffffffff9618b293
xor esi, eax
and word [rsp + 1], 0xb1b6
sub dword [rsp + 3], 0x7f23ca1a
sar dword [rsp], 0x71
and esi, 0xff
inc byte [rsp + 4]
mov esi, dword [r10 + rsi*4]
shr eax, 8
inc byte [rsp + 4]
dec qword [rsp]
xor eax, esi
neg dword [rsp + 2]
neg byte [rsp + 4]
inc rbp
push 0xffffffff918251b4
xor eax, 0x68135e20
sar qword [rsp + 1], 0xad
dec rcx
not dword [rsp + 7]
lea rsp, [rsp + 0x10]
jne 0x140bab81d
invalid
call fcn.140bace46
add byte [rax], al
add byte [rax], al
add byte [rdi], bh
fnstsw word [rcx + 0x140]
add bl, dl
sub byte [rcx + 0x140], bh
add byte [rbx + 0x140b84d], dl
add byte [rax], al
add dl, al
jo 0x140bab873
add dword [rax], eax
add byte [rax], al
mov al, 0
mov edx, 0x140
add byte [rsi + rsi*4 + 0x140ba], dh
add byte [rax], al
enter 0xffffffffffffbacd, 0x40
add dword [rax], eax
add byte [rax], al
nop
mov ecx, 0x140
add byte [0x141fb7035], bl
add byte [rax], al
add byte [rcx + 0x140b81a], dl
add byte [rax], al
add byte [rdx - 0x46], al
mov ecx, 0x140
add bh, al
and eax, 0x140bb
add byte [rax], al
push qword [rax - 0x46]
add dword [rax], eax
add byte [rax], al
lahf
mov ecx, 0x140
add byte [rdx], cl
out 0xb9, al
add dword [rax], eax
add byte [rax], al
lodsd eax, dword fs:[rsi]
mov ebx, 0x140
add byte [0x141fb7471], al
add byte [rax], al
add byte [rdx + rdi*8 + 0x140b9], dh
add byte [rax], al
jae 0x140bab935
mov esp, 0x140
add byte [rax], al
add dh, ch
mov r9d, 0x140
add byte [rbx + 0x140b9b3], bl
add byte [rax], al
add byte [rbx + 0x140b845], dl
add byte [rax], al
add byte [rax], al
wait
mov bl, 0xb9
add dword [rax], eax
add byte [rax], al
xchg ebx, eax
mov r8d, 0x140
add byte [rsi + 0x4b], dh
mov ebx, 0x140
add bl, bl
popfq
mov ebx, 0x140
add byte [rbx + rcx*4 + 0x140ba], dh
add byte [rax], al
in al, dx
mov edx, 0x140
add byte [rdx], al
or byte [rax + rax*2 + 1], bh
push rbx
xchg ebp, eax
mov ecx, 0x140
add byte [rbx], al
js 0x140bab93e
add dword [rax], eax
add byte [rax], al
cmp dword [rbx - 0x49], 0x140
add byte [rbx + 0x140b722], ah
add byte [rax], al
add byte [rdi + 0x60], bl
mov ebx, 0x140
add byte [rbx + riz*8 + 0x140b7], dl
add byte [rax], al
push rsi
push rsp
mov ecx, 0x140
add dh, bh
imul edi, dword [rax + 0x140], 0
or eax, 0x140baed
add byte [rax], al
add byte [rax], ah
sti
mov eax, 0x140
add byte [rbx + 0x140b9bb], cl
add byte [rax], al
add byte [rbp + riz*2 - 0x46], bl
add dword [rax], eax
add byte [rax], al
invalid