joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400dff10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
je 0x1400dff25
mov r8d, r8d
add rsp, 0x28
jmp fcn.140084c90
test r8d, r8d
jne 0x1400dff2f
call fcn.1400b4490
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400e1180
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x14029bb90]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, [0x1402aaedb]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x4db
call fcn.14009b140
xor r12d, r12d
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140059ca0
cmp byte [rbx + 0x17], 0
jns 0x1400e1205
mov rbx, qword [rbx]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
mov rcx, rbx
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea r14, [rsp + 0x40]
mov qword [r14], r12
mov rcx, r14
mov rdx, rax
call fcn.1400cbff2
mov ebx, 0xffffffff
mov rcx, qword [r14]
test esi, esi
js 0x1400e1294
lea rax, [rcx + 1]
cmp rax, 2
jb 0x1400e1294
lea rbx, [rsp + 0x3c]
mov dword [rbx], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rbx]
xor edx, edx
cmp eax, 1
sbb edx, edx
cmp ecx, esi
mov ebx, 0xffffffff
cmove ebx, ecx
or ebx, edx
mov rcx, qword [rsp + 0x40]
inc rcx
cmp rcx, 2
jb 0x1400e12ac
call fcn.140096510
mov rcx, qword [rsp + 0x40]
call fcn.140095cd0
lea rcx, [rsp + 0x60]
call fcn.140059e90
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14010fba0
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x1400e2aae
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rcx + 8]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400e2ae5
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400e2ae5
movzx edx, word [rax + rcx + 0x14]
cmp edx, 0xf0
jne 0x1400e2ae5
movzx eax, word [rax + rcx + 0x18]
cmp eax, 0x20b
sete al
ret
xor eax, eax
jmp 0x1400e2ae4

Function at 0x1400e33e0
Capabilities:
Delete registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x47]
mov byte [rbx], 0xaa
mov r14, qword [rcx]
lea rdx, str.DeleteValue
lea r8, str....._basewin_registry.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, 0x14b
call fcn.14009b140
mov rcx, rbx
mov rdx, r15
mov r8, r14
mov r9d, 0x20006
call fcn.1400b1490
mov rcx, qword [rdi]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
mov rcx, rbx
call fcn.14008fa20
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14010fba0
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400e3d90
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x14029bb90]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, [0x1402aaed2]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x4c8
call fcn.14009b140
xor r12d, r12d
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140059ca0
cmp byte [rbx + 0x17], 0
jns 0x1400e3e15
mov rbx, qword [rbx]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea r14, [rsp + 0x40]
mov qword [r14], r12
mov rcx, r14
mov rdx, rax
call fcn.1400cbff2
mov ebx, 0xffffffff
mov rcx, qword [r14]
test esi, esi
js 0x1400e3e6a
lea rax, [rcx + 1]
cmp rax, 2
jae 0x1400e3eb1
inc rcx
cmp rcx, 2
jae 0x1400e3ea0
lea rcx, [rsp + 0x60]
call fcn.140059e90
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14010fba0
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140096510
mov rcx, qword [rsp + 0x40]
call fcn.140095cd0
jmp 0x1400e3e73
lea r9, [rsp + 0x3c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400e3ee5
mov ebx, dword [rsp + 0x3c]
test ebx, ebx
js 0x1400e3eec
mov rcx, qword [rsp + 0x40]
jmp 0x1400e3e6a
mov ebx, 0xffffffff
jmp 0x1400e3ede
int3
Function at 0x1400e6d40
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
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
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jb 0x1400e6e3e
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x1402a3330]
nop dword [rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm3
pclmulqdq xmm7, xmm4, 0
movdqa xmm8, xmm2
pclmulqdq xmm8, xmm4, 0
movdqa xmm9, xmm1
pclmulqdq xmm9, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm3, xmm5, 0x11
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm1, xmm5, 0x11
movdqu xmm10, xmmword [rcx]
pxor xmm10, xmm6
pxor xmm0, xmm10
movdqu xmm6, xmmword [rcx + 0x10]
pxor xmm6, xmm7
pxor xmm3, xmm6
movdqu xmm6, xmmword [rcx + 0x20]
pxor xmm6, xmm8
pxor xmm2, xmm6
movdqu xmm6, xmmword [rcx + 0x30]
pxor xmm6, xmm9
pxor xmm1, xmm6
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x1400e6db0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x1402a3340]
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 rdx, 0x10
jb 0x1400e6ecd
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x1400e6ea3
movdqa xmm1, xmmword [0x1402a3340]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
pxor xmm3, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm3, 3
pclmulqdq xmm0, xmmword [0x1402a3350], 0x10
pblendw xmm0, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm3
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]
add rsp, 0x58
ret

Function at 0x1400e7b00
Capabilities:
Hash data using sha512

Disassembly:
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
movabs rax, 0x4000000000
mov qword [rcx + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x40], xmm0
mov eax, 1
ret
Function at 0x1400e7b90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rcx, rcx
je 0x1400e7bb2
mov rsi, r9
mov rdi, rcx
movzx edx, dx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
jne 0x1400e7bbe
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 0x1400e7bb2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x1400e7bb2
mov rcx, qword [rsp + 0x70]
mov qword [rsi], rax
mov eax, ebx
mov qword [rcx], rax
mov al, 1
jmp 0x1400e7bb4
Function at 0x1400f6d10
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov qword [rdx], 0
lea r12, [r15 + 1]
cmp r12, 2
jb 0x1400f6d3c
call fcn.140096510
cmp qword [rsi], r15
je 0x1400f6d6b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400f6d8a
cmp r12, 2
jb 0x1400f6d63
mov qword [rsi], r15
call fcn.140096510
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov rcx, rdi
call fcn.1400963e0
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140096510
mov r14, qword [rsi]
mov rcx, qword [0x1402f4238]
test rcx, rcx
je 0x1400f6db6
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x140318008]
mov qword [rsi], 0
jmp 0x1400f6d55
call fcn.14004ba00
mov rcx, qword [0x1402f4238]
jmp 0x1400f6d9e
Function at 0x1400f9730
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov ebx, 2
cmp rdx, 1
je 0x1400f975f
lea rax, [rdx - 1]
test rdx, rax
je 0x1400f989c
mov rcx, rdx
call fcn.14009db99
mov rbx, rax
mov r14, qword [rsi + 8]
cmp rbx, r14
jbe 0x1400f98d2
mov rdi, rbx
mov rax, rdi
shr rax, 0x3d
jne 0x1400f988e
lea rcx, [rdi*8]
call fcn.14010cc14
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
je 0x1400f9799
call fcn.14010cc0c
mov qword [rsi + 8], rdi
xor eax, eax
mov rcx, qword [rsi]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x1400f979f
mov r8, qword [rsi + 0x10]
test r8, r8
je 0x1400f9884
lea r10, [rsi + 0x10]
mov rcx, qword [r8 + 8]
mov rax, rdi
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, rdi
sub rax, rdx
movabs rdx, 0x3333333333333333
mov r9, rax
and r9, rdx
shr rax, 2
and rax, rdx
add rax, r9
mov rdx, rax
shr rdx, 4
add rdx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rdx
movabs r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x1400f98a4
cmp rcx, rdi
jb 0x1400f9839
mov rax, rcx
xor edx, edx
div rdi
mov rcx, rdx
mov rax, qword [rsi]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
jmp 0x1400f986e
mov rax, rcx
jmp 0x1400f9865
xor edx, edx
div rdi
mov rax, rdx
cmp rax, rcx
je 0x1400f9845
mov rdx, qword [rsi]
cmp qword [rdx + rax*8], 0
jne 0x1400f98ad
mov qword [rdx + rax*8], r8
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
je 0x1400f9884
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x1400f9893
cmp rax, rdi
jb 0x1400f9852
jmp 0x1400f984a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140165620
lea rdx, [rdi - 1]
and rax, rdx
jmp 0x1400f9852
mov rbx, rdx
jmp 0x1400f975f
lea rax, [rdi - 1]
and rcx, rax
jmp 0x1400f9839
mov rdx, qword [r10]
mov qword [r8], rdx
mov rdx, qword [rsi]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r10], rdx
mov rdx, qword [rsi]
mov rax, qword [rdx + rax*8]
mov qword [rax], r10
mov r10, r8
jmp 0x1400f9845
jae 0x1400f9884
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x1400f98f4
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x1400f98f9
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.14012cc00
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1402a301c]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp r14, 3
jb 0x1400f99ac
mov rcx, r14
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, r14
sub rcx, rdx
movabs rdx, 0x3333333333333333
mov r8, rcx
shr r8, 2
and rcx, rdx
and r8, rdx
add r8, rcx
mov rcx, r8
shr rcx, 4
add rcx, r8
movabs rdx, 0xf0f0f0f0f0f0f0f
and rdx, rcx
movabs rcx, 0x101010101010101
imul rcx, rdx
shr rcx, 0x38
cmp ecx, 1
ja 0x1400f99ac
lea rcx, [rax - 1]
bsr rcx, rcx
xor ecx, 0x3f
neg cl
mov edi, 1
shl rdi, cl
cmp rax, 2
cmovb rdi, rax
jmp 0x1400f99b7
mov rcx, rax
call fcn.14009db99
mov rdi, rax
cmp rbx, rdi
cmova rdi, rbx
cmp rdi, r14
jae 0x1400f9884
test rdi, rdi
jne 0x1400f976f
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x1400f99e4
call fcn.14010cc0c
mov qword [rsi + 8], 0
jmp 0x1400f9884
Function at 0x1400f9a00
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140111cd0
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 0x1400f9a95
cmp word [rsp + 0x70], 0
je 0x1400f9a95
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.14010ced4
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1400ae6e0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14010fba0
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
xorps xmm0, xmm0
lea rcx, [rsp + 0x40]
movaps xmmword [rcx], xmm0
mov qword [rcx + 0x10], 0
call fcn.1400c7c70
test al, al
jne 0x1400f9ad2
lea rax, [0x1402aae40]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.1400ae6e0
jmp 0x1400f9adf
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400f1240
cmp byte [rsp + 0x57], 0
jns 0x1400f9a77
mov rcx, qword [rsp + 0x40]
call fcn.14010cc0c
jmp 0x1400f9a77

Function at 0x1400fc674
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 [0x1402e0038]
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 0x1400fc73c
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 0x1400fc704
cmp eax, 0xffffffff
je 0x1400fc715
mov esi, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14010fba0
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 0x1400fc718
mov eax, dword [rsp + 0x2c]
jmp 0x1400fc6e4
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 0x1400fc6d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x1400fc6e6

Function at 0x1400fc946
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x1402e0038]
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 0x1400fc9a6
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x1400fc9af
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14010fba0
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x1400fc98f
int3
Function at 0x1400fe287
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rdi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.1400fbefb
test rax, rax
jne 0x1400fe2c6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
je 0x1400fe2e2
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14010fba0
mov eax, esi
add rsp, 0x178
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14005e390
test al, al
je 0x1400fe338
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, 0x103
mov r9d, 2
call fcn.1401cdc40
lea rcx, [rsp + 0x40]
lea rdx, [0x1402ae62a]
mov r8d, 0xc
call fcn.14017d289
mov rcx, rsi
call fcn.1401cdcc0
xor esi, esi
jmp 0x1400fe2c6

Function at 0x1400ff130
Capabilities:
Get hostname

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x260
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x258], rax
lea rsi, [rsp + 0x50]
mov r8d, 0x200
mov rcx, rsi
mov dl, 0xaa
call fcn.140111cd0
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 0x1400ff1c4
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.14010ced4
mov qword [rbx + 8], rax
mov rcx, rbx
mov rdx, rdi
mov r8d, 1
call fcn.1400ff1f0
test al, al
jne 0x1400ff1e3
xor esi, esi
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.14010fba0
mov eax, esi
add rsp, 0x260
pop rbx
pop rdi
pop rsi
ret
mov sil, 1
jmp 0x1400ff1c6
Function at 0x14010e080
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14010e0b7
call fcn.14010ccdc
mov dword [rax], 0x16
call fcn.1401374b4
xor eax, eax
jmp 0x14010e145
mov rdx, r9
mov rcx, r8
call fcn.14011fa6c
mov rbx, rax
test rax, rax
je 0x14010e142
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14011fad0]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14010e12f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140122a68
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14010e116
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14010e125
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400e9dc0
jmp 0x14010e142
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14010e13f
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14010eb54
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x14010ebcc
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x14010ebcc
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x14010ebcc
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x14010ebc0
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x14010ebde
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14010ebae
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x14010ebce

Function at 0x14010f454
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14010f49e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14010f49e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14010f49e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14010f49e
cmp dword [rcx + 0x84], 0xe
jbe 0x14010f49e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14010f4a0
xor al, al
add rsp, 0x28
ret

Function at 0x14011fba4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14011fcec
Function at 0x14011ffd0
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1401262e0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1401262e0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140120120
cmp rax, 0xffffffffffffffff
je 0x140120120
xor edi, edi
test rbp, rbp
jle 0x1401200cb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400b8f20
mov rbx, rax
test rax, rax
jne 0x140120058
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401200c1
mov edx, 0x8000
mov ecx, r14d
call fcn.1401273c8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14012b454
cmp eax, 0xffffffff
je 0x1401200a1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140120068
mov edx, r15d
mov ecx, r14d
call fcn.1401273c8
jmp 0x1401200c1
cmp byte [rsi + 0x38], dil
je 0x1401200b8
cmp dword [rsi + 0x34], 5
jne 0x1401200b8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1401200c1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400e9dc0
jmp 0x140120134
jns 0x140120134
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1401262e0
cmp rax, 0xffffffffffffffff
jne 0x1401200ec
cmp byte [rsi + 0x30], dil
je 0x140120134
mov edi, dword [rsi + 0x2c]
jmp 0x140120134
mov ecx, r14d
call fcn.1401245bc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140120134
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140120134
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14012012d
mov eax, dword [rsi + 0x2c]
jmp 0x140120132
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1401262e0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140123768
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x1402918d0]
mov rbp, rcx
call fcn.140139eec
xor edi, edi
test rax, rax
je 0x14012384e
mov ebx, edi
call fcn.14010ccdc
mov r14d, dword [rax]
call fcn.14010ccdc
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.14010e290
mov rsi, rax
test rax, rax
je 0x1401237df
call fcn.14010ccdc
mov dword [rax], r14d
jmp 0x140123809
call fcn.14010ccdc
cmp dword [rax], 0x22
jne 0x140123846
call fcn.14010ccdc
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.14010e290
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x140123846
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x14012380d
cmp rax, 3
je 0x140123828
mov rcx, rsi
call fcn.1401236c4
test al, al
je 0x140123839
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x140123839
mov dil, 1
mov rcx, rbx
call fcn.1400e9dc0
mov al, dil
jmp 0x140123850
mov rcx, rbx
call fcn.1400e9dc0
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14010fba0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret