joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ed6b0
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r12d, dword [rsp + 0xc0]
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x58], rax
shl ebp, 0x10
mov ecx, 0x18
call fcn.14016ecd4
mov rsi, rax
mov rax, qword [0x1403428e0]
and rax, r15
cmp rax, qword [0x1403428c8]
jne 0x1400ed715
mov rcx, r15
call fcn.140156f20
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r12d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x14007efc0]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x1400ed77c
test r14, r14
je 0x1400ed7c7
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140171860
mov eax, ebx
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x1400ed795
mov ebp, eax
cmp eax, 0x5af
je 0x1400ed795
cmp ebp, 0xe
jne 0x1400ed7d2
mov rcx, rbx
call fcn.14021b560
test rsi, rsi
je 0x1400ed758
mov rcx, qword [rsi]
mov rax, qword [0x1403428e0]
and rax, rcx
cmp rax, qword [0x1403428c8]
jne 0x1400ed7bd
call fcn.1401571d0
mov rcx, rsi
call fcn.14016eccc
jmp 0x1400ed758
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400ed758
mov eax, dword [0x140354560]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ed84a
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov edx, ebp
call fcn.14012f2f0
movzx eax, byte [rbx + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rbx]
cmovns rax, rbx
cmovs rcx, qword [rbx + 8]
lea rdx, [rsp + 0x48]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
mov rcx, qword [0x140354558]
call fcn.1400ad7f0
cmp byte [rbx + 0x17], 0
jns 0x1400ed79d
mov rcx, qword [rsp + 0x30]
call fcn.14016eccc
jmp 0x1400ed79d
lea rcx, [0x140354560]
call fcn.14016f8b4
cmp dword [0x140354560], 0xffffffff
jne 0x1400ed7f3
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.1400d8300
mov qword [0x140354558], rax
lea rcx, [0x140354560]
call fcn.14016ef8c
jmp 0x1400ed7f3
Function at 0x1400ee8b0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x1402fe410]
mov qword [rcx], rax
lea rdi, [rcx + 8]
lea rax, [0x1402ff4e8]
mov qword [rcx + 8], rax
lea rbx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400eeb60
mov rcx, rbx
mov rdx, rsi
call fcn.1400eea60
mov rcx, qword [rbx]
mov rax, qword [0x1403428e0]
and rax, rcx
cmp rax, qword [0x1403428c8]
jne 0x1400ee915
call fcn.1401571d0
call fcn.14008fb10
mov rcx, rax
mov rdx, rdi
call fcn.1401be460
mov rdi, qword [rsi + 0x10]
add rdi, 8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400ee9f3
mov rax, qword [rsi + 0x18]
test rax, rax
jne 0x1400eea00
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x20]
mov dword [rdx], eax
mov ecx, 0x340
add rcx, qword [rsi + 0x10]
call fcn.1400eea70
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rdi, qword [rsi + 0x10]
mov ecx, dword [0x1403411e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400ee9ad
mov rcx, qword [rdi + 0x310]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [rdi + 0x318]
mov rdx, qword [rdi + 0x310]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rdi, qword [rsi + 0x18]
mov qword [rsi + 0x18], 0
test rdi, rdi
jne 0x1400eea3d
mov rcx, qword [rsi + 0x10]
mov rax, qword [0x1403428e0]
and rax, rcx
cmp rax, qword [0x1403428c8]
je 0x1400eea52
mov qword [rsi + 0x10], 0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140171860
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, rdi
call fcn.140047ff0
jmp 0x1400ee93e
mov rcx, qword [rsi + 0x10]
mov edx, dword [rcx + 0x39c]
cmp edx, dword [rsi + 0x28]
jne 0x1400ee94b
mov rcx, qword [rcx + 0x20]
mov qword [rsi + 0x18], 0
lea r8, [rsp + 0x20]
mov qword [r8], rax
mov rdx, qword [rsi + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140211850.0]
jmp 0x1400ee94b
mov rcx, rdi
call fcn.140229160
mov rcx, rdi
call fcn.14016eccc
jmp 0x1400ee9be
call fcn.1401571d0
jmp 0x1400ee9d5

Function at 0x1400eeb60
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov eax, dword [0x14035aa80]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400eebe3
mov ecx, dword [0x1403411e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400eebdf
mov rcx, qword [0x14035aa70]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14035aa78]
jne 0x1400eebdf
mov rdi, qword [rax + rcx]
mov rax, qword [0x1403428e0]
and rax, rdi
cmp rax, qword [0x1403428c8]
jne 0x1400eebd2
mov rcx, rdi
call fcn.140156f20
mov qword [rsi], rdi
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret
xor edi, edi
jmp 0x1400eebb7
lea rcx, [0x14035aa80]
call fcn.14016f8b4
cmp dword [0x14035aa80], 0xffffffff
jne 0x1400eeb8a
xorps xmm0, xmm0
movups xmmword [0x14035aa70], xmm0
lea rcx, [0x14035aa70]
xor edx, edx
call fcn.140041af0
lea rcx, [0x14035aa80]
call fcn.14016ef8c
jmp 0x1400eeb8a
Function at 0x1400ef0e4
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ebx, 0xffffffff
cmp r8, rbx
cmovb rbx, r8
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400ef1ac
mov r15, qword [sym.imp.KERNEL32.dll_GetFileType]
lea r14, [rsp + 0x2c]
mov r12, qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1400ef174
cmp eax, 0xffffffff
je 0x1400ef185
mov esi, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140171860
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, rdi
call r15
cmp eax, 3
je 0x1400ef188
mov eax, dword [rsp + 0x2c]
jmp 0x1400ef154
int3
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
mov r9, r14
call r12
test eax, eax
jne 0x1400ef147
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x1400ef156
Function at 0x1400f0ad0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov word [rcx], 0
mov byte [rcx + 2], 0
xor eax, eax
mov dword [rcx + 8], eax
mov qword [rcx + 0x10], rax
mov ecx, dword [rdx]
mov dword [rsi + 8], ecx
mov dword [rdx], eax
mov r14, qword [rdx + 8]
mov qword [rdx + 8], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x1400f0b11
call fcn.1400412c0
cmp qword [rsi + 0x10], r14
je 0x1400f0b43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x10]
inc rax
cmp rax, 2
jae 0x1400f0b68
cmp r15, 2
jb 0x1400f0b3b
mov qword [rsi + 0x10], r14
call fcn.1400412c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 0x18]
call fcn.140090248
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x1400f0b80
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400412c0
mov rcx, qword [rsi + 0x10]
call fcn.140071ab0
mov qword [rsi + 0x10], 0
jmp 0x1400f0b2c
call fcn.1400412c0
mov rcx, qword [rdi + 8]
call fcn.140071ab0
mov qword [rdi + 8], 0
jmp 0x1400f0b59
Function at 0x1400fffe0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov r14, qword [rdx]
mov qword [rdx], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14010000b
call fcn.1400412c0
cmp qword [rsi], r14
je 0x14010003d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14010007a
cmp r15, 2
jb 0x140100032
mov qword [rsi], r14
call fcn.1400412c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
movups xmm0, xmmword [rdi + 8]
movups xmm1, xmmword [rdi + 0x18]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
inc r14
cmp r14, 2
jb 0x14010005f
lea rax, [rsi + 8]
cmp dword [rax], 0
jne 0x140100090
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140100093
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400412c0
mov rcx, qword [rsi]
call fcn.140071ab0
mov qword [rsi], 0
jmp 0x140100024
int3
call fcn.1400412c0
mov rcx, qword [rdi]
call fcn.140071ab0
mov qword [rdi], 0
jmp 0x14010006b

Function at 0x140100340
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
mov dword [rcx], eax
mov qword [rcx + 8], rax
mov ecx, dword [rdx]
mov dword [rsi], ecx
mov dword [rdx], eax
mov r14, qword [rdx + 8]
mov qword [rdx + 8], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x140100373
call fcn.1400412c0
cmp qword [rsi + 8], r14
je 0x1401003a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1401003b4
cmp r15, 2
jb 0x14010039d
mov qword [rsi + 8], r14
call fcn.1400412c0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400412c0
mov rbx, qword [rsi + 8]
mov rcx, qword [0x14035abe0]
test rcx, rcx
je 0x1401003e2
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x140211850.0]
mov qword [rsi + 8], 0
jmp 0x14010038e
call fcn.1400bf420
mov rcx, qword [0x14035abe0]
jmp 0x1401003c9
Function at 0x1401068e0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov r14, qword [rdx]
mov qword [rdx], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14010690b
call fcn.1400412c0
cmp qword [rsi], r14
je 0x14010693a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140106959
cmp r15, 2
jb 0x140106932
mov qword [rsi], r14
call fcn.1400412c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [rdi + 8]
movups xmm1, xmmword [rdi + 0x18]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400412c0
mov rcx, qword [rsi]
call fcn.140071ab0
mov qword [rsi], 0
jmp 0x140106924

Function at 0x140108780
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, 0xffffffff
cmp r8, rdi
cmovae r8, rdi
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1401087e0
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x1401087e9
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140171860
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x1401087c9
int3
Function at 0x14010d076
Capabilities:
Create thread

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140132130]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 8], rax
test rax, rax
je 0x14010d0cf
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140171860
nop
add rsp, 0x40
pop rsi
ret
lea rdx, str....._third_partycrashpadcrashpadutil_thread_thread_win.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x1b
call fcn.140226570
lea rdx, [0x140319c70]
mov rcx, rsi
call fcn.14021ab94
mov rcx, rsi
call fcn.1402265a0
jmp 0x14010d0bb

Function at 0x14010d5b0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov dword [rcx], edx
mov rax, rcx
mov byte [rcx + 0xc8], 0
add rax, 8
mov qword [rcx + 0xd0], rax
mov qword [rcx + 0xf0], rax
je 0x14010d6c7
mov byte [rsi + 0xc8], 1
lea rcx, [rax + 0xc0]
mov qword [rsi + 0xd8], rax
mov qword [rsi + 0xe0], rax
mov qword [rsi + 0xe8], rcx
mov rax, rsi
mov byte [rsi + 0x138], 0
add rax, 0xf8
mov qword [rsi + 0x140], rax
mov qword [rsi + 0x160], rax
je 0x14010d6d6
mov byte [rsi + 0x138], 1
lea rcx, [rax + 0x40]
mov qword [rsi + 0x148], rax
mov qword [rsi + 0x150], rax
mov qword [rsi + 0x158], rcx
mov rdi, qword [0x140351380]
cmp rdi, 1
jbe 0x14010d6e5
mov qword [rsi + 0x168], rdi
mov ecx, dword [0x1403411e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14010d686
mov rcx, qword [rdi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rdi + 8]
jne 0x14010d686
cmp qword [rax + rcx], 0
jne 0x14010d6bc
mov rdi, qword [rsi + 0x168]
mov ecx, dword [0x1403411e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14010d72d
mov rcx, qword [rdi]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [rdi + 8]
mov rdx, qword [rdi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov ecx, 0xc0
call fcn.14016ecd4
jmp 0x14010d5e5
mov ecx, 0x40
call fcn.14016ecd4
jmp 0x14010d62c
lea rcx, [0x140351380]
call fcn.14006d330
test al, al
je 0x14010d73c
xorps xmm0, xmm0
movups xmmword [0x140351388], xmm0
lea rbx, [0x140351380]
lea rdi, [0x140351388]
mov rcx, rdi
xor edx, edx
call fcn.140041af0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.14006d410
jmp 0x14010d656
test rsi, rsi
je 0x14010d6bc
call fcn.140001120
jmp 0x14010d6a3
mov rdi, qword [0x140351380]
jmp 0x14010d656
Function at 0x140112a0b
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rdi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.1400fe615
test rax, rax
jne 0x140112a4a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
je 0x140112a66
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140171860
mov eax, esi
add rsp, 0x178
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400d98c0
test al, al
je 0x140112abc
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x102
mov r9d, 2
call fcn.14020a880
lea rcx, [rsp + 0x40]
lea rdx, [0x14030cef8]
mov r8d, 0xc
call fcn.14015f6d6
mov rcx, rsi
call fcn.14020a900
xor esi, esi
jmp 0x140112a4a

Function at 0x1401184c0
Capabilities:
Get hostname

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x260
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x258], rax
lea rsi, [rsp + 0x50]
mov r8d, 0x200
mov rcx, rsi
mov dl, 0xaa
call fcn.140173760
mov word [rsi], 0
lea r8, [rsp + 0x4c]
mov dword [r8], 0x100
mov ecx, 3
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x140118554
lea rax, str..corp.microsoft.com
lea rdi, [rsp + 0x38]
mov qword [rdi], rax
mov qword [rdi + 8], 0x13
lea rbx, [rsp + 0x28]
mov qword [rbx], rsi
mov rcx, rsi
call fcn.14016f5e8
mov qword [rbx + 8], rax
mov rcx, rbx
mov rdx, rdi
mov r8d, 1
call fcn.140118580
test al, al
jne 0x140118573
xor esi, esi
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.140171860
mov eax, esi
add rsp, 0x260
pop rbx
pop rdi
pop rsi
ret
mov sil, 1
jmp 0x140118556
Function at 0x140119480
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd0
movaps xmmword [rsp + 0xc0], xmm6
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x50], r12
movaps xmm6, xmmword [0x140301d60]
movaps xmmword [r14 + 0x40], xmm6
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.DoLinkOrCopyFile
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, 0xb0
call fcn.14004f270
xor ebp, ebp
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400cd290
mov rcx, rsi
call fcn.140078050
test al, al
jne 0x1401195df
mov rcx, rdi
call fcn.140078050
test al, al
jne 0x140119615
cmp byte [rsi + 0x17], 0
jns 0x14011954b
cmp qword [rsi + 8], 0x103
ja 0x140119615
cmp byte [rdi + 0x17], 0
jns 0x14011955f
cmp qword [rdi + 8], 0x103
ja 0x140119615
lea r14, [rsp + 0x40]
mov qword [r14 + 0x10], r12
movaps xmmword [r14], xmm6
lea rdx, str.DoLinkOrCopyFile
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, 0xc3
call fcn.14004f270
lea r8, [0x1403544e4]
mov rcx, r14
mov rdx, r15
call fcn.140145280
cmp byte [rsi + 0x17], 0
jns 0x1401195a8
mov rsi, qword [rsi]
cmp byte [rdi + 0x17], 0
mov r14, rdi
jns 0x1401195b4
mov r14, qword [rdi]
mov r15d, ebx
and r15d, 1
test bl, 2
jne 0x140119619
mov rcx, rsi
mov rdx, r14
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140119636
xor ebp, ebp
lea rcx, [rsp + 0x40]
call fcn.140073380
lea rcx, [rsp + 0x60]
call fcn.1400cd300
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140171860
mov eax, ebp
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ebp, ebp
jmp 0x1401195df
test r15d, r15d
jne 0x140119667
mov rcx, r14
mov rdx, rsi
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov bpl, 1
test eax, eax
jne 0x1401195d5
jmp 0x1401195c0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp eax, 0xffffffff
je 0x14011965b
mov eax, esi
and eax, 1
je 0x14011965b
mov edx, esi
and edx, 0xfffffffe
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp esi, 0xffffffff
setne bpl
jmp 0x1401195d5
mov rcx, rdi
call fcn.14007db40
test al, al
jne 0x1401195d3
jmp 0x14011961e
Function at 0x14011999e
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rbx, qword [rcx + 0x50]
mov r15, qword [rcx + 0x58]
cmp rbx, r15
jne 0x1401199c6
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rsi, r8
mov edi, edx
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], edi
jne 0x1401199ee
cmp byte [rbx + 0x27], 0
jns 0x1401199e3
mov rcx, qword [rbx + 0x10]
jmp 0x1401199e7
lea rcx, [rbx + 0x10]
call r12
test al, 0x10
je 0x1401199f9
add rbx, 0x70
cmp rbx, r15
je 0x1401199b8
jmp 0x1401199d2
mov r14, qword [rsi + 8]
cmp r14, qword [rsi + 0x10]
jne 0x140119a10
mov rcx, rsi
mov rdx, rbx
call fcn.14024a526
jmp 0x1401199ee
test r14, r14
je 0x140119a2a
mov rcx, r14
mov rdx, rbx
call fcn.14024a47e
add r14, 0x68
mov qword [rsi + 8], r14
jmp 0x1401199ee
int3
Function at 0x14011aac0
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x60]
mov qword [rbx + 0x50], rax
movaps xmm0, xmmword [0x140301d60]
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.CreateFileVersionInfoWin
lea r8, str....._base_file_version_info_win.cc
lea r14, [rsp + 0x38]
mov rcx, r14
mov r9d, 0x61
call fcn.14004f270
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400cd290
mov dword [rsp + 0x34], 0xaaaaaaaa
cmp byte [rdi + 0x17], 0
jns 0x14011ab54
mov rdi, qword [rdi]
lea rdx, [rsp + 0x34]
mov rcx, rdi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x14011ad01
mov ebp, eax
mov r14d, eax
mov rcx, r14
call fcn.14016ecd4
test rax, rax
je 0x14011abe0
mov rbx, rax
mov rcx, r14
neg rcx
cmp rax, rcx
cmova rcx, rax
neg rcx
cmp rcx, 0x21
jb 0x14011abc0
mov eax, ecx
and eax, 0x1f
mov edx, 0x20
cmovne rdx, rax
sub rcx, rdx
lea rax, [rbx + rcx]
xor edx, edx
xorps xmm0, xmm0
movups xmmword [rbx + rdx], xmm0
movups xmmword [rbx + rdx + 0x10], xmm0
add rdx, 0x20
cmp rcx, rdx
jne 0x14011abae
mov r15, rbx
add r15, r14
nop word cs:[rax + rax]
mov byte [rax], 0
inc rax
cmp rax, r15
je 0x14011ac0c
test rax, rax
jne 0x14011abd0
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.1401c469a
mov edx, dword [rsp + 0x34]
mov rcx, rdi
mov r8d, ebp
mov r9, rbx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14011ad0a
mov rcx, rbx
call fcn.1401c4210
mov ebp, eax
mov r14d, eax
shr r14d, 0x10
mov ecx, 0x38
call fcn.14016ecd4
mov rdi, rax
lea rax, [0x1402fcf00]
mov qword [rdi], rax
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov rax, qword [0x1403428e0]
and rax, rbx
cmp rax, qword [0x1403428c8]
jne 0x14011ac75
mov rcx, rbx
call fcn.140156f20
mov qword [rdi + 0x20], rbx
mov word [rdi + 0x28], bp
mov word [rdi + 0x2a], r14w
lea r8, [rsp + 0x38]
mov qword [r8], 0
lea r9, [rsp + 0x5c]
mov dword [r9], 0xaaaaaaaa
lea rdx, [0x140309fe2]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14011ad1b
mov rbx, qword [rsp + 0x38]
mov rax, qword [0x1403428e0]
and rax, rbx
cmp rax, qword [0x1403428c8]
jne 0x14011accd
mov rcx, rbx
call fcn.140156f20
mov qword [rdi + 0x30], rbx
mov qword [rsi], rdi
lea rcx, [rsp + 0x60]
call fcn.1400cd300
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140171860
mov rax, rsi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov qword [rsi], 0
jmp 0x14011acd4
mov qword [rsi], 0
mov rcx, rbx
call fcn.14016eccc
jmp 0x14011acd4
int3
Function at 0x140122540
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
xor eax, eax
test rcx, rcx
je 0x14012256d
cmp edx, 0xffff
ja 0x14012256d
mov rsi, r9
mov rdi, rcx
mov edx, edx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
jne 0x140122577
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov r14, rax
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14012256b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x1401225b4
mov rcx, qword [rsp + 0x70]
mov qword [rsi], rax
mov edx, ebx
mov qword [rcx], rdx
test rax, rax
setne al
jmp 0x14012256d