joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401142f0
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14022d028]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
movaps xmm0, xmmword [0x1401fa0c0]
lea r15, [rsp + 0x30]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, [0x14020c277]
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x290]
mov rcx, r14
mov r9d, 0x1d8
call fcn.1400ce6a0
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.1400f43b0
mov qword [rsp + 0x70], 0xa
mov al, byte [0x14023efca]
test al, al
jne 0x14011439d
lea rcx, [rsp + 0x290]
mov r8d, 0x208
mov dl, 0xaa
call fcn.140148680
cmp byte [rbx + 0x17], 0
mov rax, rbx
jns 0x1401143c9
jmp 0x1401143c6
movzx ecx, al
lea r9, [rsp + 0x80]
mov qword [r9], r14
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0x78]
mov qword [r8], rax
lea rdx, [rsp + 0x70]
call fcn.1400f50c0
jmp 0x14011437d
mov rax, qword [rbx]
xor ecx, ecx
movzx edx, word [rax + rcx*2]
mov word [rsp + rcx*2 + 0x290], dx
test dx, dx
je 0x1401143f2
inc rcx
cmp rcx, 0x104
jne 0x1401143cb
mov word [rsp + 0x496], 0
lea rcx, [rsp + 0x290]
call fcn.1400b3f10
lea rcx, [rsp + 0x80]
mov r8d, 0x208
mov dl, 0xaa
call fcn.140148680
cmp byte [rdi + 0x17], 0
mov rax, rdi
jns 0x140114420
mov rax, qword [rdi]
xor ecx, ecx
movzx edx, word [rax + rcx*2]
mov word [rsp + rcx*2 + 0x80], dx
test dx, dx
je 0x140114449
inc rcx
cmp rcx, 0x104
jne 0x140114422
mov word [rsp + 0x286], 0
lea rcx, [rsp + 0x80]
call fcn.1400b3f10
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x140114462
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x14011446e
mov rcx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x1401144ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x14011449a
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x1401144a3
mov rbx, qword [rbx]
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dil
test rsi, rsi
je 0x1401144be
test eax, eax
je 0x1401144ef
lea rcx, [rsp + 0x30]
call fcn.1400f9010
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140146540
mov eax, edi
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov dil, 1
jmp 0x1401144be
mov ecx, ebp
call fcn.140013330
cmp eax, 0xfffffffc
jne 0x140114500
call fcn.14019c8d0
mov dword [rsi], eax
xor edi, edi
jmp 0x1401144be
Function at 0x140121290
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
test r8, r8
je 0x1401213aa
mov rcx, qword [rcx + 8]
movsxd r9, dword [rcx + 0x3c]
cmp dword [rcx + r9 + 0x84], 0
je 0x1401213aa
add r9, rcx
xor eax, eax
cmp word [r9 + 0x14], 0x78
jb 0x1401213a3
add r9, 0x88
je 0x1401213a3
mov eax, dword [r9]
test rax, rax
je 0x1401213aa
add rax, rcx
je 0x1401213aa
cmp rdx, 0xffff
jbe 0x14012139d
mov r10d, dword [rax + 0x20]
lea r9, [rcx + r10]
test r10, r10
cmove r9, r10
mov r10d, dword [rax + 0x18]
lea r10, [r9 + r10*4]
lea r11, [rdx + 1]
mov rsi, r9
jmp 0x140121336
xor ebp, ebp
lea rdi, [rsi + rdi*2]
movzx ebp, bpl
movzx ebx, byte [rbx]
lea r14, [rdi + 4]
cmp ebp, ebx
cmovg rsi, r14
cmovs r10, rdi
cmp bpl, bl
je 0x140121382
cmp rsi, r10
je 0x1401213aa
mov rdi, r10
sub rdi, rsi
mov rbx, rdi
sar rbx, 2
shr rdi, 0x3f
add rdi, rbx
and rdi, 0xfffffffffffffffe
mov r14d, dword [rsi + rdi*2]
lea rbx, [rcx + r14]
test r14, r14
cmove rbx, r14
mov bpl, byte [rdx]
test bpl, bpl
je 0x140121316
mov r14, r11
cmp bpl, byte [rbx]
jne 0x140121318
inc rbx
mov bpl, byte [r14]
inc r14
test bpl, bpl
jne 0x14012136d
jmp 0x140121316
mov edx, dword [rax + 0x24]
add rcx, rdx
test rdx, rdx
cmove rcx, rdx
sub rdi, r9
sar rdi, 1
movzx edx, word [rcx + rdi]
add dx, word [rax + 0x10]
mov word [r8], dx
mov al, 1
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
xor eax, eax
jmp 0x1401213a3
Function at 0x14012d810
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
jae 0x14012d98d
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x140202500]
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 0x14012d8f1
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 0x14012d8c7
movdqa xmm1, xmmword [0x140202500]
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 [0x140202510], 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
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x1402024f0]
nop word cs:[rax + 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 0x14012d9b0
jmp 0x14012d862
Function at 0x1401456f4
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 0x14014576c
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x14014576c
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 0x14014576c
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140145760
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x14014577e
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14014574e
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 0x14014576e

Function at 0x140145e0c
Capabilities:
Parse pe header

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

Function at 0x140158098
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 0x1401580cf
call fcn.140143d20
mov dword [rax], 0x16
call fcn.14016c754
xor eax, eax
jmp 0x14015815d
mov rdx, r9
mov rcx, r8
call fcn.140158180
mov rbx, rax
test rax, rax
je 0x14015815a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1401581f0]
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 0x140158147
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14015af68
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14015812e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14015813d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140142ce0
jmp 0x14015815a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140158157
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 0x1401582c4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14015840c
Function at 0x14015d274
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14023cd60]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14015d2cb
cmp word [rdx], r13w
jne 0x14015d2cb
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14015d2d0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14015d3f5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14015d416
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14015d309
mov rdx, r9
mov word [rbx], cx
jmp 0x14015d330
cmp r9, r8
jae 0x14015d340
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14015d2ea
jmp 0x14015d3f5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14015d3ea
cmp dword [rsp + 0x80], esi
je 0x14015d3ea
lea r8, [0x14023cd60]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14015d3c2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14015d392
mov word [rbx], r13w
jmp 0x14015d3f2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14015d39f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14015d3f2
cmp word [rsp + 0x70], r13w
jne 0x14015d3cf
cmp rbx, r14
je 0x14015d38c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14015c5bc
cmp word [rsp + 0x70], r13w
je 0x14015d3f5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14023cd60]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14015d3ef
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14015d3f5
Function at 0x140166810
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140166838
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140166838
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140170948
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14016a3b4
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1401709e9
cmp ebx, dword [rsp + 0x30]
je 0x1401709e2
test esi, esi
je 0x1401709e2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1401709bd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1401709ca
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1401709a7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1401709ce
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1401709eb
mov eax, 1
jmp 0x1401709eb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140171f98
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14017201f
mov rsi, rbx
cmp word [rax], bp
je 0x140171fde
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140171fc8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140171fc4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140090060
mov rdi, rax
test rax, rax
je 0x14017200c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140147fd0
mov rbp, rdi
xor ecx, ecx
call fcn.140142ce0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14017485c
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14022d028]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1401748a6
call fcn.14015af48
mov dword [rax], 0xf
call fcn.140143d20
mov dword [rax], 0xd
call fcn.14016c754
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140146540
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1401748b1
lea eax, [rbx + 1]
jmp 0x140174893
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x140174891
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x140174893

Function at 0x140175d04
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140175d1a
mov al, 1
jmp 0x140175d7a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140175d2b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140175d78
mov ecx, dword [rcx + 0x18]
nop
call fcn.14015b7bc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140175d78
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140175d78
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140175d78
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140175d7a
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14019ecd0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
mov rax, r8
sub rax, rdx
je 0x14019ed0d
js 0x14019ed11
shr rax, 2
lea r9, [0x14020d470]
movzx r10d, byte [rdx]
movzx r11d, al
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rdx
cmp rdx, r8
jne 0x14019ecec
cmp eax, dword [rcx + 0x18]
sete al
ret
xor eax, eax
jmp 0x14019ed06
int3
Function at 0x1401a5d80
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x1401a5dc6
mov r14, r12
test r14, r14
je 0x1401a5ece
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r15, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r15
jbe 0x1401a5e28
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r13, rax
neg r13
shl rax, 3
mov r14, rbx
sub r14, rax
mov r15, r12
sub r15, rbx
je 0x1401a5e14
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.140147fd0
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
jmp 0x1401a5da2
mov rax, r12
sub rax, r15
sar rax, 2
cmp r12, r15
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x1401a5ed1
lea rcx, [r13*8]
call fcn.140143bb8
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, r12
mov r14, rcx
sub rdx, rbx
je 0x1401a5e8e
lea r14, [rdx + rcx]
xor r8d, r8d
mov r9, rcx
add r9, r8
je 0x1401a5ecb
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x1401a5e76
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rdx
cmp r12, rbx
je 0x1401a5eae
add r12, 0xfffffffffffffff8
jne 0x1401a5ea1
jmp 0x1401a5ec8
test r15, r15
je 0x1401a5da2
mov rcx, r15
call fcn.140143bb0
mov r14, qword [rsi + 0x10]
jmp 0x1401a5da2
int3
int3
int3
int3

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rax, qword [0x14022d028]
xor rax, rsp
mov qword [rsp + 0x38], rax
movdqu xmm0, xmmword [rdx]
movdqa xmmword [rsp + 0x20], xmm0
mov rbx, qword [rcx + 0x50]
mov rax, qword [rcx + 0x58]
mov edi, 1
cmp rbx, rax
je 0x1401b69d4
mov rsi, r8
movdqu xmm0, xmmword [rbx]
pcmpeqb xmm0, xmmword [rsp + 0x20]
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x1401b69eb
add rbx, 0x70
cmp rbx, rax
jne 0x1401b69b5
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140146540
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
cmp rbx, rax
je 0x1401b69d4
cmp byte [rbx + 0x27], 0
js 0x1401b69fc
lea rcx, [rbx + 0x10]
jmp 0x1401b6a00
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov edi, 1
cmovne edi, ecx
test edi, edi
jne 0x1401b69d4
mov qword [rsi], rbx
xor edi, edi
jmp 0x1401b69d4
Function at 0x1401b6b90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, qword [0x14022d028]
xor rax, rsp
mov qword [rsp + 0x30], rax
movdqu xmm0, xmmword [rdx]
movdqa xmmword [rsp + 0x20], xmm0
mov r14, qword [rcx + 0x50]
mov rax, qword [rcx + 0x58]
mov esi, 1
cmp r14, rax
je 0x1401b6bea
mov rdi, r9
mov rbx, rcx
movdqu xmm0, xmmword [r14]
pcmpeqb xmm0, xmmword [rsp + 0x20]
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x1401b6c03
add r14, 0x70
cmp r14, rax
jne 0x1401b6bca
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140146540
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
cmp r14, rax
je 0x1401b6bea
mov eax, dword [r14 + 0x68]
cmp eax, r8d
je 0x1401b6c20
xor ecx, ecx
cmp eax, 1
sete cl
lea esi, [rcx + rcx*2]
inc esi
jmp 0x1401b6bea
cmp byte [r14 + 0x27], 0
js 0x1401b6c2d
lea rcx, [r14 + 0x10]
jmp 0x1401b6c31
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401b6bea
shr eax, 3
and eax, 2
mov esi, eax
jne 0x1401b6bea
mov byte [rbx + 0x48], 1
mov qword [rdi], r14
xor esi, esi
jmp 0x1401b6bea

Function at 0x1401b8e60
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x14022d028]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x140245388]
test rax, rax
jne 0x1401b8ea4
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x140245388]
test rax, rax
je 0x1401b8e91
cmp eax, 2
jne 0x1401b8eed
cmp dword [0x14023f298], 2
jg 0x1401b8f84
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x90
mov r9d, 2
call fcn.14002f820
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x1401b8f77
mov eax, 1
lock xadd qword [0x1402453c0], rax
inc rax
cmp rax, 2
jl 0x1401b8f11
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140245348], eax
mov qword [0x140245340], rsi
mov rcx, qword [0x14023b798]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x14023f298], 2
jg 0x1401b8f84
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xbc
mov r9d, 2
call fcn.14002f820
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
call fcn.14017f3b0
mov rcx, rsi
call fcn.14000ac10
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140146540
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
Function at 0x1401c1ee0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test ecx, ecx
js 0x1401c1ef2
mov rsi, rdx
test rdx, rdx
jne 0x1401c1ef9
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rdi, eax
mov rcx, rsi
mov rdx, rdi
call 0x1401c1f40
test edi, edi
je 0x1401c1ef2
cmp byte [rsi + rdi - 1], 0xa
je 0x1401c1ef2
lea rcx, [0x140200457]
mov edx, 1
add rsp, 0x28
pop rdi
pop rsi
jmp 0x1401c1f40
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14022d028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
lea r14, [rsp + 0x34]
mov r15, qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rdi, rsi
jae 0x1401c1fb7
mov dword [rsp + 0x34], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r15
mov ecx, dword [rsp + 0x34]
test eax, eax
cmovne eax, ecx
je 0x1401c1fb7
add rdi, rax
test ecx, ecx
jne 0x1401c1f7d
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140146540
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1401c1f40
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test ecx, ecx
js 0x1401c1ef2
mov rsi, rdx
test rdx, rdx
jne 0x1401c1ef9
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rdi, eax
mov rcx, rsi
mov rdx, rdi
call 0x1401c1f40
test edi, edi
je 0x1401c1ef2
cmp byte [rsi + rdi - 1], 0xa
je 0x1401c1ef2
lea rcx, [0x140200457]
mov edx, 1
add rsp, 0x28
pop rdi
pop rsi
jmp 0x1401c1f40
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14022d028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
lea r14, [rsp + 0x34]
mov r15, qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rdi, rsi
jae 0x1401c1fb7
mov dword [rsp + 0x34], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r15
mov ecx, dword [rsp + 0x34]
test eax, eax
cmovne eax, ecx
je 0x1401c1fb7
add rdi, rax
test ecx, ecx
jne 0x1401c1f7d
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140146540
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret