joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4722e0
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
sub rsp, 0xc8
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
cmp word [0x00400000], 0x5a4d
je 0x47231d
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
lea rdi, [0x00400000]
jmp 0x4723ab
movsxd rax, dword [0x0040003c]
lea rdi, [0x00400000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x472341
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x4723ab
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x472388
cmp ecx, 0x20b
je 0x472360
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x4723ab
cmp dword [rax + 0x84], 0xe
ja 0x472374
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x4723ab
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
jmp 0x4723ab
cmp dword [rax + 0x74], 0xe
ja 0x472399
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x4723ab
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
mov ecx, 2
call qword [sym.imp.msvcrt.dll___set_app_type]
mov qword [0x0049f328], 0xffffffffffffffff
mov qword [0x0049f330], 0xffffffffffffffff
mov rcx, qword [sym.imp.msvcrt.dll__fmode]
mov eax, dword [0x0049cd84]
mov dword [rcx], eax
mov rcx, qword [sym.imp.msvcrt.dll__commode]
mov eax, dword [0x0049cd80]
mov dword [rcx], eax
call 0x53f000
cmp dword [0x0049c720], 0
jne 0x472405
lea rcx, [0x00472590]
call qword [sym.imp.msvcrt.dll___setusermatherr]
lea rdx, [0x00474700]
lea rcx, [0x004746f8]
call sub.msvcrt.dll__initterm
mov r11d, dword [0x0049cd7c]
mov dword [rsp + 0xd8], r11d
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x0049cd78]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x3c]
call qword [sym.imp.msvcrt.dll___getmainargs]
lea rdx, [0x004746f0]
lea rcx, [0x00474698]
call sub.msvcrt.dll__initterm
mov r11, qword [sym.imp.msvcrt.dll__acmdln]
mov r8, qword [r11]
mov qword [rsp + 0x30], r8
cmp byte [r8], 0x22
jne 0x4724a6
nop
nop
inc r8
mov qword [rsp + 0x30], r8
movzx eax, byte [r8]
test al, al
je 0x472496
cmp al, 0x22
je 0x472496
jmp 0x472480
cmp byte [r8], 0x22
jne 0x4724b6
inc r8
mov qword [rsp + 0x30], r8
jmp 0x4724b6
cmp byte [r8], 0x20
jbe 0x4724b6
inc r8
mov qword [rsp + 0x30], r8
jmp 0x4724a6
movzx eax, byte [r8]
test al, al
je 0x4724cc
cmp al, 0x20
ja 0x4724cc
inc r8
mov qword [rsp + 0x30], r8
jmp 0x4724b6
test byte [rsp + 0x8c], 1
je 0x4724e1
movzx r9d, word [rsp + 0x90]
jmp 0x4724e7
mov r9d, 0xa
xor edx, edx
mov rcx, rdi
call fcn.0046d44c
mov edi, eax
mov dword [rsp + 0x38], eax
test ebx, ebx
jne 0x472503
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
call qword [sym.imp.msvcrt.dll__cexit]
jmp 0x472527
mov eax, edi
jmp 0x472530
mov rbx, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
add rsp, 0xc8
ret
Function at 0x140008200
Capabilities:
Manipulate console buffer

Disassembly:
push rsi
sub rsp, 0xa0
mov word [rsp + 0x2c], dx
mov word [rsp + 0x2e], r8w
test dx, dx
js 0x140008244
test r8w, r8w
js 0x140008292
mov rcx, qword [rcx + 0x10]
shl r8d, 0x10
movzx edx, dx
or edx, r8d
call sub.kernel32.dll_SetConsoleCursorPosition
test eax, eax
je 0x140008302
xor eax, eax
add rsp, 0xa0
pop rsi
ret
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x30], rax
lea rax, [0x140035510]
mov qword [rsp + 0x38], rax
lea rax, str.Argument_Out_of_Range_Exception_when_setting_cursor_position_to_X:
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
lea rsi, [rsp + 0x70]
jmp 0x1400082e1
lea rax, [rsp + 0x2e]
mov qword [rsp + 0x30], rax
lea rax, [0x140035510]
mov qword [rsp + 0x38], rax
lea rax, str.Argument_Out_of_Range_Exception_when_setting_cursor_position_to_Y:
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
lea rsi, [rsp + 0x88]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400309a0
mov cl, 0x27
mov rdx, rsi
call fcn.140006010
nop
add rsp, 0xa0
pop rsi
ret
call fcn.14001d5b0
shl rax, 0x20
lea rcx, [rax + 2]
call fcn.140008070
call fcn.14001d5b0
shl rax, 0x20
or rax, 2
add rsp, 0xa0
pop rsi
ret
Function at 0x140011d20
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 0x140011dc0
jmp 0x140011daf
jae 0x140011e7f
cmp r8, 0x201
jae 0x140011dc0
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x140011e17
sub r8, rbx
sub rdi, rbx
cmp r8, rdi
jbe 0x140011def
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.1400387b0
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 0x140011e40
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x140011eeb
mov r8d, r13d
cmp r12, r8
jne 0x140011da0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140011f1f
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x140011daf
jmp 0x140011dc0
cmp r14, r8
jb 0x140011f39
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.140015580
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 0x140011ed4
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.140005cc0
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 0x140011ebf
jmp 0x140011ed4
lea rcx, str.internal_error:_entered_unreachable_code0
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.140039d90
jmp 0x140011f4e
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.14003a140
ud2
Function at 0x140019200
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x10b8
call fcn.1400362b0
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1020], xmm6
mov qword [rbp + 0x1018], 0xfffffffffffffffe
mov qword [rbp + 0x1008], rdx
mov r15, rcx
lea r12, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, r12
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xorps xmm6, xmm6
lea r13, [rbp + 0xffc]
lea rbx, [0x14001ef90]
lea r14, [rbp + 0xfb0]
mov rsi, qword [sym.imp.kernel32.dll_WriteFileEx]
mov rdi, qword [sym.imp.kernel32.dll_SleepEx]
mov qword [rbp + 0x1010], r15
mov r8d, 0x1000
mov rcx, r15
mov rdx, r12
call case.0x1400167e9.298
mov r15, rdx
mov qword [rbp + 0xfd8], rax
mov qword [rbp + 0xfe0], rdx
test rax, rax
jne 0x1400193f0
test r15, r15
je 0x1400193bc
cmp r15, 0x1000
ja 0x140019412
xor r12d, r12d
nop word cs:[rax + rax]
mov r8d, r15d
sub r8d, r12d
lea rdx, [r12 + rbp]
add rdx, 0xffffffffffffffb0
mov dword [rbp + 0xffc], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r13
mov qword [rsp + 0x20], rbx
mov rcx, qword [rbp + 0x1008]
mov r9, r14
call rsi
test eax, eax
je 0x140019390
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call rdi
cmp dword [rbp + 0xffc], 0
je 0x140019320
mov ecx, dword [rbp + 0x1000]
mov eax, dword [rbp + 0x1004]
mov rdx, rcx
shl rdx, 0x20
or rdx, 2
xor r8d, r8d
test ecx, ecx
setne r8b
cmove rdx, rax
mov qword [rbp + 0xfe8], r8
mov qword [rbp + 0xff0], rdx
jne 0x1400193b0
add r12, rax
cmp r12, r15
je 0x140019380
jbe 0x1400192d0
jmp 0x1400193fe
mov r15, qword [rbp + 0x1010]
lea r12, [rbp - 0x50]
jmp 0x14001927e
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0xfe8], 1
mov qword [rbp + 0xff0], rax
lea rcx, [rbp + 0xff0]
call fcn.14000c320
mov rsi, qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1010]
call rsi
mov rcx, qword [rbp + 0x1008]
call rsi
movaps xmm6, xmmword [rbp + 0x1020]
add rsp, 0x10b8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp + 0xfe0]
call fcn.14000c320
jmp 0x1400193bc
lea r8, str.library_std_src_syspalwindowspipe.rs
mov rcx, r12
mov rdx, r15
call fcn.14003a1b0
jmp 0x140019426
lea r8, str.library_std_src_syspalwindowspipe.rs
mov edx, 0x1000
mov rcx, r15
call fcn.14003a140
ud2
Function at 0x14001d370
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x14003ff08]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x14001d3a8
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_NtReadFile]
cmp eax, 0x103
jne 0x14001d3ff
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0xc0000011
jne 0x14001d40c
xor edx, edx
xor eax, eax
jmp 0x14001d436
cmp eax, 0x103
je 0x14001d440
test eax, eax
js 0x14001d41f
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x14001d436
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, [0x14003ff68]
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.140014e30
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.14000c950
mov ecx, 7
int 0x29
ud2

Function at 0x14001d490
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x14003ff08]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x14001d4c8
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 0x14001d526
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x14001d553
test eax, eax
js 0x14001d532
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x14001d549
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, [0x14003ff68]
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.140014e30
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.14000c950
mov ecx, 7
int 0x29
ud2
Function at 0x14001e080
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x158
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xc0], xmm6
mov qword [rbp + 0xb8], 0xfffffffffffffffe
mov qword [rbp + 0x70], rcx
mov byte [rbp + 0xb5], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x64], ecx
mov r12d, 8
mov sil, 1
xorps xmm6, xmm6
lea rbx, [rbp + 0x20]
mov r13, qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
xor edi, edi
xor eax, eax
mov qword [rbp - 8], rax
nop word cs:[rax + rax]

Function at 0x14001f480
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rdi, rdx
cmp qword [rdx], 0
jne 0x14001f5c3
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
je 0x14001f598
sub r8, rdx
add rdx, qword [rbx + 8]
mov rax, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp r8, rcx
cmovae r8, rcx
mov dword [rbp - 0x38], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x14001f500
mov eax, dword [rbp - 0x38]
mov ecx, 2
test rax, rax
je 0x14001f542
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
jmp 0x14001f546
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x38], rax
movabs rcx, 0xffffffff00000000
and rcx, rax
movabs rdx, 0x6d00000000
cmp rcx, rdx
je 0x14001f54a
movabs rdx, 0x3e500000000
cmp rcx, rdx
jne 0x14001f574
mov rax, rbp
jmp 0x14001f556
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x14001f57a
mov qword [rbp], 1
lea rax, [rbp - 8]
mov qword [rax], 0
lea rcx, [rbp - 0x38]
call fcn.14000c320
mov rcx, qword [rbp]
mov rax, qword [rbp - 8]
cmp rcx, 2
jne 0x14001f585
mov qword [rsi + 8], rax
mov al, 1
mov byte [rsi], al
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
test rcx, rcx
jne 0x14001f4e9
mov ecx, 1
jmp 0x14001f4f3
test r8, r8
mov ecx, 0x10
mov eax, 1
cmove rax, rcx
mov rcx, rbx
mov rdx, r8
mov r8, rax
call fcn.140038850
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x14001f4b1
mov qword [rbp - 0x38], 0
lea rdx, [rbp - 0x38]
mov rcx, rdi
call fcn.140038720
int3
Function at 0x140024c10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.140026d40
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
movabs r14, 0x8000000000000000
cmp rcx, r14
jne 0x140024c4e
mov qword [rbp - 8], rax
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rdx
lea rcx, [rbp - 0x10]
lea rdx, [rbp - 0x40]
call fcn.14001c3e0
mov rdi, qword [rbp - 0x10]
cmp rdi, r14
jne 0x140024c8d
lea rcx, [rbp - 8]
call fcn.14000c320
mov qword [rsi], r14
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov rbx, qword [rbp - 8]
mov r15, qword [rbp]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
add word [rax], ax

Function at 0x140026720
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
in al, dx
push rax
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x1400541c1]
mov ecx, 0x10
adc byte [rax], al
add byte [rax], al
mov edx, 8
call fcn.140005cb0
std
dec dword [rax - 0x7b]
ror byte [rdi], 0x84
lodsb al, byte [rsi]
add byte [rax], al
invalid
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov dword [rax + 8], edi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400268c0]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
adc eax, 0x14bbf
mov rdx, rax
test rax, rax
jne 0x1400267fd
invalid
mov rax, qword [rbx]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], rbx
pop rbp
invalid
mov rax, qword [rbx + 8]
mov qword [rbp - 0x10], rax
mov rax, qword [rax]
test rax, rax
test eax, eax
je case.0x140017997.316
mov rcx, qword [rbp - 0x18]
call rax
mov rcx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
test rdx, rdx
invalid
je case.0x1400175f5.510
invalid
mov r8, qword [rax + 0x10]
call fcn.140005cc0
mov edx, 0x10
mov r8d, 8
mov eax, 8
mov rcx, qword [rbp - 0x20]
call fcn.140005cc0
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rsi
pop rbp
ret
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.140039be0
add dword [rax], eax
ud2
Function at 0x1400345d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x14003465a
mov rax, rdx
mov rdx, qword [rbp + 0x50]
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 0x140034650
cmp r10, r11
jb 0x1400346d6
cmp r10, rdx
ja 0x1400346e8
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x140034652
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140034630
jmp 0x1400346b7
ja 0x14003465a
mov r11, r10
cmp rax, r8
jne 0x1400345f7
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x1400346bb
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140034690
mov r8, r10
sub ecx, r9d
jns 0x1400346ae
jmp 0x1400346bd
cmp r10, rdx
je 0x1400346ca
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1400346bd
xor al, 1
cmp r8, rdx
jne 0x140034670
jmp 0x1400346bd
xor eax, eax
jmp 0x1400346bd
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140039c70
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14003a1b0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14003a140
int3

Function at 0x1400367e4
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov qword [rbp - 8], 0xfffffffffffffffe
lea rcx, [0x14003d325]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x140038303
mov rdi, rax
lea rdx, [0x14003d346]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140038303
mov rsi, rax
lea rdx, [0x14003d354]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140038303
mov r14, rax
xor ebx, ebx
jmp 0x140038389
lea rcx, [0x14003d2e0]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1400383fa
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400383fa
mov rdi, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400383fa
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400383fa
mov rsi, rax
lea rcx, [rbp - 0x48]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x1400383fa
mov r14, qword [rbp - 0x48]
movzx eax, byte [0x1400541c1]
mov ecx, 0x18
sbb byte [rax], al
add byte [rax], al
mov edx, 8
call fcn.140005cb0
test rax, rax
je 0x14003842c
mov rdi, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
xor eax, eax
lock cmpxchg qword [0x1400541d8], rdi
je 0x1400383ec
mov rsi, rax
cmp qword [rdi], 0
je 0x1400383d6
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.140005cc0
mov rdi, rsi
mov rax, rdi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rax, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 1
mov qword [rbp - 0x38], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
lea rdx, str.C:UsersAbraham.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.10_src_thread_parkerwindowsmod.rs
lea rcx, [rbp - 0x48]
call fcn.140039cf0
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rbx
mov ecx, 8
mov edx, 0x18
call fcn.140039be0
ud2
Function at 0x140001a50
Capabilities:
Listen for remote procedure calls

Disassembly:
push rbp
push r12
sub rsp, 0x78
lea rbp, [rsp + 0x70]
xor edx, edx
movabs rax, 0x6300610063006e
mov qword [rbp - 0x40], rax
movabs rax, 0x70006e005f006e
mov qword [rbp - 0x38], rax
xor eax, eax
mov word [rbp - 0x30], ax
movabs rax, 0x7000690070005c
mov qword [rbp - 0x20], rax
movabs rax, 0x760073005c0065
mov qword [rbp - 0x18], rax
movabs rax, 0x6c007400630063
mov qword [rbp - 0x10], rax
mov word [rbp - 8], dx
call qword [sym.imp.kernel32.dll_CreateThreadpoolCleanupGroup]
mov qword [0x14001a080], rax
test rax, rax
je 0x140001b50
lea rcx, [rbp - 0x40]
xor r9d, r9d
lea r8, [rbp - 0x20]
xor edx, edx
call qword [sym.imp.rpcrt4.dll_RpcServerUseProtseqEpW]
mov r12d, eax
test eax, eax
je 0x140001b00
test byte [0x14001a020], 2
jne 0x140001bd0
mov eax, r12d
add rsp, 0x78
pop r12
pop rbp
ret
mov rcx, qword [0x14001a600]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.rpcrt4.dll_RpcServerRegisterIf]
mov r12d, eax
test eax, eax
je 0x140001b78
test byte [0x14001a020], 2
je 0x140001aeb
mov dword [rsp + 0x20], eax
lea r9, str.RpcServerRegisterIf_failed_with_error__lu_n
lea r8, str.RPC_Init
mov ecx, 1
lea rdx, [0x14001a020]
call sym.wine_dbg_log.constprop.0
jmp 0x140001aeb
test byte [0x14001a020], 2
jne 0x140001c00
mov rax, qword gs:[0x30]
mov r12d, dword [rax + 0x68]
mov eax, r12d
add rsp, 0x78
pop r12
pop rbp
ret
mov r8d, 1
mov edx, 0x4d2
mov ecx, 1
call qword [sym.imp.rpcrt4.dll_RpcServerListen]
mov r12d, eax
test eax, eax
je 0x140001c38
test byte [0x14001a020], 2
je 0x140001aeb
mov dword [rsp + 0x20], eax
lea r9, str.RpcServerListen_failed_with_error__lu_n
lea r8, str.RPC_Init
mov ecx, 1
lea rdx, [0x14001a020]
call sym.wine_dbg_log.constprop.0
jmp 0x140001aeb
mov dword [rsp + 0x20], eax
lea r9, str.RpcServerUseProtseq_failed_with_error__lu_n
lea r8, str.RPC_Init
mov ecx, 1
lea rdx, [0x14001a020]
call sym.wine_dbg_log.constprop.0
mov eax, r12d
add rsp, 0x78
pop r12
pop rbp
ret
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x68]
lea r9, [0x14001b4d0]
lea r8, str.RPC_Init
mov ecx, 1
lea rdx, [0x14001a020]
mov dword [rsp + 0x20], eax
call sym.wine_dbg_log.constprop.0
jmp 0x140001b5d
mov r9d, 8
lea r8, [0x14001a150]
mov edx, 0x3e8
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtSetInformationProcess]
jmp 0x140001aeb