joyce8/EMBER2024-capa huggingface dataset:
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 [0x0114b0c0]
test r9d, r9d
jle 0x419824
mov r10b, byte [rsi]
lea r8, [0x0114b0d0]
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, [0x0114b0d0]
add rax, rcx
add rax, 0x80
jmp 0x4199bd
movsxd r9, r9d
cmp r9d, 5
jae 0x4199c9
imul rax, r9, 0x807f
lea r14, [0x0114b0d0]
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 [0x0114b0c0]
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 [0x0114b0c0], 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 [0x01149028]
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 [0x01149028], 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 [0x01149028], 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 [0x01149028]
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 [0x01149028], 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 [0x01149028], 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 [0x010ba6c0]
test rax, rax
jne 0x42065e
lea rax, str.race
mov qword [0x010ba700], rax
lea rcx, [0x010ba700]
mov dword [0x010ba708], 7
xorps xmm0, xmm0
movaps xmmword [0x010ba710], xmm0
mov qword [0x010ba720], 0
mov byte [0x010ba768], 1
mov byte [0x010ba728], 0
mov byte [0x010ba729], 0
mov byte [0x010ba72a], 0
mov byte [0x010ba72b], 0
mov byte [0x010ba72c], 0
mov byte [0x010ba72d], 0
mov byte [0x010ba72e], 0
mov qword [0x010ba6c0], rcx
mov rax, qword [0x006b2348]
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 [0x00613d78]
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 [0x01149028]
test rax, rax
jne 0x434459
lea rcx, [rsp + 0x28]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x2c]
mov qword [0x01149028], 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 [0x01149018]
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 [0x00613d80]
mov al, 1
xchg byte [rbx], al
test al, al
jne 0x43478e
lea rcx, [0x00613d80]
call method.__sanitizer::ReportFile.ReopenIfNecessary__
mov rcx, qword [0x00613d88]
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 [0x006b23f0], 0
je 0x4358ad
mov rax, rcx
lock xadd qword [0x01149050], rax
add rax, rcx
shr rax, 0x14
cmp rax, qword [0x006b23f0]
jae 0x4358b5
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rsi, qword [0x00613d80]
mov al, 1
xchg byte [rsi], al
test al, al
jne 0x43594b
lea rcx, [0x00613d80]
call method.__sanitizer::ReportFile.ReopenIfNecessary__
mov rcx, qword [0x00613d88]
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 [0x01149028]
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 [0x01149028], 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 0x43d160
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x28]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x2c]
add rsp, 0x58
ret

Function at 0x43d180
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x28]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x50]
add rsp, 0x58
ret

Function at 0x43d1a0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x28]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x38]
add rsp, 0x58
ret

Function at 0x43d1c0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x28]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x38]
add rsp, 0x58
ret

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

Disassembly:
sub rsp, 0x28
call qword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne cl
and eax, 0x10
shr eax, 4
and al, cl
add rsp, 0x28
ret
Function at 0x43de10
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov r15, r8
mov rdi, rdx
mov r14, rcx
lea rcx, [rsp + 0x30]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov r12d, dword [rsp + 0x58]
mov r13, r12
mov ecx, edi
shl r13, cl
mov ebx, 1
mov ecx, r15d
shl rbx, cl
cmp r13, rbx
cmovbe r13, rbx
cmp rbx, r12
cmovb rbx, r12
lea rdx, [rsp + 0x30]
mov r8d, 0x30
xor ecx, ecx
call qword [sym.imp.kernel32.dll_VirtualQuery]
test rax, rax
je 0x43def0
add rbx, r14
lea rdi, [rsp + 0x30]
mov rsi, qword [sym.imp.kernel32.dll_VirtualQuery]
jmp 0x43dea5
add rcx, qword [rsp + 0x48]
mov r8d, 0x30
mov rdx, rdi
call rsi
test rax, rax
je 0x43def0
cmp dword [rsp + 0x50], 0x10000
mov rcx, qword [rsp + 0x30]
jne 0x43de90
add rcx, r12
mov rdx, r13
call method.__sanitizer.RoundUpTo_unsigned_long_long__unsigned_long_long_
lea rdx, [rbx + rax]
mov rcx, qword [rsp + 0x48]
add rcx, qword [rsp + 0x30]
cmp rdx, rcx
jae 0x43de95
test rax, rax
je 0x43def0
add r13, 0xffffffffffffffff
test rax, r13
jne 0x43df14
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
lea r8, str.___uptr_0_______shadow_start__
mov edx, 0x2377
xor r9d, r9d
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
lea r8, str.__IsAligned_shadow_start__alignment_______0_
mov edx, 0x2378
xor r9d, r9d
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
int3

Function at 0x43e380
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x43e4b0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
cmp rcx, 0xffffffffffffffff
je 0x43e505
mov rsi, r9
mov rbx, qword [rsp + 0x70]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2c]
call qword [sym.imp.kernel32.dll_ReadFile]
mov edi, eax
test rbx, rbx
je 0x43e4ec
test edi, edi
jne 0x43e4ec
call qword [sym.imp.kernel32.dll_GetLastError]
mov dword [rbx], eax
test rsi, rsi
je 0x43e4f8
mov eax, dword [rsp + 0x2c]
mov qword [rsi], rax
test edi, edi
setne al
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
lea r8, str.__fd_____fd_t__1_______0_
mov edx, 0x24f5
xor r9d, r9d
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
int3
Function at 0x43e540
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
cmp rcx, 0xffffffffffffffff
je 0x43e5f6
mov r14, r8
mov rsi, rdx
mov rax, qword [rsp + 0x80]
test rax, rax
lea rbx, [rsp + 0x2c]
cmovne rbx, rax
test r9, r9
lea rdi, [rsp + 0x30]
cmovne rdi, r9
mov dword [rbx], 0
mov qword [rdi], 0
lea rax, [rcx - 1]
cmp rax, 1
ja 0x43e5ac
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 0x43e5ec
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x28]
mov rdx, rsi
mov r8d, r14d
call qword [sym.imp.kernel32.dll_WriteFile]
mov esi, eax
test eax, eax
je 0x43e5d5
mov eax, dword [rsp + 0x28]
mov qword [rdi], rax
jmp 0x43e5dd
call qword [sym.imp.kernel32.dll_GetLastError]
mov dword [rbx], eax
test esi, esi
setne al
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov dword [rbx], 6
xor eax, eax
jmp 0x43e5e2
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 0x43e740
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov r14, r8
mov rsi, rdx
mov rbx, rcx
mov rdi, qword [rcx]
mov al, 1
xchg byte [rdi], al
test al, al
jne 0x43e7d9
mov rcx, rbx
call method.__sanitizer::ReportFile.ReopenIfNecessary__
mov rcx, qword [rbx + 8]
cmp rcx, 0xffffffffffffffff
je 0x43e807
lea rax, [rcx - 1]
cmp rax, 1
ja 0x43e79c
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 0x43e7c0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov rdx, rsi
mov r8d, r14d
call qword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
jne 0x43e7c9
call qword [sym.imp.kernel32.dll_GetLastError]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_OutputDebugStringA]
mov byte [rdi], 0
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor ebp, ebp
mov r15, qword [sym.imp.kernel32.dll_Sleep]
jmp 0x43e7e7
add ebp, 1
cmp ebp, 0x63
ja 0x43e7f0
pause
jmp 0x43e7f5
xor ecx, ecx
call r15
cmp byte [rdi], 0
jne 0x43e7e4
mov al, 1
xchg byte [rdi], al
test al, al
jne 0x43e7e4
jmp 0x43e760
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 0x43f5f0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rdi, rdx
mov rsi, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.kernel32.dll_GetNativeSystemInfo]
mov eax, dword [rsp + 0x5c]
neg rax
lea rbx, [rsi + rdi]
add rbx, 0xffffffffffffffff
and rbx, rax
mov rdi, rax
and rdi, rsi
lea r14, [rsp + 0x28]
mov r15, qword [sym.imp.kernel32.dll_VirtualQuery]
mov ebp, 0x10003
jmp 0x43f64d
mov rax, qword [rsp + 0x40]
add rdi, rax
test rax, rax
je 0x43f67b
cmp rdi, rbx
seta sil
ja 0x43f67b
mov r8d, 0x30
mov rcx, rdi
mov rdx, r14
call r15
cmp rax, 0x30
jne 0x43f679
mov eax, dword [rsp + 0x4c]
cmp eax, 0x10
ja 0x43f640
bt ebp, eax
jae 0x43f640
xor esi, esi
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x43fad0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call qword [sym.imp.kernel32.dll_GetNativeSystemInfo]
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret
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 [0x011b3368]
xor ebx, ebx
lea rdi, [0x01173358]
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 [0x01149028]
test rdx, rdx
jne 0x4415c0
mov rcx, r15
call r12
mov edx, dword [rsp + 0x2c]
mov qword [0x01149028], 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, [0x011b3360]
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 [0x006b2450], 0
je 0x4416f1
jle 0x4416cb
mov al, 1
xchg byte [0x01610cc4], al
test al, al
jne 0x4416f8
mov eax, dword [0x01610cc8]
cmp eax, 1
je 0x4416d6
test eax, eax
jne 0x4416c4
mov byte [0x01610cd8], 1
mov rax, qword [0x01610cd0]
test rax, rax
jne 0x44172d
mov qword [0x01610cd0], 0
mov dword [0x01610cc8], 2
mov byte [0x01610cc4], 0
add rsp, 0x28
pop rdi
pop rsi
jmp method.__sanitizer.CompressStackStore__
lock add dword [0x01610cc0], 1
lea rcx, [0x01610cc0]
call sub.kernel32.dll_WakeByAddressSingle
mov byte [0x01610cc4], 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 [0x01610cc4], 0
jne 0x441703
mov al, 1
xchg byte [0x01610cc4], 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 [0x01149028]
test rax, rax
jne 0x442c08
lea rcx, [rsp + 0x48]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x4c]
mov qword [0x01149028], 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 [0x006b2384], 0
jg 0x442d03
mov dword [0x006b2384], 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