joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140038060
Capabilities:
Clear file content

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
movaps xmm0, xmmword [0x14015feb0]
lea rbx, [rsp + 0x50]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.SetLength
lea r8, str....._base_files_file_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0xbc
call fcn.14008b020
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400913a0
mov qword [r14 + 8], r15
mov qword [r14], 0
call fcn.140091640
test al, al
jne 0x140038192
lea r8, [rsp + 0x28]
mov qword [r8], r15
mov rcx, qword [rsi]
xor ebx, ebx
xor edx, edx
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14003814f
mov rcx, qword [rsi]
xor ebx, ebx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14003814f
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14003818e
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsi]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
setne bl
lea rcx, [rsp + 0x30]
call fcn.1400916c0
lea rcx, [rsp + 0x50]
call fcn.140091430
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x14003817d
call fcn.1400b6410
int3
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x14003814f
lea rdx, str.File::SetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
mov r9, rdi
call fcn.14010d100
jmp 0x1400380f2
Function at 0x1400382b0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x14015feb0]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.DoInitialize
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x174
call fcn.14008b020
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400913a0
mov eax, ebx
and eax, 1
neg eax
and eax, 3
test bl, 2
mov edx, 1
cmove edx, eax
test bl, 4
mov ecx, 4
cmovne edx, ecx
test bl, 8
mov r8d, 2
cmove r8d, edx
test bl, 0x10
mov eax, 5
cmove eax, r8d
test eax, eax
je 0x140038525
mov edx, ebx
and edx, 0x40
shl edx, 0x18
test bl, bl
cmovns ecx, edx
mov r8d, ebx
rol r8d, 0x1a
and r8d, 0x80000100
or r8d, ecx
bt ebx, 0x12
jb 0x1400384fa
mov edx, ebx
shr edx, 4
and edx, 0x10000
or edx, r8d
mov ecx, ebx
shr ecx, 8
and ecx, 3
mov r8d, ebx
shr r8d, 0xd
and r8d, 4
or r8d, ecx
xor r8d, 3
mov r15d, ebx
and r15d, 0x400
mov ecx, r15d
shl ecx, 0x14
mov r9d, ebx
shr r9d, 3
and r9d, 0x100
or r9d, ecx
mov ecx, ebx
shr ecx, 0xb
and ecx, 2
or ecx, r9d
mov r10d, ebx
shl r10d, 0xd
and r10d, 0x4000000
or r10d, ecx
mov r9d, ebx
shl r9d, 8
and r9d, 0xa000000
or r9d, r10d
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x140038413
mov rcx, qword [rdi]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x30], 0
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp qword [rsi], rax
je 0x14003846d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003850c
mov rax, r14
inc rax
cmp rax, 2
jb 0x140038462
mov qword [rsi], r14
call fcn.14008b040
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
inc r14
cmp r14, 2
jb 0x1400384bd
shr r15d, 0xa
mov dword [rsi + 0x24], 0
mov byte [rsi + 0x29], r15b
test bl, 4
jne 0x1400384df
test bl, 0xa
je 0x140038493
mov byte [rsi + 0x28], 1
bt ebx, 0x15
jb 0x1400384f0
lea rcx, [rsp + 0x60]
call fcn.140091430
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x1400384cf
call fcn.1400b6410
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400381b0
mov dword [rsi + 0x24], eax
jmp 0x140038499
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [rsi + 0x28]
jmp 0x140038493
mov rcx, rdi
call fcn.140039a70
jmp 0x140038499
bt ebx, 0x15
jb 0x140038541
or r8d, 0x20000000
jmp 0x140038391
call fcn.14008b040
mov rcx, qword [rsi]
call fcn.140086370
mov qword [rsi], 0
jmp 0x14003844e
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsi + 0x24], 0xffffffff
call fcn.14010c5f0
jmp 0x140038499
int3
Function at 0x140038940
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x14015feb0]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x20e
call fcn.14008b020
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400913a0
cmp byte [rdi + 0x17], 0
jns 0x1400389b2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.140091430
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x1400389e3
call fcn.1400b6410
int3
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov ebp, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x14015feb0]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.PathHasAccess
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x217
call fcn.14008b020
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400913a0
cmp byte [rdi + 0x17], 0
jns 0x140038a72
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140038b05
test al, 0x10
cmove esi, ebp
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 3
xor r14d, r14d
mov rcx, rdi
mov edx, esi
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x140038ae8
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x140038b3b
call fcn.14008b040
mov r14, rdi
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
setne bl
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140038b05
call fcn.14008b040
mov rcx, r14
call fcn.140086370
lea rcx, [rsp + 0x60]
call fcn.140091430
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x140038b29
call fcn.1400b6410
int3
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x140038ae0
Function at 0x140038b40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x14015feb0]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x236
call fcn.14008b020
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400913a0
cmp byte [rdi + 0x17], 0
jns 0x140038bb2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
setne al
and edi, 0x10
shr edi, 4
and dil, al
mov rcx, rsi
call fcn.140091430
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x140038bee
call fcn.1400b6410
int3
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x140038c00
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400e6f50
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x140038c9f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400d1b18
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14008b0b0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14003e870
mov rcx, rsi
mov rdx, r14
call fcn.14003d730
mov rcx, r14
call fcn.14008b1f0
mov rcx, rbx
call fcn.14008b1f0
cmp edi, 0x103
setb al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x140038cc2
call fcn.1400b6410
int3
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140038cd0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400e6f50
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140038d6f
cmp word [rsp + 0x70], 0
je 0x140038d6f
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400d1b18
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14008b0b0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x140038d61
call fcn.1400b6410
int3
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14015feb0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.14008b050
mov rcx, rdi
call fcn.140038c00
test al, al
jne 0x140038dc1
lea rax, [0x140166938]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14008b0b0
jmp 0x140038dce
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14003d6b0
lea rcx, [rsp + 0x40]
call fcn.14008b1f0
jmp 0x140038d47
Function at 0x140038de0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
cmp byte [0x14019b884], 0
jne 0x140038fbc
mov rsi, rcx
movaps xmm6, xmmword [0x14015feb0]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.GetSecureSystemTemp
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov r9d, 0x2bc
call fcn.14008b020
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400913a0
test rsi, rsi
je 0x140038fc0
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.14008b050
mov ecx, 0x65
mov rdx, rdi
call fcn.14003ace0
test al, al
je 0x140038fc3
lea rax, str.SystemTemp
lea r8, [rsp + 0x20]
mov qword [r8], rax
mov qword [r8 + 8], 0xa
lea rbx, [rsp + 0xb0]
mov rcx, rdi
mov rdx, rbx
call fcn.14003e730
mov rcx, rdi
mov rdx, rbx
call fcn.14003d730
mov rcx, rbx
call fcn.14008b1f0
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x90]
mov rcx, r14
mov r9d, 0x20e
call fcn.14008b020
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400913a0
cmp byte [rsp + 0x47], 0
jns 0x140038f33
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.140091430
cmp edi, 0xffffffff
je 0x140038fc3
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.1400389f0
test al, al
je 0x140038fc3
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.14003d6d0
mov rcx, rdi
call fcn.14008b1f0
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.140091430
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x140038fa3
call fcn.1400b6410
int3
mov eax, esi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor esi, esi
jmp 0x140038f89
int3
lea rcx, [rsp + 0x30]
call fcn.14008b1f0
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.14008b050
mov ecx, 0x67
mov rdx, rdi
call fcn.14003ace0
test al, al
je 0x140039080
lea rbx, [rsp + 0xb0]
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x90]
mov rcx, r14
mov r9d, 0x20e
call fcn.14008b020
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400913a0
cmp byte [rsp + 0x47], 0
jns 0x14003904b
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.140091430
cmp edi, 0xffffffff
je 0x140039080
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.1400389f0
test al, al
jne 0x140038f64
lea rcx, [rsp + 0x30]
call fcn.14008b1f0
xor esi, esi
jmp 0x140038f7f
Function at 0x140039a80
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x568
mov byte [rsp + 0x2f], r8b
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1400e6f50
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.140039f40
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14015feb0]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.14003a130
movsx rax, byte [rdi + 0x17]
test rax, rax
jns 0x140039b1a
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140039bee
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r12d, r12d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.1400e6f50
mov rcx, r15
mov rdx, r14
call fcn.14003a0e0
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x140039c7d
mov rcx, r14
call fcn.140039e50
test al, al
jne 0x140039c3c
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x140039b88
mov rcx, qword [rsp + 0x30]
call rbx
test eax, eax
jne 0x140039c35
call r13
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r12d, r12d
cmovne ebp, r12d
mov rcx, r14
call fcn.140024880
mov rcx, r15
mov rdx, r14
call fcn.14003a130
mov rcx, rdi
mov rdx, r14
call fcn.14003d730
mov rcx, r14
call fcn.14008b1f0
movsx rax, byte [rsp + 0x47]
test rax, rax
jns 0x140039be2
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
jne 0x140039b41
lea rcx, [rsp + 0x30]
call fcn.14008b1f0
lea rcx, [rsp + 0x298]
call fcn.14003a070
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x140039c1f
call fcn.1400b6410
int3
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebp, ebp
jmp 0x140039ba5
xor ebp, ebp
cmp byte [rsp + 0x2f], 0
je 0x140039ba5
mov rcx, rdi
mov rdx, rsi
mov r8b, 1
call fcn.140039a80
test eax, eax
jne 0x140039cd0
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x140039c6a
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140039ba5
jmp 0x140039b92
cmp byte [rsp + 0x2f], 0
je 0x140039ca5
cmp byte [rsp + 0x47], 0
js 0x140039c92
lea rcx, [rsp + 0x30]
jmp 0x140039c97
mov rcx, qword [rsp + 0x30]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x140039b69
lea rcx, [rsp + 0x48]
call fcn.140039e50
test al, al
jne 0x140039cb9
mov edx, dword [rsp + 0x48]
jmp 0x140039c84
lea rcx, [rsp + 0x48]
call fcn.140039e50
test al, al
je 0x140039b79
jmp 0x140039c35
mov ebp, eax
jmp 0x140039ba5
Function at 0x14003c090
Capabilities:
Delete file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.14003c260
mov eax, dword [rsi]
mov dword [0x14018c144], eax
mov bl, 1
test al, 1
jne 0x14003c0e1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x14003c0d5
call fcn.1400b6410
int3
mov eax, ebx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [0x14019b8c8]
test rcx, rcx
je 0x14003c10f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14019b8c8], 0
cmp qword [0x14019b8d0], 0
jne 0x14003c10f
and byte [0x14018c144], 0xfe
mov rax, qword [rsi + 0x28]
test rax, rax
je 0x14003c138
movsx rcx, byte [rsi + 0x1f]
test rcx, rcx
jns 0x14003c126
mov rcx, qword [rsi + 0x10]
test rcx, rcx
jne 0x14003c1b1
mov qword [0x14019b8c8], rax
jmp 0x14003c0be
movsx rax, byte [rsi + 0x1f]
test rax, rax
jns 0x14003c146
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x14003c200
lea rdi, [rsi + 8]
mov rcx, qword [0x14019b8d0]
test rcx, rcx
jne 0x14003c181
mov ecx, 0x18
call fcn.1400b50e8
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x14019b8d0], rax
mov rdx, rdi
call fcn.14007fe60
cmp dword [rsi + 0x24], 0
jne 0x14003c1a5
mov rcx, qword [0x14019b8d0]
cmp byte [rcx + 0x17], 0
jns 0x14003c19f
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.140104030
mov ebx, eax
jmp 0x14003c0be
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x232
call fcn.14008b020
lea rdx, str.settings.log_file_path.empty__
lea r14, [rsp + 0x48]
mov rcx, r14
mov r8d, 0x7f
mov r9, rdi
call fcn.14010c2e0
mov rcx, r14
call fcn.14010c4f0
mov rax, qword [rsi + 0x28]
jmp 0x14003c12f
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x238
call fcn.14008b020
lea rdx, str._settings.log_file_path.empty__
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r8d, 0x7f
mov r9, rdi
call fcn.14010c2e0
lea rdx, str.LOG_TO_FILE_set_but_no_log_file_path_
mov rcx, rbx
call fcn.140104000
mov rcx, rbx
call fcn.14010c4f0
jmp 0x14003c14f
Function at 0x14003d770
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r8, qword [rcx]
mov r9, qword [rcx + 8]
cmp r9, 2
jb 0x14003d8a0
cmp word [r8 + 2], 0x3a
jne 0x14003d8a0
movzx eax, word [r8]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
jae 0x14003d8a0
mov ebx, 2
xor eax, eax
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
cmp rdx, 2
jb 0x14003d8a9
cmp word [rcx + 2], 0x3a
jne 0x14003d8a9
movzx r10d, word [rcx]
and r10d, 0xffffffdf
add r10d, 0xffffffa5
cmp r10w, 0xffe6
setae r10b
not al
test al, r10b
je 0x14003d8a9
cmp r9, rbx
cmovae r9, rbx
lea rdx, [rsp + 0x38]
mov qword [rdx], rcx
mov qword [rdx + 8], 2
lea rcx, [rsp + 0x28]
mov qword [rcx], r8
mov qword [rcx + 8], r9
mov r8d, 1
call fcn.140086860
test al, al
je 0x14003d856
mov rcx, qword [rdi + 8]
sub rcx, rbx
jb 0x14003d8cd
mov rax, qword [rsi + 8]
cmp rax, 1
jbe 0x14003d8cd
add rax, 0xfffffffffffffffe
cmp rcx, rax
je 0x14003d877
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x14003d86f
call fcn.1400b6410
int3
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
mov al, 1
test rcx, rcx
je 0x14003d858
add ebx, ebx
add rbx, qword [rdi]
mov rdx, qword [rsi]
xor r8d, r8d
movzx r9d, word [rbx + r8*2]
cmp r9w, word [rdx + r8*2 + 4]
jne 0x14003d856
inc r8
cmp rcx, r8
jne 0x14003d889
jmp 0x14003d858
mov al, 1
xor ebx, ebx
jmp 0x14003d7c4
cmp r9, rdx
jne 0x14003d856
mov al, 1
test r9, r9
je 0x14003d858
xor edx, edx
movzx r10d, word [r8 + rdx*2]
cmp r10w, word [rcx + rdx*2]
jne 0x14003d856
inc rdx
cmp r9, rdx
jne 0x14003d8b7
jmp 0x14003d858
lea rcx, [0x140162faf]
call fcn.1400e7de0
int3

Function at 0x14003f280
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x14019b938]
test rdi, rdi
jne 0x14003f332
mov ecx, 0x50
call fcn.1400b50e8
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.1400b50e8
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14003f35b
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
mov rax, rsi
add rax, 0x38
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x14019b938], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14003f35b
mov rcx, rax
call fcn.1400d1b18
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14003f360
test rdi, rdi
sete al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x14003f34f
call fcn.1400b6410
int3
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x58
pop rdi
pop rsi
ret
ud2