joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14029d020
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x60
test byte [rdx], 1
mov rbp, r9
mov r14, r8
mov rsi, rcx
je 0x14029d080
mov rbx, qword [rdx + 8]
test rbx, rbx
je 0x14029d082
lea rcx, [rsp + 0x30]
call fcn.14092d9f5
int3
mov eax, 0xfffff019
jmp 0x14029d114
xor ebx, ebx
mov ecx, 0x18
call fcn.140288520
mov rdi, rax
test rax, rax
jne 0x14029d09b
mov eax, 0xfffff027
jmp 0x14029d114
mov qword [rsp + 0x28], 0
lea r8, [0x14029cdc0]
mov r9, rdi
mov dword [rsp + 0x20], 4
mov edx, ebx
mov qword [rax], r14
xor ecx, ecx
mov qword [rax + 8], rbp
call fcn.1402e5978
test rax, rax
jne 0x14029d102
call fcn.1402e2e54
mov rcx, rdi
mov ebx, dword [rax]
call fcn.140288370
test ebx, ebx
je 0x14029d112
cmp ebx, 0xb
je 0x14029d0fb
cmp ebx, 0xd
je 0x14029d0f4
cmp ebx, 0x16
je 0x14029d076
mov eax, 0xfffff01a
jmp 0x14029d114
mov eax, 0xfffff004
jmp 0x14029d114
mov eax, 0xfffff008
jmp 0x14029d114
mov qword [rsi], rax
mov rcx, rax
mov qword [rdi + 0x10], rax
call fcn.1407f44c9
int3
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1402bc2d8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
push rdi
call 0x14095bc15
test rax, rax
je 0x1402bc323
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1402bc323
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1402bc323
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1402bc323
cmp dword [rcx + 0x84], 0xe
jbe 0x1402bc323
cmp dword [rcx + 0xf8], 0
je 0x1402bc323
mov al, 1
jmp 0x1402bc325
xor al, al
add rsp, 0x28
ret
Function at 0x180dab0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.180dab237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180dab0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180dab0c7
add dl, dl
jne 0x180dab0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180dab14e
xor eax, eax
add dl, dl
jne 0x180dab0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180dab205
add dl, dl
jne 0x180dab10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180dab11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180dab128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180dab135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180dab142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180dab0d6
mov eax, 1
add dl, dl
jne 0x180dab15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180dab16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180dab153
sub eax, ebx
mov ebx, 1
jne 0x180dab1a4
mov ecx, 1
add dl, dl
jne 0x180dab186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180dab193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180dab17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180dab0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180dab1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180dab1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180dab1b5
cmp eax, 0x7d00
jae 0x180dab1f3
cmp eax, 0x500
jb 0x180dab1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180dab0d6
cmp eax, 0x7f
ja 0x180dab1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180dab0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180dab22a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x180dab0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140018580
Capabilities:
Manipulate console buffer

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x90
lea rbp, [rsp + 0x80]
mov qword [rbp + 8], 0xfffffffffffffffe
mov word [rbp + 6], dx
mov word [rbp + 4], r8w
test dx, dx
js 0x1400185e3
mov esi, r8d
test r8w, r8w
js 0x14001866a
mov edi, edx
call fcn.14001b5f0
mov rcx, rax
call fcn.14001b550
mov rcx, qword [rax]
shl esi, 0x10
movzx edx, di
or edx, esi
call sub.kernel32.dll_SetConsoleCursorPosition
test eax, eax
je 0x140018705
xor eax, eax
jmp 0x1400186f9
lea rax, [rbp + 6]
mov qword [rbp - 0x60], rax
lea rax, [fcn.14003d270]
mov qword [rbp - 0x58], rax
lea rax, str.Argument_Out_of_Range_Exception_when_setting_cursor_position_to_X:
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
mov qword [rbp - 0x50], 0
lea rax, [rbp - 0x60]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
lea rcx, [rbp - 0x18]
lea rdx, [rbp - 0x50]
call fcn.140037d00
mov rax, qword [rbp - 8]
mov qword [rbp - 0x40], rax
movups xmm0, xmmword [rbp - 0x18]
movaps xmmword [rbp - 0x50], xmm0
mov ecx, 0x18
mov edx, 8
call fcn.1400149d0
test rax, rax
jne 0x1400186d9
mov ecx, 0x18
mov edx, 8
call fcn.140041800
jmp 0x140018728
lea rax, [rbp + 4]
mov qword [rbp - 0x60], rax
lea rax, [fcn.14003d270]
mov qword [rbp - 0x58], rax
lea rax, str.Argument_Out_of_Range_Exception_when_setting_cursor_position_to_Y:
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
mov qword [rbp - 0x50], 0
lea rax, [rbp - 0x60]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
lea rcx, [rbp - 0x18]
lea rdx, [rbp - 0x50]
call fcn.140037d00
mov rax, qword [rbp - 8]
mov qword [rbp - 0x40], rax
movups xmm0, xmmword [rbp - 0x18]
movaps xmmword [rbp - 0x50], xmm0
mov ecx, 0x18
mov edx, 8
call fcn.1400149d0
test rax, rax
je 0x140018719
mov rcx, qword [rbp - 8]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rax], xmm0
lea r8, fcn.140001000
mov cl, 0x27
mov rdx, rax
call fcn.140020dd0
nop
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
call sub.kernel32.dll_GetLastError
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
jmp 0x1400186f9
mov ecx, 0x18
mov edx, 8
call fcn.140041800
ud2
Function at 0x14001f420
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 + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r13d, r13d
cmp r8, 0x201
jae 0x14001f4c0
jmp 0x14001f4af
jae 0x14001f580
cmp r8, 0x201
jae 0x14001f4c0
lea r12, [rbp - 0x58]
mov esi, 0x200
mov r15, r8
jmp 0x14001f518
sub r8, r13
sub rdi, r13
cmp rdi, r8
jae 0x14001f4ef
lea rcx, [rbp + 0x3c8]
mov rdx, r13
call fcn.140040ba0
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r13d, 0xffffffff
cmovb r13, rbx
mov qword [rbp + 0x3d8], r13
mov rdi, rbx
mov r12, qword [rbp + 0x3e8]
mov rsi, r13
mov r15, r13
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r15d
mov rdx, r12
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x14001f541
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14001f5e8
mov r8d, r14d
cmp r15, r8
jne 0x14001f4a0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001f60b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14001f4af
jmp 0x14001f4c0
cmp rsi, r8
jb 0x14001f625
lea rcx, [rbp + 0x3a8]
mov rdx, r12
call fcn.140023cd0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x14001f5d1
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.1400149e0
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 + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rbx, rbx
jne 0x14001f5b9
jmp 0x14001f5d1
lea rcx, [0x140052a9b]
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140041920
jmp 0x14001f63a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140041d10
ud2
Function at 0x1400246f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x140024720
test ecx, ecx
jne 0x140024770
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x14002472c
test ecx, ecx
jne 0x140024770
mov rcx, rdi
call fcn.1400245d0
movzx eax, al
test bpl, bpl
jne 0x140024777
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x140024763.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x1400248e8]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x140024763.2
xor eax, eax
test bpl, bpl
je 0x14002473c
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x1400248c9
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x1400247aa
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x140024829
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x1400247f0
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x14002480b
inc rax
dec rdi
cmp rax, 1
jne 0x1400247d0
jmp 0x140024829
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x14002480b
cmp ebx, 0x5c
je 0x14002480b
inc rax
dec rdi
cmp rax, 1
jne 0x1400247f0
jmp 0x140024829
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x1400248d7
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x140024853
mov al, 9
cmp rdx, 2
je 0x140024857
cmp rdx, 1
jne 0x140024867
cmp byte [r8], 0x2e
jne 0x140024867
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x140024867
mov al, 0xa
jmp 0x140024867
cmp byte [r8], 0x2e
jne 0x140024867
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov qword [rsi + 8], r8
mov qword [rsi + 0x10], rdx
mov byte [rsi + 0x18], al
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x140024763.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x140024763.2
mov ecx, 2
jmp case.0x140024763.2
lea r8, str.library_std_srcpath.rs
call fcn.140041d00
ud2
lea r8, str.library_std_srcpath.rs
call fcn.140041d00
ud2
Function at 0x14002bdf0
Capabilities:
Move file

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov r14, r9
mov r15, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x18]
call fcn.14002f350
mov rbx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x14002bf54
mov rcx, qword [rbp - 8]
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rcx
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x18]
mov r8b, 1
call fcn.14002d500
mov rsi, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
test rdi, rdi
je 0x14002bf09
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x18]
mov rdx, r15
mov r8, r14
call fcn.14002f350
mov rbx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x14002bf3b
mov rcx, qword [rbp - 8]
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rcx
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x18]
mov r8b, 1
call fcn.14002d500
mov rbx, qword [rbp - 0x30]
mov r14, qword [rbp - 0x28]
test r14, r14
je 0x14002bf3b
mov rcx, rdi
mov rdx, r14
mov r8d, 1
call qword [sym.imp.kernel32.dll_MoveFileExW]
test eax, eax
je 0x14002bf0e
test rbx, rbx
je 0x14002beec
add rbx, rbx
mov r8d, 2
mov rcx, r14
mov rdx, rbx
call fcn.1400149e0
test rsi, rsi
je 0x14002bf05
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.1400149e0
xor ebx, ebx
jmp 0x14002bf54
mov rbx, rsi
jmp 0x14002bf54
call qword [sym.imp.kernel32.dll_GetLastError]
mov r15d, eax
shl r15, 0x20
or r15, 2
test rbx, rbx
je 0x14002bf38
add rbx, rbx
mov r8d, 2
mov rcx, r14
mov rdx, rbx
call fcn.1400149e0
mov rbx, r15
test rsi, rsi
je 0x14002bf54
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.1400149e0
mov rax, rbx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
Function at 0x14002c320
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xd8
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0x58], 0x103
mov qword [rsp + 0x60], 0
mov edx, 0xffffffff
cmp r9, rdx
cmovb rdx, r9
mov qword [rsp + 0x78], rcx
lea r9, [rsp + 0x80]
mov qword [rsp + 0x80], rax
test rcx, rcx
cmove r9, rcx
mov qword [rsp + 0x38], r9
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14002c3c4
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x58]
cmp eax, 0xc0000011
jne 0x14002c3d3
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14002c40b
cmp eax, 0x103
je 0x14002c415
test eax, eax
js 0x14002c3f0
mov rax, qword [rsp + 0x60]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x14002c40b
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xd8
pop rdi
pop rsi
ret
mov byte [rsp + 0x54], 0
mov dword [rsp + 0x50], 0
lea rax, [0x140054710]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 1
mov qword [rsp + 0x78], 0
lea rax, str.attempt_to_divide_by_zero_rustc_90c541806f23a127002de5b4038be731ba1458calibrarycore_src_strpattern.rsI
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x68], rax
lea rax, [0x1400393f0]
mov qword [rsp + 0x70], rax
lea rax, [0x140052c40]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 2
mov qword [rsp + 0xa8], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 1
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0xa8]
call fcn.1400234b0
mov rcx, rax
call fcn.14001cec0
mov ecx, 7
int 0x29
ud2
Function at 0x14002c4e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xd8
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0x58], 0x103
mov qword [rsp + 0x60], 0
mov edx, 0xffffffff
cmp r9, rdx
cmovb rdx, r9
mov qword [rsp + 0x78], rcx
lea r9, [rsp + 0x80]
mov qword [rsp + 0x80], rax
test rcx, rcx
cmove r9, rcx
mov qword [rsp + 0x38], r9
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14002c58b
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x58]
cmp eax, 0x103
je 0x14002c5c2
test eax, eax
js 0x14002c59c
mov rax, qword [rsp + 0x60]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14002c5b5
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xd8
pop rdi
pop rsi
ret
mov byte [rsp + 0x54], 0
mov dword [rsp + 0x50], 0
lea rax, [0x140054710]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 1
mov qword [rsp + 0x78], 0
lea rax, str.attempt_to_divide_by_zero_rustc_90c541806f23a127002de5b4038be731ba1458calibrarycore_src_strpattern.rsI
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x68], rax
lea rax, [0x1400393f0]
mov qword [rsp + 0x70], rax
lea rax, [0x140052c40]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 2
mov qword [rsp + 0xa8], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 1
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0xa8]
call fcn.1400234b0
mov rcx, rax
call fcn.14001cec0
mov ecx, 7
int 0x29
ud2
Function at 0x14003c340
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14003c3ba
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14003c3b0
cmp r10, r11
jb 0x14003c453
cmp r10, rdx
ja 0x14003c467
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14003c3b2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14003c390
jmp 0x14003c427
ja 0x14003c3ba
mov r11, r10
cmp rax, r8
jne 0x14003c362
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14003c42b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14003c400
mov r8, r10
sub ecx, r9d
jns 0x14003c41e
jmp 0x14003c42d
cmp r10, rdx
je 0x14003c439
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14003c42d
xor al, 1
cmp r8, rdx
jne 0x14003c3e0
jmp 0x14003c42d
xor eax, eax
jmp 0x14003c42d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140041920
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140041d20
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140041d10
ud2

Function at 0x14003ea40
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14003ea8a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003ea8a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003ea8a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003ea8a
cmp dword [rcx + 0x84], 0xe
jbe 0x14003ea8a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003ea8c
xor al, al
add rsp, 0x28
ret
Function at 0x1400406e0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x140040744
mov rsi, rax
lea rdx, [0x1400522b9]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140040744
mov rbx, rax
lea rdx, [0x1400522c7]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140040744
mov rsi, rax
mov eax, 1
jmp 0x1400407d0
lea rcx, [0x1400522db]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x140040851
mov rdi, rax
lea rdx, [0x1400522e5]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140040851
mov rbx, rax
lea rdx, [0x1400522f8]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140040851
mov rsi, rax
lea rdx, [0x14005230c]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140040851
mov rdi, rax
lea rcx, [rbp - 0x28]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x140040851
mov rbx, qword [rbp - 0x28]
xor eax, eax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rdi
mov ecx, 0x20
mov edx, 8
call fcn.1400149d0
test rax, rax
je 0x14004086b
mov rcx, rax
movups xmm0, xmmword [rbp - 0x28]
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
xor eax, eax
lock cmpxchg qword [0x140069200], rcx
je 0x140040845
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
jne 0x14004082e
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 8]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 0x20
mov r8d, 8
mov rcx, qword [rbp - 8]
call fcn.1400149e0
mov rcx, rsi
mov rax, rcx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_C:Usersmaxle.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.9_src_thread_parkerwindowsmod.rs
lea r8, [0x140052260]
mov edx, 0x5b
call fcn.140040910
jmp 0x14004087a
mov ecx, 0x20
mov edx, 8
call fcn.140041800
ud2
Function at 0x140001480
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14003b410]
mov dword [rax], 1
mov rax, qword [0x14003b420]
mov dword [rax], 1
mov rax, qword [0x14003b430]
mov dword [rax], 1
mov rax, qword [0x14003b400]
mov dword [rax], 1
mov rax, qword [0x14003b2b0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014de
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14000150a
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001530
cmp eax, 0x20b
je 0x140001557
jmp 0x140001586
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001543
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001572
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140006680
Capabilities:
Read file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x20
mov r13, rcx
mov rcx, rdx
mov edx, 1
mov rbx, r8
mov r9, r13
call sym.fread
mov r12, rax
cmp rbx, rax
je 0x1400066b3
mov rcx, r13
call sym.ferror
test eax, eax
jne 0x1400066c0
mov rax, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
ret
mov rcx, r13
call sym.checkErr__stdZsyncio_u165.part.0
mov rax, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
ret