joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b1f10
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov qword [rbp - 8], 0xfffffffffffffffe
call fcn.140093090
call qword [0x140131010]
mov ecx, 2
call fcn.140085bf8
lea rcx, str.terminate_handler_unexpectedly_returned_n
mov edx, 0x28
mov r8d, 1
mov r9, rax
call fcn.1400989a4
call fcn.1400949b0
int3

Function at 0x1400b2610
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x1400b2740
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15d, edx
mov rsi, rcx
mov rax, qword [0x140113018]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x60], 0
je 0x1400b279e
mov edi, dword [rsi + 0x5c]
test r15b, r15b
je 0x1400b277e
mov dword [rsi + 0x5c], 0xffffffff
mov byte [rsi + 0x60], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140081fe0
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r14
mov eax, dword [rsi + 0x58]
test eax, eax
mov edi, 1
cmovg edi, eax
xor ebp, ebp
mov rcx, qword [rsi + 0x40]
call fcn.140098d80
cmp eax, 0xffffffff
je 0x1400b281b
mov byte [rsp + rbp + 0x58], al
inc rbp
cmp rdi, rbp
jne 0x1400b27bc
mov byte [rsp + 0x57], 0xaa
cmp byte [rsi + 0x61], 0
je 0x1400b2825
mov al, byte [rsp + 0x58]
mov byte [rsp + 0x57], al
test r15b, r15b
je 0x1400b27f8
movzx edi, byte [rsp + 0x57]
mov dword [rsi + 0x5c], edi
jmp 0x1400b277e
mov edi, edi
test rdi, rdi
jle 0x1400b28d7
mov rdx, qword [rsi + 0x40]
dec rdi
mov eax, edi
movzx ecx, byte [rsp + rax + 0x58]
call fcn.14009aa94
cmp eax, 0xffffffff
jne 0x1400b27fa
mov edi, 0xffffffff
jmp 0x1400b277e
lea rax, [rsp + 0x48]
mov qword [rax], r14
lea r12, [rsp + 0x40]
mov qword [r12], r14
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r13d, dword [rdx]
movzx ebp, word [rdx + 4]
movzx r14d, word [rdx + 6]
lea r9, [rsp + rdi + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], r12
lea rbx, [rsp + 0x58]
mov qword [rsp + 0x30], rbx
lea rbx, [rsp + 0x57]
mov qword [rsp + 0x28], rbx
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x58]
call qword [0x140131010]
cmp eax, 1
jne 0x1400b28c0
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], r14w
cmp edi, 8
je 0x1400b281b
mov rcx, qword [rsi + 0x40]
call fcn.140098d80
cmp eax, 0xffffffff
je 0x1400b281b
mov byte [rsp + rdi + 0x58], al
inc rdi
jmp 0x1400b2836
cmp eax, 2
je 0x1400b281b
cmp eax, 3
je 0x1400b27e1
jmp 0x1400b27e9
movzx edi, byte [rsp + 0x57]
jmp 0x1400b277e
Function at 0x1400b2920
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x1400b2a50
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15d, edx
mov rsi, rcx
mov rax, qword [0x140113018]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x5e], 0
je 0x1400b2aae
movzx edi, word [rsi + 0x5c]
test r15b, r15b
je 0x1400b2a8e
mov word [rsi + 0x5c], 0xffff
mov byte [rsi + 0x5e], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140081fe0
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r14
mov eax, dword [rsi + 0x58]
test eax, eax
mov edi, 1
cmovg edi, eax
xor ebp, ebp
mov rcx, qword [rsi + 0x40]
call fcn.140098d80
cmp eax, 0xffffffff
je 0x1400b2b33
mov byte [rsp + rbp + 0x58], al
inc rbp
cmp rdi, rbp
jne 0x1400b2acc
mov word [rsp + 0x56], 0xaaaa
cmp byte [rsi + 0x5f], 0
je 0x1400b2b3c
movsx eax, byte [rsp + 0x58]
mov word [rsp + 0x56], ax
test r15b, r15b
je 0x1400b2b0d
movzx edi, word [rsp + 0x56]
mov word [rsi + 0x5c], di
jmp 0x1400b2a8e
mov edi, edi
test rdi, rdi
jle 0x1400b2bee
mov rdx, qword [rsi + 0x40]
dec rdi
mov eax, edi
movsx eax, byte [rsp + rax + 0x58]
movzx ecx, ax
call fcn.14009aa94
cmp eax, 0xffffffff
jne 0x1400b2b0f
mov di, 0xffff
jmp 0x1400b2a8e
lea rax, [rsp + 0x48]
mov qword [rax], r14
lea r12, [rsp + 0x40]
mov qword [r12], r14
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r13d, dword [rdx]
movzx ebp, word [rdx + 4]
movzx r14d, word [rdx + 6]
lea r9, [rsp + rdi + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], r12
lea rbx, [rsp + 0x58]
mov qword [rsp + 0x30], rbx
lea rbx, [rsp + 0x56]
mov qword [rsp + 0x28], rbx
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x58]
call qword [0x140131010]
cmp eax, 1
jne 0x1400b2bd7
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], r14w
cmp edi, 8
je 0x1400b2b33
mov rcx, qword [rsi + 0x40]
call fcn.140098d80
cmp eax, 0xffffffff
je 0x1400b2b33
mov byte [rsp + rdi + 0x58], al
inc rdi
jmp 0x1400b2b4d
cmp eax, 2
je 0x1400b2b33
cmp eax, 3
je 0x1400b2af3
jmp 0x1400b2afd
movzx edi, word [rsp + 0x56]
jmp 0x1400b2a8e
Function at 0x1400b2c50
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rax, qword [0x140113018]
xor rax, rsp
mov qword [rsp + 0x40], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x40]
mov qword [r14 - 8], r12
lea r13, [rsp + 0x30]
lea r15, [rsp + 0x38]
mov ebp, 0xffffffff
mov qword [rsp + 0x30], r12
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x20], r13
mov r8, r15
mov r9, r14
call qword [0x140131010]
mov edi, eax
mov rbx, qword [rsp + 0x30]
sub rbx, r15
mov r9, qword [rsi + 0x40]
mov edx, 1
mov rcx, r15
mov r8, rbx
call fcn.1400989a4
cmp rax, rbx
jne 0x1400b2cf3
cmp edi, 1
je 0x1400b2c94
cmp edi, 2
je 0x1400b2cf3
mov rcx, qword [rsi + 0x40]
call fcn.140098650
neg eax
sbb ebp, ebp
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140081fe0
mov eax, ebp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400b2d20
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x58], 0
je 0x1400b2d55
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, r14
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400989a4
xor ebx, ebx
test rsi, rsi
jle 0x1400b2d81
movzx edx, byte [r14 + rbx]
mov rax, qword [rdi]
mov rax, qword [rax + 0x60]
mov rcx, rdi
call qword [0x140131010]
cmp eax, 0xffffffff
je 0x1400b2d81
inc rbx
cmp rsi, rbx
jne 0x1400b2d5c
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400b2d90
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x140113018]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r12
cmp edx, 0xffffffff
je 0x1400b2dfa
mov r15d, edx
mov rdi, rcx
mov byte [rsp + 0x57], r15b
cmp byte [rcx + 0x58], 0
je 0x1400b2e20
mov r9, qword [rdi + 0x40]
lea rcx, [rsp + 0x57]
mov edx, 1
mov r8d, 1
call fcn.1400989a4
mov esi, 0xffffffff
cmp rax, 1
je 0x1400b2dfd
jmp 0x1400b2e00
xor r15d, r15d
mov esi, r15d
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140081fe0
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rbx, [rsp + 0x58]
lea r13, [rsp + 0x48]
mov qword [r13], rbx
lea rsi, [rsp + 0x57]
lea r14, [rsp + 0x40]
mov qword [rsp + 0x40], r12
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x38], r13
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov r8, rsi
lea r9, [rsp + 0x58]
call qword [0x140131010]
cmp qword [rsp + 0x40], rsi
je 0x1400b2ed7
mov ebp, eax
cmp eax, 3
je 0x1400b2eb6
cmp ebp, 1
ja 0x1400b2ed7
mov rsi, qword [rsp + 0x48]
sub rsi, rbx
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, rbx
mov r8, rsi
call fcn.1400989a4
cmp rax, rsi
jne 0x1400b2ed7
mov rsi, qword [rsp + 0x40]
cmp ebp, 1
je 0x1400b2e38
jmp 0x1400b2dfd
mov r9, qword [rdi + 0x40]
mov edx, 1
mov r8d, 1
mov rcx, rsi
call fcn.1400989a4
cmp rax, 1
je 0x1400b2dfd
mov esi, 0xffffffff
jmp 0x1400b2e00

Function at 0x1400b2f40
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x58], 0
je 0x1400b2f75
mov r9, qword [rdi + 0x40]
mov edx, 2
mov rcx, r14
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400989a4
xor ebx, ebx
test rsi, rsi
jle 0x1400b2fa2
movzx edx, word [r14 + rbx*2]
mov rax, qword [rdi]
mov rax, qword [rax + 0x60]
mov rcx, rdi
call qword [0x140131010]
cmp ax, 0xffff
je 0x1400b2fa2
inc rbx
cmp rsi, rbx
jne 0x1400b2f7c
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400b2fb0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x140113018]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r12
cmp dx, 0xffff
je 0x1400b301a
mov r15d, edx
mov rdi, rcx
mov word [rsp + 0x56], dx
cmp byte [rcx + 0x58], 0
je 0x1400b3040
mov r9, qword [rdi + 0x40]
lea rcx, [rsp + 0x56]
mov edx, 2
mov r8d, 1
call fcn.1400989a4
mov si, 0xffff
cmp rax, 1
je 0x1400b301d
jmp 0x1400b3020
xor r15d, r15d
mov esi, r15d
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140081fe0
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rbx, [rsp + 0x58]
lea r13, [rsp + 0x48]
mov qword [r13], rbx
lea rsi, [rsp + 0x56]
lea r14, [rsp + 0x40]
mov qword [rsp + 0x40], r12
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x38], r13
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov r8, rsi
lea r9, [rsp + 0x58]
call qword [0x140131010]
cmp qword [rsp + 0x40], rsi
je 0x1400b30f7
mov ebp, eax
cmp eax, 3
je 0x1400b30d6
cmp ebp, 1
ja 0x1400b30f7
mov rsi, qword [rsp + 0x48]
sub rsi, rbx
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, rbx
mov r8, rsi
call fcn.1400989a4
cmp rax, rsi
jne 0x1400b30f7
mov rsi, qword [rsp + 0x40]
cmp ebp, 1
je 0x1400b3058
jmp 0x1400b301d
mov r9, qword [rdi + 0x40]
mov edx, 1
mov r8d, 1
mov rcx, rsi
call fcn.1400989a4
cmp rax, 1
je 0x1400b301d
mov si, 0xffff
jmp 0x1400b3020

Function at 0x1400b3150
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400b3187
movabs r9, 0xf000000000000000
shl rax, 4
movsx r10, byte [rdx]
add r10, rax
mov rcx, r10
and rcx, r9
mov rax, rcx
shr rax, 0x38
or rax, rcx
xor rax, r10
inc rdx
cmp rdx, r8
jne 0x1400b3161
ret

Function at 0x1400b31d0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400b3208
movabs r9, 0xf000000000000000
shl rax, 4
movzx r10d, word [rdx]
add r10, rax
mov rcx, r10
and rcx, r9
mov rax, rcx
shr rax, 0x38
or rax, rcx
xor rax, r10
add rdx, 2
cmp rdx, r8
jne 0x1400b31e1
ret
Function at 0x1400b90f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov r12, r8
mov r14, rdx
mov bl, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x1400b9150
movzx edx, word [rbp + 0x60]
movzx ebx, bl
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov dword [rsp + 0x28], ebx
mov word [rsp + 0x20], dx
mov rdx, r14
mov r8, r12
call qword [0x140131010]
mov rax, r14
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rsi, [rbp - 0x20]
mov rcx, r9
mov rdx, rsi
call fcn.14005ce00
lea rdx, [0x140120b28]
mov rcx, rsi
call fcn.14005d610
mov rsi, rax
mov rcx, qword [rbp - 0x20]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x1400b9190
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140131010]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rbp - 0x20]
mov qword [r15 + 0x10], rax
movaps xmm0, xmmword [0x1400f69f0]
movaps xmmword [r15], xmm0
mov rax, qword [rsi]
xor bl, 1
movzx ecx, bl
mov rax, qword [rax + rcx*8 + 0x28]
mov rcx, rsi
mov rdx, r15
call qword [0x140131010]
movzx esi, byte [r15 + 0x17]
test sil, sil
mov rcx, qword [r15]
mov rdx, qword [r15 + 8]
mov rax, rsi
cmovs rax, rdx
test rax, rax
je 0x1400b925f
test sil, sil
mov rbx, rcx
cmovns rbx, r15
test r12, r12
je 0x1400b9242
movzx eax, word [rbx]
mov rcx, qword [r12 + 0x30]
cmp rcx, qword [r12 + 0x38]
je 0x1400b9247
lea rdx, [rcx + 2]
mov qword [r12 + 0x30], rdx
mov word [rcx], ax
cmp ax, 0xffff
jne 0x1400b9215
xor r12d, r12d
mov sil, byte [rbp - 9]
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rbx, 2
test sil, sil
mov rax, r15
cmovs rax, rcx
movzx edi, sil
cmovs rdi, rdx
lea rax, [rax + rdi*2]
cmp rbx, rax
jne 0x1400b91ec
jmp 0x1400b925f
xor r12d, r12d
jmp 0x1400b9221
mov rcx, qword [r12]
mov rsi, qword [rcx + 0x60]
mov rcx, r12
mov edx, eax
mov rax, rsi
call qword [0x140131010]
jmp 0x1400b920c
shr sil, 7
mov qword [r14], r12
test sil, sil
je 0x1400b913e
call fcn.140081674
jmp 0x1400b913e

Function at 0x1400c8e30
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.140081638
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400c8ea0]
xor ecx, ecx
xor edx, edx
mov r9, rax
call fcn.14008f510
mov qword [rbx], rax
test rax, rax
je 0x1400c8e87
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x1400ca5f0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x17], 0
jns 0x1400ca5fd
mov rcx, qword [rcx]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x1400cac30
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140113018]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x140122138]
test rax, rax
je 0x1400cad74
cmp eax, 2
jne 0x1400cacac
mov ecx, 2
call fcn.14006a7a0
test al, al
je 0x1400cad44
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x86
mov r9d, 2
call fcn.140038fc0
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x1400cad37
mov eax, 1
lock xadd qword [0x140122170], rax
test rax, rax
jle 0x1400caccc
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1401220f0], eax
mov qword [0x1401220e8], rsi
mov rcx, qword [0x1401152c8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.14006a7a0
test al, al
je 0x1400cad44
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xb2
mov r9d, 2
call fcn.140038fc0
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
call fcn.1400596c0
mov rcx, rsi
call fcn.140039460
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.140081fe0
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x140122138]
test rax, rax
je 0x1400cad7b
jmp 0x1400cac5e
Function at 0x1400cfe60
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, rcx
mov edi, 2
cmp rdx, 1
jne 0x1400cfe9a
mov rsi, qword [r14 + 8]
cmp rdi, rsi
ja 0x1400cff95
jae 0x1400cff8b
mov rax, qword [r14 + 0x18]
test rax, rax
js 0x1400cfeb5
cvtsi2ss xmm0, rax
jmp 0x1400cfeca
lea rax, [rdx - 1]
test rdx, rax
jne 0x1400cfea8
mov rdi, rdx
jmp 0x1400cfe77
mov rcx, rdx
call fcn.14005c570
mov rdi, rax
jmp 0x1400cfe77
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [r14 + 0x20]
call fcn.1400ad990
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1400f9de0]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rsi, 3
jb 0x1400cff77
mov rcx, rsi
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rbx, rsi
sub rbx, rdx
movabs rdx, 0x3333333333333333
mov rcx, rbx
shr rcx, 2
and rbx, rdx
and rcx, rdx
add rcx, rbx
mov rdx, rcx
shr rdx, 4
add rdx, rcx
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rdx
movabs rdx, 0x101010101010101
imul rdx, rcx
shr rdx, 0x38
cmp edx, 1
ja 0x1400cff77
cmp rax, 2
jb 0x1400cff7f
dec rax
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
jmp 0x1400cff7f
mov rcx, rax
call fcn.14005c570
cmp rdi, rax
cmovb rdi, rax
cmp rdi, rsi
jb 0x1400cff95
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, r14
mov rdx, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x1400b1500
Function at 0x1400d4f30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rax, qword [0x140113018]
xor rax, rsp
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov rbp, qword [rcx + 0x58]
mov r15d, 1
cmp rdi, rbp
je 0x1400d4fc8
mov r14, r8
mov rsi, rcx
lea rbx, [rsp + 0x20]
mov rcx, rdi
mov rdx, rbx
call fcn.1400d49a0
test al, al
jne 0x1400d4f8c
add rdi, 0x70
cmp rdi, rbp
jne 0x1400d4f71
mov rdi, rbp
cmp rdi, qword [rsi + 0x58]
je 0x1400d4fc8
cmp byte [rdi + 0x27], 0
jns 0x1400d4f9e
mov rcx, qword [rdi + 0x10]
jmp 0x1400d4fa2
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov r15d, 1
cmovne r15d, ecx
test r15d, r15d
jne 0x1400d4fc8
mov qword [r14], rdi
xor r15d, r15d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140081fe0
mov eax, r15d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rax, qword [0x140113018]
xor rax, rsp
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov rsi, qword [rcx + 0x58]
mov r12d, 1
cmp rdi, rsi
je 0x1400d51ca
mov r14, r9
mov r15d, r8d
mov rbx, rcx
lea rbp, [rsp + 0x20]
mov rcx, rdi
mov rdx, rbp
call fcn.1400d49a0
test al, al
jne 0x1400d51a1
add rdi, 0x70
cmp rdi, rsi
jne 0x1400d5186
mov rdi, rsi
cmp rdi, qword [rbx + 0x58]
je 0x1400d51ca
mov eax, dword [rdi + 0x68]
cmp eax, r15d
jne 0x1400d51bb
cmp byte [rdi + 0x27], 0
jns 0x1400d51e9
mov rcx, qword [rdi + 0x10]
jmp 0x1400d51ed
xor ecx, ecx
cmp eax, 1
sete cl
lea r12d, [rcx + rcx*2]
inc r12d
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140081fe0
mov eax, r12d
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400d51ca
shr eax, 3
and eax, 2
mov r12d, eax
jne 0x1400d51ca
mov byte [rbx + 0x48], 1
mov qword [r14], rdi
xor r12d, r12d
jmp 0x1400d51ca
Function at 0x1400dd2b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140113018]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x1400dd2da
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400dd31b
mov edi, eax
test bl, bl
jne 0x1400dd3d3
mov eax, edi
and eax, 0x400
je 0x1400dd3d3
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140081fe0
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14006a7a0
test al, al
je 0x1400dd2fc
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x82
mov r9d, 2
call fcn.1400cee70
lea rcx, [rsp + 0x68]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400596c0
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x30]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x40]
mov rcx, rsi
call fcn.140063da0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400dd3a8
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.1400596c0
cmp byte [rsp + 0x57], 0
jns 0x1400dd3c4
mov rcx, qword [rsp + 0x40]
call fcn.140081674
lea rcx, [rsp + 0x58]
call fcn.1400ceef0
jmp 0x1400dd2fc
and edi, 0x10
shr edi, 4
jmp 0x1400dd2fe

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

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x140113018]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1400dd407
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400dd437
test eax, 0x410
sete sil
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140081fe0
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14006a7a0
test al, al
je 0x1400dd4ee
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x75
mov r9d, 2
call fcn.1400cee70
lea rcx, [rsp + 0x60]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400596c0
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.140063da0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400dd4c8
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.1400596c0
cmp byte [rsp + 0x4f], 0
jns 0x1400dd4e4
mov rcx, qword [rsp + 0x38]
call fcn.140081674
lea rcx, [rsp + 0x50]
call fcn.1400ceef0
xor esi, esi
jmp 0x1400dd41b