joyce8/EMBER2024-capa huggingface dataset:
Function at 0x286571ce0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
mov r8, rdx
lea rdx, [rax + rcx]
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x286571d2c
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov ecx, dword [rax + 0xc]
mov rdx, rcx
cmp rcx, r8
ja 0x286571d23
add edx, dword [rax + 8]
cmp rdx, r8
ja 0x286571d2e
add rax, 0x28
cmp rax, r9
jne 0x286571d10
xor eax, eax
ret

Function at 0x286571d30
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x286571dc0
mov rdx, qword [0x286574280]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x286571dae
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x286571dae
cmp word [rax + 0x18], 0x20b
jne 0x286571dae
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x286571dc0
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x286571d99
add r12, 0x28
cmp r12, rsi
je 0x286571dc0
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x286571d90
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x286571dd0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x286574280]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x286571df0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x286571df8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x286571df0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x286571e45
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x286571e3c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x286571df0
add rax, 0x28
cmp rax, r9
jne 0x286571e28
xor eax, eax
ret

Function at 0x286571e50
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x286574280]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x286571e70
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x286571e78
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x286571e70
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x286571e90
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x286574280]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x286571eb0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x286571eb8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x286571eb0
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x286571ef8
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x286571eef
test rcx, rcx
je 0x286571eb0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x286571ee0
xor eax, eax
ret
Function at 0x286571f00
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x286574280]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x286571f20
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x286571f28
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x286571f40
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x286574280]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x286571f60
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x286571f68
mov eax, r8d
ret
cmp word [rdx + 0x18], 0x20b
jne 0x286571f60
sub rcx, rax
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x286571f60
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x286571fa4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x286571fb8
add rax, 0x28
cmp r9, rax
jne 0x286571f90
xor r8d, r8d
mov eax, r8d
ret
mov r8d, dword [rax + 0x24]
not r8d
shr r8d, 0x1f
mov eax, r8d
ret

Function at 0x286571fd0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x286574280]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x286571ff2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x286572000
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x286571ff2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x286571ff2
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x286571ff2
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x28657204d
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x286572060
add rdx, 0x28
cmp r10, rdx
jne 0x286572038
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x28657206f
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x28657207f
mov edx, dword [rax + 0xc]
test edx, edx
je 0x286572056
test ecx, ecx
jg 0x286572068
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14006397c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
sub rsp, 0x50
mov rbp, rdx
mov rbx, rcx
mov rdx, rcx
mov rcx, rbp
call fcn.14003642c
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400639a9
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 1
lea r9, [0x14008c23c]
xor r8d, r8d
mov rdx, qword [rbx + 0x10]
call fcn.140041e48
cmp rax, 0xffffffffffffffff
jne 0x1400639d2
mov al, 1
jmp 0x140063a5e
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400639df
mov rcx, qword [rbx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x140063a5e
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.14001c8dc
nop
cmp qword [rbx + 0x18], 8
jb 0x140063a0e
mov rbx, qword [rbx]
mov r8d, esi
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
cmp esi, eax
sete bl
jne 0x140063a3a
mov rdx, qword [rsp + 0x30]
mov rcx, rbp
call fcn.140003b34
nop
cmp qword [rsp + 0x30], 0
je 0x140063a5c
mov rdx, qword [rsp + 0x40]
sub rdx, qword [rsp + 0x30]
sar rdx, 1
add rdx, rdx
mov rcx, qword [rsp + 0x30]
call fcn.140003d24
mov al, bl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
stosb byte [rdi], al
nop
rcl byte [rdx + rcx*4 + 0x4e], 0xd3
fsub dword [rsi - 0x55]
idiv byte [rbp + 0x5d]
invalid
invalid
add byte [rdx + 0x41], bh
jl 0x140023289
dec byte [r11 + 0x60be9815]
and r14b, r11b
lodsb al, byte es:[rsi]
je 0x140023227
mov eax, 0x92c4e290
xchg esp, eax
xor byte [rsi - 0x19fcecbc], bl
leave
popfq
js 0x1400232b8
xor byte [rdi - 0x74], al
call 0x1bc3bfe5b
invalid
Function at 0x140002ed0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x140002f27
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rsi
call fcn.140002f30
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140002f17
mov qword [rsi], rdi
call fcn.1400167e0
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r9, rax
call fcn.14001d020
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x14000c090
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
movdqa xmmword [rsp + 0x70], xmm13
movdqa xmmword [rsp + 0x60], xmm12
movdqa xmmword [rsp + 0x50], xmm11
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
lea r8, [rdx - 0x40]
lea r11, [rcx + 0x40]
mov eax, 0x40
cmp r8, rax
jb 0x14000c1dd
add rdx, 0xffffffffffffff80
mov r9, rdx
and r9, 0xffffffffffffffc0
mov r10, r9
sub r10, 0xffffffffffffff80
movabs rax, 0x154442bd4
movq xmm9, rax
movdqa xmm8, xmmword [0x1400f24d0]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm9, 0
movdqa xmm12, xmm3
pclmulqdq xmm12, xmm9, 0
movdqa xmm11, xmm2
pclmulqdq xmm11, xmm9, 0
movdqa xmm10, xmm1
pclmulqdq xmm10, xmm9, 0
movdqa xmm4, xmm0
pclmulqdq xmm4, xmm8, 0x11
movdqa xmm5, xmm3
pclmulqdq xmm5, xmm8, 0x11
movdqa xmm7, xmm2
pclmulqdq xmm7, xmm8, 0x11
movdqa xmm13, xmm1
pclmulqdq xmm13, xmm8, 0x11
movdqu xmm0, xmmword [r11]
pxor xmm0, xmm6
pxor xmm0, xmm4
movdqu xmm3, xmmword [r11 + 0x10]
pxor xmm3, xmm12
pxor xmm3, xmm5
movdqu xmm2, xmmword [r11 + 0x20]
pxor xmm2, xmm11
pxor xmm2, xmm7
movdqu xmm1, xmmword [r11 + 0x30]
pxor xmm1, xmm10
pxor xmm1, xmm13
add r8, 0xffffffffffffffc0
add r11, 0x40
cmp r8, 0x3f
ja 0x14000c128
sub rdx, r9
add rcx, r10
mov r8, rdx
mov r11, rcx
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x1400f24e0]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp r8, 0x10
jb 0x14000c26d
movdqu xmm1, xmmword [r11]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm1
pxor xmm0, xmm2
add r11, 0x10
add r8, 0xfffffffffffffff0
cmp r8, 0xf
ja 0x14000c242
movdqa xmm1, xmmword [0x1400f24e0]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pmovzxdq xmm1, xmm0
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm2, rax
pclmulqdq xmm2, xmm1, 0
pxor xmm2, xmm0
pmovzxdq xmm0, xmm2
pclmulqdq xmm0, xmmword [0x1400f24f0], 0x10
pmovzxdq xmm0, xmm0
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
add rsp, 0x88
ret
Function at 0x14000d070
Capabilities:
Accept command line arguments

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x140124058]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [0x140127d18], 0
je 0x14000d095
xor esi, esi
jmp 0x14000d155
mov ecx, 0x30
call fcn.1400a56d0
mov rsi, rax
mov ecx, 0x20
call fcn.1400a56d0
mov qword [rsi], rax
lea rcx, [rax + 0x20]
mov qword [rsi + 0x10], rcx
mov edx, 7
movq xmm0, rdx
pslldq xmm0, 8
movdqu xmmword [rax + 0x10], xmm0
mov word [rax], 0
mov qword [rsi + 8], rcx
mov qword [rsi + 0x20], 0
mov ecx, 0x60
call fcn.1400a56d0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x28], 1
mov qword [0x140127d18], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14000d13e
cmp word [rax], 0
je 0x14000d13e
xor ecx, ecx
nop word cs:[rax + rax]
nop dword [rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x14000d130
jmp 0x14000d140
xor ecx, ecx
mov qword [rsp + 0x30], rcx
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14000d170
mov sil, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a5a90
mov eax, esi
add rsp, 0x40
pop rsi
ret
Function at 0x14000d170
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x20], xmm7
movaps xmmword [rbp + 0x10], xmm6
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x140124058]
xor rax, rbp
mov qword [rbp + 8], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x18]
lea rdx, [rbp - 0x30]
mov r8d, 3
call fcn.140022ce0
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rsi], xmm0
cmp qword [rsi + 8], 0
je 0x14000d33d
mov dword [rbp - 0x34], 0
mov rcx, qword [rsi]
lea rdx, [rbp - 0x34]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r15, rax
xorps xmm0, xmm0
movaps xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 0
movsxd rax, dword [rbp - 0x34]
test rax, rax
js 0x14000d36c
test eax, eax
je 0x14000d31d
lea rdi, [r15 + rax*8]
lea rbx, [rbp - 0x18]
lea r13, [rbp - 0x60]
lea r12, [rbp - 0x50]
xorps xmm6, xmm6
mov eax, 7
movq xmm7, rax
pslldq xmm7, 8
mov rsi, r15
nop word cs:[rax + rax]
nop
mov rax, qword [rsi]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x14000d270
cmp word [rax], 0
je 0x14000d270
xor ecx, ecx
nop word cs:[rax + rax]
nop
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x14000d260
jmp 0x14000d272
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov rcx, rbx
mov rdx, r13
call fcn.14001b710
mov rax, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x40]
cmp rdx, rax
je 0x14000d2c0
movups xmmword [rax + 0x10], xmm6
movups xmm0, xmmword [rbp - 0x18]
movups xmm1, xmmword [rbp - 8]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
movdqu xmmword [rbp - 8], xmm7
mov word [rbp - 0x18], 0
add rax, 0x20
mov qword [rbp - 0x48], rax
jmp 0x14000d310
mov rcx, r12
mov r8, rbx
call fcn.1400101c0
mov rax, qword [rbp]
cmp rax, 8
jb 0x14000d310
mov rcx, qword [rbp - 0x18]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14000d308
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x14000d365
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.1400a5740
nop dword [rax]
add rsi, 8
cmp rsi, rdi
jne 0x14000d240
lea rsi, [rbp - 0x50]
mov rcx, r14
mov rdx, rsi
call fcn.14000ceb0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call fcn.140005de0
mov rcx, qword [rbp + 8]
xor rcx, rbp
call fcn.1400a5a90
movaps xmm6, xmmword [rbp + 0x10]
movaps xmm7, xmmword [rbp + 0x20]
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1400d60c0
ud2
int3
Function at 0x140014c90
Capabilities:
Move file

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
lea rdx, str.DeleteFileAfterReboot
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x178
call fcn.1400167c0
lea rcx, [rsp + 0x40]
xor edi, edi
mov rdx, rbx
xor r8d, r8d
call fcn.140024c80
cmp qword [rsi + 0x10], 0x103
ja 0x140014d07
cmp qword [rsi + 0x18], 7
jbe 0x140014cf0
mov rsi, qword [rsi]
mov rcx, rsi
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
lea rcx, [rsp + 0x40]
call fcn.140024db0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a5a90
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret

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

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
lea rdx, str.PathExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1ab
call fcn.1400167c0
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140024c80
cmp qword [rsi + 0x18], 7
jbe 0x140014d87
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rdi
call fcn.140024db0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a5a90
mov eax, ebx
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret

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

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
lea rdx, str.DirectoryExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1bd
call fcn.1400167c0
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140024c80
cmp qword [rsi + 0x18], 7
jbe 0x140014e17
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp eax, 0xffffffff
setne al
and esi, 0x10
shr esi, 4
and sil, al
mov rcx, rdi
call fcn.140024db0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a5a90
mov eax, esi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
Function at 0x140014e50
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x290
mov rsi, rcx
mov rax, qword [0x140124058]
xor rax, rsp
mov qword [rsp + 0x288], rax
lea rdi, [rsp + 0x70]
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x102
jbe 0x140014e90
xor esi, esi
jmp 0x140014ef5
mov qword [rsp + 0x20], rdi
cmp word [rsp + 0x70], 0
je 0x140014eae
xor eax, eax
nop
cmp word [rsp + rax*2 + 0x72], 0
lea rax, [rax + 1]
jne 0x140014ea0
jmp 0x140014eb0
xor eax, eax
mov qword [rsp + 0x28], rax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140011e50
lea rbx, [rsp + 0x50]
mov rcx, rdi
mov rdx, rbx
call fcn.140013b30
mov rcx, rsi
mov rdx, rbx
call fcn.140011fe0
mov rcx, rbx
call fcn.140011f00
mov rcx, rdi
call fcn.140011f00
mov sil, 1
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.1400a5a90
mov eax, esi
add rsp, 0x290
pop rbx
pop rdi
pop rsi
ret

Function at 0x140014f20
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x288
mov rsi, rcx
mov rax, qword [0x140124058]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rdi, [rsp + 0x70]
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 0x140014f90
movzx eax, word [rsp + 0x70]
test ax, ax
je 0x140014f90
mov qword [rsp + 0x40], rdi
xor eax, eax
cmp word [rsp + rax*2 + 0x72], 0
lea rax, [rax + 1]
jne 0x140014f70
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140011e50
jmp 0x140014fe4
lea rdi, [rsp + 0x50]
mov rcx, rdi
call fcn.140011d20
mov rcx, rdi
call fcn.140014e50
test al, al
je 0x140014fb8
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140011e10
jmp 0x140014fda
lea rax, [0x1400f2646]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 3
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140011e50
lea rcx, [rsp + 0x50]
call fcn.140011f00
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400a5a90
mov rax, rsi
add rsp, 0x288
pop rdi
pop rsi
ret
Function at 0x140015450
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa0
mov r12, rdx
mov rdi, rcx
mov rax, qword [0x140124058]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rdx, str.CreateDirectoryAndGetError
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r9d, 0x258
call fcn.1400167c0
lea rcx, [rsp + 0x28]
mov rdx, rbx
xor r8d, r8d
call fcn.140024c80
cmp qword [rdi + 0x18], 7
mov rbx, rdi
jbe 0x1400154b7
mov rbx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400154ee
mov bl, 1
test al, 0x10
jne 0x140015613
test r12, r12
je 0x1400154dc
mov dword [r12], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x140015613
lea rbp, [rsp + 0x78]
mov rcx, rdi
mov rdx, rbp
call fcn.140012c50
mov rax, qword [rdi + 0x10]
cmp qword [rsp + 0x88], rax
jne 0x14001555b
test rax, rax
je 0x140015544
cmp qword [rdi + 0x18], 7
mov rcx, rdi
jbe 0x14001551e
mov rcx, qword [rdi]
cmp qword [rsp + 0x90], 7
jbe 0x14001552e
mov rbp, qword [rsp + 0x78]
xor edx, edx
movzx esi, word [rbp + rdx*2]
cmp si, word [rcx + rdx*2]
jne 0x14001555b
add rdx, 1
cmp rax, rdx
jne 0x140015530
test r12, r12
je 0x140015551
mov dword [r12], 0xfffffffc
mov ecx, 2
jmp 0x140015601
lea rcx, [rsp + 0x78]
mov rdx, r12
call fcn.140015450
test al, al
je 0x140015607
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x140015609
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0xb7
jne 0x1400155ef
lea rdx, str.DirectoryExists
lea r8, str..._.._base_files_file_util_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x1bd
call fcn.1400167c0
lea r14, [rsp + 0x60]
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140024c80
cmp qword [rdi + 0x18], 7
jbe 0x1400155d2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, r14
call fcn.140024db0
cmp edi, 0xffffffff
je 0x1400155ef
and edi, 0x10
jne 0x140015609
test r12, r12
je 0x1400155ff
mov ecx, ebp
call fcn.140026760
mov dword [r12], eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
lea rcx, [rsp + 0x78]
call fcn.140011f00
lea rcx, [rsp + 0x28]
call fcn.140024db0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400a5a90
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140015ba0
Capabilities:
Check if file exists
Copy file

Disassembly:
xor r8d, r8d
jmp 0x140015bb0
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov r14d, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140124058]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rdx, str.DoCopyFile
lea r8, str..._.._base_files_file_util_win.cc
lea rbp, [rsp + 0x20]
mov rcx, rbp
mov r9d, 0xab
call fcn.1400167c0
lea rcx, [rsp + 0x40]
xor ebx, ebx
mov rdx, rbp
xor r8d, r8d
call fcn.140024c80
mov rcx, rdi
call fcn.140013c10
test al, al
jne 0x140015c7f
mov rcx, rsi
call fcn.140013c10
test al, al
jne 0x140015c7d
cmp qword [rdi + 0x10], 0x103
ja 0x140015c7d
cmp qword [rsi + 0x10], 0x103
ja 0x140015c7d
cmp qword [rsi + 0x18], 7
jbe 0x140015c3b
mov rsi, qword [rsi]
movzx r8d, r14b
cmp qword [rdi + 0x18], 7
jbe 0x140015c49
mov rdi, qword [rdi]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140015c7d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140015c7d
mov bl, 1
test al, 1
je 0x140015c7f
and eax, 0xfffffffe
mov rcx, rsi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x140015c7f
xor ebx, ebx
lea rcx, [rsp + 0x40]
call fcn.140024db0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a5a90
mov eax, ebx
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x140015bb0
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
xor r8d, r8d
jmp 0x140015bb0
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov r14d, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140124058]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rdx, str.DoCopyFile
lea r8, str..._.._base_files_file_util_win.cc
lea rbp, [rsp + 0x20]
mov rcx, rbp
mov r9d, 0xab
call fcn.1400167c0
lea rcx, [rsp + 0x40]
xor ebx, ebx
mov rdx, rbp
xor r8d, r8d
call fcn.140024c80
mov rcx, rdi
call fcn.140013c10
test al, al
jne 0x140015c7f
mov rcx, rsi
call fcn.140013c10
test al, al
jne 0x140015c7d
cmp qword [rdi + 0x10], 0x103
ja 0x140015c7d
cmp qword [rsi + 0x10], 0x103
ja 0x140015c7d
cmp qword [rsi + 0x18], 7
jbe 0x140015c3b
mov rsi, qword [rsi]
movzx r8d, r14b
cmp qword [rdi + 0x18], 7
jbe 0x140015c49
mov rdi, qword [rdi]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140015c7d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140015c7d
mov bl, 1
test al, 1
je 0x140015c7f
and eax, 0xfffffffe
mov rcx, rsi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x140015c7f
xor ebx, ebx
lea rcx, [rsp + 0x40]
call fcn.140024db0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a5a90
mov eax, ebx
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret