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

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x80
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, rdx
mov rdi, rcx
mov r8, qword [rcx - 8]
movsxd rax, dword [r8 + 4]
mov rcx, qword [rax + rcx]
test rcx, rcx
je 0x14001261c
cmp dword [rcx + 4], 0
jne 0x14001273e
movsxd rax, dword [r8 + 0xc]
lea rcx, [rdi - 8]
add rcx, rax
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 8]
mov rsi, rax
mov rcx, qword [rdi - 8]
movsxd rdx, dword [rcx + 0xc]
lea rcx, [rdi - 8]
add rcx, rdx
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8]
mov rcx, qword [rdi - 8]
movsxd rdx, dword [rcx + 4]
mov rcx, qword [rdx + rdi]
test rcx, rcx
je 0x140012665
cmp dword [rcx + 4], 0
jne 0x14001273e
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140012727
movabs rax, 0x7ceb2cdc9fb120ad
mov qword [rsp + 0x38], rax
lea rax, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswin32_file.cpp
mov qword [rsp + 0x40], rax
lea rax, str.win32_file::Truncate
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x104
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x70], xmm1
lea rcx, [0x1400569d8]
call fcn.140005930
mov qword [rsp + 0x20], rax
mov r9d, 0x40003
lea r8, [0x140059c48]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x90]
call fcn.14000c540
nop
mov rcx, qword [rdi - 8]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov rdx, rax
call fcn.1400064c0
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x140012727
nop dword [rax]
lock dec dword [rcx]
jne 0x140012727
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140012710
mov rax, qword [rdi - 8]
movsxd rcx, dword [rax + 0xc]
add rcx, 0xfffffffffffffff8
add rcx, rdi
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140012890
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xc8], rbx
mov r14, r9
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
xor r13d, r13d
mov qword [r9], r13
mov rax, qword [rcx - 8]
movsxd r10, dword [rax + 4]
mov rax, qword [r10 + rcx]
test rax, rax
je 0x1400128e5
cmp dword [rax + 4], r13d
jne 0x140012a4e
lea rcx, [0x140059918]
lea rax, [rsp + 0xd0]
mov r15d, 0x80000000
cmp r8, r15
cmova rax, rcx
mov ebx, dword [rax]
movabs r12, 0x8000080020
nop dword [rax]
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0xc0]
mov r8d, ebx
mov rdx, rsi
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14001294c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x27
ja 0x140012942
bt r12, rax
jb 0x14001294c
cmp eax, 0x57
je 0x14001294c
cmp eax, 0x70
jne 0x1400129a2
mov eax, dword [rsp + 0xc0]
test eax, eax
jne 0x140012966
cmp ebx, 2
jb 0x140012a4e
inc ebx
shr ebx, 1
jmp 0x140012910
add qword [r14], rax
sub rdi, rax
mov qword [rsp + 0xd0], rdi
je 0x140012a4e
cmp eax, ebx
jne 0x140012a4e
add rsi, rax
mov eax, ebx
cmp rdi, rax
ja 0x140012910
cmp ebx, r15d
jne 0x140012998
mov ebx, edi
jmp 0x140012910
lea ebx, [rdi + 1]
shr ebx, 1
jmp 0x140012910
movabs rax, 0x7ceb2cdc9fb12066
mov qword [rsp + 0x38], rax
lea rax, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswin32_file.cpp
mov qword [rsp + 0x40], rax
lea rax, str.win32_file::Write
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0xbd
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x70], xmm1
lea rcx, [0x1400569d8]
call fcn.140005930
mov qword [rsp + 0x20], rax
mov r9d, 0x40003
lea r8, [0x140059bc8]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xd8]
call fcn.14000c540
nop
mov rcx, qword [rbp - 8]
movsxd rcx, dword [rcx + 4]
add rcx, rbp
mov rdx, rax
call fcn.1400064c0
nop
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x140012a4e
lock dec dword [rcx]
jne 0x140012a4e
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140012a37
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140012a70
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov r12, r9
mov esi, r8d
mov r14, rdx
mov rdi, rcx
mov dword [r9], 0
mov rax, qword [rcx + 8]
movsxd r10, dword [rax + 4]
mov rax, qword [r10 + rcx + 0x10]
test rax, rax
je 0x140012ac3
cmp dword [rax + 4], 0
jne 0x140012cd7
mov ebx, r8d
cmp r8d, dword [rcx + 0x2c]
cmova ebx, dword [rcx + 0x2c]
xor r15b, r15b
movabs r13, 0x8000080020
nop dword [rax + rax]
xor edx, edx
mov eax, ebx
div dword [rdi + 0x28]
mov ebx, eax
imul ebx, dword [rdi + 0x28]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xd0]
mov r8d, ebx
mov rdx, r14
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140012bd8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x70
ja 0x140012b47
cmp eax, 0x57
je 0x140012bd8
cmp eax, 0x27
ja 0x140012b39
bt r13, rax
jb 0x140012bd8
cmp eax, 0x70
jne 0x140012c25
jmp 0x140012bd8
sub eax, 0x45d
je 0x140012bbb
sub eax, 0x14d
je 0x140012bbb
cmp eax, 3
jne 0x140012c25
cmp dword [rsp + 0xd0], 0
jne 0x140012c25
test r15b, r15b
jne 0x140012bc5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbp, rax
lea r8, [rsp + 0xe8]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessWorkingSetSize]
test eax, eax
je 0x140012bbb
mov edx, ebx
mov r8, qword [rsp + 0xe8]
add r8, rdx
add rdx, qword [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
test eax, eax
je 0x140012bbb
mov r15b, 1
jmp 0x140012ae0
cmp dword [rsp + 0xd0], 0
jne 0x140012c25
mov eax, dword [rdi + 0x28]
cmp ebx, eax
jbe 0x140012c25
add ebx, eax
shr ebx, 1
mov dword [rdi + 0x2c], ebx
jmp 0x140012ae0
mov eax, dword [rsp + 0xd0]
test eax, eax
jne 0x140012bf7
mov eax, dword [rdi + 0x28]
cmp ebx, eax
jbe 0x140012cd7
add ebx, eax
shr ebx, 1
jmp 0x140012ae0
add dword [r12], eax
sub esi, eax
mov ecx, dword [rdi + 0x28]
cmp esi, ecx
jb 0x140012cd7
cmp eax, ebx
jne 0x140012cd7
add r14, rax
cmp ebx, esi
jb 0x140012ae0
lea ebx, [rcx + rsi]
shr ebx, 1
jmp 0x140012ae0
movabs rax, 0x7ceb2cdc9fb121b5
mov qword [rsp + 0x48], rax
lea rax, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswin32_file.cpp
mov qword [rsp + 0x50], rax
lea rax, str.win32_nocache_file::Write
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], 0x20c
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rsp + 0x58]
movaps xmmword [rsp + 0x80], xmm1
lea rcx, [0x1400569d8]
call fcn.140005930
mov qword [rsp + 0x20], rax
mov r9d, 0x40003
lea r8, str.WriteFileNoCache
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.14000c540
nop
mov rcx, qword [rdi + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rdi + 0x10]
add rcx, rdx
mov rdx, rax
call fcn.1400064c0
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140012cd7
nop dword [rax + rax]
lock dec dword [rcx]
jne 0x140012cd7
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140012cc0
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140015a20
Capabilities:
Get disk information

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rdi
mov rax, qword [0x140079258]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov qword [rbp - 0x10], 7
xor ebx, ebx
mov qword [rbp - 0x18], rbx
mov word [rbp - 0x28], bx
xor r9d, r9d
lea r8, [0x14005ae48]
lea rdx, [rbp - 0x28]
call fcn.140010a00
test al, al
je 0x140015bed
mov rax, qword [rbp - 0x18]
test rax, rax
je 0x140015bed
lea rdx, [rax - 1]
cmp rdx, rax
ja 0x140015aaa
mov qword [rbp - 0x18], rdx
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rax, qword [rbp - 0x28]
mov word [rax + rdx*2], bx
jmp 0x140015ab9
xor r8d, r8d
sub rdx, rax
lea rcx, [rbp - 0x28]
call fcn.140009d70
lea rax, [rbp - 0x28]
mov rcx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x10]
cmp r8, 8
cmovae rax, rcx
cmp word [rax], 0x5c
je 0x140015ae4
mov r9d, 4
lea r8, [0x14005ae28]
xor edx, edx
jmp 0x140015b08
lea rax, [rbp - 0x28]
cmp r8, 8
cmovae rax, rcx
cmp word [rax + 4], 0x3f
je 0x140015b19
mov r9d, 6
lea r8, str._UNC
lea edx, [r9 - 5]
lea rcx, [rbp - 0x28]
call fcn.14001f180
mov rcx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x10]
mov rax, qword [rbp - 0x18]
lea rdx, [rax - 1]
cmp rdx, rax
ja 0x140015b3c
mov qword [rbp - 0x18], rdx
lea rax, [rbp - 0x28]
cmp r8, 8
cmovae rax, rcx
mov word [rax + rdx*2], bx
jmp 0x140015b4b
xor r8d, r8d
sub rdx, rax
lea rcx, [rbp - 0x28]
call fcn.140009d70
mov qword [rbp - 0x40], rbx
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x38]
call fcn.14002f550
nop
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x140015b77
cmp dword [rax + 4], 0
je 0x140015b77
mov edi, 0x84
jmp 0x140015bc1
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ebx, eax
cmp eax, 1
jne 0x140015bb8
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.140018400
test al, al
je 0x140015bb8
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ebx, eax
mov ecx, ebx
call fcn.14000c500
mov edi, eax
lea rcx, [rbp - 0x38]
call fcn.14002f6c0
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140015bf2
lock dec dword [rcx]
jne 0x140015bf2
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140015bd4
jmp 0x140015bf2
mov edi, 0x89
cmp qword [rbp - 0x10], 8
jb 0x140015c02
mov rcx, qword [rbp - 0x28]
call fcn.1400376e4
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140038d80
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
Function at 0x1400185c0
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140079258]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov dword [rcx + 0x14], 0x200
mov qword [rbp - 0x18], 7
xor esi, esi
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
xor r9d, r9d
lea r8, [0x14005ae48]
lea rdx, [rbp - 0x30]
add rcx, 0xffffffffffffffc0
call fcn.140010a00
test al, al
je 0x1400187c7
mov rax, qword [rbp - 0x20]
test rax, rax
je 0x1400187c7
lea rdx, [rax - 1]
cmp rdx, rax
ja 0x140018659
mov qword [rbp - 0x20], rdx
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rax, qword [rbp - 0x30]
mov word [rax + rdx*2], si
jmp 0x140018668
xor r8d, r8d
sub rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140009d70
lea rax, [rbp - 0x30]
mov rcx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x18]
cmp r8, 8
cmovae rax, rcx
cmp word [rax], 0x5c
je 0x140018693
mov r9d, 4
lea r8, [0x14005ae28]
xor edx, edx
jmp 0x1400186b7
lea rax, [rbp - 0x30]
cmp r8, 8
cmovae rax, rcx
cmp word [rax + 4], 0x3f
je 0x1400186c8
mov r9d, 6
lea r8, str._UNC
lea edx, [r9 - 5]
lea rcx, [rbp - 0x30]
call fcn.14001f180
mov rcx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x18]
mov rax, qword [rbp - 0x20]
lea rdx, [rax - 1]
cmp rdx, rax
ja 0x1400186eb
mov qword [rbp - 0x20], rdx
lea rax, [rbp - 0x30]
cmp r8, 8
cmovae rax, rcx
mov word [rax + rdx*2], si
jmp 0x1400186fa
xor r8d, r8d
sub rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140009d70
mov qword [rbp - 0x48], rsi
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x40]
call fcn.14002f550
nop
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x14001871f
cmp dword [rax + 4], 0
jne 0x14001879d
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x4c]
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
jne 0x140018797
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x90
jne 0x14001879d
lea rdx, [rbp - 0x30]
lea rcx, [rdi - 0x40]
call fcn.140018400
test al, al
je 0x14001879d
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x4c]
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x14001879d
mov eax, dword [rbp - 0x4c]
mov dword [rdi + 0x14], eax
lea rcx, [rbp - 0x40]
call fcn.14002f6c0
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400187c7
lock dec dword [rcx]
jne 0x1400187c7
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x1400187b0
mov ebx, dword [rdi + 0x14]
cmp qword [rbp - 0x18], 8
jb 0x1400187da
mov rcx, qword [rbp - 0x30]
call fcn.1400376e4
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140038d80
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14001d3f0
Capabilities:
Delete directory

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rsp + 0x100], rbx
mov rax, qword [0x140079258]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
mov qword [rbp + 0x3f], 7
xor eax, eax
mov qword [rbp + 0x37], rax
mov word [rbp + 0x27], ax
add rcx, 0xfffffffffffffff0
xor r9d, r9d
mov r8, rdx
lea rdx, [rbp + 0x27]
call fcn.1400181b0
test al, al
jne 0x14001d4f0
movabs rax, 0xf35f747b3b21fa9a
mov qword [rbp - 0x59], rax
lea rax, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_dir.cpp
mov qword [rbp - 0x51], rax
lea rax, str.winnt_dir::RemoveDir
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x41], 0x391
movups xmm0, xmmword [rbp - 0x59]
movaps xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rbp - 0x49]
movaps xmmword [rbp - 9], xmm1
lea rcx, str.unknown_error
call fcn.140005930
mov r9, rax
mov r8d, 0x40008
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x29]
call fcn.140033ba0
nop
mov rcx, qword [rbx - 8]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, rax
call fcn.1400064c0
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14001d60b
nop dword [rax + rax]
lock dec dword [rcx]
jne 0x14001d60b
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x14001d4d0
jmp 0x14001d60b
mov rax, qword [rbx - 8]
movsxd r8, dword [rax + 4]
add r8, rbx
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x31]
call fcn.14002f550
nop
mov rax, qword [rbx - 8]
movsxd rcx, dword [rax + 4]
mov rax, qword [rcx + rbx]
test rax, rax
je 0x14001d524
cmp dword [rax + 4], 0
jne 0x14001d601
lea rcx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rcx, qword [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14001d5e9
movabs rax, 0xf35f747b3b21faa5
mov qword [rbp - 0x59], rax
lea rax, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_dir.cpp
mov qword [rbp - 0x51], rax
lea rax, str.winnt_dir::RemoveDir
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x41], 0x39c
movups xmm0, xmmword [rbp - 0x59]
movaps xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rbp - 0x49]
movaps xmmword [rbp + 0x17], xmm1
lea rcx, str.unknown_error
call fcn.140005930
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x40008
lea r9, [rbp + 0x27]
lea r8, [0x14005b030]
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.1400147a0
nop
mov rcx, qword [rbx - 8]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, rax
call fcn.1400064c0
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x14001d601
nop word [rax + rax]
lock dec dword [rcx]
jne 0x14001d601
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x14001d5d0
jmp 0x14001d601
mov rax, qword [rbx - 8]
movsxd rcx, dword [rax + 4]
add rcx, rbx
lea rdx, [0x14007bf60]
call fcn.1400064c0
nop
lea rcx, [rbp - 0x31]
call fcn.14002f6c0
nop
cmp qword [rbp + 0x3f], 8
jb 0x14001d61b
mov rcx, qword [rbp + 0x27]
call fcn.1400376e4
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140038d80
mov rbx, qword [rsp + 0x100]
add rsp, 0xe0
pop rbp
ret
Function at 0x14001e020
Capabilities:
Set file attributes

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov rax, qword [0x140079258]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov edi, r8d
mov rbx, rcx
mov qword [rbp + 0x2f], 7
xor eax, eax
mov qword [rbp + 0x27], rax
mov word [rbp + 0x17], ax
add rcx, 0xfffffffffffffff0
xor r9d, r9d
mov r8, rdx
lea rdx, [rbp + 0x17]
call fcn.1400181b0
test al, al
jne 0x14001e120
movabs rax, 0xf35f747b3b21fb5e
mov qword [rbp - 0x69], rax
lea rax, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_dir.cpp
mov qword [rbp - 0x61], rax
lea rax, str.winnt_dir::SetDOSAttributes
mov qword [rbp - 0x59], rax
mov dword [rbp - 0x51], 0x455
movups xmm0, xmmword [rbp - 0x69]
movaps xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rbp - 0x59]
movaps xmmword [rbp - 0x19], xmm1
lea rcx, method.i_file.virtual_0
call fcn.140005930
mov r9, rax
mov r8d, 0x4000a
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x39]
call fcn.140033ba0
nop
mov rcx, qword [rbx - 8]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, rax
call fcn.1400064c0
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x14001e23b
nop dword [rax + rax]
lock dec dword [rcx]
jne 0x14001e23b
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x14001e100
jmp 0x14001e23b
mov rax, qword [rbx - 8]
movsxd r8, dword [rax + 4]
add r8, rbx
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x41]
call fcn.14002f550
nop
mov rax, qword [rbx - 8]
movsxd rcx, dword [rax + 4]
mov rax, qword [rcx + rbx]
test rax, rax
je 0x14001e154
cmp dword [rax + 4], 0
jne 0x14001e231
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rcx, qword [rbp + 0x17]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x14001e219
movabs rax, 0xf35f747b3b21fb69
mov qword [rbp - 0x69], rax
lea rax, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_dir.cpp
mov qword [rbp - 0x61], rax
lea rax, str.winnt_dir::SetDOSAttributes
mov qword [rbp - 0x59], rax
mov dword [rbp - 0x51], 0x460
movups xmm0, xmmword [rbp - 0x69]
movaps xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rbp - 0x59]
movaps xmmword [rbp + 7], xmm1
lea rcx, [0x1400569d8]
call fcn.140005930
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x40003
lea r9, [rbp + 0x17]
lea r8, [0x14005b0e8]
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
call fcn.1400147a0
nop
mov rcx, qword [rbx - 8]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, rax
call fcn.1400064c0
nop
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x14001e231
nop dword [rax]
lock dec dword [rcx]
jne 0x14001e231
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x14001e200
jmp 0x14001e231
mov rax, qword [rbx - 8]
movsxd rcx, dword [rax + 4]
add rcx, rbx
lea rdx, [0x14007bf60]
call fcn.1400064c0
nop
lea rcx, [rbp - 0x41]
call fcn.14002f6c0
nop
cmp qword [rbp + 0x2f], 8
jb 0x14001e24b
mov rcx, qword [rbp + 0x17]
call fcn.1400376e4
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140038d80
add rsp, 0xe0
pop rdi
pop rbx
pop rbp
ret
Function at 0x14001fa20
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x9f8], 0
mov rbx, rcx
je 0x14001fa52
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [rbx + 0xa00]
je 0x14001faae
lea rcx, [rbx + 0x9e8]
add rsp, 0x30
pop rbx
jmp fcn.140034ea0
cmp dword [rcx + 0xc], 0
je 0x14001faae
cmp qword [rcx + 0x9f0], 0
jne 0x14001fa80
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x9f0], rax
test rax, rax
je 0x14001faae
lea rax, [rbx + 0xa00]
lea r8, [0x14001fb20]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.140039da0
mov qword [rbx + 0x9f8], rax
add rsp, 0x30
pop rbx
ret

Function at 0x140021230
Capabilities:
Delete directory
Delete file

Disassembly:
push rbx
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x140079258]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140021265
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r8d, r8d
mov qword [rbx + 0x20], r8
cmp byte [rbx + 0x18], r8b
je 0x140021377
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x140021377
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r8
mov word [rsp + 0x38], r8w
cmp word [rdx], r8w
je 0x1400212bb
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400212b0
lea rcx, [rsp + 0x38]
call fcn.140004610
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.14002f550
nop
cmp qword [rsp + 0x50], 8
jb 0x1400212ed
mov rcx, qword [rsp + 0x38]
call fcn.1400376e4
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14002132b
cmp dword [rax + 4], 0
je 0x14002132b
lea rcx, [rsp + 0x28]
call fcn.14002f6c0
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140021377
lock dec dword [rcx]
jne 0x140021377
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140021312
jmp 0x140021377
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140021344
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
lea rcx, [rsp + 0x28]
call fcn.14002f6c0
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140021377
nop dword [rax]
lock dec dword [rcx]
jne 0x140021377
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140021360
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140038d80
add rsp, 0x60
pop rbx
ret
Function at 0x14002a520
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x28
mov edx, 6
movzx r9d, cx
mov rcx, qword [0x14007bd90]
lea r8d, [rdx - 5]
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
jne 0x14002a54a
xor eax, eax
add rsp, 0x28
ret
mov rcx, qword [0x14007bd90]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14002a543
mov rcx, rax
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_LockResource]
Function at 0x14002f170
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov eax, dword [0x14007be00]
test al, 1
jne 0x14002f1b5
or eax, 1
mov dword [0x14007be00], eax
mov qword [0x14007bdf0], 0
xor ecx, ecx
call fcn.140035030
mov dword [0x14007bdf8], eax
lea rcx, [0x1400556d0]
call fcn.14003783c
nop
mov ecx, dword [0x14007bdf8]
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
not rax
jne 0x14002f1cf
mov rax, qword [0x14007bdf0]
add rsp, 0x38
ret

Function at 0x1400327c0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x14007be30]
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
not rax
jne 0x1400327de
mov rax, qword [0x14007be28]
add rsp, 0x28
ret
Function at 0x140032df0
Capabilities:
Connect network resource

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbp, rcx
lea rcx, [0x14007bec0]
mov rbx, r9
mov rdi, r8
mov rsi, rdx
call fcn.140034ba0
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov dword [rsp + 0x20], eax
call sub.MPR.dll_WNetAddConnection3W
lea rcx, [0x14007bec0]
mov ebx, eax
call fcn.140034cd0
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140035030
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140035056
test rbx, rbx
je 0x140035056
mov dword [0x14007bf80], eax
mov qword [0x14007bf78], rbx
add rsp, 0x20
pop rbx
ret