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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x50
mov rax, r8
mov rbx, rcx
test rdx, rdx
jne 0x14007c8c5
mov eax, 0xfffffff7
add rsp, 0x50
pop rbx
ret
test rax, rax
je 0x14007c9b8
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov ecx, dword [rbx + 0x88]
test ecx, ecx
jne 0x14007c963
mov eax, dword [rbx + 0x10]
lea edx, [rcx + 1]
mov r14d, dword [rbx + 0x94]
mov rcx, rbx
mov edi, dword [rbx + 0x3c]
mov esi, dword [rbx + 0x8c]
mov ebp, dword [rbx]
mov r13d, dword [rbx + 0x98]
mov r15d, dword [rbx + 0x14]
mov r12d, dword [rbx + 0x90]
mov dword [rsp + 0x78], eax
call fcn.14007c9c0
lea eax, [r14 + rdi]
mov dword [rbx + 0x88], 8
xor eax, esi
mov ecx, 8
xor eax, ebp
bswap eax
mov dword [rbx + 0x80], eax
lea eax, [r15 + r13]
xor eax, r12d
xor eax, dword [rsp + 0x78]
bswap eax
mov dword [rbx + 0x84], eax
mov eax, 8
sub eax, ecx
cdqe
movzx ecx, byte [rax + rbx + 0x80]
mov rax, qword [rsp + 0x68]
xor byte [rax], cl
inc rax
dec dword [rbx + 0x88]
sub qword [rsp + 0x70], 1
mov qword [rsp + 0x68], rax
jne 0x14007c8f1
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x50
pop rbx
ret
Function at 0x14007cba0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
movzx eax, dl
lea r10, str.cw
movzx esi, byte [rax + r10]
mov eax, edx
shr eax, 8
movzx ecx, al
mov eax, edx
shr eax, 0x10
lea edi, [rsi + rsi]
movzx r15d, byte [rcx + r10]
movzx ecx, al
mov eax, edx
shr rax, 0x18
lea r9d, [r15 + r15]
movzx r14d, byte [rcx + r10]
mov r8d, r9d
xor r8d, r15d
movzx r10d, byte [rax + r10]
movzx eax, dil
xor al, 0x1b
movzx ebp, al
bt edi, 8
movzx eax, dil
cmovae ebp, eax
movzx eax, r8b
xor al, 0x1b
movzx ecx, al
bt r8d, 8
movzx eax, r8b
lea r8d, [r14 + r14]
cmovae ecx, eax
mov edx, r8d
xor bpl, cl
xor edx, r14d
xor bpl, r10b
movzx eax, dl
xor al, 0x1b
xor bpl, r14b
movzx r11d, al
bt edx, 8
movzx eax, dl
cmovae r11d, eax
movzx eax, r9b
xor al, 0x1b
movzx ecx, al
bt r9d, 8
movzx eax, r9b
lea r9d, [r10 + r10]
cmovae ecx, eax
mov edx, r9d
xor edx, r10d
xor r11b, cl
xor r11b, r10b
movzx eax, dl
xor al, 0x1b
xor r11b, sil
movzx r10d, al
bt edx, 8
movzx eax, dl
cmovae r10d, eax
movzx eax, r8b
xor al, 0x1b
movzx ecx, al
bt r8d, 8
movzx eax, r8b
cmovae ecx, eax
xor edi, esi
xor r10b, cl
movzx eax, dil
xor al, 0x1b
xor r10b, r15b
movzx ecx, al
xor r10b, sil
movzx eax, dil
bt edi, 8
cmovae ecx, eax
movzx eax, r9b
xor al, 0x1b
movzx r8d, cl
movzx ecx, al
movzx eax, r9b
mov rbx, qword [rsp + 0x18]
bt r9d, 8
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
cmovae ecx, eax
movzx eax, cl
xor eax, r8d
movzx ecx, r10b
xor eax, r14d
xor eax, r15d
shl eax, 8
or eax, ecx
movzx ecx, r11b
shl eax, 8
or eax, ecx
movzx ecx, bpl
mov rbp, qword [rsp + 0x20]
shl eax, 8
or eax, ecx
pop r15
pop r14
ret
Function at 0x140083370
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov r9, rdx
mov r8, rcx
mov edx, 8
lea ecx, [rdx + 6]
jmp 0x140083670
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
xor r11d, r11d
mov r10d, edx
lea esi, [rcx*4 + 4]
mov rdi, r8
lea rbp, [0x1400c6420]
test edx, edx
je 0x1400836e1
mov rbx, r8
lea eax, [r11*4]
inc r11d
movzx edx, byte [rax + r9 + 3]
lea rbx, [rbx + 4]
shl edx, 8
mov ecx, eax
movzx eax, byte [rax + r9 + 2]
or edx, eax
shl edx, 8
movzx eax, byte [rcx + r9 + 1]
or edx, eax
movzx eax, byte [rcx + r9]
shl edx, 8
or edx, eax
mov dword [rbx - 4], edx
cmp r11d, r10d
jb 0x1400836a2
mov r9d, r10d
cmp r10d, esi
jae 0x1400837c4
lea r11, [r8 + r10*4]
lea rbx, [0x1400c6430]
nop dword [rax + rax]
lea eax, [r9 - 1]
xor edx, edx
mov ecx, dword [rdi + rax*4]
mov eax, r9d
div r10d
test edx, edx
jne 0x14008375c
mov r8d, ecx
movzx eax, cl
movzx ecx, byte [rax + rbx]
mov eax, r8d
shr rax, 0x18
shl ecx, 8
movzx eax, byte [rax + rbx]
or ecx, eax
mov eax, r8d
shr rax, 0x10
shl ecx, 8
movzx edx, al
shr r8, 8
movzx eax, byte [rdx + rbx]
or ecx, eax
movzx eax, r8b
shl ecx, 8
movzx edx, byte [rax + rbx]
movzx eax, byte [rbp]
or ecx, edx
xor ecx, eax
inc rbp
jmp 0x1400837a8
cmp r10d, 6
jbe 0x1400837a8
cmp edx, 4
jne 0x1400837a8
mov r8, rcx
mov rax, rcx
shr rax, 0x10
movzx ecx, al
mov rax, r8
shr rax, 0x18
movzx ecx, byte [rcx + rbx]
movzx eax, byte [rax + rbx]
shl eax, 8
or ecx, eax
mov rax, r8
shr rax, 8
movzx edx, al
shl ecx, 8
movzx eax, byte [rdx + rbx]
or ecx, eax
movzx eax, r8b
shl ecx, 8
movzx edx, byte [rax + rbx]
or ecx, edx
mov eax, r9d
inc r9d
sub eax, r10d
xor ecx, dword [rdi + rax*4]
mov dword [r11], ecx
add r11, 4
cmp r9d, esi
jb 0x140083700
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret

Function at 0x140083390
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x28], r9
mov r9, rdx
mov rdx, rcx
mov qword [rsp + 0x20], r8
mov ecx, 0xe
lea r8, [0x1400c6430]
call fcn.1400837e0
add rsp, 0x38
ret

Function at 0x1400833c0
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1400834f0
movups xmm0, xmmword [0x1400c63e0]
xor eax, eax
movups xmmword [rbx], xmm0
movups xmm1, xmmword [0x1400c63f0]
mov qword [rbx + 0x20], rax
mov dword [rbx + 0x28], eax
movups xmmword [rbx + 0x10], xmm1
add rsp, 0x20
pop rbx
ret
Function at 0x140083670
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov r9, rdx
mov r8, rcx
mov edx, 8
lea ecx, [rdx + 6]
jmp 0x140083670
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
xor r11d, r11d
mov r10d, edx
lea esi, [rcx*4 + 4]
mov rdi, r8
lea rbp, [0x1400c6420]
test edx, edx
je 0x1400836e1
mov rbx, r8
lea eax, [r11*4]
inc r11d
movzx edx, byte [rax + r9 + 3]
lea rbx, [rbx + 4]
shl edx, 8
mov ecx, eax
movzx eax, byte [rax + r9 + 2]
or edx, eax
shl edx, 8
movzx eax, byte [rcx + r9 + 1]
or edx, eax
movzx eax, byte [rcx + r9]
shl edx, 8
or edx, eax
mov dword [rbx - 4], edx
cmp r11d, r10d
jb 0x1400836a2
mov r9d, r10d
cmp r10d, esi
jae 0x1400837c4
lea r11, [r8 + r10*4]
lea rbx, [0x1400c6430]
nop dword [rax + rax]
lea eax, [r9 - 1]
xor edx, edx
mov ecx, dword [rdi + rax*4]
mov eax, r9d
div r10d
test edx, edx
jne 0x14008375c
mov r8d, ecx
movzx eax, cl
movzx ecx, byte [rax + rbx]
mov eax, r8d
shr rax, 0x18
shl ecx, 8
movzx eax, byte [rax + rbx]
or ecx, eax
mov eax, r8d
shr rax, 0x10
shl ecx, 8
movzx edx, al
shr r8, 8
movzx eax, byte [rdx + rbx]
or ecx, eax
movzx eax, r8b
shl ecx, 8
movzx edx, byte [rax + rbx]
movzx eax, byte [rbp]
or ecx, edx
xor ecx, eax
inc rbp
jmp 0x1400837a8
cmp r10d, 6
jbe 0x1400837a8
cmp edx, 4
jne 0x1400837a8
mov r8, rcx
mov rax, rcx
shr rax, 0x10
movzx ecx, al
mov rax, r8
shr rax, 0x18
movzx ecx, byte [rcx + rbx]
movzx eax, byte [rax + rbx]
shl eax, 8
or ecx, eax
mov rax, r8
shr rax, 8
movzx edx, al
shl ecx, 8
movzx eax, byte [rdx + rbx]
or ecx, eax
movzx eax, r8b
shl ecx, 8
movzx edx, byte [rax + rbx]
or ecx, edx
mov eax, r9d
inc r9d
sub eax, r10d
xor ecx, dword [rdi + rax*4]
mov dword [r11], ecx
add r11, 4
cmp r9d, esi
jb 0x140083700
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x140085d1c
Capabilities:
Parse pe header

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

Function at 0x140098534
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140098360
Function at 0x1400ad1f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400ad218
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400ad218
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180eee430
Capabilities:
Execute anti-debugging instructions

Disassembly:
push r9
cwd
lahf
cbw
push rbx
push r12
movabs rcx, 0
xchg ah, dl
movsx rdi, r8w
push rcx
mov r10, qword [rsp + 0x90]
xchg bp, ax
rdtsc
inc r10d
ror di, cl
bswap r10d
shr rax, 0xad
movsx bp, r9b
not r10d
sub r10d, 0x5b02316e
ror r10d, 1
movsxd rbx, r12d
lea r10, [r10 + rcx]
btc ax, 0x11
shld eax, edi, 0xf0
movabs rax, 0x100000000
and bx, si
sal dx, 0x4f
shl bp, cl
add r10, rax
not dl
inc rdx
mov rbx, rsp
movzx dx, al
jmp 0x180ee360a
rol eax, 3
jmp 0x180efca3a
add rbp, rax
jmp 0x180ecca61
push rdi
mov edi, r13d
push r10
movzx r10d, bx
push r14
movzx di, r9b
movsx rdi, r14w
push r8
cmovp rdi, rcx
mov r10w, r11w
movsxd rdi, edx
push rax
push r13
push rcx
movzx di, dil
cbw
push r15
movsxd rax, r10d
push rsi
setge dil
push rbp
push rdx
rdtsc
not ecx
setle al
pushfq
jmp 0x180e00fc1
push rbp
ret
rol eax, 3
add eax, 0x277a3cfc
clc
stc
ror eax, 1
neg eax
test r11b, 0x19
cmp rsp, 0x21647a9e
sub eax, 0x4cd708f6
bswap eax
cmc
jmp 0x180e41d15
sub rsp, 0x180
and rsp, 0xfffffffffffffff0
shrd ebp, eax, 0x68
rcr rax, cl
movzx rax, sp
mov rdi, r10
movabs rdx, 0
sub rdi, rdx
mov bpl, bl
shl ax, cl
lea rbp, [0x180ee3639]
adc ax, 0x7a95
shl al, 0xda
adc eax, ecx
sub r10, 4
sub ax, r12w
movzx eax, r13w
sar ax, cl
mov eax, dword [r10]
cmp sil, al
xor eax, edi
jmp 0x180ed9c63
push r11
jmp 0x180e97046
bswap eax
test dx, 0x3761
jmp 0x180f10126
add eax, 0x6b135f14
cmp cx, di
stc
bswap eax
push rdi
add dil, bl
btc di, 0xeb
btr rdi, r9
xor dword [rsp], eax
pop rdi
stc
movsxd rax, eax
cmp r13b, r13b
jmp 0x180e7cd41
Function at 0x14003db90
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14003db9d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003dbad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14003db95
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14003dbc5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14003dbb2
sub eax, 3
jb 0x14003dbdf
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14003dc16
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14003dc06
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14003dc04
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14003dbf3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14003db52
jmp 0x14003db9d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x8a00
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14003dc62
cmp rsi, rcx
jae 0x14003dc6a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14003dc49
cmp al, 0x8f
ja 0x14003dc49
cmp byte [rsi - 2], 0xf
je 0x14003dc4f
sub al, 0xe8
cmp al, 1
ja 0x14003dc33
cmp rsi, rcx
jae 0x14003dc6a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14003dc39
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14003dc6a
lodsb al, byte [rsi]
jmp 0x14003dc49
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x3a000]
mov eax, dword [rdi]
or eax, eax
je 0x14003dcc7
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x65998]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14003dc77
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14003dcc1
mov qword [rbx], rax
add rbx, 8
jmp 0x14003dc97
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14003dd01
cmp al, 0xef
ja 0x14003dcf3
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14003dcd3
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14003dce2
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14003dd55
sub rsp, 0xffffffffffffff80
jmp 0x140008a60
Function at 0x140004b40
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
mov r8d, 0x100
mov eax, 1
cmp rdx, 0x40
jb 0x140004c42
test cl, 3
je 0x140004b67
mov r8d, 0x400
jmp 0x140004c42
movzx r9d, word [rcx]
cmp r9d, 0x5a4d
jne 0x140004c3c
mov r9d, dword [rcx + 0x3c]
test r9b, 3
jne 0x140004b5c
cmp r9d, 0x1000000
jbe 0x140004b96
mov r8d, 0x700
jmp 0x140004c42
lea r11, [r9 + 0x88]
cmp r11, rdx
ja 0x140004c42
cmp dword [rcx + r9], 0x4550
jne 0x140004c3c
movzx esi, word [rcx + r9 + 0x18]
cmp esi, 0x20b
je 0x140004bca
cmp esi, 0x10b
jne 0x140004c3c
mov edi, dword [rcx + r9 + 0x54]
cmp rdi, rdx
ja 0x140004c42
mov r10d, dword [rcx + r9 + 0x50]
cmp edi, r10d
ja 0x140004b8b
movzx esi, si
cmp esi, 0x20b
jne 0x140004c48
mov esi, dword [rcx + r9 + 0x84]
cmp esi, 0x10
mov edi, 0x10
cmovb edi, esi
shl edi, 3
add r11, rdi
cmp r11, rdx
ja 0x140004c42
movzx r11d, word [rcx + r9 + 6]
cmp r11, 0x60
ja 0x140004b8b
lea r11, [r11 + r11*4]
lea r11, [r9 + r11*8]
movzx ecx, word [rcx + r9 + 0x14]
add rcx, r11
add rcx, 0x18
cmp rcx, rdx
ja 0x140004c42
shl r10, 0x20
xor eax, eax
mov r8, r10
jmp 0x140004c42
mov r8d, 0x500
or rax, r8
pop rdi
pop rsi
ret
mov r8d, 0x600
jmp 0x140004c42
Function at 0x1400050e0
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov qword [rbp - 0x10], rcx
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp - 4], 0
mov qword [rbp - 0x30], rdx
mov r14, qword [rdx]
mov edi, 8
lea r15, [rbp - 4]
xor ebx, ebx
xor esi, esi
jmp 0x14000513d
mov r13, r12
mov qword [rbp - 0x18], r13
mov rbx, r13
mov esi, r12d
lea r8d, [rbx*8]
mov dword [rsp + 0x20], 3
mov rcx, r14
mov rdx, rdi
mov r9, r15
call sub.PSAPI.DLL_EnumProcessModulesEx
test eax, eax
je 0x1400051dc
mov r12d, dword [rbp - 4]
cmp r12d, esi
jbe 0x140005238
mov rsi, r12
sub rsi, rbx
jbe 0x140005130
mov rax, qword [rbp - 0x20]
sub rax, rbx
mov r13, rbx
cmp rax, rsi
jae 0x14000519a
lea rcx, [rbp - 0x28]
mov rdx, rbx
mov r8, rsi
call fcn.14001f330
mov rdi, qword [rbp - 0x28]
mov r13, qword [rbp - 0x18]
lea rcx, [rdi + r13*8]
cmp rsi, 2
jb 0x1400051cd
mov r8, rbx
not r8
add r8, r12
shl r8, 3
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [r12 + r13]
sub rax, rbx
lea rcx, [rdi + rax*8]
add rcx, 0xfffffffffffffff8
add r13, rsi
dec r13
mov qword [rcx], 0
inc r13
jmp 0x140005133
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp - 0x10]
mov qword [rcx + 8], rax
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rcx + 0x10], xmm0
mov rax, qword [rbp - 0x38]
mov qword [rcx + 0x20], rax
mov qword [rcx], 0
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x140005223
shl rdx, 3
mov r8d, 8
mov rcx, rdi
call fcn.1400048e0
mov rax, qword [rbp - 0x10]
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov r14d, r12d
shr r14d, 3
cmp rbx, r14
jb 0x140005308
cmp r12d, 8
jae 0x14000525a
mov eax, 8
xor ecx, ecx
jmp 0x1400052df
mov r15, r14
shl r15, 4
movzx eax, byte [0x1400901d1]
mov edx, 8
mov rcx, r15
call fcn.1400048d0
test rax, rax
je 0x14000531c
cmp r14d, 1
jne 0x14000528c
xor ecx, ecx
mov r10, qword [rbp - 0x30]
jmp 0x1400052c5
mov edx, r14d
and edx, 0xfffffffe
lea r8, [rax + 0x18]
xor ecx, ecx
mov r10, qword [rbp - 0x30]
nop dword [rax]
mov r9, qword [rdi + rcx*8]
mov qword [r8 - 0x18], r10
mov qword [r8 - 0x10], r9
mov r9, qword [rdi + rcx*8 + 8]
mov qword [r8 - 8], r10
mov qword [r8], r9
add rcx, 2
add r8, 0x20
cmp rdx, rcx
jne 0x1400052a0
test r14b, 1
je 0x1400052dc
mov rdx, qword [rdi + rcx*8]
shl rcx, 4
mov qword [rax + rcx], r10
mov qword [rax + rcx + 8], rdx
mov rcx, r14
mov rdx, qword [rbp - 0x10]
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], r14
mov qword [rdx + 0x18], rcx
mov qword [rdx], 4
mov rdx, qword [rbp - 0x20]
test rdx, rdx
jne 0x140005211
jmp 0x140005223
lea r8, str.C:UsersAdmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinproc_0.6.4_srcprocessmod.rs
mov rcx, r14
mov rdx, rbx
call fcn.1400203e0
jmp 0x140005329
mov ecx, 8
mov rdx, r15
call fcn.14001fdf0
ud2
Function at 0x140007e50
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], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x140007ee0
jmp 0x140007ecf
jae 0x140007fa0
cmp r8, 0x201
jae 0x140007ee0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140007f38
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x140007f0f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.14001f570
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140007f61
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140008008
mov r8d, r14d
cmp r15, r8
jne 0x140007ec0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000802b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x140007ecf
jmp 0x140007ee0
cmp rsi, r8
jb 0x140008045
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.14000a130
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 rdi, rdi
je 0x140007ff1
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.1400048e0
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 rdi, rdi
jne 0x140007fd9
jmp 0x140007ff1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14001ff90
jmp 0x14000805a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.1400203e0
ud2
Function at 0x1400080b0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x420], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x60]
call fcn.14000fca0
mov rax, qword [rbp - 0x60]
mov qword [rbp + 0x408], rax
test rax, rax
je 0x140008236
mov qword [rbp + 0x400], rsi
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x418], rax
mov qword [rbp + 0x3e8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3f0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x410], rax
xor edi, edi
xor ebx, ebx
xor r13d, r13d
cmp r8, 0x201
jae 0x140008170
jmp 0x14000815f
jae 0x140008248
cmp r8, 0x201
jae 0x140008170
mov r15d, 0x200
lea r14, [rbp - 0x60]
mov r12, r8
jmp 0x1400081c8
sub r8, r13
sub rbx, r13
cmp rbx, r8
jae 0x14000819f
lea rcx, [rbp + 0x3e8]
mov rdx, r13
call fcn.14001f570
mov rax, qword [rbp + 0x3e8]
mov qword [rbp + 0x410], rax
mov rdi, qword [rbp + 0x3f0]
mov eax, 0xffffffff
cmp rdi, rax
mov r13d, 0xffffffff
cmovb r13, rdi
mov qword [rbp + 0x3f8], r13
mov rbx, rdi
mov r15, r13
mov r14, qword [rbp + 0x410]
mov r12, r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x408]
mov rdx, r14
mov r8d, r12d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
jne 0x1400081f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14000831b
mov r8d, esi
cmp r12, r8
jne 0x140008150
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140008345
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14000815f
jmp 0x140008170
lea rcx, [rbp - 0x58]
call fcn.140005f30
mov byte [rsi + 0x18], 2
jmp 0x1400082da
cmp r15, r8
jb 0x14000835f
lea rcx, [rbp + 0x3a0]
mov rdx, r14
call fcn.14000a130
movups xmm0, xmmword [rbp + 0x3a0]
movups xmm1, xmmword [rbp + 0x3b0]
movaps xmmword [rbp + 0x3d0], xmm1
movaps xmmword [rbp + 0x3c0], xmm0
test rdi, rdi
je 0x140008299
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x410]
mov rdx, rdi
call fcn.1400048e0
cmp byte [rbp + 0x3d8], 2
jne 0x1400082f1
mov rsi, qword [rbp + 0x400]
mov byte [rsi + 0x18], 2
lea rcx, [rbp + 0x3c0]
call fcn.140005f30
mov rdx, qword [rbp + 0x418]
test rdx, rdx
je 0x1400082da
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x408]
call fcn.1400048e0
mov rax, rsi
add rsp, 0x4a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movaps xmm0, xmmword [rbp + 0x3c0]
movaps xmm1, xmmword [rbp + 0x3d0]
mov rsi, qword [rbp + 0x400]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x418]
test rdx, rdx
jne 0x1400082c5
jmp 0x1400082da
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3c0], rax
mov byte [rbp + 0x3d8], 2
test rdi, rdi
jne 0x140008281
jmp 0x140008299
lea rcx, str.internal_error:_entered_unreachable_code_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14001ff90
jmp 0x140008374
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.1400203e0
ud2
Function at 0x14000e350
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x140084d58]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000e394
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
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 0x14000e3fa
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14000e431
test eax, eax
js 0x14000e40b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14000e424
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, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.hM_b_
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140009e70
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.1400060d0
mov ecx, 7
int 0x29
ud2