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

Disassembly:
jmp 0x14001bb30
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011488
Capabilities:
Hide graphical window

Disassembly:
jmp 0x140018a40
push rbp
push rsi
push rdi
sub rsp, 0x2d0
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x74
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140028040]
xor rax, rbp
mov qword [rbp + 0x288], rax
lea rcx, [0x14002e0d4]
call fcn.1400116a9
mov dword [rsp + 0x38], 0xcf0000
mov dword [rsp + 0x30], 0x282828
mov dword [rsp + 0x28], 0xfa
mov dword [rsp + 0x20], 0x12c
mov r9d, 0x64
mov r8d, 0x64
lea rdx, str.test
lea rcx, [rbp + 0x178]
call fcn.140011532
lea rcx, [rbp + 0x148]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 8]
lea rcx, [rbp + 0x148]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
cmp qword [rbp + 8], 0
jne 0x140018afa
mov eax, 0xffffffff
jmp 0x140018ced
mov edx, 5
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rax, [rbp + 0x1b0]
lea rcx, [rbp + 8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x14
mov dword [rsp + 0x20], 0x104
mov r9d, 0x14
mov r8d, 0x14
lea rdx, str.Label
lea rcx, [rbp + 0x1b0]
call fcn.140011203
lea rax, [rbp + 0x1e0]
lea rcx, [rbp + 8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x14
mov r9d, 0x104
mov r8d, 0x32
mov edx, 0x14
lea rcx, [rbp + 0x1e0]
call fcn.140011267
mov qword [0x1400284c0], rax
lea rax, [rbp + 0x210]
lea rcx, [rbp + 8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x38], 0
lea rax, [0x1400114dd]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1e
mov dword [rsp + 0x20], 0x64
mov r9d, 0x50
mov r8d, 0x64
lea rdx, str.Button
lea rcx, [rbp + 0x210]
call fcn.1400111db
lea rax, [rbp + 0x240]
lea rcx, [rbp + 8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x1e
mov dword [rsp + 0x20], 0x64
mov r9d, 0x78
mov r8d, 0x64
lea rdx, str.Checkbox
lea rcx, [rbp + 0x240]
call fcn.1400112ee
mov qword [0x1400284c8], rax
lea rax, [rbp + 0x270]
lea rcx, [rbp + 8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x38], 0
lea rax, [0x14001176c]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1e
mov dword [rsp + 0x20], 0x64
mov r9d, 0xa0
mov r8d, 0x64
lea rdx, str.Retrieve_State
lea rcx, [rbp + 0x270]
call fcn.1400111db
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x38]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x140018ceb
lea rcx, [rbp + 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140018cbf
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x1400231c0]
call fcn.1400115a0
mov rax, rdi
mov rcx, qword [rbp + 0x288]
xor rcx, rbp
call fcn.14001134d
lea rsp, [rbp + 0x290]
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400114ab
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001a9e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001aa00
xor al, al
jmp 0x14001aa81
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001aa13
xor al, al
jmp 0x14001aa81
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001aa3d
xor al, al
jmp 0x14001aa81
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001aa51
xor al, al
jmp 0x14001aa81
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001aa63
xor al, al
jmp 0x14001aa81
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001aa7f
xor al, al
jmp 0x14001aa81
mov al, 1
add rsp, 0x38
ret
Function at 0x140028974
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c284
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c284
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028ac4
cmp rax, 0xffffffffffffffff
je 0x140028ac4
xor edi, edi
test rbp, rbp
jle 0x140028a6f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001eb98
mov rbx, rax
test rax, rax
jne 0x1400289fc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028a65
mov edx, 0x8000
mov ecx, r14d
call fcn.140019be8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001cf60
cmp eax, 0xffffffff
je 0x140028a45
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028a0c
mov edx, r15d
mov ecx, r14d
call fcn.140019be8
jmp 0x140028a65
cmp byte [rsi + 0x38], dil
je 0x140028a5c
cmp dword [rsi + 0x34], 5
jne 0x140028a5c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028a65
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a948
jmp 0x140028ad8
jns 0x140028ad8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c284
cmp rax, 0xffffffffffffffff
jne 0x140028a90
cmp byte [rsi + 0x30], dil
je 0x140028ad8
mov edi, dword [rsi + 0x2c]
jmp 0x140028ad8
mov ecx, r14d
call fcn.14001871c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028ad8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140028ad8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028ad1
mov eax, dword [rsi + 0x2c]
jmp 0x140028ad6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c284
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140029bd0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029bf8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029bf8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140eb786c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140eb7876
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140eb789f
pop rbp
sub rbp, 0x33
sub rbp, 0xeb786c
sub rsp, 0x20
jmp 0x140eb78be
mov rax, 0xeb786c
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffe55bf895
xor byte [rax], dl
inc rax
dec rcx
jne 0x140eb78dd
jmp 0x140eb78f4
fstp qword [rsp + rdi*2]
invalid
Function at 0x140001340
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
xor esi, esi
movsxd rbp, ecx
mov qword [rsp + 0x40], rsi
mov r14, rdx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 2
lea r9, [rsp + 0x48]
mov rcx, rax
mov dword [rsp + 0x28], esi
mov r8, rdi
mov dword [rsp + 0x20], esi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov r9, qword [rsp + 0x48]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
lea r8, [0x140001300]
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140001070
test al, al
je 0x14000153f
mov rcx, qword [0x140006078]
lea rdx, str.NvEncodeAPIGetMaxSupportedVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000153f
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x80], esi
call rax
test eax, eax
jne 0x14000153f
cmp dword [rsp + 0x80], 0xb1
jb 0x14000153f
mov rcx, qword [0x140006078]
lea rdx, str.NvEncodeAPICreateInstance
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000153f
lea rcx, [0x140005090]
call rax
test eax, eax
jne 0x14000153f
lea eax, [rbp - 1]
mov rdi, rbp
mov dword [0x140006070], eax
cmp rbp, 1
jle 0x14000148e
lea rbp, [0x140006080]
sub rbp, r14
lea rbx, [r14 + 8]
dec rdi
mov rcx, qword [rbx]
xor edx, edx
lea r8d, [rdx + 0x10]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoull]
mov qword [rbx + rbp - 8], rax
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x140001470
lea rdx, [rsp + 0x40]
lea rcx, [0x1400032b0]
call qword [sym.imp.dxgi.dll_CreateDXGIFactory1]
test eax, eax
js 0x14000153f
mov ebx, esi
nop word [rax + rax]
mov rcx, qword [rsp + 0x40]
mov edx, ebx
call fcn.1400010a0
inc ebx
test al, al
jne 0x1400014b0
test ebx, ebx
je 0x140001534
lea r14, [0x1400060d0]
lea rbp, str.true
nop dword [rax]
nop dword [rax + rax]
movzx edi, word [r14]
lea rcx, str.__u__n
mov edx, esi
call fcn.140001010
test dil, dil
lea rdx, str.false
lea rcx, str.is_nvidia_s_n
cmovne rdx, rbp
call fcn.140001010
shr di, 8
lea rdx, str.false
test dil, dil
lea rcx, str.supports_av1_s_n
cmovne rdx, rbp
call fcn.140001010
inc esi
lea r14, [r14 + 2]
cmp esi, ebx
jb 0x1400014e0
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0x70]
xor eax, eax
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret

Function at 0x140001e30
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x50]
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100001b5f
lea r8, [rsp + 0x58]
lea rdx, [0x1000014c8]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x100001b59
mov rax, qword [rsp + 0x58]
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x34], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0x80010002
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
add rsp, 0x48
ret

Function at 0x100002070
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x30
mov rbp, rcx
mov ecx, 0x1002
mov rsi, rdx
mov eax, 2
mov r14, 0xffffffffffffffff
mul rcx
cmovo rax, r14
mov rcx, rax
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
xor r12d, r12d
mov rdi, rax
cmp rax, r12
je 0x10000215e
mov dword [rsp + 0x70], 0x2000
jmp 0x100002109
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x100002151
cmp dword [rsp + 0x78], 7
jne 0x100002151
mov ebx, dword [rsp + 0x70]
mov rcx, rdi
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov r11, rbx
mov eax, 2
shr r11, 1
add r11, 2
mul r11
cmovo rax, r14
mov rcx, rax
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov rdi, rax
cmp rax, r12
je 0x10000215e
lea rax, [rsp + 0x70]
lea r9, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r12d
jne 0x1000020bf
mov ecx, dword [rsp + 0x70]
shr ecx, 1
lea eax, [rcx + 1]
mov word [rdi + rcx*2], r12w
mov rcx, rdi
mov word [rdi + rax*2], r12w
call fcn.100001cbc
cmp rax, r12
jne 0x100002160
cmp rdi, r12
je 0x10000215e
mov rcx, rdi
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1000059f0
Capabilities:
Check if file exists
Get file attributes

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 r12
sub rsp, 0x260
mov rax, qword [0x100009100]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x290]
xor r12d, r12d
mov ebx, 2
mov dword [rsp + 0x30], r12d
cmp rdx, r12
je 0x100005a42
mov eax, 3
jmp 0x100005b28
cmp r9d, ebx
jl 0x100005a38
mov rcx, qword [rax]
cmp word [rcx], r12w
je 0x100005a38
mov rsi, qword [rax + 8]
cmp word [rsi], r12w
je 0x100005a38
mov edi, 0x104
lea r8, [rsp + 0x40]
xor r9d, r9d
mov edx, edi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp eax, edi
jae 0x100005b26
cmp eax, r12d
je 0x100005b26
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100005b26
lea rcx, [0x1000018d8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
cmp rax, r12
je 0x100005b26
lea rdx, [0x1000018f0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
cmp rax, r12
je 0x100005b1d
call qword [sym.imp.msvcrt.dll___iob_func]
lea r9, [rsp + 0x40]
mov r8, rsi
lea rcx, [rax + 0x30]
mov edx, 0xeeae
call fcn.1000019d8
lea r11, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov r9d, 1
mov rdx, rsi
xor ecx, ecx
mov qword [rsp + 0x20], r11
call rbp
cmp eax, r12d
je 0x100005b1d
call qword [sym.imp.msvcrt.dll___iob_func]
mov edx, 0xeeb2
lea rcx, [rax + 0x30]
call fcn.1000019d8
cmp dword [rsp + 0x30], r12d
mov ebx, r12d
setne bl
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.100007340
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x100007084
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push r13
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor r12d, r12d
xor eax, eax
lock cmpxchg qword [0x100009c68], rdi
je 0x1000070d2
cmp rax, rdi
jne 0x1000070c5
mov edi, 1
mov r12d, edi
jmp 0x1000070d7
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000070a9
mov edi, 1
mov eax, dword [0x100009c60]
cmp eax, edi
jne 0x1000070ed
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x10000714a
mov eax, dword [0x100009c60]
test eax, eax
jne 0x100007144
mov dword [0x100009c60], edi
lea r13, [0x100001420]
lea rsi, [0x100001408]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
cmp rsi, r13
jae 0x100007136
test eax, eax
jne 0x100007136
mov rcx, qword [rsi]
test rcx, rcx
je 0x10000712b
call rcx
mov dword [rsp + 0x20], eax
add rsi, 8
mov qword [rsp + 0x28], rsi
jmp 0x100007114
test eax, eax
je 0x10000714a
mov eax, 0xff
jmp 0x10000721c
mov dword [0x1000096cc], edi
mov eax, dword [0x100009c60]
cmp eax, edi
jne 0x100007171
lea rdx, [0x100001400]
lea rcx, [0x1000013f0]
call sub.msvcrt.dll__initterm
mov dword [0x100009c60], 2
test r12d, r12d
jne 0x10000717f
xor eax, eax
xchg qword [0x100009c68], rax
cmp qword [0x100009c70], 0
je 0x1000071a8
lea rcx, [0x100009c70]
call fcn.10000751c
test eax, eax
je 0x1000071a8
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100009c70]
mov r8, qword [0x1000096b0]
mov rdx, qword [0x1000096b8]
mov ecx, dword [0x1000096a8]
call fcn.1000028a8
mov dword [0x1000096c8], eax
cmp dword [0x1000096ac], 0
jne 0x1000071d8
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1000096cc], 0
jne 0x1000071ed
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1000096c8]
jmp 0x10000721c
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
add rsp, 0x30
pop r13
ret
sub rsp, 0x28
call fcn.10014f000
add rsp, 0x28
jmp 0x100007084
Function at 0x100007340
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100009100]
jne 0x10000735b
rol rcx, 0x10
test cx, 0xffff
jne 0x100007357
ret 0
ror rcx, 0x10
jmp 0x1000076ec
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100009780]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x100009878]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x100007771
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x100009780]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x100007793
mov rax, qword [rsp + 0x88]
mov qword [0x100009878], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x100009818], rax
mov rax, qword [0x100009878]
mov qword [0x1000096f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100009800], rax
mov dword [0x1000096e0], 0xc0000409
mov dword [0x1000096e4], 1
mov rax, qword [0x100009100]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100009108]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100001450]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x100007588
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x1000075d5
cmp rcx, 0xffffffffffffffff
je 0x1000075d5
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1000075cd
cmp dword [rcx + 0x3c], edx
jl 0x1000075cd
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1000075cd
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1000075d5
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1400039d0
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 0x140003a70
jmp 0x140003a5f
jae 0x140003b2f
cmp r8, 0x201
jae 0x140003a70
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x140003ac7
sub r8, rbx
sub rdi, rbx
cmp r8, rdi
jbe 0x140003a9f
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.140019ad0
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 0x140003af0
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140003b9b
mov r8d, r13d
cmp r12, r8
jne 0x140003a50
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140003bcf
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x140003a5f
jmp 0x140003a70
cmp r14, r8
jb 0x140003be9
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.140005ef0
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 0x140003b84
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.140001850
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 0x140003b6f
jmp 0x140003b84
lea rcx, str.internal_error:_entered_unreachable_code_rustc_eeb90cda1969383f56a2637cbd3037bdf598841clibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.14001ae30
jmp 0x140003bfe
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.14001b1e0
ud2
Function at 0x14000b270
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x14001ddb8]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x14000b2a8
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
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 0x14000b306
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x14000b333
test eax, eax
js 0x14000b312
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x14000b329
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 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 + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.140005ca0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140002110
mov ecx, 7
int 0x29
ud2