joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006d10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test r8, r8
je 0x140006d8b
xor r14d, r14d
mov r15d, 0x1000000
nop word [rax + rax]
cmp rbx, r15
mov dword [rsp + 0x30], r14d
mov edi, ebx
mov qword [rsp + 0x20], r14
cmova edi, r15d
lea r9, [rsp + 0x30]
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140006db1
mov eax, dword [rsp + 0x30]
cmp edi, eax
jne 0x140006db1
add rsi, rax
sub rbx, rax
jne 0x140006d50
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14002ad90
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xor eax, eax
jmp 0x140006d90
Function at 0x140009d70
Capabilities:
Create thread
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov ecx, 0x18
call fcn.14002b110
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.1400074f0
mov rbx, rax
mov qword [rax], rdi
lea rdx, [rax + 0x10]
lea rcx, [rax + 8]
call fcn.140008c80
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [0x140025870]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x140009de5
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140009e30
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x460
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x240]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.tmp.
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
call fcn.140004d80
mov rcx, rax
test rax, rax
je 0x140009eff
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140004030
test al, al
jne 0x140009edb
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140009ec2
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140004470
nop
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14002ad90
add rsp, 0x460
pop rbx
ret
mov ecx, 0x80004005
call fcn.140004eb0
int3
Function at 0x14000c160
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1050
call fcn.14005a6c0
sub rsp, rax
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x1001
call fcn.14005b7f0
mov rax, qword [rdi]
xor ebp, ebp
lea rdx, [rax - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], ebp
je 0x14000c1f1
cmp dword [rdx + 0x10], ebp
jge 0x14000c1c9
cmp dword [rax - 0xc], ebp
jl 0x14000c2ba
mov dword [rax - 0x10], ebp
mov rax, qword [rdi]
mov byte [rax], bpl
jmp 0x14000c1f1
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000c1e1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
mov rcx, qword [rbx + 0x18]
mov dword [rsp + 0x20], ebp
test rcx, rcx
je 0x14000c28c
xor r9d, r9d
mov dword [rsp + 0x24], ebp
xor r8d, r8d
lea rdx, [rsp + 0x24]
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x14000c284
mov rcx, qword [rbx + 0x18]
lea r9, [rsp + 0x20]
mov r8d, 0x1000
lea rdx, [rsp + 0x30]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000c27c
mov eax, dword [rsp + 0x20]
test eax, eax
je 0x14000c275
cmp rax, 0x1001
jae 0x14000c2c5
lea rdx, [rsp + 0x30]
mov byte [rsp + rax + 0x30], bpl
mov rcx, rdi
call fcn.14000c2d0
mov ecx, dword [rbx + 0xac]
test ecx, ecx
je 0x14000c1f1
mov rax, qword [rdi]
cmp dword [rax - 0x10], ecx
jl 0x14000c1f1
mov dword [rbx], 0xbad70021
jmp 0x14000c292
mov eax, 1
jmp 0x14000c297
mov dword [rbx], 0xbad70014
jmp 0x14000c292
mov dword [rbx], 0xbad70013
jmp 0x14000c292
mov dword [rbx], 0xbad70004
mov dword [rbx + 4], ebp
xor eax, eax
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14002ad90
mov rbx, qword [rsp + 0x1080]
add rsp, 0x1050
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80070057
call fcn.140004eb0
int3
call fcn.14002b290
int3
Function at 0x140016f20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140017048
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x140016f74
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jl 0x14001703a
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14006fe20]
mov qword [rsp + 0x20], rax
xor esi, esi
mov qword [rsp + 0x28], rsi
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140017b50
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.140016a30
nop
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp edi, 0xffffffff
je 0x140017007
test dil, 0x10
jne 0x140017007
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140016fef
cmp rcx, qword [0x14006fe20]
je 0x140016fef
call fcn.140031938
mov rax, qword [0x14006fe20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rsi
mov eax, 1
jmp 0x140017050
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001701f
cmp rcx, qword [0x14006fe20]
je 0x14001701f
call fcn.140031938
mov rax, qword [0x14006fe20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rsi
cmp ebx, 2
je 0x140017044
cmp ebx, 3
je 0x140017044
cmp ebx, 0x7b
je 0x140017044
cmp ebx, 0x35
jne 0x140017000
xor eax, eax
jmp 0x140017050
shr eax, 4
not eax
and eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14002ad90
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14001acd0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov qword [rbx + 8], rdi
test eax, eax
jne 0x14001ad30
mov rcx, qword [0x14006fe20]
mov qword [rbx], rcx
lea rdx, [0x14006c688]
mov rcx, rbx
call fcn.140017b50
jmp 0x14001ad48
mov rax, qword [0x14006fe20]
mov qword [rbx], rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140017b50
nop
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002ad90
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x14001c930
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, r8
mov rdi, rdx
mov r14, rcx
mov qword [rbp + 7], rdx
mov qword [rbp + 0xf], r8
mov rax, qword [rcx + 0x80]
xor r15d, r15d
cmp dword [rax + 0x188], r15d
je 0x14001ca41
lea rax, [rbp - 0x39]
mov qword [rbp + 0x27], rax
lea rax, [rbp - 0x29]
mov qword [rbp + 0x17], rax
lea rax, [rbp - 0x19]
mov qword [rbp + 0x1f], rax
mov rax, qword [0x14006fe20]
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], r15
lea rdx, [0x14006c68c]
lea rcx, [rbp - 0x39]
call fcn.140017b50
nop
mov rax, qword [0x14006fe20]
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], r15
mov rdx, rsi
lea rcx, [rbp - 0x29]
call fcn.140017c40
nop
mov rdx, qword [r14 + 0x80]
add rdx, 0x180
mov rax, qword [0x14006fe20]
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], r15
lea rcx, [rbp - 0x19]
call fcn.140017c40
nop
lea r9, [rbp - 0x39]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 9]
call fcn.14001a650
nop
mov rdx, rax
mov rcx, rsi
call fcn.140017c40
nop
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14001ca32
cmp rcx, qword [0x14006fe20]
je 0x14001ca32
call fcn.140031938
mov rax, qword [0x14006fe20]
mov qword [rbp - 9], rax
mov qword [rbp - 1], r15
mov edx, r15d
cmp dword [r14 + 0x68], r15d
setne dl
mov rcx, qword [r14 + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], edx
mov r9d, 1
mov r8, qword [rsi]
mov rdx, qword [rdi]
call qword [rax + 0x38]
test eax, eax
je 0x14001caf2
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, rax
sub rcx, qword [r14 + 0x60]
cmp rcx, 0x64
jle 0x14001cb1d
mov qword [r14 + 0x60], rax
call fcn.14001ad80
mov qword [rbp + 0x27], r15
mov rdx, qword [rsi]
mov rbx, r15
mov qword [rbp + 0x27], rbx
test rdx, rdx
je 0x14001cab2
lea rcx, [rbp + 0x27]
call fcn.140018c50
mov rbx, qword [rbp + 0x27]
lea rdx, [0x14006c690]
test rbx, rbx
cmovne rdx, rbx
lea rcx, str.Adding:__hs_r
call fcn.14001d7c0
mov ecx, 1
call fcn.14004637c
mov rcx, rax
call fcn.140046960
nop
test rbx, rbx
je 0x14001cb1d
mov rcx, rbx
call fcn.140031938
mov qword [rbp + 0x27], r15
jmp 0x14001cb1d
mov rcx, qword [r14 + 0x50]
mov rax, qword [rcx]
mov rdx, qword [rsi]
call qword [rax + 0x40]
mov ebx, eax
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test ebx, ebx
js 0x14001cb12
test eax, eax
jne 0x14001cb1d
mov dword [r14 + 0x88], 1
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001cb33
cmp rcx, qword [0x14006fe20]
je 0x14001cb33
call fcn.140031938
mov rax, qword [0x14006fe20]
mov qword [rdi], rax
mov qword [rdi + 8], r15
mov rcx, qword [rsi]
test rcx, rcx
je 0x14001cb53
cmp rcx, rax
je 0x14001cb53
call fcn.140031938
mov rcx, qword [0x14006fe20]
mov qword [rsi], rcx
mov qword [rsi + 8], r15
mov eax, 1
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14002ad90
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001cdf0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbp, rcx
mov rdi, qword [rdx]
mov rbx, qword [rdi]
xor r14d, r14d
lea r15, [0x140071944]
cmp rbx, rdi
je 0x14001cf15
cmp dword [rbx + 0x74], 0
jne 0x14001ceb6
mov rdx, qword [rbx + 0x20]
lea rcx, str.Deleting:__ls
call fcn.14001d7c0
mov rcx, qword [rbx + 0x20]
call fcn.140016f20
mov rcx, qword [rbx + 0x20]
test eax, eax
je 0x14001ce65
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14001cea3
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x14001ceaa
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rax, qword [0x14006fe20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r14
mov rdx, qword [rbx + 0x20]
lea rcx, [rsp + 0x38]
call fcn.140017b50
nop
lea rcx, [rsp + 0x38]
call fcn.140020980
test eax, eax
mov rcx, r15
jne 0x14001ceb1
lea rcx, str.___failed._n
call fcn.14001d7c0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rsi, rax
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
je 0x14001cf09
movsx r8d, word [rsp + 0x58]
mov word [rsp + 0x30], r14w
movzx ecx, word [rsp + 0x5e]
mov word [rsp + 0x32], cx
mov edx, 0x20
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14001ce36
mov rdi, qword [rbp + 0x90]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14001cfba
nop dword [rax + rax]
mov rdx, qword [rbx + 0x10]
lea rcx, str.Deleting:__ls
call fcn.14001d7c0
mov esi, r14d
mov rcx, qword [rbx + 0x10]
call fcn.140016f20
mov rcx, qword [rbx + 0x10]
test eax, eax
je 0x14001cf5c
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14001cf9a
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x14001cf9c
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rax, qword [0x14006fe20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r14
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x38]
call fcn.140017b50
nop
lea rcx, [rsp + 0x38]
call fcn.140020980
mov esi, eax
lea rcx, str.___failed._n
test esi, esi
cmovne rcx, r15
call fcn.14001d7c0
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14001cf30
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
je 0x14001d00d
mov word [rsp + 0x30], r14w
movzx ecx, word [rsp + 0x5e]
mov word [rsp + 0x32], cx
movsx r8d, word [rsp + 0x58]
mov edx, 0x20
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14002ad90
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14001d040
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
cmp qword [rcx + 0x58], 0
je 0x14001d21a
cmp qword [rcx + 0x50], 0
je 0x14001d21a
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov ecx, 0x30
call fcn.14002b110
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x20], rax
mov rdx, qword [rbp - 0x20]
call fcn.14001d440
mov rax, qword [rbp - 0x20]
mov qword [rax], rax
mov rax, qword [rbp - 0x20]
mov qword [rax + 8], rax
xor r15d, r15d
mov qword [rbp - 0x18], r15
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x14001d197
mov rax, qword [rcx]
call qword [rax + 0x188]
mov r14, rax
mov edi, r15d
test rax, rax
je 0x14001d197
movabs r12, 0x555555555555555
mov rcx, qword [rbx + 0x58]
mov r8, qword [rcx]
mov rdx, rdi
call qword [r8 + 0x190]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.14001d2f0
nop
mov rsi, qword [rbp - 0x20]
cmp qword [rbp - 0x18], r12
je 0x14001d241
lea rax, [rbp - 0x20]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x48], r15
mov ecx, 0x30
call fcn.14002b110
mov rcx, rax
mov qword [rbp - 0x48], rax
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [rax + 0x20], xmm1
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r15w
inc qword [rbp - 0x18]
mov rax, qword [rsi + 8]
mov qword [rcx], rsi
mov qword [rcx + 8], rax
mov qword [rbp - 0x48], r15
mov qword [rsi + 8], rcx
mov qword [rax], rcx
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r15w
inc rdi
cmp rdi, r14
jb 0x14001d0f2
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x14001d1a9
mov rax, qword [rcx]
call qword [rax]
mov qword [rbx + 0x50], r15
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x14001d1bc
mov rax, qword [rcx]
call qword [rax + 0x30]
mov qword [rbx + 0x58], r15
mov sil, 1
mov rdi, qword [rbp - 0x20]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14001d1fd
nop dword [rax + rax]
lea rcx, [rbx + 0x10]
cmp qword [rcx + 0x18], 7
jbe 0x14001d1de
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r8d, r15d
movzx ecx, sil
test eax, eax
cmovne r8d, ecx
movzx esi, r8b
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14001d1d0
mov rdx, qword [rbp - 0x20]
call fcn.14001d440
mov edx, 0x30
mov rcx, qword [rbp - 0x20]
call fcn.14002b14c
movzx eax, sil
jmp 0x14001d21c
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14002ad90
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rcx, str.list_too_long
call fcn.14002ad50
int3
Function at 0x14001dca0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x780]
sub rsp, 0x880
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rbp + 0x770], rax
xor r13d, r13d
mov dword [rsp + 0x20], r13d
cmp byte [0x140081bd2], r13b
jne 0x14001dea8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov rax, qword [0x14006fe20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r13
mov edi, r13d
mov r8d, 0x410
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.140004d80
mov rcx, rax
test rax, rax
je 0x14001ded8
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.140004030
lea rsi, [r13 - 1]
test al, al
jne 0x14001dd7b
lea rax, [rsp + 0x50]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14001dd60
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.140004470
nop
mov r14d, 1
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x48], r13d
lea rdx, [rsp + 0x48]
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r12d, eax
test eax, eax
je 0x14001ddfe
mov dword [rsp + 0x4c], r13d
mov ecx, r12d
call fcn.140031930
mov r15, rax
test rax, rax
je 0x14001ddfe
mov r9, rax
mov r8d, r12d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x30]
lea rdx, [0x14006c68c]
mov rcx, r15
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14001ddf6
mov rax, qword [rsp + 0x30]
mov edi, dword [rax + 8]
mov rcx, r15
call fcn.140031938
and r14d, 0xfffffffe
mov dword [rsp + 0x20], r14d
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14001de1e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
movzx r9d, di
shr edi, 0x10
mov r8d, edi
lea rcx, [rsp + 0x38]
test r9d, r9d
je 0x14001de40
lea rdx, str._u._02u
call fcn.1400184c0
jmp 0x14001de4c
lea rdx, str._u.0
call fcn.1400184c0
mov r8, qword [0x140081bd8]
test r8, r8
jne 0x14001de66
lea r8, [0x140073520]
mov qword [0x140081bd8], r8
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
lea rcx, str.bz__ls_Beta__ls____Bandizip_console_tool._Copyright_C__2023_Bandisoft_n
call fcn.14001d7c0
mov byte [0x140081bd2], 1
test rbx, rbx
je 0x14001de97
cmp rbx, qword [0x14006fe20]
je 0x14001de97
mov rcx, rbx
call fcn.140031938
mov rax, qword [0x14006fe20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r13
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.14002ad90
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004eb0
int3
Function at 0x1400253a0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov ecx, 0x20
call fcn.14002b110
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x20], rax
mov rcx, qword [r15 + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x188]
mov r14, rax
xor r12d, r12d
mov edi, r12d
test rax, rax
je 0x1400254e4
movabs r13, 0x7ffffffffffffff
nop dword [rax]
mov rcx, qword [r15 + 0x70]
mov r8, qword [rcx]
mov rdx, rdi
call qword [r8 + 0x190]
mov rcx, qword [0x14006fe20]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], r12
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140017b50
nop
mov rsi, qword [rbp - 0x20]
cmp qword [rbp - 0x18], r13
je 0x1400255a0
lea rax, [rbp - 0x20]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x38], r12
mov ecx, 0x20
call fcn.14002b110
mov rbx, rax
mov qword [rbp - 0x38], rax
lea rcx, [rax + 0x10]
mov rdx, qword [0x14006fe20]
mov qword [rcx], rdx
mov qword [rcx + 8], r12
lea rdx, [rbp - 0x30]
call fcn.140017c40
nop
inc qword [rbp - 0x18]
mov rax, qword [rsi + 8]
mov qword [rbx], rsi
mov qword [rbx + 8], rax
mov qword [rbp - 0x38], r12
mov qword [rsi + 8], rbx
mov qword [rax], rbx
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400254c9
cmp rcx, qword [0x14006fe20]
je 0x1400254c9
call fcn.140031938
mov rax, qword [0x14006fe20]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r12
inc rdi
cmp rdi, r14
jb 0x140025420
mov rcx, qword [r15 + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdi, qword [rbp - 0x20]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14002555f
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
lea rdx, [rbx + 0x10]
mov rax, qword [0x14006fe20]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r12
lea rcx, [rbp - 0x30]
call fcn.140017c40
nop
mov rsi, qword [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
test rsi, rsi
je 0x140025548
cmp rsi, qword [0x14006fe20]
je 0x140025548
mov rcx, rsi
call fcn.140031938
mov rax, qword [0x14006fe20]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r12
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140025500
mov rdx, qword [rbp - 0x20]
call fcn.1400112f0
mov edx, 0x20
mov rcx, qword [rbp - 0x20]
call fcn.14002b14c
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14002ad90
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, str.list_too_long
call fcn.14002ad50
int3