joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003f8d0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2c8
mov r14, rcx
mov rax, qword [0x1401f5028]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
movaps xmm0, xmmword [0x1401c8a80]
lea rdi, [rsp + 0x60]
movaps xmmword [rdi + 0x40], xmm0
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x1401d144c]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov r9d, 0x3aa
call fcn.1400d4e70
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400d4e90
lea rbx, [rsp + 0xb0]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400f5b50
mov word [rbx], 0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
dec edi
cmp edi, 0x103
ja 0x14003f9c8
lea rsi, [rsp + 0x20]
mov qword [rsi], rbx
mov rcx, rbx
call fcn.1400f080c
mov qword [rsi + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.1400dcf00
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.14001be40
mov rcx, r14
mov rdx, rsi
call fcn.1400ea020
mov rcx, rsi
call fcn.1400dcad0
mov rcx, rbx
call fcn.1400dcad0
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x60]
call fcn.1400dcae0
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400f32c0
mov eax, ebx
add rsp, 0x2c8
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400404e0
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
sub rsp, 0x1a8
mov rsi, rcx
mov rax, qword [0x1401f5028]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
cmp byte [rcx + 0x17], 0
jns 0x140040507
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140040541
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140040560
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400f32c0
mov rcx, rsi
add rsp, 0x1a8
pop rdi
pop rsi
jmp fcn.140040b70
mov sil, 1
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400f32c0
mov eax, esi
add rsp, 0x1a8
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400e8860
test al, al
je 0x140040618
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x25e
mov r9d, 2
call fcn.1401438e0
lea rcx, [rsp + 0x68]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1400d6670
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x30]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x40]
mov rcx, rsi
call fcn.1400d96e0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400405f2
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.1400d6670
cmp byte [rsp + 0x57], 0
jns 0x14004060e
mov rcx, qword [rsp + 0x40]
call fcn.1400f0498
lea rcx, [rsp + 0x58]
call fcn.1401439d0
xor esi, esi
jmp 0x140040544
Function at 0x140040b70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x1b8
mov rsi, rcx
mov rax, qword [0x1401f5028]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
cmp byte [rcx + 0x17], 0
jns 0x140040b97
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140040bc9
mov dil, 1
test al, 0x10
je 0x140040c86
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1400f32c0
mov eax, edi
add rsp, 0x1b8
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400e8860
test al, al
je 0x140040d49
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x68]
mov r8d, 0x249
mov r9d, 2
call fcn.1401438e0
lea rcx, [rsp + 0x78]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400d6670
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x40]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x50]
mov rcx, rsi
call fcn.1400d96e0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x140040c5b
mov r8, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rcx, rdi
mov rdx, rsi
call fcn.1400d6670
cmp byte [rsp + 0x67], 0
jns 0x140040c77
mov rcx, qword [rsp + 0x50]
call fcn.1400f0498
lea rcx, [rsp + 0x68]
call fcn.1401439d0
jmp 0x140040d49
mov ecx, 2
call fcn.1400e8860
test al, al
je 0x140040d49
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x68]
mov r8d, 0x24d
mov r9d, 2
call fcn.140002b90
lea rcx, [rsp + 0x78]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400d6670
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x30]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x50]
mov rcx, rsi
call fcn.1400d96e0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x140040d0e
mov r8, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rcx, rdi
mov rdx, rsi
call fcn.1400d6670
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.1400d6670
cmp byte [rsp + 0x67], 0
jns 0x140040d3f
mov rcx, qword [rsp + 0x50]
call fcn.1400f0498
lea rcx, [rsp + 0x68]
call fcn.14002ed20
xor edi, edi
jmp 0x140040bad
Function at 0x140041140
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rdi, rcx
mov rax, qword [0x1401f5028]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.140040a90
test rax, rax
jne 0x14004117f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
je 0x14004119b
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400f32c0
mov eax, esi
add rsp, 0x178
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400e8860
test al, al
je 0x1400411f1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xf4
mov r9d, 2
call fcn.1401438e0
lea rcx, [rsp + 0x38]
lea rdx, [0x1401e097e]
mov r8d, 0xc
call fcn.1400d6670
mov rcx, rsi
call fcn.1401439d0
xor esi, esi
jmp 0x14004117f
Function at 0x1400445f0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x1401f5028]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor edx, edx
call fcn.1400eb520
lea rdi, [rsi + 0x10]
lea rdx, str.ExitCodeWatcherThread
lea rbx, [rsp + 0x20]
mov rcx, rbx
call fcn.1401256d0
mov rcx, rdi
mov rdx, rbx
call fcn.1400446f0
cmp byte [rbx + 0x17], 0
js 0x1400446d9
mov dword [rsi + 0x98], 0x103
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0xa0], 0
test rax, rax
je 0x1400446a3
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0xa0]
inc rax
cmp rax, 2
jae 0x1400446bb
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14004469b
mov qword [rsi + 0xa0], rdi
call fcn.1400c18d0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400f32c0
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call fcn.1400c18d0
mov rcx, qword [rsi + 0xa0]
call fcn.1400def50
mov qword [rsi + 0xa0], 0
jmp 0x140044685
mov rcx, qword [rsp + 0x20]
call fcn.1400f0498
jmp 0x14004463d
Function at 0x140047c70
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rbx, qword [rcx + 0x38]
mov rsi, qword [rcx + 0x40]
cmp rbx, rsi
jne 0x140047c98
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, r8
mov edi, edx
cmp dword [rbx + 0x68], edx
jne 0x140047d20
cmp byte [rbx + 0x27], 0
jns 0x140047cae
mov rcx, qword [rbx + 0x10]
jmp 0x140047cb2
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x140047d20
mov r15, qword [r14 + 8]
cmp r15, qword [r14 + 0x10]
je 0x140047df3
movups xmm0, xmmword [rbx]
movups xmmword [r15], xmm0
lea rcx, [r15 + 0x10]
lea rdx, [rbx + 0x10]
call fcn.1400dec90
lea rcx, [r15 + 0x28]
cmp byte [rbx + 0x3f], 0
js 0x140047de1
lea rax, [rbx + 0x28]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
mov rax, qword [rbx + 0x60]
mov qword [r15 + 0x60], rax
movups xmm0, xmmword [rbx + 0x40]
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [r15 + 0x50], xmm1
movups xmmword [r15 + 0x40], xmm0
add r15, 0x68
mov qword [r14 + 8], r15
add rbx, 0x70
cmp rbx, rsi
je 0x140047c8a
mov r15, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], edi
jne 0x140047dcf
cmp byte [rbx + 0x27], 0
jns 0x140047d49
mov rcx, qword [rbx + 0x10]
jmp 0x140047d4d
lea rcx, [rbx + 0x10]
call r15
test al, 0x10
jne 0x140047dcf
mov r12, qword [r14 + 8]
cmp r12, qword [r14 + 0x10]
je 0x140047d90
movups xmm0, xmmword [rbx]
movups xmmword [r12], xmm0
lea rcx, [r12 + 0x10]
lea rdx, [rbx + 0x10]
call fcn.1400dec90
lea rcx, [r12 + 0x28]
cmp byte [rbx + 0x3f], 0
js 0x140047d9d
mov rax, qword [rbx + 0x38]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rbx + 0x28]
movups xmmword [rcx], xmm0
jmp 0x140047daa
mov rcx, r14
mov rdx, rbx
call fcn.14015f320
jmp 0x140047dcf
mov rdx, qword [rbx + 0x28]
mov r8, qword [rbx + 0x30]
call fcn.1400e8260
mov rax, qword [rbx + 0x60]
mov qword [r12 + 0x60], rax
movups xmm0, xmmword [rbx + 0x40]
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [r12 + 0x50], xmm1
movups xmmword [r12 + 0x40], xmm0
add r12, 0x68
mov qword [r14 + 8], r12
add rbx, 0x70
cmp rsi, rbx
je 0x140047c8a
jmp 0x140047d34
mov rdx, qword [rbx + 0x28]
mov r8, qword [rbx + 0x30]
call fcn.1400e8260
jmp 0x140047cfe
mov rcx, r14
mov rdx, rbx
call fcn.14015f320
jmp 0x140047d20
Function at 0x14004fd30
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xe0
movaps xmmword [rsp + 0xd0], xmm6
mov esi, r8d
mov r14, rdx
mov r15, rcx
mov rax, qword [0x1401f5028]
xor rax, rsp
mov qword [rsp + 0xc8], rax
movaps xmm6, xmmword [0x1401c8a80]
lea rdi, [rsp + 0x60]
movaps xmmword [rdi + 0x40], xmm6
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.WriteAtCurrentPos
lea r8, str..._.._base_files_file_win.cc
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r9d, 0x88
call fcn.1400d4e70
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400d4e90
movabs rbx, 0xaaaaaaaaaaaaaaaa
test esi, esi
js 0x14004fe7f
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], 0
mov rcx, qword [0x1401feac8]
test rcx, rcx
jne 0x14004fe55
lea rdi, [rsp + 0xb0]
mov dword [rdi], 0xaaaaaaaa
mov rcx, qword [r15]
mov qword [rsp + 0x20], 0
mov rdx, r14
mov r8d, esi
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [rdi]
cmp qword [rsp + 0x40], 0
jne 0x14004fe86
test byte [0x1401f7030], 0x19
jne 0x14004fea7
lea rcx, [rsp + 0x60]
call fcn.1400dcbb0
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1400f32c0
mov eax, esi
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [rcx]
call qword [rax + 8]
test al, al
je 0x14004fddb
mov r9d, esi
lea rdx, str.File::WriteAtCurrentPos
lea rcx, [rsp + 0x40]
mov r8, r15
call fcn.140142c60
jmp 0x14004fddb
mov esi, 0xffffffff
jmp 0x14004fe15
mov rcx, qword [0x1401feac8]
test rcx, rcx
je 0x14004fe15
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x14004fe15
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rbx
movaps xmmword [rdi], xmm6
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x30], 0
lea r8, [0x1401f7030]
lea r9, [0x1401d1322]
mov rcx, rdi
mov dl, 0x45
call fcn.1400c3ef0
mov rbx, qword [rdi]
test rbx, rbx
je 0x14004ff07
mov r14, qword [rsp + 0x48]
lea rdi, [rsp + 0xb0]
mov rcx, rdi
xor edx, edx
call fcn.1400ec270
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], r14
mov rcx, rdi
call fcn.1400c3f10
lea rcx, [rsp + 0x40]
call fcn.1400ec280
jmp 0x14004fe22
Function at 0x14004ff20
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rdx]
mov qword [rdx], 0
lea rbp, [rbx + 1]
cmp rbp, 2
jb 0x14004ff49
call fcn.1400c18d0
mov qword [rsi], 0
test rbx, rbx
je 0x14004ff81
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14004ffa5
cmp rbp, 2
jb 0x14004ff78
mov qword [rsi], rbx
call fcn.1400c18d0
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14004ffbb
mov rax, rsi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call fcn.1400c18d0
mov rcx, qword [rsi]
call fcn.1400def50
mov qword [rsi], 0
jmp 0x14004ff6a
call fcn.1400c18d0
mov rcx, qword [rdi]
call fcn.1400def50
mov qword [rdi], 0
jmp 0x14004ff97
Function at 0x14005aae0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rax, qword [0x1401f5028]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp byte [rcx + 0x6c], 0
jne 0x14005abb2
mov rdi, rdx
mov rsi, rcx
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
test rdi, rdi
jne 0x14005abb9
lea r8, [rsp + 0x40]
mov rcx, rbx
mov edx, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14005abea
mov rbx, qword [rsp + 0x40]
cmp qword [rsi + 0x60], rbx
je 0x14005ab7d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 0x60]
inc rax
cmp rax, 2
jae 0x14005ab9a
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14005ab75
mov qword [rsi + 0x60], rbx
call fcn.1400c18d0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 0x6c], 1
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400f32c0
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
call fcn.1400c18d0
mov rcx, qword [rsi + 0x60]
call fcn.1400def50
mov qword [rsi + 0x60], 0
jmp 0x14005ab62
mov esi, 0x4df
jmp 0x14005ab83
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x30], 2
lea r9, [rsp + 0x40]
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
jmp 0x14005ab3a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14005ab83
Function at 0x14005b7a0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r14, r9
mov r13, r8
mov r12, rdx
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx], xmm0
mov rdi, qword [r8]
mov qword [r8], 0
lea rbx, [rdi + 1]
cmp rbx, 2
jb 0x14005b7df
call fcn.1400c18d0
cmp qword [rsi + 0x18], rdi
je 0x14005b815
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jae 0x14005b8e0
cmp rbx, 2
jb 0x14005b80d
mov qword [rsi + 0x18], rdi
call fcn.1400c18d0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov qword [rsi + 0x20], rax
mov rdi, qword [r12]
mov qword [r12], rax
lea r15, [rdi + 1]
cmp r15, 2
jb 0x14005b832
call fcn.1400c18d0
mov rbx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
cmp qword [rsi + 0x20], rdi
je 0x14005b880
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x20]
inc rax
cmp rax, 2
jae 0x14005b8fb
cmp r15, 2
jb 0x14005b870
mov qword [rsi + 0x20], rdi
call fcn.1400c18d0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x90]
xor eax, eax
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x30], r14
mov qword [rsi + 0x38], rax
mov qword [rsi + 0x40], rcx
xorps xmm0, xmm0
movups xmmword [rsi + 0x48], xmm0
movups xmmword [rsi + 0x58], xmm0
mov qword [rsi + 0x68], rax
mov rcx, qword [rbx + 8]
sub rcx, qword [rbx]
jne 0x14005b916
mov rax, qword [r12]
inc rax
cmp rax, 2
jae 0x14005b9a2
mov rax, qword [r13]
inc rax
cmp rax, 2
jae 0x14005b9bd
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400c18d0
mov rcx, qword [rsi + 0x18]
call fcn.1400def50
mov qword [rsi + 0x18], 0
jmp 0x14005b7fe
call fcn.1400c18d0
mov rcx, qword [rsi + 0x20]
call fcn.1400def50
mov qword [rsi + 0x20], 0
jmp 0x14005b861
mov rbp, rbx
mov rbx, rcx
sar rbx, 2
movabs rdi, 0xf0f0f0f0f0f0f0f1
imul rbx, rdi
movabs rax, 0x3c3c3c3c3c3c3c4
cmp rbx, rax
jae 0x14005b9d8
call fcn.1400f045c
mov r14, rax
mov qword [rsi + 0x60], rax
mov qword [rsi + 0x58], rax
mov rax, rbx
shl rax, 6
lea rax, [rax + rbx*4]
add rax, r14
mov qword [rsi + 0x68], rax
mov r9, qword [rbp]
mov r8, qword [rbp + 8]
sub r8, r9
test r8, r8
jle 0x14005b999
mov rax, r8
mul rdi
mov rbp, rdx
shr rbp, 6
mov rcx, r14
mov rdx, r9
call fcn.1400f5740
mov rax, rbp
shl rax, 6
lea rax, [rax + rbp*4]
add r14, rax
mov qword [rsi + 0x60], r14
jmp 0x14005b8aa
call fcn.1400c18d0
mov rcx, qword [r12]
call fcn.1400def50
mov qword [r12], 0
jmp 0x14005b8bb
call fcn.1400c18d0
mov rcx, qword [r13]
call fcn.1400def50
mov qword [r13], 0
jmp 0x14005b8cc
add rsi, 0x58
mov rcx, rsi
call fcn.1401261c0
int3
Function at 0x14006d1a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006d1c0
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
repz ret

Function at 0x14006d200
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006d220
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
repz ret

Function at 0x14006d260
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006d283
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
repz ret

Function at 0x14006d2e0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006d303
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
repz ret

Function at 0x14006d360
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
xorps xmm5, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
nop dword [rax]
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006d389
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
repz ret
Function at 0x14006d3f0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
xorps xmm5, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
nop dword [rax]
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006d419
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
repz ret

Function at 0x14006d480
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesenc xmm2, xmm1
lea rcx, [rcx + rax + 0x20]
neg rax
aesenc xmm3, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesenc xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x14006d4df

Function at 0x14006d4d0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne fcn.14006d4d0
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
repz ret

Function at 0x14006d560
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesdec xmm2, xmm1
lea rcx, [rcx + rax + 0x20]
neg rax
aesdec xmm3, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesdec xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x14006d5bf
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006d5b0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
repz ret