joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004980
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140004a10
cmp r10, r11
jb 0x140004a86
cmp r10, rdx
ja 0x140004a9a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140004a12
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400049f0
jmp 0x140004a74
ja 0x140004a1a
mov r11, r10
cmp rax, r8
jne 0x1400049b4
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140004a50
mov rdi, r8
sub ecx, edx
jns 0x140004a6b
jmp 0x140004a76
cmp r8, rsi
je 0x140004aab
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140004a76
xor al, 1
cmp rdi, rsi
jne 0x140004a30
jmp 0x140004a76
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140026040
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140025dd0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140025e50
ud2
Function at 0x14000b640
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x14000b69b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14000b69b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x14000b6b6
cmp eax, 0x42
jne 0x14000b69b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14000b766
cmp byte [r9 + r11], 0x5f
jne 0x14000b766
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14000b7ce
mov rcx, rsi
xor edx, edx
call fcn.1400069f0
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.1400069f0
test al, al
jne 0x14000b861
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000b6f2
lea rdx, [0x14002c1b4]
mov r8d, 1
call fcn.140002c00
test al, al
jne 0x14000b861
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14000b6aa
xor r14d, r14d
lea rbx, [0x14002c568]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14000b724
cmp byte [rax + rcx], 0x45
je 0x14000b883
sub r14, 1
jb 0x14000b749
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000b749
mov r8d, 2
mov rdx, rbx
call fcn.140002c00
test al, al
jne 0x14000b861
mov rcx, rsi
call fcn.1400082c0
test al, al
jne 0x14000b861
mov rax, qword [rsi]
test rax, rax
jne 0x14000b710
jmp 0x14000b6aa
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x14000b828
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x14000b7c2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14000b7ac
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14000b79b
add dl, 0xa9
jmp 0x14000b7aa
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14000b828
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14000b828
movzx edx, bl
add rax, rdx
jae 0x14000b770
jmp 0x14000b828
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14000b828
cmp rax, rcx
jae 0x14000b825
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14000b87b
cmp qword [rsi + 0x20], 0
je 0x14000b874
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.14000b640
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000b6ac
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000b869
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x14002c528]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.140002c00
test al, al
je 0x14000b869
mov dil, 2
jmp 0x14000b6aa
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14000b6aa
mov dil, 1
xor r8d, r8d
jmp 0x14000b82a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14000b6aa
Function at 0x140012e90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x140012ec0
test ecx, ecx
jne 0x140012f10
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x140012ecc
test ecx, ecx
jne 0x140012f10
mov rcx, rdi
call fcn.140012d70
movzx eax, al
test bpl, bpl
jne 0x140012f17
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x140012f03.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x140013088]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x140012f03.2
xor eax, eax
test bpl, bpl
je 0x140012edc
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x140013069
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x140012f4a
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x140012fc9
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x140012f90
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x140012fab
inc rax
dec rdi
cmp rax, 1
jne 0x140012f70
jmp 0x140012fc9
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x140012fab
cmp ebx, 0x5c
je 0x140012fab
inc rax
dec rdi
cmp rax, 1
jne 0x140012f90
jmp 0x140012fc9
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x140013077
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x140012ff3
mov al, 9
cmp rdx, 2
je 0x140012ff7
cmp rdx, 1
jne 0x140013007
cmp byte [r8], 0x2e
jne 0x140013007
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x140013007
mov al, 0xa
jmp 0x140013007
cmp byte [r8], 0x2e
jne 0x140013007
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x140012f03.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x140012f03.2
mov ecx, 2
jmp case.0x140012f03.2
lea r8, str.library_std_srcpath.rs
call fcn.140025d50
ud2
lea r8, str.library_std_srcpath.rs
call fcn.140025d50
ud2

Function at 0x140017e28
Capabilities:
Parse pe header

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

Function at 0x14001c114
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001bf10
Function at 0x14001f1dc
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 0x14001f20c
xor eax, eax
jmp 0x14001f2cf
mov rbp, rbx
cmp word [rax], si
je 0x14001f231
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001f218
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001f214
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.14001f0fc
movsxd r14, eax
test eax, eax
jne 0x14001f26f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001f205
mov rcx, r14
call fcn.1400200b8
mov rdi, rax
test rax, rax
jne 0x14001f288
xor ecx, ecx
call fcn.14001d75c
jmp 0x14001f264
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.14001f0fc
test eax, eax
jne 0x14001f2b9
mov rcx, rdi
call fcn.14001d75c
jmp 0x14001f2c3
xor ecx, ecx
call fcn.14001d75c
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 0x1400227c0
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.14001e1cc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002284a
cmp byte [rbp - 0x21], r15b
je 0x140022845
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140022880
call fcn.1400208c8
test eax, eax
jne 0x14002286c
cmp byte [rbp - 0x21], r15b
je 0x140022864
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140022880
cmp byte [rbp - 0x21], r15b
je 0x14002287d
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.14001d7ac
test eax, eax
jne 0x140022920
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14001e1cc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400228bf
cmp byte [rbp - 0x21], r15b
je 0x1400228f4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400228f4
call fcn.1400208c8
test eax, eax
jne 0x1400228e0
cmp byte [rbp - 0x21], r15b
je 0x1400228d9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400228f4
cmp byte [rbp - 0x21], r15b
je 0x1400228f1
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.14001d7ac
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140022920
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140022923
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140022931
mov rcx, rdi
call fcn.14001d75c
cmp byte [rbp + 0x3f], r15b
je 0x140022940
mov rcx, qword [rbp + 0x27]
call fcn.14001d75c
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 0x140009830
Capabilities:
Print debug messages
Terminate process
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1400d33c0]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rsi, rcx
add rcx, 8
call fcn.14000c640
lea rdx, [rsp + 0x38]
lea rcx, [rsi + 0x10]
call fcn.140008d20
mov rax, qword [0x1400d7680]
test rax, rax
je 0x1400098b0
mov r9, qword [rsi + 0xf0]
mov r8d, dword [rsi + 0x100]
mov rdx, qword [rsi + 0xf8]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rsi]
call rax
test al, al
jne 0x1400099e7
test byte [0x1400d4dac], 2
mov qword [rsp + 0x4b8], rdi
je 0x1400098da
cmp qword [rsp + 0x50], 0x10
lea rcx, [rsp + 0x38]
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1400098df
cmp dword [rsi], 2
jl 0x14000991d
cmp qword [rsp + 0x50], 0x10
mov rbx, qword [rsp + 0x48]
lea rdi, [rsp + 0x38]
cmovae rdi, qword [rsp + 0x38]
call fcn.140092674
mov r8d, 1
lea r9, [rax + 0x60]
mov rdx, rbx
mov rcx, rdi
call fcn.140092b18
call fcn.140092674
lea rcx, [rax + 0x60]
call fcn.14009285c
test byte [0x1400d4dac], 1
mov rdi, qword [rsp + 0x4b8]
je 0x140009968
call fcn.140009110
test al, al
je 0x140009968
cmp qword [rsp + 0x50], 0x10
mov r8d, dword [rsp + 0x48]
mov rcx, qword [0x1400d7688]
lea rdx, [rsp + 0x38]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], 0
cmovae rdx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsi], 3
jne 0x1400099e7
mov r8d, 0x400
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x48], r8
cmovb r8, qword [rsp + 0x48]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
test r8, r8
je 0x14000999d
lea rcx, [rbp - 0x80]
call fcn.140091470
lea rcx, [rbp - 0x80]
call fcn.14002b8b0
cmp qword [0x1400d7678], 0
je 0x1400099dd
lea rdx, [rsp + 0x58]
lea rcx, [rsi + 0x10]
call fcn.140008d20
lea rcx, [rsp + 0x58]
call qword [0x1400d7678]
cmp qword [rsp + 0x70], 0x10
jb 0x1400099e7
mov rcx, qword [rsp + 0x58]
call fcn.1400910f4
jmp 0x1400099e7
cmp byte [0x1400d77dc], 0
jne 0x140009a53
int3
cmp qword [rsp + 0x50], 0x10
jb 0x1400099f9
mov rcx, qword [rsp + 0x38]
call fcn.1400910f4
mov ecx, dword [rsi + 0x104]
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 0x90]
call fcn.140006700
lea rax, [0x1400c4038]
lea rcx, [rsi + 0x90]
mov qword [rsi + 0x90], rax
call fcn.140090dc4
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140091a70
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 1
call fcn.14009400c
int3
Function at 0x14000d1e0
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1400d33c0]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rax, qword [rcx + 0x10]
movzx esi, dl
mov rbx, rcx
cmp rax, 0x104
jb 0x14000d224
xor al, al
jmp 0x14000d36e
test rax, rax
jne 0x14000d230
mov al, 1
jmp 0x14000d36e
mov qword [rsp + 0x2b8], rdi
xor edi, edi
test sil, sil
jne 0x14000d2a9
xorps xmm0, xmm0
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x60], di
mov qword [rsp + 0x78], rdi
movdqu xmmword [rsp + 0x68], xmm0
call fcn.14000e3e0
test al, al
je 0x14000d289
cmp byte [rsp + 0x60], dil
je 0x14000d289
cmp qword [rbx + 0x18], 8
jb 0x14000d276
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
jmp 0x14000d366
cmp qword [rbx + 0x18], 8
jb 0x14000d295
mov rcx, qword [rbx]
jmp 0x14000d298
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14000d2a9
mov al, 1
jmp 0x14000d366
lea rcx, [rbp - 0x7e]
xor edx, edx
mov r8d, 0x208
mov word [rbp - 0x80], di
call fcn.140091cf0
cmp qword [rbx + 0x18], 8
jb 0x14000d2c8
mov rbx, qword [rbx]
lea rcx, [rbp - 0x80]
nop dword [rax]
movzx eax, word [rbx]
lea rcx, [rcx + 2]
lea rbx, [rbx + 2]
mov word [rcx - 2], ax
test ax, ax
jne 0x14000d2d0
xor eax, eax
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x80]
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rax
mov eax, 0x414
mov word [rsp + 0x40], ax
test sil, sil
jne 0x14000d333
mov eax, 0x1494
mov word [rsp + 0x40], ax
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [rsp + 0x44], edi
je 0x14000d348
xor al, al
jmp 0x14000d366
test eax, eax
je 0x14000d35d
cmp eax, 2
je 0x14000d35d
cmp eax, 0x402
je 0x14000d35d
cmp eax, 0x7c
jne 0x14000d362
mov edi, 1
movzx eax, dil
mov rdi, qword [rsp + 0x2b8]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140091a70
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x14000d3a0
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x10], 0x104
jb 0x14000d3b5
xor al, al
add rsp, 0x28
ret
cmp qword [rcx + 0x18], 8
jb 0x14000d3bf
mov rcx, qword [rcx]
xor edx, edx
lea r8d, [rdx + 5]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x14000da20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x14000da2e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret

Function at 0x14000da40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x14000da4e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000da64
shr eax, 4
and eax, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret

Function at 0x14000da70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400d33c0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rcx
lea rdx, [rsp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x14000dc21
mov qword [rsp + 0x298], rbx
mov qword [rsp + 0x2a0], rsi
xor esi, esi
cmp word [rsp + 0x60], si
jne 0x14000dad4
mov r8d, esi
jmp 0x14000daea
lea rax, [rsp + 0x60]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], si
jne 0x14000dae0
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
test r8, r8
jne 0x14000db11
mov rbx, rsi
mov word [rsp + 0x40], si
mov qword [rsp + 0x50], rbx
jmp 0x14000db25
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140008160
mov rbx, qword [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140006420
cmp rax, 0xffffffffffffffff
je 0x14000db4b
lea rcx, [rsp + 0x40]
or r8, 0xffffffffffffffff
mov rdx, rax
call fcn.140006370
mov rbx, qword [rsp + 0x50]
cmp qword [rsp + 0x58], 8
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x38], 7
cmovae rdx, qword [rsp + 0x40]
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
test rbx, rbx
jne 0x14000db80
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
jmp 0x14000db8d
lea rcx, [rsp + 0x20]
mov r8, rbx
call fcn.140008160
lea rcx, [rsp + 0x20]
call fcn.140006420
mov rbx, qword [rsp + 0x298]
cmp rax, 0xffffffffffffffff
je 0x14000dbb6
lea rcx, [rsp + 0x20]
or r8, 0xffffffffffffffff
mov rdx, rax
call fcn.140006370
lea rcx, [rsp + 0x20]
call fcn.140005ce0
lea rax, [rsp + 0x20]
cmp rdi, rax
je 0x14000dbde
lea rdx, [rsp + 0x20]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rdi
call fcn.140007850
cmp qword [rsp + 0x38], 8
jb 0x14000dbf0
mov rcx, qword [rsp + 0x20]
call fcn.1400910f4
cmp qword [rsp + 0x58], 8
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
mov rsi, qword [rsp + 0x2a0]
mov qword [rsp + 0x38], 7
jb 0x14000dc1d
mov rcx, qword [rsp + 0x40]
call fcn.1400910f4
mov al, 1
jmp 0x14000dc23
xor al, al
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140091a70
mov rdi, qword [rsp + 0x2a8]
add rsp, 0x280
pop rbp
ret
Function at 0x14000dc50
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1400d33c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
mov rbx, rcx
lea edx, [r9 + 0x28]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14000dd1f
cmp word [rsp + 0x50], 0
je 0x14000dd1f
lea rax, [rsp + 0x50]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000dcb0
xor edi, edi
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
mov word [rbx], di
test r8, r8
jne 0x14000dcec
cmp qword [rbx + 0x18], 8
mov qword [rbx + 0x10], rdi
jb 0x14000dce4
mov rax, qword [rbx]
mov word [rax], di
jmp 0x14000dcf9
mov rax, rbx
mov word [rbx], di
jmp 0x14000dcf9
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140008160
mov rcx, rbx
call fcn.140006420
cmp rax, 0xffffffffffffffff
je 0x14000dda8
or r8, 0xffffffffffffffff
mov rdx, rax
mov rcx, rbx
call fcn.140006370
jmp 0x14000dda8
xor edi, edi
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x30], di
call fcn.14000da70
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
mov rcx, rbx
mov word [rbx], di
test al, al
je 0x14000dd67
lea rdx, [rsp + 0x30]
or r9, 0xffffffffffffffff
xor r8d, r8d
call fcn.140007850
jmp 0x14000dd96
lea rdx, [0x1400c4138]
mov r8d, 3
call fcn.140008160
mov rcx, rbx
call fcn.140006420
cmp rax, 0xffffffffffffffff
je 0x14000dd96
or r8, 0xffffffffffffffff
mov rdx, rax
mov rcx, rbx
call fcn.140006370
cmp qword [rsp + 0x48], 8
jb 0x14000dda8
mov rcx, qword [rsp + 0x30]
call fcn.1400910f4
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140091a70
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
Function at 0x14000de70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x1400d33c0]
xor rax, rsp
mov qword [rbp + 0x390], rax
xor edi, edi
cmp qword [rcx + 0x18], 8
mov rbx, rdx
mov dword [rsp + 0x20], edi
jb 0x14000deae
mov rcx, qword [rcx]
lea r9, [rsp + 0x70]
lea rdx, [0x1400c4140]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x14000e070
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x70]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [rax - 1]
cmp ecx, 0x103
ja 0x14000dfc4
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x48]
mov r8d, eax
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x48], di
call fcn.140008160
cmp qword [rsp + 0x60], 8
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rdi
cmovae rdx, qword [rsp + 0x48]
mov word [rsp + 0x28], di
test r8, r8
jne 0x14000df53
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
jmp 0x14000df5d
lea rcx, [rsp + 0x28]
call fcn.140008160
lea rcx, [rsp + 0x28]
call fcn.140006420
cmp rax, 0xffffffffffffffff
je 0x14000df7e
lea rcx, [rsp + 0x28]
or r8, 0xffffffffffffffff
mov rdx, rax
call fcn.140006370
lea rax, [rsp + 0x28]
cmp rbx, rax
je 0x14000df9c
lea rdx, [rsp + 0x28]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rbx
call fcn.140007850
cmp qword [rsp + 0x40], 8
jb 0x14000dfae
mov rcx, qword [rsp + 0x28]
call fcn.1400910f4
cmp qword [rsp + 0x60], 8
jb 0x14000e06e
mov rcx, qword [rsp + 0x48]
jmp 0x14000e069
cmp word [rsp + 0x70], di
jne 0x14000dfd0
mov r8, rdi
jmp 0x14000dfea
lea rax, [rsp + 0x70]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x14000dfe0
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
test r8, r8
jne 0x14000e00e
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
jmp 0x14000e01d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.140008160
lea rcx, [rsp + 0x28]
call fcn.140006420
cmp rax, 0xffffffffffffffff
je 0x14000e03e
lea rcx, [rsp + 0x28]
or r8, 0xffffffffffffffff
mov rdx, rax
call fcn.140006370
lea rax, [rsp + 0x28]
cmp rbx, rax
je 0x14000e05c
lea rdx, [rsp + 0x28]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rbx
call fcn.140007850
cmp qword [rsp + 0x40], 8
jb 0x14000e06e
mov rcx, qword [rsp + 0x28]
call fcn.1400910f4
mov al, 1
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140091a70
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret