joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015cb0
Capabilities:
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, 0x578
mov r15d, r8d
mov r14, rdx
mov rdx, rcx
mov rax, qword [0x140124058]
xor rax, rsp
mov qword [rsp + 0x570], rax
mov qword [rsp + 0x20], r14
xor ebp, ebp
lea rsi, [rsp + 0x2a0]
mov rcx, rsi
xor r8d, r8d
mov r9d, 3
call fcn.14001d5a0
lea rdi, [rsp + 0x280]
mov rcx, rsi
mov rdx, rdi
call fcn.14001d730
cmp qword [rsp + 0x290], 0
je 0x140015e54
lea rsi, [rsp + 0x2a0]
lea rbx, [rsp + 0x30]
mov r12, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r13d, r13d
nop word [rax + rax]
mov rcx, rsi
mov rdx, rbx
call fcn.14001d6a0
mov edx, dword [rsp + 0x30]
test dl, 1
je 0x140015d88
test r15b, r15b
jne 0x140015d69
mov rcx, rbx
call fcn.14001d330
test al, al
jne 0x140015d88
mov edx, dword [rsp + 0x30]
and edx, 0xfffffffe
cmp qword [rsp + 0x298], 7
mov rcx, rdi
jbe 0x140015d82
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call fcn.14001d330
test al, al
je 0x140015de0
xor ebp, ebp
test r15b, r15b
je 0x140015e15
mov rcx, rdi
mov rdx, r14
mov r8b, 1
call fcn.140015cb0
mov ebp, eax
test eax, eax
jne 0x140015e15
cmp qword [rsp + 0x298], 7
mov rcx, rdi
jbe 0x140015dc5
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x140015e15
jmp 0x140015dff
cmp qword [rsp + 0x298], 7
mov rcx, rdi
jbe 0x140015df6
mov rcx, qword [rsp + 0x280]
call r12
xor ebp, ebp
test eax, eax
jne 0x140015e15
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
or eax, 1
cmp eax, 3
mov eax, 0
cmove ebp, eax
test r13d, r13d
cmovne ebp, r13d
mov rcx, rbx
call fcn.140004c50
mov rcx, rsi
mov rdx, rbx
call fcn.14001d730
mov rcx, rdi
mov rdx, rbx
call fcn.140011fe0
mov rcx, rbx
call fcn.140011f00
cmp qword [rsp + 0x290], 0
mov r13d, ebp
jne 0x140015d40
lea rcx, [rsp + 0x280]
call fcn.140011f00
lea rcx, [rsp + 0x2a0]
call fcn.14001d5d0
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.1400a5a90
mov eax, ebp
add rsp, 0x578
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140016810
Capabilities:
Delete file

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov r14, rcx
mov rax, qword [0x140124058]
xor rax, rbp
mov qword [rbp], rax
call fcn.14000d380
mov rdi, rax
lea rbx, [0x1400f6091]
mov rcx, rax
mov rdx, rbx
call fcn.14000d7a0
test al, al
jne 0x14001686d
lea rdx, str.vmodule
mov rcx, rdi
call fcn.14000d7a0
test al, al
je 0x14001697a
cmp qword [0x140127d28], 0
jne 0x140016a7d
mov rax, qword [0x140127d30]
mov qword [0x140127d28], rax
mov ecx, 0x20
call fcn.1400a56d0
mov rsi, rax
lea rcx, str.vmodule
mov qword [rbp - 0x50], rcx
call fcn.1400dccb0
mov qword [rbp - 0x48], rax
lea r15, [rbp - 0x20]
lea r8, [rbp - 0x50]
mov rcx, rdi
mov rdx, r15
call fcn.14000d810
mov qword [rbp - 0x60], rbx
mov rcx, rbx
call fcn.1400dccb0
mov qword [rbp - 0x58], rax
lea rbx, [rbp - 0x40]
lea r8, [rbp - 0x60]
mov rcx, rdi
mov rdx, rbx
call fcn.14000d810
lea r9, [0x140127d38]
mov rcx, rsi
mov rdx, rbx
mov r8, r15
call fcn.140028870
mov qword [0x140127d30], rsi
mov rax, qword [rbp - 0x28]
cmp rax, 0x10
jb 0x14001693b
mov rcx, qword [rbp - 0x40]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140016936
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140016a84
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400a5740
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x14001697a
mov rcx, qword [rbp - 0x20]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140016975
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140016a84
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400a5740
mov eax, dword [r14]
mov dword [section..data], eax
mov bl, 1
test al, 1
je 0x140016a5f
mov rcx, qword [0x140127d88]
test rcx, rcx
je 0x1400169aa
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140127d88], 0
mov rdi, qword [0x140127d40]
test rdi, rdi
jne 0x1400169e3
mov ecx, 0x20
call fcn.1400a56d0
mov rdi, rax
mov eax, 7
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rdi + 0x10], xmm0
mov word [rdi], 0
mov qword [0x140127d40], rdi
mov rsi, qword [r14 + 8]
mov rcx, rsi
call fcn.1400dd300
mov rbx, rax
mov rax, qword [rdi + 0x18]
cmp rax, rbx
jae 0x140016a12
mov rcx, rdi
mov rdx, rbx
mov r9, rsi
call fcn.140003250
cmp dword [r14 + 0x14], 0
jne 0x140016a58
jmp 0x140016a41
mov r15, rdi
cmp rax, 8
jb 0x140016a1e
mov r15, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
add r8, rbx
mov rcx, r15
mov rdx, rsi
call fcn.1400c9420
mov word [r15 + rbx*2], 0
cmp dword [r14 + 0x14], 0
jne 0x140016a58
mov rcx, qword [0x140127d40]
cmp qword [rcx + 0x18], 7
jbe 0x140016a52
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.140016a90
mov ebx, eax
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1400a5a90
mov eax, ebx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
int3
call fcn.1400d60c0
ud2
Function at 0x14001a020
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r13, r8
mov r14, rdx
mov r15, rcx
movzx eax, byte [r8]
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rcx, rax
movzx edx, byte [r8 + 1]
xor rdx, rcx
imul rdx, rax
movzx ecx, byte [r8 + 2]
xor rcx, rdx
imul rcx, rax
movzx edx, byte [r8 + 3]
xor rdx, rcx
imul rdx, rax
and rdx, qword [r15 + 0x30]
mov rax, qword [r15 + 8]
mov r8, qword [r15 + 0x18]
lea rdi, [rdx + rdx]
add rdi, 1
shl rdx, 4
mov rcx, qword [r8 + rdx]
mov ebx, dword [r13]
mov rdx, rcx
jmp 0x14001a0a3
mov rdx, qword [rdx]
mov rsi, rcx
cmp rcx, rax
je 0x14001a0b2
mov rsi, qword [r8 + rdi*8]
mov rsi, qword [rsi]
cmp rsi, rdx
je 0x14001a0cb
cmp dword [rdx + 0x10], ebx
jne 0x14001a0a0
cmp rdx, rax
je 0x14001a0cb
mov qword [r14], rdx
mov byte [r14 + 8], 0
jmp 0x14001a140
mov rdi, qword [rax]
mov r12, qword [rdi + 8]
mov ecx, 0x38
call fcn.1400a56d0
mov rsi, rax
test rdi, rdi
mov rax, r12
cmove rax, rsi
mov rcx, rdi
cmove rcx, rsi
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov eax, dword [r13]
mov dword [rsi + 0x10], eax
lea rcx, [rsi + 0x18]
call fcn.140011d20
mov rax, qword [r15 + 0x10]
movabs rcx, 0x492492492492491
cmp rax, rcx
je 0x14001a153
add rax, 1
mov qword [r15 + 0x10], rax
mov qword [rdi + 8], rsi
mov qword [r12], rsi
mov rax, qword [r15 + 8]
mov r9, qword [rax]
lea r8, [r9 + 0x10]
mov rcx, r15
mov rdx, r14
call fcn.14001a170
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.list_T__too_long
call fcn.1400a6f60
ud2
Function at 0x14001ae40
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x140124058]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x14001ae6f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14001ae72
mov rcx, qword [rdi]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x14001ae93
test bl, bl
je 0x14001aedc
cmp byte [rdi + 8], 0
je 0x14001aece
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14001aed1
cmp byte [rdi + 8], 0
je 0x14001aea4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14001aea7
mov rcx, qword [rdi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14001aebd
xor edi, edi
jmp 0x14001af58
cmp byte [rdi + 8], 0
je 0x14001af10
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14001af13
mov rcx, qword [rdi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [rdi + 8], 0
je 0x14001aeed
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14001aef0
mov rcx, qword [rdi]
call sub.KERNEL32.dll_GetProcessId
mov rcx, qword [0x140128128]
mov dil, 1
test rcx, rcx
je 0x14001af58
mov edx, eax
mov r8d, esi
call fcn.14002abb0
jmp 0x14001af58
mov rcx, qword [rdi]
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14001af26
mov esi, dword [rsp + 0x24]
cmp byte [rdi + 8], 0
je 0x14001af37
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14001af3a
mov rcx, qword [rdi]
call sub.KERNEL32.dll_GetProcessId
mov rcx, qword [0x140128128]
test rcx, rcx
je 0x14001af55
mov edx, eax
mov r8d, esi
call fcn.14002abb0
mov dil, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400a5a90
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x140020260
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x40], rdx
mov r12, qword [rcx]
lea rax, [r12 + 8]
mov qword [rsp + 0x38], rax
mov r13, qword [r12 + 8]
cmp byte [r13 + 0x19], 0
mov qword [rsp + 0x30], r8
je 0x14002029d
mov qword [rsp + 0x28], r12
jmp 0x140020326
mov rbx, qword [r8]
mov r15, qword [r8 + 8]
sub r15, rbx
mov qword [rsp + 0x28], r12
mov rdi, qword [r13 + 0x20]
mov rbp, qword [r13 + 0x28]
sub rbp, rdi
cmp rbp, r15
setb r14b
mov rsi, r15
cmovb rsi, rbp
mov rcx, rdi
mov rdx, rbx
mov r8, rsi
call fcn.1400c9320
test eax, eax
sete cl
test eax, eax
js 0x140020317
and r14b, cl
jne 0x140020317
cmp byte [r12 + 0x19], 0
je 0x140020310
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call fcn.1400c9320
test eax, eax
mov rcx, r12
cmove rcx, r13
cmp r15, rbp
cmovae rcx, r12
test eax, eax
cmovs rcx, r13
mov r12, rcx
mov qword [rsp + 0x28], r13
jmp 0x14002031b
add r13, 0x10
mov r13, qword [r13]
cmp byte [r13 + 0x19], 0
je 0x1400202ac
xor eax, eax
cmp byte [r12 + 0x19], al
mov rcx, qword [rsp + 0x38]
cmove rcx, r12
mov rdi, qword [rcx]
cmp byte [rdi + 0x19], al
jne 0x140020394
mov rax, qword [rsp + 0x30]
mov rsi, qword [rax]
mov rbp, qword [rax + 8]
sub rbp, rsi
xor r15d, r15d
mov rdx, qword [rdi + 0x20]
mov r8, qword [rdi + 0x28]
sub r8, rdx
cmp rbp, r8
setb bl
cmovb r8, rbp
mov rcx, rsi
call fcn.1400c9320
test eax, eax
sets al
sete cl
and cl, bl
or cl, al
mov eax, ecx
xor al, 1
movzx eax, al
shl rax, 4
test cl, cl
cmovne r12, rdi
mov rdi, qword [rdi + rax]
cmp byte [rdi + 0x19], r15b
je 0x140020350
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov qword [rax + 8], r12
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140021ad0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov r14, rcx
mov rax, qword [0x140124058]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov word [rdi], 0
xor ebx, ebx
lea r15, str.PROGRAMFILES
mov rsi, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx + r15]
mov word [rsp + 0x20], 0
mov rdx, rdi
mov r8d, 0x104
call rsi
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140021b3f
mov edx, eax
mov rcx, rdi
mov r8, r14
call fcn.140021a60
test al, al
jne 0x140021b4d
add rbx, 8
cmp rbx, 0x18
jne 0x140021b0d
xor esi, esi
jmp 0x140021b50
mov sil, 1
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.1400a5a90
mov eax, esi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400251a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x140124058]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x80], 0
je 0x140025220
cmp qword [rsi + 0x68], 0
je 0x14002525a
cmp byte [rsi + 0x71], 0
je 0x14002525a
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140025256
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
lea rbx, [rsp + 0x28]
mov qword [rsp + 0x20], rbx
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [rax + 0x40]
test eax, eax
je 0x140025224
cmp eax, 1
je 0x140025228
cmp eax, 3
jne 0x140025256
jmp 0x14002525a
xor edi, edi
jmp 0x140025271
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x140025250
mov r9, qword [rsi + 0x80]
lea rcx, [rsp + 0x30]
mov edx, 1
mov r8, rbx
call fcn.1400d8bc0
cmp rbx, rax
jne 0x140025256
cmp byte [rsi + 0x71], 0
je 0x14002525a
xor ebx, ebx
jmp 0x14002525d
mov rbx, rsi
mov rcx, qword [rsi + 0x80]
call fcn.1400d7fc0
xor edi, edi
test eax, eax
cmove rdi, rbx
mov byte [rsi + 0x7c], 0
mov byte [rsi + 0x71], 0
lea rax, [rsi + 8]
mov qword [rsi + 0x18], rax
lea rax, [rsi + 0x10]
mov qword [rsi + 0x20], rax
lea rax, [rsi + 0x28]
mov qword [rsi + 0x38], rax
lea rax, [rsi + 0x30]
mov qword [rsi + 0x40], rax
lea rax, [rsi + 0x48]
mov qword [rsi + 0x50], rax
lea rax, [rsi + 0x4c]
mov qword [rsi + 0x58], rax
mov qword [rsi + 0x48], 0
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
movups xmmword [rsi + 0x28], xmm0
mov qword [rsi + 0x80], 0
mov rax, qword [0x1401280c8]
mov qword [rsi + 0x74], rax
mov qword [rsi + 0x68], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a5a90
mov rax, rdi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
Function at 0x140025400
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rax, qword [0x140124058]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp edx, 0xffffffff
je 0x14002552e
mov esi, edx
mov rdi, rcx
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x14002545e
mov rax, qword [rdi + 0x58]
mov ecx, dword [rax]
test ecx, ecx
jle 0x14002545e
add ecx, 0xffffffff
mov dword [rax], ecx
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov byte [rcx], sil
jmp 0x140025585
cmp qword [rdi + 0x80], 0
je 0x140025532
mov rax, qword [rdi + 0x18]
lea rcx, [rdi + 0x70]
cmp qword [rax], rcx
jne 0x140025498
mov ecx, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x88]
mov qword [rax], rdx
mov rax, qword [rdi + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rdi + 0x50]
mov dword [rax], ecx
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x140025539
mov byte [rsp + 0x5f], sil
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x60]
lea rdx, [rdi + 0x74]
mov rbp, qword [rcx]
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rax
lea r15, [rsp + 0x60]
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r14, [rsp + 0x5f]
mov r8, r14
call qword [rbp + 0x38]
mov ebp, 0xffffffff
cmp eax, 2
jae 0x140025565
mov rbx, qword [rsp + 0x48]
sub rbx, r15
je 0x14002551e
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x60]
mov edx, 1
mov r8, rbx
call fcn.1400d8bc0
cmp rbx, rax
jne 0x140025583
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], r14
mov eax, 0xffffffff
jmp 0x14002557e
xor esi, esi
jmp 0x140025585
mov esi, 0xffffffff
jmp 0x140025585
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call fcn.1400d85e0
mov edi, eax
cmp eax, 0xffffffff
cmovne edi, esi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400a5a90
mov eax, edi
jmp 0x140025597
cmp eax, 3
jne 0x140025583
mov rdx, qword [rdi + 0x80]
movsx ecx, byte [rsp + 0x5f]
call fcn.1400d85e0
cmp eax, 0xffffffff
cmove esi, eax
mov ebp, esi
mov esi, ebp
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400a5a90
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400259e0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, r8
mov r15, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x140025a87
mov rsi, r14
test r14, r14
jle 0x140025b31
mov rsi, r14
nop
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140025a60
mov rax, qword [rbx + 0x50]
movsxd rdi, dword [rax]
test rdi, rdi
jle 0x140025a60
cmp rsi, rdi
cmovle rdi, rsi
mov rcx, r15
mov r8, rdi
call fcn.1400c9420
add r15, rdi
sub rsi, rdi
mov rax, qword [rbx + 0x50]
sub dword [rax], edi
mov rax, qword [rbx + 0x38]
movsxd rcx, edi
add qword [rax], rcx
jmp 0x140025a7d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140025b31
mov byte [r15], al
add r15, 1
add rsi, 0xffffffffffffffff
test rsi, rsi
jg 0x140025a10
jmp 0x140025b31
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140025ad7
test r14, r14
jle 0x140025ad7
mov rax, qword [rbx + 0x50]
mov eax, dword [rax]
test eax, eax
jle 0x140025ad7
movsxd rdi, eax
cmp rdi, r14
cmovg rdi, r14
mov rcx, r15
mov r8, rdi
call fcn.1400c9420
add r15, rdi
mov rsi, r14
sub rsi, rdi
mov rax, qword [rbx + 0x50]
sub dword [rax], edi
mov rax, qword [rbx + 0x38]
movsxd rcx, edi
add qword [rax], rcx
test rsi, rsi
jg 0x140025adf
jmp 0x140025b31
mov rsi, r14
test rsi, rsi
jle 0x140025b31
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x140025b31
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x70]
cmp qword [rax], rcx
jne 0x140025b1e
mov ecx, dword [rbx + 0x90]
mov rdx, qword [rbx + 0x88]
mov qword [rax], rdx
mov rax, qword [rbx + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbx + 0x50]
mov dword [rax], ecx
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, r15
mov r8, rsi
call fcn.1400d87d0
sub rsi, rax
sub r14, rsi
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140025b50
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, r8
mov r15, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x140025bf5
mov rsi, r14
test r14, r14
jle 0x140025c6c
mov rsi, r14
nop
mov rax, qword [rbx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140025bd0
mov rax, qword [rbx + 0x58]
movsxd rdi, dword [rax]
test rdi, rdi
jle 0x140025bd0
cmp rsi, rdi
cmovle rdi, rsi
mov rdx, r15
mov r8, rdi
call fcn.1400c9420
add r15, rdi
sub rsi, rdi
mov rax, qword [rbx + 0x58]
sub dword [rax], edi
mov rax, qword [rbx + 0x40]
movsxd rcx, edi
add qword [rax], rcx
jmp 0x140025bee
movzx edx, byte [r15]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140025c6c
add r15, 1
add rsi, 0xffffffffffffffff
test rsi, rsi
jg 0x140025b80
jmp 0x140025c6c
mov rax, qword [rbx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140025c45
test r14, r14
jle 0x140025c45
mov rax, qword [rbx + 0x58]
mov eax, dword [rax]
test eax, eax
jle 0x140025c45
movsxd rdi, eax
cmp rdi, r14
cmovg rdi, r14
mov rdx, r15
mov r8, rdi
call fcn.1400c9420
add r15, rdi
mov rsi, r14
sub rsi, rdi
mov rax, qword [rbx + 0x58]
sub dword [rax], edi
mov rax, qword [rbx + 0x40]
movsxd rcx, edi
add qword [rax], rcx
test rsi, rsi
jg 0x140025c4d
jmp 0x140025c6c
mov rsi, r14
test rsi, rsi
jle 0x140025c6c
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x140025c6c
mov edx, 1
mov rcx, r15
mov r8, rsi
call fcn.1400d8bc0
sub rsi, rax
sub r14, rsi
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140025c80
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov ebx, r9d
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140124058]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r13, [rcx + 0x70]
cmp r9d, 1
jne 0x140025cc6
mov rax, qword [rdi + 0x38]
cmp qword [rax], r13
jne 0x140025cc6
cmp qword [rdi + 0x68], 1
sbb r14, 0
cmp qword [rdi + 0x80], 0
je 0x140025d65
cmp qword [rdi + 0x68], 0
je 0x140025d30
cmp byte [rdi + 0x71], 0
je 0x140025d30
mov rax, qword [rdi]
mov rcx, rdi
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140025d65
mov rcx, qword [rdi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rdi + 0x74]
mov r10, qword [rcx]
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
lea r15, [rsp + 0x30]
mov r8, r15
call qword [r10 + 0x40]
test eax, eax
je 0x140025dd5
cmp eax, 1
je 0x140025dd9
cmp eax, 3
jne 0x140025d65
cmp ebx, 1
jne 0x140025d3a
test r14, r14
je 0x140025d50
mov rcx, qword [rdi + 0x80]
mov rdx, r14
mov r8d, ebx
call fcn.1400d4e00
test eax, eax
jne 0x140025d65
mov rcx, qword [rdi + 0x80]
lea rdx, [rsp + 0x30]
call fcn.1400d8590
test eax, eax
je 0x140025d93
mov qword [rsi], 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a5a90
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rdi + 0x18]
cmp qword [rax], r13
jne 0x140025dbb
mov ecx, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x88]
mov qword [rax], rdx
mov rax, qword [rdi + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rdi + 0x50]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rdi + 0x74]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov qword [rsi + 0x10], rcx
jmp 0x140025d73
mov byte [rdi + 0x71], 0
mov r12, qword [rsp + 0x28]
sub r12, r15
je 0x140025e05
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x30]
mov edx, 1
mov r8, r12
call fcn.1400d8bc0
cmp r12, rax
jne 0x140025d65
cmp byte [rdi + 0x71], 0
jne 0x140025d65
jmp 0x140025d30
Function at 0x140025e20
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rax, qword [0x140124058]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [r8 + 8]
add rax, qword [r8]
mov rsi, rdx
mov qword [rsp + 0x30], rax
cmp qword [rcx + 0x80], 0
je 0x140025efe
mov rbx, r8
mov rdi, rcx
cmp qword [rcx + 0x68], 0
je 0x140025ee9
cmp byte [rdi + 0x71], 0
je 0x140025ee9
mov rax, qword [rdi]
mov rcx, rdi
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140025efe
mov rcx, qword [rdi + 0x68]
lea r9, [rsp + 0x60]
lea rdx, [rdi + 0x74]
mov r10, qword [rcx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r14, [rsp + 0x40]
mov r8, r14
call qword [r10 + 0x40]
test eax, eax
je 0x140025eb7
cmp eax, 1
je 0x140025ebb
cmp eax, 3
je 0x140025ee9
jmp 0x140025efe
mov byte [rdi + 0x71], 0
mov r15, qword [rsp + 0x38]
sub r15, r14
je 0x140025ee3
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x40]
mov edx, 1
mov r8, r15
call fcn.1400d8bc0
cmp r15, rax
jne 0x140025efe
cmp byte [rdi + 0x71], 0
jne 0x140025efe
mov rcx, qword [rdi + 0x80]
lea rdx, [rsp + 0x30]
call fcn.1400d8b80
test eax, eax
je 0x140025f28
mov qword [rsi], 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400a5a90
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [rbx + 0x10]
mov qword [rdi + 0x74], rax
mov rcx, qword [rdi + 0x18]
lea rdx, [rdi + 0x70]
cmp qword [rcx], rdx
jne 0x140025f60
mov eax, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x88]
mov qword [rcx], rdx
mov rcx, qword [rdi + 0x38]
mov qword [rcx], rdx
sub eax, edx
mov rcx, qword [rdi + 0x50]
mov dword [rcx], eax
mov rax, qword [rdi + 0x74]
mov rcx, qword [rsp + 0x30]
mov qword [rsi], rcx
mov qword [rsi + 8], 0
mov qword [rsi + 0x10], rax
jmp 0x140025f0c

Function at 0x1400264a0
Capabilities:
Read file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov esi, r8d
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x140124058]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rdx, str.ReadAtCurrentPos
lea r8, str..._.._base_files_file_win.cc
lea rdi, [rsp + 0x38]
mov rcx, rdi
mov r9d, 0x56
call fcn.1400167c0
lea rcx, [rsp + 0x58]
mov rdx, rdi
xor r8d, r8d
call fcn.140024c80
test esi, esi
js 0x140026547
lea rcx, [rsp + 0x38]
call fcn.140022810
call fcn.140040160
test al, al
je 0x140026520
movsxd r9, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x38]
mov r8, rbx
call fcn.140040200
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov rdx, r14
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002654e
mov esi, dword [rsp + 0x34]
jmp 0x14002655f
mov esi, 0xffffffff
jmp 0x140026569
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
lea rcx, [rsp + 0x38]
call fcn.1400401d0
lea rcx, [rsp + 0x58]
call fcn.140024db0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400a5a90
mov eax, esi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret