joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004c9a0
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r15, rdx
mov rsi, rcx
cmp qword [rcx], rdx
je 0x14004ca08
mov r12d, dword [r15 + 0x2c]
lea r14, [r12 + 8]
mov rdi, qword [0x140166328]
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
call qword [rdi]
mov rbx, rax
test rax, rax
jne 0x14004c9e8
cmp byte [0x140169410], 0
jne 0x14004ca96
test rbx, rbx
je 0x14004caa6
mov qword [rbx], r12
add rbx, 8
mov rdi, qword [rsi + 8]
test rdi, rdi
jne 0x14004ca64
mov qword [rsi + 8], rbx
mov qword [rsi], r15
mov rax, qword [r15 + 0x10]
lea rcx, [0x140101c10]
cmp rax, rcx
jne 0x14004ca8f
mov rax, qword [rsi + 8]
xorps xmm0, xmm0
movups xmmword [rax + 0x5c], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x14014c770]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x14014c780]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov esi, 1
mov eax, esi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r8, qword [rdi - 8]
add rdi, 0xfffffffffffffff8
add r8, 8
mov rcx, rdi
xor edx, edx
call fcn.14010a410
mov rcx, qword [0x140166328]
mov rdx, rdi
xor r8d, r8d
call qword [rcx + 0x28]
jmp 0x14004ca01
mov rcx, rsi
call rax
jmp 0x14004ca4f
mov rcx, r14
call fcn.1400236b0
test al, al
jne 0x14004c9c8
mov dword [rsp + 0x20], 0xc4
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_digest_digest.c
xor esi, esi
mov ecx, 0x1d
xor edx, edx
mov r8d, 0x41
call fcn.140048380
jmp 0x14004ca54

Function at 0x14004e590
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x140163028]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x1401698f8]
mov ecx, dword [0x1401666f4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004e5ec
movzx eax, word [0x1401698c8]
cmp ax, 9
jne 0x14004e64e
mov esi, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140107cc0
mov eax, esi
add rsp, 0x60
pop rsi
ret
lea rcx, [0x1401698f8]
call fcn.1401050e8
cmp dword [0x1401698f8], 0xffffffff
jne 0x14004e5c5
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rsi]
movaps xmm1, xmmword [rsi + 0x10]
movaps xmm2, xmmword [rsi + 0x20]
movups xmmword [0x1401698e8], xmm2
movups xmmword [0x1401698d8], xmm1
movups xmmword [0x1401698c8], xmm0
lea rcx, [0x1401698f8]
call fcn.1401052d4
jmp 0x14004e5c5
cmp ax, 5
jg 0x14004e66f
xor esi, esi
test ax, ax
je 0x14004e5d7
cmp ax, 5
jne 0x14004e68f
mov esi, 3
jmp 0x14004e5d7
cmp ax, 6
jne 0x14004e67f
mov esi, 2
jmp 0x14004e5d7
cmp ax, 0xc
jne 0x14004e68f
mov esi, 4
jmp 0x14004e5d7
mov esi, 5
jmp 0x14004e5d7
Function at 0x14004f200
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
cmp rbx, qword [rcx + 0x18]
je 0x14004f23a
mov rax, qword [rdi]
mov qword [rbx], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r15, qword [rsi]
mov r14, qword [rsi + 8]
mov rax, r14
sub rax, r15
jbe 0x14004f296
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r12, rax
neg r12
shl rax, 3
mov r15, r14
sub r15, rax
sub rbx, r14
je 0x14004f285
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.14010a000
mov r14, qword [rsi + 8]
add rbx, r15
mov qword [rsi + 0x10], rbx
lea rax, [r14 + r12*8]
mov qword [rsi + 8], rax
jmp 0x14004f21f
mov rax, rbx
sub rax, r15
mov rcx, rax
sar rcx, 2
test rax, rax
mov r13d, 1
cmovne r13, rcx
mov rax, r13
shr rax, 0x3d
jne 0x14004f362
mov r12, r13
shr r12, 2
lea rcx, [r13*8]
call fcn.140105030
lea r10, [rax + r12*8]
lea r9, [rax + r13*8]
mov rdx, rbx
sub rdx, r14
lea r8, [r10 + rdx]
mov rcx, r10
test rdx, rdx
je 0x14004f336
mov rcx, 0xffffffffffffffff
cmovns rcx, rdx
test rcx, rcx
mov r11d, 1
cmovle r11, rcx
mov rcx, r14
sub rcx, rbx
cmp rcx, rdx
cmovle rcx, rdx
shr rcx, 3
imul rcx, r11
shl rcx, 3
lea r11, [rax + r12*8]
xor ebx, ebx
mov rdx, qword [r14 + rbx]
mov qword [r11 + rbx], rdx
add rbx, 8
cmp rcx, rbx
jne 0x14004f322
mov rcx, r8
mov qword [rsi], rax
mov qword [rsi + 8], r10
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], r9
mov rbx, rcx
test r15, r15
je 0x14004f21f
mov rcx, r15
call fcn.140105028
mov rbx, qword [rsi + 0x10]
jmp 0x14004f21f
call fcn.140106230
int3
Function at 0x14004fc50
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x140163028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm6, xmmword [0x140141df0]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x40], xmm6
movaps xmmword [rsi + 0x30], xmm6
movaps xmmword [rsi + 0x20], xmm6
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
lea rdx, str.CreateDirectoryAndGetError
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x2af
call fcn.140006710
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140019a90
cmp byte [rdi + 0x17], 0
mov rbx, rdi
jns 0x14004fcd6
mov rbx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004fd20
mov sil, 1
test al, 0x10
je 0x14004fdcd
lea rcx, [rsp + 0x40]
call fcn.140018cb0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140107cc0
mov eax, esi
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x20]
mov qword [rsi + 0x10], rax
movaps xmmword [rsi], xmm6
mov rcx, rdi
mov rdx, rsi
call fcn.14004fe40
movzx ecx, byte [rsi + 0x17]
mov r8, rcx
test cl, cl
jns 0x14004fd51
mov r8, qword [rsp + 0x28]
movzx eax, byte [rdi + 0x17]
mov rdx, rax
test al, al
jns 0x14004fd60
mov rdx, qword [rdi + 8]
cmp r8, rdx
je 0x14004fdeb
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.14004fc50
test al, al
je 0x14004fe32
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov sil, 1
test eax, eax
je 0x14004fd9f
lea rcx, [rsp + 0x20]
call fcn.14004e3d0
jmp 0x14004fcef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xb7
jne 0x14004fdba
mov rcx, rdi
call fcn.140050060
test al, al
jne 0x14004fd90
test r14, r14
je 0x14004fdc9
mov ecx, ebx
call fcn.14002df50
mov dword [r14], eax
mov ecx, ebx
jmp 0x14004fe2c
test r14, r14
je 0x14004fdd9
mov dword [r14], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x14004fcef
test r8, r8
je 0x14004fe1b
test cl, cl
jns 0x14004fdf9
mov rsi, qword [rsp + 0x20]
mov rcx, rdi
test al, al
jns 0x14004fe03
mov rcx, qword [rdi]
xor edx, edx
movzx eax, word [rsi + rdx*2]
cmp ax, word [rcx + rdx*2]
jne 0x14004fd69
inc rdx
cmp r8, rdx
jne 0x14004fe05
test r14, r14
je 0x14004fe27
mov dword [r14], 0xfffffffc
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x14004fd90
Function at 0x140050060
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x140163028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x140141df0]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x40], xmm0
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, 0x222
call fcn.140006710
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140019a90
cmp byte [rdi + 0x17], 0
jns 0x1400500d6
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.140018cb0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140107cc0
mov eax, edi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
Function at 0x14005f080
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x140163028]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, str.pd_n_
mov qword [rcx], rax
lea rax, str.pv_n_
mov qword [rcx + 8], rax
mov eax, dword [0x14016c040]
mov ecx, dword [0x1401666f4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14005f206
lea rdi, [rsi + 8]
mov ecx, dword [0x140166310]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14005f1ff
movsxd rcx, dword [0x14016c038]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14016c03c]
jne 0x14005f1ff
mov rcx, qword [rax + rcx]
mov rdx, rsi
call fcn.14003eed0
call fcn.140016e00
mov rcx, rax
mov rdx, rdi
xor r8d, r8d
call fcn.14004cec0
mov rdi, qword [rsi + 0x10]
add rdi, 8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14005f1f2
mov rcx, rsi
call fcn.140013470
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x2c]
mov dword [rdx], eax
mov ecx, 0x310
add rcx, qword [rsi + 0x10]
call fcn.140058ef0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rdi, qword [rsi + 0x10]
mov ecx, dword [0x140166310]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14005f1a9
movsxd rcx, dword [rdi + 0x2f8]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [rdi + 0x2fc]
movsxd rdx, dword [rdi + 0x2f8]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rdi, qword [rsi + 0x18]
mov qword [rsi + 0x18], 0
test rdi, rdi
je 0x14005f1dd
mov rcx, rdi
call fcn.140013130
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140107cc0
mov rcx, rdi
add rsp, 0x38
pop rdi
pop rsi
jmp fcn.140105028
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140107cc0
nop
add rsp, 0x38
pop rdi
pop rsi
ret
mov rcx, rdi
call fcn.1400071b0
jmp 0x14005f13f
xor ecx, ecx
jmp 0x14005f10b
lea rcx, [0x14016c040]
call fcn.1401050e8
cmp dword [0x14016c040], 0xffffffff
jne 0x14005f0d2
mov qword [0x14016c038], 0
lea rcx, [0x14016c038]
xor edx, edx
call fcn.14002ec30
lea rcx, [0x14016c040]
call fcn.1401052d4
jmp 0x14005f0d2
Function at 0x14007c9b0
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov r13, r9
mov r14, r8
mov r15, rdx
mov r12, rcx
mov rsi, qword [rsp + 0xc0]
mov rax, qword [0x140163028]
xor rax, rsp
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
test rsi, rsi
je 0x14007cb31
mov ebp, dword [rsi + 0x2c]
lea rbx, [rbp + 8]
mov rdi, qword [0x140166328]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call qword [rdi]
test rax, rax
jne 0x14007ca24
cmp byte [0x140169410], 0
jne 0x14007cb41
test rax, rax
je 0x14007cb51
mov qword [rax], rbp
add rax, 8
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov rdx, qword [rsi + 0x10]
lea rcx, [0x140101c10]
cmp rdx, rcx
jne 0x14007cb25
xorps xmm0, xmm0
movups xmmword [rax + 0x5c], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x14014c770]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x14014c780]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
lea rdi, [rsp + 0x30]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, r12
mov r8, r15
call qword [rax + 0x18]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, r14
call qword [rax + 0x20]
mov rax, qword [rdi]
test r13, r13
je 0x14007cab4
mov ecx, dword [rax + 4]
mov dword [r13], ecx
mov r8d, dword [rax + 0x2c]
mov rcx, qword [rsp + 0x38]
xor edx, edx
call fcn.14010a410
mov rdi, qword [rsp + 0x38]
mov esi, 1
test rdi, rdi
jne 0x14007cafd
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x14007cb38
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140107cc0
mov eax, esi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r8, qword [rdi - 8]
add rdi, 0xfffffffffffffff8
add r8, 8
mov rcx, rdi
xor edx, edx
call fcn.14010a410
mov rcx, qword [0x140166328]
mov rdx, rdi
xor r8d, r8d
call qword [rcx + 0x28]
jmp 0x14007cad3
lea rcx, [rsp + 0x30]
call rdx
jmp 0x14007ca85
xor eax, eax
jmp 0x14007ca3e
mov rcx, qword [rsp + 0x40]
call qword [rax]
jmp 0x14007cadd
mov rcx, rbx
call fcn.1400236b0
test al, al
jne 0x14007ca07
mov dword [rsp + 0x20], 0xc4
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_digest_digest.c
xor esi, esi
mov ecx, 0x1d
xor edx, edx
mov r8d, 0x41
call fcn.140048380
jmp 0x14007cad3
Function at 0x14007f8a0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rax, qword [0x140163028]
xor rax, rsp
mov qword [rsp + 0x40], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x40]
mov qword [r14 - 8], r12
lea r13, [rsp + 0x30]
lea r15, [rsp + 0x38]
mov ebp, 0xffffffff
mov qword [rsp + 0x30], r12
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r13
mov r8, r15
mov r9, r14
call qword [rax + 0x20]
mov edi, eax
mov rbx, qword [rsp + 0x30]
sub rbx, r15
mov r9, qword [rsi + 0x40]
mov edx, 1
mov rcx, r15
mov r8, rbx
call fcn.1401066e0
cmp rax, rbx
jne 0x14007f93c
cmp edi, 1
je 0x14007f8e4
cmp edi, 2
je 0x14007f93c
mov rcx, qword [rsi + 0x40]
call fcn.140106764
neg eax
sbb ebp, ebp
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140107cc0
mov eax, ebp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14007f960
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x58], 0
je 0x14007f995
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, r14
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1401066e0
xor ebx, ebx
test rsi, rsi
jle 0x14007f9ba
movzx edx, byte [r14 + rbx]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x60]
cmp eax, 0xffffffff
je 0x14007f9ba
inc rbx
cmp rsi, rbx
jne 0x14007f99c
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14007f9d0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x140163028]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r12
cmp edx, 0xffffffff
je 0x14007fa3a
mov r15d, edx
mov rdi, rcx
mov byte [rsp + 0x57], r15b
cmp byte [rcx + 0x58], 0
je 0x14007fa60
mov r9, qword [rdi + 0x40]
lea rcx, [rsp + 0x57]
mov edx, 1
mov r8d, 1
call fcn.1401066e0
mov esi, 0xffffffff
cmp rax, 1
je 0x14007fa3d
jmp 0x14007fa40
xor r15d, r15d
mov esi, r15d
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140107cc0
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rbx, [rsp + 0x58]
lea r13, [rsp + 0x48]
mov qword [r13], rbx
lea rsi, [rsp + 0x57]
lea r14, [rsp + 0x40]
mov qword [rsp + 0x40], r12
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r13
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov r8, rsi
lea r9, [rsp + 0x58]
call qword [rax + 0x10]
cmp qword [rsp + 0x40], rsi
je 0x14007fb10
mov ebp, eax
cmp eax, 3
je 0x14007faef
cmp ebp, 1
ja 0x14007fb10
mov rsi, qword [rsp + 0x48]
sub rsi, rbx
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, rbx
mov r8, rsi
call fcn.1401066e0
cmp rax, rsi
jne 0x14007fb10
mov rsi, qword [rsp + 0x40]
cmp ebp, 1
je 0x14007fa78
jmp 0x14007fa3d
mov r9, qword [rdi + 0x40]
mov edx, 1
mov r8d, 1
mov rcx, rsi
call fcn.1401066e0
cmp rax, 1
je 0x14007fa3d
mov esi, 0xffffffff
jmp 0x14007fa40

Function at 0x14007fb60
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x58], 0
je 0x14007fb95
mov r9, qword [rdi + 0x40]
mov edx, 2
mov rcx, r14
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1401066e0
xor ebx, ebx
test rsi, rsi
jle 0x14007fbbb
movzx edx, word [r14 + rbx*2]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x60]
cmp ax, 0xffff
je 0x14007fbbb
inc rbx
cmp rsi, rbx
jne 0x14007fb9c
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14007fbd0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x140163028]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r12
cmp dx, 0xffff
je 0x14007fc3a
mov r15d, edx
mov rdi, rcx
mov word [rsp + 0x56], dx
cmp byte [rcx + 0x58], 0
je 0x14007fc60
mov r9, qword [rdi + 0x40]
lea rcx, [rsp + 0x56]
mov edx, 2
mov r8d, 1
call fcn.1401066e0
mov si, 0xffff
cmp rax, 1
je 0x14007fc3d
jmp 0x14007fc40
xor r15d, r15d
mov esi, r15d
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140107cc0
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rbx, [rsp + 0x58]
lea r13, [rsp + 0x48]
mov qword [r13], rbx
lea rsi, [rsp + 0x56]
lea r14, [rsp + 0x40]
mov qword [rsp + 0x40], r12
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r13
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov r8, rsi
lea r9, [rsp + 0x58]
call qword [rax + 0x10]
cmp qword [rsp + 0x40], rsi
je 0x14007fd10
mov ebp, eax
cmp eax, 3
je 0x14007fcef
cmp ebp, 1
ja 0x14007fd10
mov rsi, qword [rsp + 0x48]
sub rsi, rbx
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, rbx
mov r8, rsi
call fcn.1401066e0
cmp rax, rsi
jne 0x14007fd10
mov rsi, qword [rsp + 0x40]
cmp ebp, 1
je 0x14007fc78
jmp 0x14007fc3d
mov r9, qword [rdi + 0x40]
mov edx, 1
mov r8d, 1
mov rcx, rsi
call fcn.1401066e0
cmp rax, 1
je 0x14007fc3d
mov si, 0xffff
jmp 0x14007fc40
Function at 0x14008e900
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r15, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
call fcn.14007ea54
mov ebx, eax
test rdi, rdi
jne 0x14008e947
test bl, bl
je 0x14008e963
mov rcx, rsi
call fcn.14007ea54
mov ebx, eax
test bl, bl
je 0x14008e93a
or byte [r14], 2
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
jne 0x14008ea2a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
jmp 0x14008ea2d
xor edi, edi
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
jne 0x14008e97d
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r8d, eax
jmp 0x14008e981
movzx r8d, word [rax]
mov rax, qword [r15]
mov rcx, r15
mov dx, 8
call qword [rax + 0x18]
test al, al
je 0x14008e9f6
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
jne 0x14008e9a7
mov rax, qword [rcx]
call qword [rax + 0x48]
jmp 0x14008e9af
add rax, 2
mov qword [rcx + 0x18], rax
mov rcx, rsi
call fcn.14007ea54
mov ebp, eax
test rdi, rdi
jne 0x14008e9cd
mov edi, 0
test bpl, bpl
je 0x14008e965
jmp 0x14008e928
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
jne 0x14008e9e2
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
jmp 0x14008e9e5
movzx eax, word [rax]
cmp ax, 0xffff
je 0x14008e9be
test bpl, bpl
jne 0x14008e965
jmp 0x14008ea3f
mov rcx, rsi
call fcn.14007ea54
mov ebx, eax
test rdi, rdi
je 0x14008e932
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x14008ea4b
movzx eax, word [rax]
cmp ax, 0xffff
sete al
xor bl, al
je 0x14008e936
jmp 0x14008e93a
movzx eax, word [rax]
cmp ax, 0xffff
je 0x14008e924
test bl, bl
jne 0x14008e965
mov rcx, rsi
call fcn.14007ea54
mov ebx, eax
jmp 0x14008ea09
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
jmp 0x14008ea16
Function at 0x14009dcb0
Capabilities:
Move file

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x140163028]
xor rax, rsp
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [0x140141df0]
lea rbx, [rsp + 0x40]
movaps xmmword [rbx + 0x40], xmm0
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.DeleteFileAfterReboot
lea r8, str..._.._base_files_file_util_win.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0x1af
call fcn.140006710
xor ebp, ebp
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
call fcn.140019a90
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x14009dd2f
mov rcx, qword [rsi + 8]
cmp rcx, 0x103
ja 0x14009dd56
test al, al
jns 0x14009dd3f
mov rsi, qword [rsi]
mov rcx, rsi
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne bpl
lea rcx, [rsp + 0x40]
call fcn.140018cb0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140107cc0
mov eax, ebp
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x14009e130
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov edi, r8d
mov r15, rdx
mov rsi, rcx
mov rax, qword [0x140163028]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movaps xmm0, xmmword [0x140141df0]
lea rbx, [rsp + 0x60]
movaps xmmword [rbx + 0x40], xmm0
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.ReadAtCurrentPos
lea r8, str..._.._base_files_file_win.cc
lea r14, [rsp + 0x40]
mov rcx, r14
mov r9d, 0x57
call fcn.140006710
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140019a90
test edi, edi
js 0x14009e265
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov rcx, qword [0x140169430]
test rcx, rcx
jne 0x14009e23f
lea r9, [rsp + 0x3c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rsi]
mov qword [rsp + 0x20], 0
mov rdx, r15
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14009e26c
mov edi, dword [rsp + 0x3c]
cmp qword [rsp + 0x40], 0
jne 0x14009e27f
test byte [0x140164f10], 0x19
jne 0x14009e2a4
lea rcx, [rsp + 0x60]
call fcn.140018d20
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140107cc0
mov eax, edi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [rcx]
call qword [rax + 8]
test al, al
je 0x14009e1d3
mov r9d, edi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x40]
mov r8, rsi
call fcn.14009b110
jmp 0x14009e1d3
mov edi, 0xffffffff
jmp 0x14009e207
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
cmp eax, 0x26
setne dil
neg edi
jmp 0x14009e1ff
mov rcx, qword [0x140169430]
test rcx, rcx
je 0x14009e207
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x14009e207
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], 0
lea rdx, [0x140164f10]
lea r8, [0x14014948f]
mov cl, 0x45
xor r9d, r9d
call fcn.14009e020
jmp 0x14009e214