joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401ee3b0
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x18], r8d
push rbp
push rdi
push r13
push r14
push r15
sub rsp, 0x50
mov ebp, dword [rdx + 0x10]
mov r14, r9
mov r13, qword [rsp + 0xa0]
mov eax, r8d
mov rdi, rcx
test ebp, ebp
je 0x1401ee3e4
mov r15, qword [rcx + 0x18]
jmp 0x1401ee3e7
mov r15, r14
mov qword [rsp + 0x88], r12
test eax, eax
jne 0x1401ee439
test ebp, ebp
jne 0x1401ee439
xor r12d, r12d
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x48], r12d
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov r8d, r13d
mov eax, dword [rcx + 0x24]
mov rdx, r15
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
call sub.bcrypt.dll_BCryptDecrypt
jmp 0x1401ee479
xor r12d, r12d
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x48], r12d
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov r8d, r13d
mov eax, dword [rcx + 0x24]
mov rdx, r15
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
call sub.bcrypt.dll_BCryptEncrypt
mov ebx, eax
test eax, eax
js 0x1401ee591
mov ecx, dword [rsp + 0xa0]
mov qword [rsp + 0x80], rsi
call fcn.1401ff094
mov rsi, rax
test rax, rax
je 0x1401ee584
cmp dword [rsp + 0x90], 0
jne 0x1401ee4f6
test ebp, ebp
jne 0x1401ee4f6
mov ecx, dword [rsp + 0xa0]
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x48], r12d
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov r8d, r13d
mov eax, dword [rdi + 0x24]
mov rdx, r15
mov dword [rsp + 0x38], ecx
mov rcx, qword [rdi]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], eax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x20], rax
call sub.bcrypt.dll_BCryptDecrypt
jmp 0x1401ee539
mov rcx, qword [rdi]
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x48], r12d
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov r8d, r13d
mov eax, dword [rsp + 0xa0]
mov rdx, r15
mov dword [rsp + 0x38], eax
mov eax, dword [rdi + 0x24]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], eax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x20], rax
call sub.bcrypt.dll_BCryptEncrypt
mov ebx, eax
test eax, eax
js 0x1401ee57a
mov rcx, r14
test ebp, ebp
je 0x1401ee56a
mov r9, r13
mov r8, rsi
mov rdx, r14
call fcn.1401e55f0
mov edx, dword [rdi + 0x2c]
mov rcx, qword [rdi + 0x18]
call fcn.1401e4e80
mov rcx, rsi
call fcn.1401ff130
jmp 0x1401ee589
mov r8d, dword [rsp + 0xa0]
mov rdx, rsi
call fcn.140215ea0
mov rcx, rsi
call fcn.1401ff130
jmp 0x1401ee589
mov ebx, 0xc0000017
mov rsi, qword [rsp + 0x80]
mov r12, qword [rsp + 0x88]
sar ebx, 0x1f
mov eax, ebx
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret

Function at 0x1401ef3b0
Capabilities:
Hash data via bcrypt

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
xor r9d, r9d
call sub.bcrypt.dll_BCryptHashData
sar eax, 0x1f
add rsp, 0x28
ret
Function at 0x1401ef810
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x68
mov r13d, r9d
mov r14, rdx
cmp rdx, 0x14
jne 0x1401ef842
mov rbx, qword [0x14035bfb0]
lea rax, str.SHA1
jmp 0x1401ef886
cmp r14, 0x20
jne 0x1401ef858
mov rbx, qword [0x14035bfb8]
lea rax, str.SHA256
jmp 0x1401ef886
cmp r14, 0x30
jne 0x1401ef86e
mov rbx, qword [0x14035bfc0]
lea rax, str.SHA384
jmp 0x1401ef886
cmp r14, 0x40
jne 0x1401efa87
mov rbx, qword [0x14035bfc8]
lea rax, str.SHA512
mov esi, dword [rsp + 0xc8]
mov ecx, esi
mov qword [rsp + 0x50], rax
call fcn.1401ff094
mov rbp, rax
test rax, rax
je 0x1401efa87
mov rcx, r14
mov qword [rsp + 0xb8], r12
call fcn.1401ff094
mov r12, rax
mov rcx, rbp
test rax, rax
jne 0x1401ef8cf
call fcn.1401ff130
lea eax, [r12 - 1]
jmp 0x1401ef9a3
mov rdx, qword [rsp + 0xc0]
mov r8, rsi
mov qword [rsp + 0x60], r15
call fcn.140215ea0
xor edi, edi
lea rax, [rsp + 0x44]
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x40]
lea rdx, str.HashDigestLength
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea r9d, [rdi + 4]
call sub.bcrypt.dll_BCryptGetProperty
test eax, eax
js 0x1401ef989
cmp dword [rsp + 0x40], r14d
jne 0x1401ef989
lea rax, [rsp + 0x44]
mov dword [rsp + 0x28], edi
lea r9d, [rdi + 4]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0xa8]
mov rcx, rbx
lea rdx, str.ObjectLength
call sub.bcrypt.dll_BCryptGetProperty
test eax, eax
js 0x1401ef989
mov ecx, dword [rsp + 0xa8]
call fcn.1401ff094
mov r15, rax
test rax, rax
je 0x1401ef989
mov r9d, dword [rsp + 0xa8]
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x30], edi
mov r8, rax
mov dword [rsp + 0x28], edi
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call sub.bcrypt.dll_BCryptCreateHash
test eax, eax
jns 0x1401ef9b8
mov rcx, r15
call fcn.1401ff130
mov rcx, rbp
call fcn.1401ff130
mov rcx, r12
call fcn.1401ff130
mov eax, 0xffffffff
mov r15, qword [rsp + 0x60]
mov r12, qword [rsp + 0xb8]
add rsp, 0x68
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rdi, qword [rsp + 0x48]
xor r9d, r9d
mov ebx, dword [rsp + 0x40]
mov rcx, rdi
mov r8d, esi
mov rdx, rbp
call sub.bcrypt.dll_BCryptHashData
xor r9d, r9d
mov r8d, ebx
mov rdx, r12
mov rcx, rdi
mov esi, eax
call sub.bcrypt.dll_BCryptFinishHash
mov rcx, rdi
mov ebx, eax
call sub.bcrypt.dll_BCryptDestroyHash
mov rcx, r15
call fcn.1401ff130
or esi, ebx
mov rcx, rbp
sar esi, 0x1f
call fcn.1401ff130
test esi, esi
jne 0x1401ef991
mov rcx, r13
call fcn.1401ff094
mov rdi, rax
test rax, rax
je 0x1401ef991
mov rdx, qword [rsp + 0xb0]
mov r8, r13
mov rcx, rax
call fcn.140215ea0
mov ecx, dword [rsp + 0xd0]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x30], ecx
test cl, 2
mov rcx, qword [rsp + 0xa0]
mov eax, 0
cmove rdx, rax
mov dword [rsp + 0x28], r13d
mov r9d, r14d
mov qword [rsp + 0x20], rdi
mov r8, r12
mov rcx, qword [rcx]
call sub.bcrypt.dll_BCryptVerifySignature
mov rcx, r12
mov ebx, eax
call fcn.1401ff130
mov rcx, rdi
call fcn.1401ff130
sar ebx, 0x1f
mov eax, ebx
jmp 0x1401ef99e
mov eax, 0xffffffff
add rsp, 0x68
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401efaa0
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x28
mov r8d, edx
xor r9d, r9d
mov rdx, rcx
mov rcx, qword [0x14035bfa0]
call sub.bcrypt.dll_BCryptGenRandom
sar eax, 0x1f
add rsp, 0x28
ret
Function at 0x1401f9d20
Capabilities:
Parse pe header

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

Function at 0x140205da4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140205ba0

Function at 0x14020a6e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14035b8d0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14020a737
cmp word [rdx], r13w
jne 0x14020a737
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14020a73c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14020a861
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14020a882
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14020a775
mov rdx, r9
mov word [rbx], cx
jmp 0x14020a79c
cmp r9, r8
jae 0x14020a7ac
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14020a756
jmp 0x14020a861
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x14020a856
cmp dword [rsp + 0x80], esi
je 0x14020a856
lea r8, [0x14035b8d0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14020a82e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14020a7fe
mov word [rbx], r13w
jmp 0x14020a85e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14020a80b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14020a85e
cmp word [rsp + 0x70], r13w
jne 0x14020a83b
cmp rbx, r14
je 0x14020a7f8
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14020b4a8
cmp word [rsp + 0x70], r13w
je 0x14020a861
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14035b8d0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14020a85b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14020a861
Function at 0x14020d03c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14020d052
mov al, 1
jmp 0x14020d0b2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14020d063
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14020d0b0
mov ecx, dword [rcx + 0x18]
nop
call fcn.14020f97c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14020d0b0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.kernel32.dll_SetFilePointerEx]
test eax, eax
je 0x14020d0b0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetFileSizeEx]
test eax, eax
je 0x14020d0b0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14020d0b2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14020ee68
Capabilities:
Query environment variable

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
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14020ee98
xor eax, eax
jmp 0x14020ef5b
mov rbp, rbx
cmp word [rax], si
je 0x14020eebd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14020eea4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14020eea0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14020ed88
movsxd r14, eax
test eax, eax
jne 0x14020eefb
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
jmp 0x14020ee91
mov rcx, r14
call fcn.1402068d4
mov rdi, rax
test rax, rax
jne 0x14020ef14
xor ecx, ecx
call fcn.140206934
jmp 0x14020eef0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14020ed88
test eax, eax
jne 0x14020ef45
mov rcx, rdi
call fcn.140206934
jmp 0x14020ef4f
xor ecx, ecx
call fcn.140206934
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov rax, rsi
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 0x140214748
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140209aac
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1402147d2
cmp byte [rbp - 0x21], r15b
je 0x1402147cd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140214808
call fcn.140207190
test eax, eax
jne 0x1402147f4
cmp byte [rbp - 0x21], r15b
je 0x1402147ec
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140214808
cmp byte [rbp - 0x21], r15b
je 0x140214805
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14020d714
test eax, eax
jne 0x1402148a8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140209aac
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140214847
cmp byte [rbp - 0x21], r15b
je 0x14021487c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14021487c
call fcn.140207190
test eax, eax
jne 0x140214868
cmp byte [rbp - 0x21], r15b
je 0x140214861
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14021487c
cmp byte [rbp - 0x21], r15b
je 0x140214879
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14020d714
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1402148a8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1402148ab
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1402148b9
mov rcx, rdi
call fcn.140206934
cmp byte [rbp + 0x3f], r15b
je 0x1402148c8
mov rcx, qword [rbp + 0x27]
call fcn.140206934
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140215580
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.14020b4a8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14020b4a8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1402156d0
cmp rax, 0xffffffffffffffff
je 0x1402156d0
xor edi, edi
test rbp, rbp
jle 0x14021567b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14020d688
mov rbx, rax
test rax, rax
jne 0x140215608
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140215671
mov edx, 0x8000
mov ecx, r14d
call fcn.140205e20
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.14020cb40
cmp eax, 0xffffffff
je 0x140215651
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140215618
mov edx, r15d
mov ecx, r14d
call fcn.140205e20
jmp 0x140215671
cmp byte [rsi + 0x38], dil
je 0x140215668
cmp dword [rsi + 0x34], 5
jne 0x140215668
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140215671
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140206934
jmp 0x1402156e4
jns 0x1402156e4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14020b4a8
cmp rax, 0xffffffffffffffff
jne 0x14021569c
cmp byte [rsi + 0x30], dil
je 0x1402156e4
mov edi, dword [rsi + 0x2c]
jmp 0x1402156e4
mov ecx, r14d
call fcn.14020f97c
mov rcx, rax
call qword [sym.imp.kernel32.dll_SetEndOfFile]
test eax, eax
jne 0x1402156e4
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 0x1402156e4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1402156dd
mov eax, dword [rsi + 0x2c]
jmp 0x1402156e2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14020b4a8
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 0x140215d30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140215d58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140215d58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14021eac0
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, [0x1402d2c4d]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14021eb21
mov rdi, rax
lea rdx, [0x1402d2c6e]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14021eb21
mov rsi, rax
lea rdx, [0x1402d2c7c]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14021eb21
mov rdi, rax
xor ebx, ebx
jmp 0x14021eba7
lea rcx, [0x1402d2c08]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14021ec1f
mov rsi, rax
lea rdx, [0x1402d2c12]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14021ec1f
mov rdi, rax
lea rdx, [0x1402d2c25]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14021ec1f
mov rbx, rax
lea rdx, [0x1402d2c39]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14021ec1f
mov rsi, rax
lea rcx, [rbp - 0x40]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x14021ec1f
mov rdi, qword [rbp - 0x40]
movzx eax, byte [0x14035abc1]
mov ecx, 0x18
mov edx, 8
call fcn.140024620
test rax, rax
je 0x14021ec54
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
xor eax, eax
lock cmpxchg qword [0x14035ac20], rcx
je 0x14021ec13
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
je 0x14021ebfc
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.140024630
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, [0x1402d2c08]
mov qword [rbp - 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
lea rdx, str.C:Users_root.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.10_src_thread_parkerwindowsmod.rs
lea rcx, [rbp - 0x40]
call fcn.1402215c0
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
mov ecx, 8
mov edx, 0x18
call fcn.1402213a0
ud2
Function at 0x14021f9f0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, [0x1402d425d]
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x14021fa4e
mov rdi, rax
lea rdx, [0x1402d427e]
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14021fa4e
mov rsi, rax
lea rdx, [0x1402d428c]
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14021fa4e
mov rdi, rax
xor ebx, ebx
jmp 0x14021fad0
lea rcx, [0x1402d4218]
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x14021fb43
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14021fb43
mov rdi, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14021fb43
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14021fb43
mov rsi, rax
lea rcx, [rbp - 0x18]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x14021fb43
mov rdi, qword [rbp - 0x18]
movzx eax, byte [0x14035abc1]
mov ecx, 0x18
mov edx, 8
call fcn.140024620
test rax, rax
je 0x14021fb48
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
xor eax, eax
lock cmpxchg qword [0x14035ac38], rcx
je 0x14021fb37
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
je 0x14021fb20
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_CloseHandle
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 8]
call fcn.140024630
mov rcx, rsi
mov rax, rcx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
call fcn.14021f9c0
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
mov ecx, 8
mov edx, 0x18
call fcn.1402213a0
ud2

Function at 0x140220470
Capabilities:
Resolve dns

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov r14, r9
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1401d17c0
mov rdx, qword [rsp + 0x30]
movabs rax, 0x8000000000000000
cmp rdx, rax
jne 0x1402204fb
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x14022052e
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x140220543
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
test rdx, rdx
je 0x140220563
mov rcx, qword [rsp + 0x38]
mov r8d, 1
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140024630
mov rcx, qword [r14]
mov rax, qword [rsp + 0x28]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rdi], 0
test rbx, rbx
je 0x140220563
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.140024630
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140001827
Capabilities:
Enumerate processes

Disassembly:
push rbp
sub rsp, 0x1b0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x140], rcx
mov qword [rbp + 0x120], 0
mov dword [rbp - 0x10], 0x130
mov edx, 0
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0x128], rax
lea rdx, [rbp - 0x10]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
cmp eax, 1
sete al
test al, al
je 0x1400019c4
jmp 0x1400019a3
mov rax, qword [rbp + 0x140]
lea rdx, [rbp - 0x10]
lea rcx, [rdx + 0x2c]
mov rdx, rax
call sub.msvcrt.dll__stricmp
test eax, eax
sete al
test al, al
je 0x1400019a3
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call rax
mov ecx, eax
lea rax, [rbp - 0x14]
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
call rax
mov eax, dword [rbp - 8]
mov ecx, eax
call fcn.140001701
mov edx, eax
mov eax, dword [rbp - 0x14]
cmp edx, eax
sete al
test al, al
je 0x1400019a3
mov qword [rbp - 0x28], 0
mov eax, dword [rbp - 8]
mov ecx, eax
call fcn.1400014a4
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x60], 0x30
mov qword [rbp - 0x58], 0
mov dword [rbp - 0x48], 0
mov qword [rbp - 0x50], 0
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov r10, qword [0x140132080]
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x60]
lea rax, [rbp + 0x120]
mov r9, rcx
mov r8, rdx
mov edx, 0x1fffff
mov rcx, rax
call r10
mov rax, qword [rbp + 0x120]
test rax, rax
je 0x140001987
mov rax, qword [rbp + 0x120]
cmp rax, 0xffffffffffffffff
je 0x140001987
mov rdx, qword [0x140132078]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call rdx
mov rax, qword [rbp + 0x120]
jmp 0x1400019de
mov rdx, qword [0x140132078]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call rdx
mov rax, 0xffffffffffffffff
jmp 0x1400019de
lea rdx, [rbp - 0x10]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
sete al
test al, al
jne 0x14000188c
mov rdx, qword [0x140132078]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call rdx
mov rax, 0xffffffffffffffff
add rsp, 0x1b0
pop rbp
ret