joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402e6210
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [0x1402faf80]
lea r15, [rsp + 0x150]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea r14, [rcx + 0x18]
mov rcx, r14
call fcn.1401a6190
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.1402ec2f0
test al, al
je 0x1402e6324
cmp word [rsp + 0x150], 0x5a4d
jne 0x1402e62de
mov rcx, r14
call fcn.1401a6190
movsxd r14, dword [rsp + 0x18c]
add r14, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.1402ec2f0
test al, al
je 0x1402e63b0
cmp dword [rbx], 0x4550
jne 0x1402e63ef
mov sil, 1
test rdi, rdi
je 0x1402e638f
mov qword [rdi], r14
jmp 0x1402e638f
mov ecx, 1
call fcn.140124e30
test al, al
je 0x1402e638d
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.140073d90
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1402e6364
mov ecx, 1
call fcn.140124e30
test al, al
je 0x1402e638d
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.140073d90
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.1400fe0b0
movsx r8, byte [rsi + 0x17]
test r8, r8
jns 0x1402e637a
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.1400fe0b0
mov rcx, rdi
call fcn.140074360
xor esi, esi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14016c920
mov eax, esi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.140124e30
test al, al
je 0x1402e638d
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.140073d90
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1402e635e
mov ecx, 1
call fcn.140124e30
test al, al
je 0x1402e638d
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.140073d90
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x1402e6364
Function at 0x1402e6440
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [0x1402faf80]
lea r15, [rsp + 0x150]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea r14, [rcx + 0x18]
mov rcx, r14
call fcn.1401a6190
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.1402ec2f0
test al, al
je 0x1402e6554
cmp word [rsp + 0x150], 0x5a4d
jne 0x1402e650e
mov rcx, r14
call fcn.1401a6190
movsxd r14, dword [rsp + 0x18c]
add r14, rax
mov r8d, 0xf8
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.1402ec2f0
test al, al
je 0x1402e65e0
cmp dword [rbx], 0x4550
jne 0x1402e661f
mov sil, 1
test rdi, rdi
je 0x1402e65bf
mov qword [rdi], r14
jmp 0x1402e65bf
mov ecx, 1
call fcn.140124e30
test al, al
je 0x1402e65bd
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.140073d90
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1402e6594
mov ecx, 1
call fcn.140124e30
test al, al
je 0x1402e65bd
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.140073d90
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.1400fe0b0
movsx r8, byte [rsi + 0x17]
test r8, r8
jns 0x1402e65aa
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.1400fe0b0
mov rcx, rdi
call fcn.140074360
xor esi, esi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14016c920
mov eax, esi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.140124e30
test al, al
je 0x1402e65bd
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.140073d90
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1402e658e
mov ecx, 1
call fcn.140124e30
test al, al
je 0x1402e65bd
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.140073d90
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x1402e6594
Function at 0x14170f058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14170f1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14170f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14170f06f
add dl, dl
jne 0x14170f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14170f0f6
xor eax, eax
add dl, dl
jne 0x14170f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14170f1ad
add dl, dl
jne 0x14170f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14170f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14170f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14170f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14170f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14170f07e
mov eax, 1
add dl, dl
jne 0x14170f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14170f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14170f0fb
sub eax, ebx
mov ebx, 1
jne 0x14170f14c
mov ecx, 1
add dl, dl
jne 0x14170f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14170f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14170f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14170f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14170f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14170f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14170f15d
cmp eax, 0x7d00
jae 0x14170f19b
cmp eax, 0x500
jb 0x14170f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14170f07e
cmp eax, 0x7f
ja 0x14170f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14170f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14170f1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14170f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1806f7670
Capabilities:
Encode data using xor

Disassembly:
mov dword [r9], edi
call fcn.180709914
mov eax, 0x46343833
sal al, 0xe3
mov eax, dword [r8 + rax - 0x46343898]
mov edx, 0x3e01ca9f
mov edx, dword [r8 + rdx*2 - 0x7c03953a]
add r8, 4
push 0x40c0306
not eax
shr byte [rsp + 4], 0x87
not edx
or eax, edx
mov dword [r8], eax
lea rsp, [rsp + 8]
jmp fcn.1806d9bad
add r9, 0xc
xor edi, edi
test r11, r11
lea rsp, [rsp + 8]
je 0x1806f76f2
push r9
lea rcx, [0x180712ee0]
mov r9d, 0x65b73a29
sal r9d, 0x1a
neg r9
movzx r9d, byte [rax]
push 0xfffffffff9808d13
xor r9d, edi
and r9d, 0xff
shr byte [rsp + 7], 0x67
mov r9d, dword [rcx + r9*4]
shr edi, 8
xor edi, r9d
xor dword [rsp], 0x671026ae
inc rax
xor edi, 0x39999c97
push 0x4923f30d
dec r11
lea rsp, [rsp + 0x10]
jne 0x1806f7690
mov r9d, 0xaa884b2e
lea r9, [r9*4 - 0x20d43b00]
pop r9
not edi
jmp 0x1806d0b29
Function at 0x14002d5b0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140183028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140195668]
test rdi, rdi
jne 0x14002d663
mov ecx, 0x50
call fcn.1400af654
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.1400af654
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14002d685
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
mov rax, rsi
add rax, 0x38
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x140195668], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14002d6b1
mov rcx, rax
call fcn.1400ce8c0
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14002d6c0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400b0a80
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.1400e3160
int3
Function at 0x14002d6c0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140183028]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 3
call fcn.14003b020
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14002d854
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x1401630b8]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14002d8d1
lea rdx, [0x140163108]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002d8e4
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x1401ab008]
mov r15, rax
movsxd r12, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test r12, r12
je 0x14002d8ec
shl r12, 3
movabs rax, 0x5555555555555551
cmp r12, rax
jae 0x14002d8f6
lea r14, [r12 + r12*2]
mov rcx, r14
call fcn.1400af654
mov rbx, rax
mov qword [rsp + 0x30], rax
add rax, r14
mov qword [rsp + 0x40], rax
xor r13d, r13d
mov r14, rbx
test r14, r14
je 0x14002d879
mov rdx, qword [r15 + r13]
mov rcx, r14
call fcn.1400e17f0
add r14, 0x18
add r13, 8
cmp r12, r13
jne 0x14002d7cc
mov qword [rsp + 0x38], r14
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14002d3c0
movups xmmword [rsi], xmm6
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14002d81a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x14002d854
cmp r14, rbx
je 0x14002d84c
add r14, 0xffffffffffffffe8
test r14, r14
je 0x14002d8a5
cmp byte [r14 + 0x17], 0
js 0x14002d842
lea rax, [r14 - 0x18]
cmp r14, rbx
mov r14, rax
jne 0x14002d828
jmp 0x14002d84c
mov rcx, qword [r14]
call fcn.1400af690
jmp 0x14002d834
mov rcx, rbx
call fcn.1400af690
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400b0a80
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.1400e3160
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x3f
call fcn.1400e3160
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14002d771
xor r15d, r15d
jmp 0x14002d774
xor r14d, r14d
xor ebx, ebx
jmp 0x14002d7f3
call fcn.1400c4bb0
int3
Function at 0x14002fd90
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.1400348a0
mov qword [rsi], 0
test rax, rax
je 0x14002fde3
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14002fe17
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14002fddb
mov qword [rsi], rbx
call fcn.14007c860
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.14007b9d0
lea rcx, [rsi + 0x20]
call fcn.1400810e0
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
call fcn.14007c860
mov rcx, qword [rsi]
call fcn.14007f5e0
mov qword [rsi], 0
jmp 0x14002fdc9

Function at 0x140030b80
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.140030c40
mov eax, dword [rsi]
mov dword [0x140184f48], eax
test al, 1
jne 0x140030ba1
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x1401956a8]
test rcx, rcx
jne 0x140030bbb
mov rcx, qword [0x140195680]
test rcx, rcx
je 0x140030bdf
jmp 0x140030c01
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401956a8], 0
mov rcx, qword [0x140195680]
test rcx, rcx
jne 0x140030c01
and byte [0x140184f48], 0xfe
mov ecx, 0x18
call fcn.1400af654
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x140195680], rax
mov rdx, qword [rsi + 8]
call fcn.1400317a0
cmp dword [rsi + 0x14], 0
jne 0x140030c26
mov rcx, qword [0x140195680]
cmp byte [rcx + 0x17], 0
jns 0x140030c20
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.1400fb460
Function at 0x140033ec0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x140183028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x14015f250]
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.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1c9
call fcn.14007c840
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400827d0
cmp byte [rdi + 0x17], 0
jns 0x140033f44
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.140082830
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400b0a80
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret

Function at 0x140033f80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x140183028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x14015f250]
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, 0x1f1
call fcn.14007c840
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400827d0
cmp byte [rdi + 0x17], 0
jns 0x140034004
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.140082830
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400b0a80
mov eax, edi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret

Function at 0x140034050
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140183028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400b2bb0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
add edi, 0xfffffefc
cmp edi, 0xfffffefd
jb 0x1400340f3
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400ce8c0
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14007bae0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140030630
mov rcx, rsi
mov rdx, r14
call fcn.14002fea0
mov rcx, r14
call fcn.14007bc60
mov rcx, rbx
call fcn.14007bc60
cmp edi, 0xfffffefd
setae bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400b0a80
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140034120
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140183028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400b2bb0
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400341b5
cmp word [rsp + 0x70], 0
je 0x1400341b5
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400ce8c0
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14007bae0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1400b0a80
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14015f250]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.14007b9b0
mov rcx, rdi
call fcn.140034050
test al, al
je 0x1400341f5
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14007bac0
jmp 0x140034214
lea rax, [0x140163538]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14007bae0
lea rcx, [rsp + 0x40]
call fcn.14007bc60
jmp 0x140034197
Function at 0x140034620
Capabilities:
Check if file exists
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, 0x568
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140183028]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1400b2bb0
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.140036130
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14015f250]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.140036330
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x1400346b8
mov rax, qword [rsp + 0x38]
jmp 0x1400346bb
and eax, 0x7f
test rax, rax
jne 0x1400346fd
lea rcx, [rsp + 0x30]
call fcn.14007bc60
lea rcx, [rsp + 0x298]
call fcn.140036280
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.1400b0a80
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r12d, r12d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.1400b2bb0
mov rcx, r15
mov rdx, r14
call fcn.1400362f0
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x14003481e
mov rcx, r14
call fcn.140036060
test al, al
jne 0x1400347cd
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x14003475b
mov rcx, qword [rsp + 0x30]
call r13
test eax, eax
jne 0x140034853
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r12d, r12d
cmovne ebp, r12d
mov rcx, r14
call fcn.140019c10
mov rcx, r15
mov rdx, r14
call fcn.140036330
mov rcx, rdi
mov rdx, r14
call fcn.14002fea0
mov rcx, r14
call fcn.14007bc60
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x1400347b9
mov rax, qword [rsp + 0x38]
jmp 0x1400347bc
and eax, 0x7f
mov r12d, ebp
test rax, rax
je 0x1400346c0
jmp 0x140034714
xor ebp, ebp
test bl, bl
je 0x14003477c
mov rcx, rdi
mov rdx, rsi
mov r8b, 1
call fcn.140034620
test eax, eax
jne 0x140034870
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x1400347f8
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14003477c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x14003477c
test bl, bl
je 0x140034833
and edx, 0xfffffffe
cmp byte [rsp + 0x47], 0
jns 0x14003485a
mov rcx, qword [rsp + 0x30]
jmp 0x14003485f
lea rcx, [rsp + 0x48]
call fcn.140036060
test al, al
je 0x14003486a
lea rcx, [rsp + 0x48]
call fcn.140036060
test al, al
je 0x14003474c
xor ebp, ebp
jmp 0x14003477c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x14003473c
mov edx, dword [rsp + 0x48]
jmp 0x140034822
mov ebp, eax
jmp 0x14003477c
Function at 0x1400348d0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140183028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x50]
mov qword [r14 + 0x50], r12
movaps xmm0, xmmword [0x14015f250]
movaps xmmword [r14 + 0x40], xmm0
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.ReadAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x5b
call fcn.14007c840
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400827d0
test esi, esi
js 0x1400349de
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0
call fcn.1400810c0
test al, al
jne 0x1400349e5
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140034a01
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x140034a14
lea rcx, [rsp + 0x30]
call fcn.140081150
lea rcx, [rsp + 0x50]
call fcn.140082830
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400b0a80
mov eax, esi
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x1400349b1
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1400fe4d0
jmp 0x140034977
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x1400349a7
int3

Function at 0x140034a20
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140183028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x50]
mov qword [r14 + 0x50], r12
movaps xmm0, xmmword [0x14015f250]
movaps xmmword [r14 + 0x40], xmm0
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.WriteAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, DllRegisterServer
call fcn.14007c840
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400827d0
test esi, esi
js 0x140034b2f
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0
call fcn.1400810c0
test al, al
jne 0x140034b36
lea r14, [rsp + 0x2c]
mov dword [r14], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [r14]
lea rcx, [rsp + 0x30]
call fcn.140081150
lea rcx, [rsp + 0x50]
call fcn.140082830
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400b0a80
mov eax, esi
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x140034b02
mov r9d, esi
lea rdx, str.File::WriteAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1400fe4d0
jmp 0x140034ac7