joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140030f40
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x148
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xb0], xmm6
mov qword [rbp + 0xa8], 0xfffffffffffffffe
mov qword [rbp + 0x60], rcx
mov byte [rbp + 0xa5], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x5c], ecx
mov r15d, 8
mov sil, 1
xorps xmm6, xmm6
lea r14, [rbp + 0x20]
mov r12, qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
xor edi, edi
xor eax, eax
mov qword [rbp - 8], rax
nop word cs:[rax + rax]

Function at 0x1400322b0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov rdi, rdx
cmp qword [rdx], 0
jne 0x140032420
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx]
test rax, rax
jne 0x1400322ed
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x1400323e5
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x140032403
sub rax, rdx
add rdx, qword [rbx + 8]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rbp + 4], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rbp + 4]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003234c
mov eax, dword [rbp + 4]
mov ecx, 2
test rax, rax
je 0x14003238f
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
jmp 0x140032393
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x40], rax
movabs rcx, 0xffffffff00000000
and rcx, rax
movabs rdx, 0x6d00000000
cmp rcx, rdx
je 0x140032397
movabs rdx, 0x3e500000000
cmp rcx, rdx
jne 0x1400323c1
lea rax, [rbp - 8]
jmp 0x1400323a3
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x1400323c7
mov qword [rbp - 8], 1
lea rax, [rbp - 0x10]
mov qword [rax], 0
lea rcx, [rbp - 0x40]
call fcn.140020870
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 0x10]
cmp rcx, 2
jne 0x1400323d2
mov qword [rsi + 8], rax
mov al, 1
mov byte [rsi], al
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop rbp
ret
test rcx, rcx
jne 0x140032335
mov ecx, 1
jmp 0x14003233f
mov r8d, 0x10
mov rcx, rbx
call fcn.140047cf0
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
jne 0x1400322fa
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.140047cf0
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x1400322fa
mov qword [rbp - 0x40], 0
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.140047b50
int3
Function at 0x140036710
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.1400389e0
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
movabs r14, 0x8000000000000000
cmp rcx, r14
jne 0x14003674e
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], r14
jmp 0x140036774
mov rdx, qword [rbp - 0x18]
Function at 0x140045b00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x140045b8a
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x140045b80
cmp r11, r10
ja 0x140045c06
cmp r10, rdx
ja 0x140045c18
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x140045b82
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140045b60
jmp 0x140045be7
ja 0x140045b8a
mov r11, r10
cmp rax, r8
jne 0x140045b27
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x140045beb
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140045bc0
mov r8, r10
sub ecx, r9d
jns 0x140045bde
jmp 0x140045bed
cmp r10, rdx
je 0x140045bfa
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x140045bed
xor al, 1
cmp r8, rdx
jne 0x140045ba0
jmp 0x140045bed
xor eax, eax
jmp 0x140045bed
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.1400489e0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140048f40
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140048ed0
int3

Function at 0x14004753c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140047586
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140047586
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140047586
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140047586
cmp dword [rcx + 0x84], 0xe
jbe 0x140047586
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140047588
xor al, al
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x140018008]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0xd0]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLOpenBlockingStreamW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x14000105b
xor al, al
jmp 0x14000116b
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov r8d, 1
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x60]
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0xe0]
mov qword [rcx], rax
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax]
call fcn.14000136c
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
lea r9, [rsp + 0x58]
mov rcx, qword [rsp + 0xe0]
mov r8d, dword [rcx]
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rcx]
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x18]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1400010f1
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0xe0]
cmp rax, qword [rcx]
je 0x140001159
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140001364
cmp qword [rsp + 0x38], 0
jne 0x14000111e
mov qword [rsp + 0x48], 0
jmp 0x140001136
mov rax, qword [rsp + 0xd8]
mov qword [rax], 0x8123
mov qword [rsp + 0x48], 0x8123
mov rax, qword [rsp + 0xd8]
mov qword [rax], 0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x10]
xor al, al
jmp 0x14000116b
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x10]
mov al, 1
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140001340
add rsp, 0xc8
ret

Function at 0x140001190
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x38
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400011c8
jmp 0x1400011f0
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
rep movsb byte [rdi], byte [rsi]
call qword [rsp + 0x20]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x140003f98
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140003dc4
Function at 0x419790
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov r9d, dword [0x010a7aa0]
test r9d, r9d
jle 0x419824
mov r10b, byte [rsi]
lea r8, [0x010a7ab0]
xor ecx, ecx
mov rbx, r8
jmp 0x4197d0
add rcx, 1
add rbx, 0x807f
cmp rcx, r9
je 0x419824
imul rdx, rcx, 0x807f
cmp r10b, byte [rdx + r8]
jne 0x4197c0
mov edi, 1
mov edx, r10d
nop word cs:[rax + rax]
nop
test dl, dl
je 0x419806
movzx edx, byte [rsi + rdi]
lea rax, [rdi + 1]
cmp dl, byte [rbx + rdi]
mov rdi, rax
je 0x4197f0
jmp 0x4197c0
mov eax, ecx
imul rax, rax, 0x807f
lea rcx, [0x010a7ab0]
add rax, rcx
add rax, 0x80
jmp 0x4199bd
movsxd r9, r9d
cmp r9d, 5
jae 0x4199c9
imul rax, r9, 0x807f
lea r14, [0x010a7ab0]
lea rdx, [rax + r14]
add rdx, 0x80
mov rcx, rsi
mov r8d, 0x7fff
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
add eax, 0xffffffff
cmp eax, 0x7ffd
ja 0x4198e4
mov r9, 0xffffffffffffffff
nop
cmp byte [rsi + r9 + 1], 0
lea r9, [r9 + 1]
jne 0x419870
cmp r9, 0x80
jae 0x4199ea
movsxd rbx, dword [0x010a7aa0]
imul r15, rbx, 0x807f
lea rdx, [r14 + r15]
mov eax, 1
movzx ecx, byte [rsi + rax - 1]
test cl, cl
je 0x4198eb
mov byte [rdx + rax - 1], cl
movzx ecx, byte [rsi + rax]
test cl, cl
je 0x4198f9
mov byte [rdx + rax], cl
add rax, 2
cmp rax, 0x81
jne 0x4198a0
lea rcx, [r15 + r14]
add rcx, 0x80
test cl, 0xf
jne 0x4199aa
mov eax, pe_nt_image_headers64
xor esi, esi
jmp 0x41996f
xor eax, eax
jmp 0x4199bd
lea rcx, [rax + rdx]
add rcx, 0xffffffffffffffff
add rax, 0xffffffffffffffff
jmp 0x4198fd
lea rcx, [rdx + rax]
mov esi, pe_nt_image_headers64
sub rsi, rax
mov edi, ecx
or edi, esi
test dil, 0xf
je 0x41996f
cmp rax, 0x80
je 0x4199aa
mov edx, esi
and edx, 7
add rax, 0xffffffffffffff87
cmp rax, 7
jb 0x419959
and rsi, 0xfffffffffffffff8
nop
mov byte [rcx], 0
mov byte [rcx + 1], 0
mov byte [rcx + 2], 0
mov byte [rcx + 3], 0
mov byte [rcx + 4], 0
mov byte [rcx + 5], 0
mov byte [rcx + 6], 0
mov byte [rcx + 7], 0
add rcx, 8
add rsi, 0xfffffffffffffff8
jne 0x419930
test rdx, rdx
je 0x4199aa
xor eax, eax
mov byte [rcx + rax], 0
add rax, 1
cmp rdx, rax
jne 0x419960
jmp 0x4199aa
and rsi, 0xfffffffffffffff8
lea rdi, [rcx + rsi]
cmp rdi, rcx
jbe 0x4199aa
add rsi, rax
add rsi, rdx
lea rdi, [rax + rdx]
add rdi, 0x10
cmp rsi, rdi
cmovbe rsi, rdi
not rax
sub rax, rdx
lea r8, [rax + rsi]
add r8, 0x10
and r8, 0xfffffffffffffff0
xor edx, edx
call sym..rel
add ebx, 1
mov dword [0x010a7aa0], ebx
lea rax, [r15 + r14]
add rax, 0x80
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov qword [rsp + 0x20], 5
lea rcx, str.gotsan.cpp
lea r8, str.__num_env_vars_______kEnvVariables__
mov edx, 0x23be
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
mov qword [rsp + 0x20], pe_nt_image_headers64
lea rcx, str.gotsan.cpp
lea r8, str.__internal_strlen_name________kMaxEnvNameLength__
mov edx, 0x23c2
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
int3
Function at 0x41fda0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x58
movabs rax, 0x10000000000
lea rsi, [rax + rcx*2]
and rsi, 0xfffffffffffffff0
add rdx, rcx
lea rdi, [rax + rdx*2]
and rdi, 0xfffffffffffffff0
mov rax, qword [0x010a5a08]
mov rcx, rax
test rax, rax
jne 0x41fe08
lea rcx, [rsp + 0x28]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x2c]
mov qword [0x010a5a08], rax
mov rcx, rax
test rax, rax
jne 0x41fe08
lea rcx, [rsp + 0x28]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x2c]
mov qword [0x010a5a08], rcx
xor eax, eax
cmp rsi, rdi
jae 0x41fe31
neg rax
and rax, rsi
neg rcx
and rdi, rcx
sub rdi, rax
je 0x41fe29
mov rcx, rsi
mov rdx, rdi
call method.__sanitizer.UnmapOrDie_void__unsigned_long_long_
nop
add rsp, 0x58
pop rdi
pop rsi
ret
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
lea r8, str.__beg___end______0_
mov edx, 0x235c
xor r9d, r9d
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
int3

Function at 0x41fe60
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x010a5a08]
mov rdx, rax
test rax, rax
jne 0x41feb1
lea rcx, [rsp + 0x28]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x2c]
mov qword [0x010a5a08], rax
mov rdx, rax
test rax, rax
jne 0x41feb1
lea rcx, [rsp + 0x28]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x2c]
mov qword [0x010a5a08], rdx
xor eax, eax
cmp rsi, rdi
jae 0x41fed7
neg rax
and rax, rsi
neg rdx
and rdx, rdi
sub rdx, rax
je 0x41fecf
mov rcx, rsi
call method.__sanitizer.UnmapOrDie_void__unsigned_long_long_
nop
add rsp, 0x58
pop rdi
pop rsi
ret
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
lea r8, str.__beg___end______0_
mov edx, 0x235c
xor r9d, r9d
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
int3

Function at 0x4205c0
Capabilities:
Check if file exists

Disassembly:
sub rsp, 0x28
mov rax, qword [0x010170a0]
test rax, rax
jne 0x42065e
lea rax, str.race
mov qword [0x010170e0], rax
lea rcx, [0x010170e0]
mov dword [0x010170e8], 7
xorps xmm0, xmm0
movaps xmmword [0x010170f0], xmm0
mov qword [0x01017100], 0
mov byte [0x01017148], 1
mov byte [0x01017108], 0
mov byte [0x01017109], 0
mov byte [0x0101710a], 0
mov byte [0x0101710b], 0
mov byte [0x0101710c], 0
mov byte [0x0101710d], 0
mov byte [0x0101710e], 0
mov qword [0x010170a0], rcx
mov rax, qword [0x0060ed28]
mov rdx, qword [rax + 0xa001c8]
add rsp, 0x28
jmp fcn.004307b0
mov qword [rsp + 0x20], rax
lea rcx, str.gotsan.cpp
lea r8, str.__nullptr______suppression_ctx__
mov edx, 0x16ef
xor r9d, r9d
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
int3
Function at 0x434400
Capabilities:
Get system information on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, rdx
mov rsi, rcx
mov rdx, qword [0x00579d18]
mov rcx, rax
call method.__sanitizer.RoundUpTo_unsigned_long_long__unsigned_long_long_
mov rdi, rax
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov rdx, rcx
sub rdx, rax
cmp rdx, rdi
jge 0x4344bb
mov rax, qword [0x010a5a08]
test rax, rax
jne 0x434459
lea rcx, [rsp + 0x28]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x2c]
mov qword [0x010a5a08], rax
shl rax, 4
cmp rax, 0x10000
mov edx, 0x10000
cmovb rdx, rax
mov rcx, rdi
call method.__sanitizer.RoundUpTo_unsigned_long_long__unsigned_long_long_
mov r14, rax
xor ecx, ecx
mov rdx, rax
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.kernel32.dll_VirtualAlloc]
test rax, rax
je 0x4344f8
mov qword [rsi + 8], rax
mov rcx, r14
add rcx, rax
mov qword [rsi], rcx
mov rbx, qword [0x010a59f8]
test rbx, rbx
je 0x4344bb
mov rcx, rax
mov rdx, r14
call rbx
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
sub rcx, rax
cmp rcx, rdi
jl 0x4344d4
add rdi, rax
mov qword [rsi + 8], rdi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
lea r8, str.__allocated_end____allocated_current_____sptr_size______0_
mov edx, 0x19d5
xor r9d, r9d
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
call qword [sym.imp.kernel32.dll_GetLastError]
mov byte [rsp + 0x20], 0
lea rdx, str.Allocate
lea r8, str.allocate
mov rcx, r14
mov r9d, eax
call method.__sanitizer.ReportMmapFailureAndDie_unsigned_long_long__char_const__char_const__unsigned_int__bool_
int3

Function at 0x4346e0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov rsi, rcx
xor edi, edi
nop
cmp byte [rsi + rdi], 0
lea rdi, [rdi + 1]
jne 0x4346f0
mov rbx, qword [0x00579d20]
mov al, 1
xchg byte [rbx], al
test al, al
jne 0x43478e
lea rcx, [0x00579d20]
call method.__sanitizer::ReportFile.ReopenIfNecessary__
mov rcx, qword [0x00579d28]
cmp rcx, 0xffffffffffffffff
je 0x4347bc
lea rax, [rcx - 1]
cmp rax, 1
ja 0x434750
xor eax, eax
cmp rcx, 1
sete al
or eax, 0xfffffff4
mov ecx, eax
call qword [sym.imp.kernel32.dll_GetStdHandle]
mov rcx, rax
test rax, rax
je 0x434777
add edi, 0xffffffff
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2c]
mov rdx, rsi
mov r8d, edi
call qword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
jne 0x434780
call qword [sym.imp.kernel32.dll_GetLastError]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_OutputDebugStringA]
mov byte [rbx], 0
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
xor ebp, ebp
mov r14, qword [sym.imp.kernel32.dll_Sleep]
jmp 0x43479c
add ebp, 1
cmp ebp, 0x63
ja 0x4347a5
pause
jmp 0x4347aa
xor ecx, ecx
call r14
cmp byte [rbx], 0
jne 0x434799
mov al, 1
xchg byte [rbx], al
test al, al
jne 0x434799
jmp 0x43470d
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
lea r8, str.__fd_____fd_t__1_______0_
mov edx, 0x250a
xor r9d, r9d
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
int3
Function at 0x435880
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
cmp qword [0x0060edd0], 0
je 0x4358ad
mov rax, rcx
lock xadd qword [0x010a5a30], rax
add rax, rcx
shr rax, 0x14
cmp rax, qword [0x0060edd0]
jae 0x4358b5
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rsi, qword [0x00579d20]
mov al, 1
xchg byte [rsi], al
test al, al
jne 0x43594b
lea rcx, [0x00579d20]
call method.__sanitizer::ReportFile.ReopenIfNecessary__
mov rcx, qword [0x00579d28]
cmp rcx, 0xffffffffffffffff
je 0x435996
lea rax, [rcx - 1]
cmp rax, 1
ja 0x43590b
xor eax, eax
cmp rcx, 1
sete al
or eax, 0xfffffff4
mov ecx, eax
call qword [sym.imp.kernel32.dll_GetStdHandle]
mov rcx, rax
test rax, rax
je 0x435936
mov qword [rsp + 0x20], 0
lea rdx, str._total_mmaped____20____common_flags____mmap_limit_mb_n
lea r9, [rsp + 0x2c]
mov r8d, 0x35
call qword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
jne 0x435943
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str._total_mmaped____20____common_flags____mmap_limit_mb_n
call qword [sym.imp.kernel32.dll_OutputDebugStringA]
mov byte [rsi], 0
call method.__sanitizer.Die__
xor edi, edi
mov rbx, qword [sym.imp.kernel32.dll_Sleep]
jmp 0x435963
add edi, 1
cmp edi, 0x63
ja 0x435980
pause
cmp byte [rsi], 0
jne 0x435960
jmp 0x435989
xor ecx, ecx
call rbx
cmp byte [rsi], 0
jne 0x435960
mov al, 1
xchg byte [rsi], al
test al, al
jne 0x435960
jmp 0x4358c8
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
lea r8, str.__fd_____fd_t__1_______0_
mov edx, 0x250a
xor r9d, r9d
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
int3
Function at 0x437570
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov r15d, dword [rsp + 0xc8]
cmp r15d, 1
jbe 0x43768f
mov r12, r9
mov rbp, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x010a5a08]
test rax, rax
je 0x4375c1
mov qword [rbx + 0x10], r14
mov dword [rbx + 8], 1
cmp r12, 0x1000
jae 0x4375eb
jmp 0x437660
lea rcx, [rsp + 0x30]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x34]
mov qword [0x010a5a08], rax
mov qword [rbx + 0x10], r14
mov dword [rbx + 8], 1
cmp r12, 0x1000
jb 0x437660
mov rcx, qword [rsp + 0xc0]
cmp r12, rcx
jbe 0x4376b3
cmp rbp, rcx
jbe 0x437660
lea rcx, [r12 - 0x10]
cmp rcx, rbp
jbe 0x437660
mov edx, ebp
and edx, 7
test rdx, rdx
jne 0x437660
mov edx, 1
nop word [rax + rax]
cmp edx, r15d
jae 0x437660
mov rdi, qword [rbp + 8]
cmp rdi, rax
jb 0x437660
cmp rdi, r14
je 0x437640
mov esi, edx
add edx, 1
mov dword [rbx + 8], edx
mov qword [rbx + rsi*8 + 0x10], rdi
cmp rbp, r12
jae 0x43766f
mov rdi, qword [rbp]
cmp rdi, rbp
jbe 0x437660
cmp rcx, rdi
jbe 0x437660
mov esi, edi
and esi, 7
mov rbp, rdi
test rsi, rsi
je 0x437620
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov qword [rsp + 0x20], rbp
lea rcx, str.gotsan.cpp
lea r8, str.__stack_top_______stack_bottom__
mov edx, 0x1c88
mov r9, r12
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
mov r9d, r15d
mov qword [rsp + 0x20], 2
lea rcx, str.gotsan.cpp
lea r8, str.__max_depth_______2__
mov edx, 0x1c9e
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
mov qword [rsp + 0x20], rcx
jmp 0x437674
Function at 0x441590
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov r14, qword [0x0110fd48]
xor ebx, ebx
lea rdi, [0x010cfd38]
lea r15, [rsp + 0x28]
mov r12, qword [sym.imp.kernel32.dll_GetSystemInfo]
xor esi, esi
jmp 0x4415da
mov ecx, 0x40000
call method.__sanitizer.RoundUpTo_unsigned_long_long__unsigned_long_long_
add rbx, rax
add rsi, 1
cmp rsi, 0x8000
je 0x441603
mov rax, qword [rdi + rsi*8 + 8]
test rax, rax
je 0x4415cd
mov rdx, qword [0x010a5a08]
test rdx, rdx
jne 0x4415c0
mov rcx, r15
call r12
mov edx, dword [rsp + 0x2c]
mov qword [0x010a5a08], rdx
jmp 0x4415c0
lea rax, [r14 + rbx]
add rax, 0x10010
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x441620
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rsi
sub rsp, 0x30
mov rdx, r8
mov rsi, rcx
mov qword [rcx], r9
mov qword [rsp + 0x28], 0
lea rcx, [0x0110fd40]
lea r8, [rsp + 0x28]
call method.__sanitizer::StackStore.Store___sanitizer::StackTrace_const__unsigned_long_long_
mov dword [rsi + 0xc], eax
cmp qword [rsp + 0x28], 0
jne 0x441659
add rsp, 0x30
pop rsi
ret
add rsp, 0x30
pop rsi
jmp method.__sanitizer._anonymous_namespace_::CompressThread::NewWorkNotify__

Function at 0x441670
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp dword [0x0060ee30], 0
je 0x4416f1
jle 0x4416cb
mov al, 1
xchg byte [0x0156d6a4], al
test al, al
jne 0x4416f8
mov eax, dword [0x0156d6a8]
cmp eax, 1
je 0x4416d6
test eax, eax
jne 0x4416c4
mov byte [0x0156d6b8], 1
mov rax, qword [0x0156d6b0]
test rax, rax
jne 0x44172d
mov qword [0x0156d6b0], 0
mov dword [0x0156d6a8], 2
mov byte [0x0156d6a4], 0
add rsp, 0x28
pop rdi
pop rsi
jmp method.__sanitizer.CompressStackStore__
lock add dword [0x0156d6a0], 1
lea rcx, [0x0156d6a0]
call sub.kernel32.dll_WakeByAddressSingle
mov byte [0x0156d6a4], 0
add rsp, 0x28
pop rdi
pop rsi
ret
xor esi, esi
mov rdi, qword [sym.imp.kernel32.dll_Sleep]
jmp 0x441706
add esi, 1
cmp esi, 0x63
ja 0x44170f
pause
jmp 0x441713
xor ecx, ecx
call rdi
cmp byte [0x0156d6a4], 0
jne 0x441703
mov al, 1
xchg byte [0x0156d6a4], al
test al, al
jne 0x441703
jmp 0x44168d
mov qword [rsp + 0x20], rax
lea rcx, str.gotsan.cpp
lea r8, str.__nullptr______thread___
mov edx, 0x2961
xor r9d, r9d
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
int3
Function at 0x442bd0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
mov ebx, r8d
mov r12, rdx
mov rdi, rcx
mov rax, qword [0x010a5a08]
test rax, rax
jne 0x442c08
lea rcx, [rsp + 0x48]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x4c]
mov qword [0x010a5a08], rax
cmp rax, 0x8001
mov ecx, 0x8000
cmovae rcx, rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x48]
lea r8, [rsp + 0x38]
lea r9, [rsp + 0x40]
mov rcx, r12
call method.__sanitizer.ReadFileToBuffer_char_const__char__unsigned_long_long__unsigned_long_long__unsigned_long_long__unsigned_int_
test al, al
je 0x442cd2
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x442d0b
mov r14, qword [rdi + 0x10]
mov r15, qword [rdi + 0x18]
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0
xor eax, eax
movabs rsi, 0x400100100002600
mov rcx, rbx
add rax, 1
movzx edx, byte [rcx + rax - 1]
cmp rdx, 0x3a
jbe 0x442ca3
jmp 0x442cae
mov qword [rdi + 0x18], rax
add rax, 1
movzx edx, byte [rcx + rax - 1]
cmp rdx, 0x3a
ja 0x442cae
bt rsi, rdx
jb 0x442c90
test rdx, rdx
je 0x442cf0
mov rcx, rdi
mov rdx, r12
call method.__sanitizer::FlagParser.parse_flag_char_const_
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
add rax, 1
movzx edx, byte [rcx + rax - 1]
cmp rdx, 0x3a
jbe 0x442ca3
jmp 0x442cae
mov al, 1
test bl, bl
jne 0x442d1a
mov r8d, dword [rsp + 0x34]
lea rcx, str.Failed_to_read_options_from__s:_error__d_n
mov rdx, r12
call method.__sanitizer.Printf_char_const__..._
xor eax, eax
jmp 0x442d1a
cmp dword [0x0060ed64], 0
jg 0x442d03
mov dword [0x0060ed64], 1
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r15
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call method.__sanitizer.UnmapOrDie_void__unsigned_long_long_
mov al, 1
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret