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

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140111dc0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.140111dc0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x140106c60
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x141261d14]
mov r12, rcx
test ebx, ebx
jle 0x140106d90
mov rax, qword [0x141261d18]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x140106cac
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140106d33
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x140106c90
mov rcx, r12
call fcn.140107600
mov rsi, rax
test rax, rax
je 0x140106db2
mov rax, qword [0x141261d18]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.140107730
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x141261d18]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140106d97
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140106d2c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140106d40
add dword [0x141261d14], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x141261d18]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140106d2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140106bf0
nop dword [rax]
xor ebx, ebx
jmp 0x140106cb7
mov rax, qword [0x141261d18]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140106bf0
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140106bf0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140107270
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x141261d80]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_EnterCriticalSection]
mov rbx, qword [0x141261d60]
test rbx, rbx
je 0x1401072c4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x1401072bb
test r12, r12
je 0x1401072bb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1401072a0
lea rcx, [0x141261d80]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_LeaveCriticalSection]
Function at 0x140107600
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14029fda0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140107620
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140107628
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140107620
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140107675
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14010766c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140107620
add rax, 0x28
cmp rax, r9
jne 0x140107658
xor eax, eax
ret

Function at 0x140107680
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14029fda0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1401076a0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1401076a8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1401076a0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x140107730
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14029fda0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140107750
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x140107758
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x140109110
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x14029fe20]
mov rax, qword [rsi]
test rax, rax
je 0x1401091a0
cmp qword [rax + 0x30], 0
jne 0x1401091c0
lea rbx, [0x140132ea8]
mov qword [rax + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
mov rax, qword [rsi]
test rax, rax
je 0x140109170
cmp qword [rax + 0x30], 0
jne 0x140109190
lea rdx, [0x140132ea8]
mov qword [rax + 0x30], rdx
mov rax, rdx
cmp dword [rax], 0xffffffff
je 0x14011ea80
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14010e010
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x140109152
test rax, rax
jne 0x140109190
call fcn.14010e010
nop dword [rax]
mov rax, qword [rax + 0x30]
jmp 0x140109160
call fcn.14010e010
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x140109130
test rax, rax
jne 0x1401091c0
call fcn.14010e010
nop dword [rax]
mov rbx, qword [rax + 0x30]
jmp 0x14010913b
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
mov rax, qword [class.__tsan]
ud2
Function at 0x140109cf0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rsi, qword [0x14029fe20]
mov rax, qword [rsi]
test rax, rax
je 0x140109ee0
cmp qword [rax + 0x28], 0
jne 0x140109ec8
lea rcx, [0x141261e38]
cmp dword [rcx], 1
mov qword [rax + 0x28], rcx
je 0x140109ed5
call fcn.140109300
mov rax, qword [rsi]
test rax, rax
je 0x140109d70
cmp qword [rax + 0x30], 0
jne 0x140109d90
lea rdx, [0x140132ea8]
mov qword [rax + 0x30], rdx
mov rax, rdx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
je 0x140109da4
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.14010e010
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x140109d40
test rax, rax
jne 0x140109d90
call fcn.14010e010
nop dword [rax]
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
jne 0x140109d5e
call fcn.140108e40
cmp qword [0x141265050], 0
mov rbx, rax
je 0x140109d5e
test rax, rax
je 0x140109d5e
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.14010feb0
cmp eax, 1
je 0x140109f4d
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r12, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, r12
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x14011ea86
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
mov rax, qword [rsi]
test rax, rax
je 0x140109f28
cmp qword [rax + 0x30], 0
je 0x140109f10
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14011ea86
mov r12, rbx
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x140109d2c
mov rax, qword [rsi]
jmp 0x140109d39
call fcn.14010e010
cmp qword [rax + 0x28], 0
mov rax, qword [rsi]
je 0x140109d18
test rax, rax
jne 0x140109ec8
call fcn.14010e010
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x140109d2c
jmp 0x140109d31
lea rdx, [0x140132ea8]
mov qword [rax + 0x30], rdx
mov rax, rdx
jmp 0x140109e9e
call fcn.14010e010
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x140109f10
test rax, rax
jne 0x140109e9a
call fcn.14010e010
jmp 0x140109e9a
call fcn.1401091d0
nop word cs:[rax + rax]
nop dword [rax]
mov rax, qword [0x14029fe20]
mov rdx, qword [rax]
lea rax, [0x141261e48]
mov qword [rdx + 0x10], rax
ret
Function at 0x14010e010
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x141261f20]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x2c]
lea r9, [rsp + 0x30]
movzx eax, byte [rcx]
add rcx, 1
add rdx, 2
mov r8d, eax
and eax, 0xf
shr r8b, 4
add eax, 0x61
add r8d, 0x41
mov byte [rdx - 1], al
mov byte [rdx - 2], r8b
cmp rcx, r9
jne 0x14010e033
lea rax, [0x141261f28]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x1a]
jmp 0x14010e07b
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x14010e078
lea rax, [0x141261f60]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x19]
jmp 0x14010e0ab
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x14010e0a8
xor ecx, ecx
mov byte [0x141261f79], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x141261f82], rdx
lea r8, [0x141261f20]
lea rbx, [0x141261f7a]
mov qword [0x141261f92], rdx
mov qword [0x141261fa2], rdx
mov qword [0x141261fb2], rdx
xor edx, edx
mov qword [0x141261f7a], rax
mov qword [0x141261f8a], rax
mov qword [0x141261f9a], rax
mov qword [0x141261faa], rax
mov byte [0x141261fba], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WaitForSingleObject]
test eax, eax
jne 0x14010e286
lea rcx, [0x141261f60]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x14010e1d1
lea rsi, [0x141261e60]
lea r8, [0x141261fba]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x14010e17d
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x14010e170
lea rcx, [0x141261f60]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x14010e273
lea rcx, [0x14010df20]
mov qword [0x141261e60], rsi
call sub.msvcrt.dll__onexit
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x141261e60]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x5b
lea rdx, [0x141261f60]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x141261fba]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x14010e2a6
nop dword [rax]
cmp byte [rax], 0x41
jne 0x14010e223
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x14010e210
mov rax, rdx
mov qword [0x141261e60], rax
lea rsi, [0x141261e60]
jmp 0x14010e249
cmp rdx, rsi
je 0x14010e1af
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x14010e240
cmp rdx, rsi
je 0x14010e1af
mov qword [rdx + 8], rsi
lea rcx, [0x14010df20]
call sub.msvcrt.dll__onexit
jmp 0x14010e1af
lea rcx, str.failed_to_add_string_to_atom_table_n
call fcn.14010de90
xor eax, eax
jmp 0x14010e1c8
lea rcx, str.failed_to_to_lock_creation_mutex_n
call fcn.14010de90
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, str.failed_to_get_string_from_atom_n
call fcn.14010de90
xor eax, eax
jmp 0x14010e22f
Function at 0x140112d90
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
xor edi, edi
lea r14, [rsp + 0x20]
mov r15, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x140112dd4
mov ecx, 0x100000
call fcn.14011adb0
mov edx, 0x10000
mov rcx, rbx
call fcn.1400d8c00
add rdi, 1
cmp rdi, 0x8000
je 0x140112e00
mov rbx, qword [rsi + rdi*8 + 0x400010]
test rbx, rbx
je 0x140112dc7
mov rdx, qword [0x140d99558]
test rdx, rdx
jne 0x140112db0
mov rcx, r14
call r15
mov edx, dword [rsp + 0x24]
mov qword [0x140d99558], rdx
jmp 0x140112db0
mov byte [rsi + 0x400008], 0
lea rdi, [rsi + 0x400010]
test dil, 8
jne 0x140112e3d
lea rax, [rdi + 0x40000]
lea r8, [rdi + 0x10]
cmp rax, r8
cmova r8, rax
sub r8, rdi
add r8, 0xf
and r8, 0xfffffffffffffff0
mov rcx, rdi
xor edx, edx
call sub.msvcrt.dll_memset
jmp 0x140112e8c
xor eax, eax
nop
mov byte [rsi + rax + 0x400010], 0
mov byte [rsi + rax + 0x400011], 0
mov byte [rsi + rax + 0x400012], 0
mov byte [rsi + rax + 0x400013], 0
mov byte [rsi + rax + 0x400014], 0
mov byte [rsi + rax + 0x400015], 0
mov byte [rsi + rax + 0x400016], 0
mov byte [rsi + rax + 0x400017], 0
add rax, 8
cmp rax, 0x40000
jne 0x140112e40
test sil, 8
jne 0x140112ec1
lea rax, [rdi + 0x40000]
lea r8, [rdi - 0x400000]
cmp rax, r8
cmova r8, rax
sub r8, rdi
add r8, 0x40001f
and r8, 0xfffffffffffffff0
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
jmp 0x140112f17
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax]
mov byte [rsi + rax], 0
mov byte [rsi + rax + 1], 0
mov byte [rsi + rax + 2], 0
mov byte [rsi + rax + 3], 0
mov byte [rsi + rax + 4], 0
mov byte [rsi + rax + 5], 0
mov byte [rsi + rax + 6], 0
mov byte [rsi + rax + 7], 0
mov byte [rsi + rax + 8], 0
mov byte [rsi + rax + 9], 0
mov byte [rsi + rax + 0xa], 0
mov byte [rsi + rax + 0xb], 0
add rax, 0xc
cmp rax, 0x440010
jne 0x140112ed0
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140114360
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
lea rax, [rcx + 0x81008]
mov byte [rcx + 0x81008], 0
mov byte [rcx + 0x81009], 0
mov byte [rcx + 0x8100a], 0
mov byte [rcx + 0x8100b], 0
mov byte [rcx + 0x8100c], 0
mov byte [rcx + 0x8100d], 0
mov byte [rcx + 0x8100e], 0
mov byte [rcx + 0x8100f], 0
mov byte [rcx + 0x81010], 0
mov byte [rcx + 0x81011], 0
mov byte [rcx + 0x81012], 0
mov byte [rcx + 0x81013], 0
mov byte [rcx + 0x81014], 0
mov byte [rcx + 0x81015], 0
mov byte [rcx + 0x81016], 0
mov byte [rcx + 0x81017], 0
mov byte [rcx + 0x81018], 0
mov byte [rcx + 0x81019], 0
mov byte [rcx + 0x8101a], 0
mov byte [rcx + 0x8101b], 0
mov byte [rcx + 0x8101c], 0
mov byte [rcx + 0x8101d], 0
mov byte [rcx + 0x8101e], 0
mov byte [rcx + 0x8101f], 0
mov byte [rcx + 0x81020], 0
mov byte [rcx + 0x81021], 0
mov byte [rcx + 0x81022], 0
mov byte [rcx + 0x81023], 0
mov byte [rcx + 0x81024], 0
mov byte [rcx + 0x81025], 0
mov byte [rcx + 0x81026], 0
mov byte [rcx + 0x81027], 0
mov byte [rcx + 0x81028], 0
mov byte [rcx + 0x81029], 0
mov byte [rcx + 0x8102a], 0
mov byte [rcx + 0x8102b], 0
mov byte [rcx + 0x8102c], 0
mov byte [rcx + 0x8102d], 0
mov byte [rcx + 0x8102e], 0
mov byte [rcx + 0x8102f], 0
mov qword [rcx + 0x81008], rax
mov qword [rcx + 0x81010], rax
test r8, r8
jne 0x1401145c3
mov rsi, rcx
mov byte [rcx], 0
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax]
mov byte [rsi + rax + 8], 0
mov byte [rsi + rax + 9], 0
mov byte [rsi + rax + 0xa], 0
mov byte [rsi + rax + 0xb], 0
mov byte [rsi + rax + 0xc], 0
mov byte [rsi + rax + 0xd], 0
mov byte [rsi + rax + 0xe], 0
mov byte [rsi + rax + 0xf], 0
add rax, 8
cmp rax, 0x40000
jne 0x1401144b0
lea rax, [rsi + 0x40dc0]
lea r8, [rsi + 0x40050]
cmp rax, r8
cmova r8, rax
lea rcx, [rsi + 0x40040]
sub r8, rsi
add r8, 0xfffffffffffbffcf
and r8, 0xffffffffffffffd0
xor edx, edx
call sub.msvcrt.dll_memset
mov rax, 0xfffffffffffbfdb8
nop dword [rax]
mov byte [rsi + rax + 0x81008], 0
mov byte [rsi + rax + 0x81009], 0
mov byte [rsi + rax + 0x8100a], 0
mov byte [rsi + rax + 0x8100b], 0
mov byte [rsi + rax + 0x8100c], 0
mov byte [rsi + rax + 0x8100d], 0
mov byte [rsi + rax + 0x8100e], 0
mov byte [rsi + rax + 0x8100f], 0
mov byte [rsi + rax + 0x81010], 0
mov byte [rsi + rax + 0x81011], 0
mov byte [rsi + rax + 0x81012], 0
mov byte [rsi + rax + 0x81013], 0
add rax, 0xc
jne 0x140114520
mov rax, qword [0x140d99558]
test rax, rax
jne 0x1401145a8
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x34]
mov qword [0x140d99558], rax
mov qword [rsi + 0x40dc0], rax
lea rax, [rsi + 0x40dd0]
mov qword [rsi + 0x40dc8], rax
add rsp, 0x60
pop rsi
ret
mov qword [rsp + 0x20], 0
lea rcx, str....._sanitizer_common_sanitizer_allocator_primary32.h
lea r8, str.___heap_start______0_
mov edx, 0x7b
xor r9d, r9d
call fcn.1400c31d0
int3
Function at 0x1401161b0
Capabilities:
Get system information on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
test rdx, rdx
je 0x140116368
mov rdi, rdx
mov rsi, rcx
mov r9, qword [rcx + 0x10]
cmp r9, rdx
ja 0x14011638c
shl rdi, 5
mov rdx, qword [0x140d99558]
test rdx, rdx
jne 0x1401161fb
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x2c]
mov qword [0x140d99558], rdx
mov rcx, rdi
call fcn.14011adb0
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 0x1401163a9
mov rbx, rax
mov rcx, qword [rsi]
mov rdi, qword [rsi + 0x10]
shl rdi, 5
je 0x14011634e
lea rax, [rcx + rdi]
cmp rbx, rax
jae 0x140116280
lea rax, [rbx + rdi]
cmp rcx, rax
jae 0x140116280
xor eax, eax
nop
movzx edx, byte [rcx + rax]
mov byte [rbx + rax], dl
movzx edx, byte [rcx + rax + 1]
mov byte [rbx + rax + 1], dl
movzx edx, byte [rcx + rax + 2]
mov byte [rbx + rax + 2], dl
movzx edx, byte [rcx + rax + 3]
mov byte [rbx + rax + 3], dl
add rax, 4
cmp rdi, rax
jne 0x140116250
jmp 0x14011634b
add rdi, 0xffffffffffffffe0
mov rdx, rdi
shr rdx, 5
add rdx, 1
mov eax, edx
and eax, 3
cmp rdi, 0x60
jae 0x14011629e
xor edi, edi
jmp 0x140116308
and rdx, 0xfffffffffffffffc
xor edi, edi
nop word cs:[rax + rax]
nop
movups xmm0, xmmword [rcx + rdi]
movups xmm1, xmmword [rcx + rdi + 0x10]
movups xmmword [rbx + rdi], xmm0
movups xmmword [rbx + rdi + 0x10], xmm1
movups xmm0, xmmword [rcx + rdi + 0x20]
movups xmm1, xmmword [rcx + rdi + 0x30]
movups xmmword [rbx + rdi + 0x20], xmm0
movups xmmword [rbx + rdi + 0x30], xmm1
movups xmm0, xmmword [rcx + rdi + 0x40]
movups xmm1, xmmword [rcx + rdi + 0x50]
movups xmmword [rbx + rdi + 0x40], xmm0
movups xmmword [rbx + rdi + 0x50], xmm1
movups xmm0, xmmword [rcx + rdi + 0x60]
movups xmm1, xmmword [rcx + rdi + 0x70]
movups xmmword [rbx + rdi + 0x60], xmm0
movups xmmword [rbx + rdi + 0x70], xmm1
sub rdi, 0xffffffffffffff80
add rdx, 0xfffffffffffffffc
jne 0x1401162b0
test rax, rax
je 0x14011634b
lea rdx, [rbx + rdi]
add rdx, 0x10
add rcx, rdi
add rcx, 0x10
shl rax, 5
xor edi, edi
nop word cs:[rax + rax]
nop dword [rax]
movups xmm0, xmmword [rcx + rdi - 0x10]
movups xmm1, xmmword [rcx + rdi]
movups xmmword [rdx + rdi - 0x10], xmm0
movups xmmword [rdx + rdi], xmm1
add rdi, 0x20
cmp rax, rdi
jne 0x140116330
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
call fcn.1400d8c00
mov qword [rsi], rbx
mov qword [rsi + 8], r14
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsp + 0x20], 0
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__new_capacity_______0__
mov edx, 0x245
xor r9d, r9d
call fcn.1400c31d0
mov qword [rsp + 0x20], rdi
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__size________new_capacity__
mov edx, 0x246
call fcn.1400c31d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsp + 0x20], 0
lea rdx, str.InternalMmapVector
lea r8, str.allocate
mov rcx, r14
mov r9d, eax
call fcn.1400efa80
int3
Function at 0x140119690
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov ebp, edx
mov r14, rcx
mov dword [rcx + 0x10], edx
test edx, edx
je 0x1401196d4
mov eax, ebp
lea rbx, [rax*8]
shl rax, 4
lea rsi, [rax + rax*2]
mov rdi, qword [0x140d99558]
test rdi, rdi
je 0x1401196e0
lea rbx, [rbx + rbx*2]
cmp rsi, rdi
jbe 0x140119703
jmp 0x14011978d
mov qword [r14], 0
jmp 0x1401197d5
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rsp + 0x2c]
mov qword [0x140d99558], rdi
lea rbx, [rbx + rbx*2]
cmp rsi, rdi
ja 0x14011978d
test rdi, rdi
jne 0x14011971e
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rsp + 0x2c]
mov qword [0x140d99558], rdi
cmp rbx, rdi
ja 0x1401197e7
mov rax, rdi
or rax, rbx
shr rax, 0x20
je 0x14011973d
mov rax, rdi
xor edx, edx
div rbx
jmp 0x140119743
mov eax, edi
xor edx, edx
div ebx
bsr rcx, rax
shl rbx, cl
mov eax, dword [r14 + 0x10]
shl eax, cl
mov dword [r14 + 0x10], eax
shl rax, 3
lea rax, [rax + rax*2]
cmp rbx, rax
jne 0x14011980b
lea r15, [rbx + rbx]
test rdi, rdi
jne 0x140119784
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rsp + 0x2c]
mov qword [0x140d99558], rdi
cmp r15, rdi
jbe 0x14011982b
test rdi, rdi
jne 0x1401197a8
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rsp + 0x2c]
mov qword [0x140d99558], rdi
mov rcx, rbx
mov rdx, rdi
call fcn.14011adb0
mov rdi, rax
xor ecx, ecx
mov rdx, rax
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x14011984b
mov qword [r14], rax
test ebp, ebp
setne al
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov qword [rsp + 0x20], 0
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__x_______0U__
mov edx, 0x191
xor r9d, r9d
call fcn.1400c31d0
mov qword [rsp + 0x20], rax
lea rcx, str....._sanitizer_common_sanitizer_dense_map.h
lea r8, str.__Size______sizeof_BucketT___NumBuckets__
mov edx, 0x2af
mov r9, rbx
call fcn.1400c31d0
mov qword [rsp + 0x20], rdi
lea rcx, str....._sanitizer_common_sanitizer_dense_map.h
lea r8, str.__Size__2_______GetPageSizeCached____
mov edx, 0x2b0
mov r9, r15
call fcn.1400c31d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsp + 0x20], 0
lea rdx, str.DenseMap
lea r8, str.allocate
mov rcx, rdi
mov r9d, eax
call fcn.1400efa80
int3
Function at 0x140119870
Capabilities:
Get system information on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rcx
mov ebx, dword [rcx + 0x10]
mov r14, qword [rcx]
cmp edx, 0x41
mov r9d, 0x40
cmovae r9d, edx
lea eax, [r9 - 1]
test r9d, eax
jne 0x14011989d
mov rdx, r9
jmp 0x1401198cf
bsr rax, r9
xor rax, 0x3f
mov ecx, eax
neg cl
mov esi, 1
mov edx, 1
shl rdx, cl
cmp rdx, r9
jbe 0x1401199a5
xor al, 0x3f
mov ecx, eax
shl rsi, cl
cmp rsi, r9
jae 0x1401199c2
mov rcx, rdi
call fcn.140119690
mov rax, qword [rdi]
test rax, rax
je 0x140119981
test r14, r14
je 0x140119936
shl rbx, 3
lea rbx, [rbx + rbx*2]
lea r8, [r14 + rbx]
mov rcx, rdi
mov rdx, r14
call fcn.140112360
mov rdx, qword [0x140d99558]
test rdx, rdx
jne 0x140119921
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x2c]
mov qword [0x140d99558], rdx
mov rcx, rbx
call fcn.14011adb0
mov rcx, r14
mov rdx, rax
call fcn.1400d8c00
jmp 0x140119977
mov qword [rdi + 8], 0
mov ecx, dword [rdi + 0x10]
lea r9d, [rcx - 1]
and r9d, ecx
jne 0x1401199df
test rcx, rcx
je 0x140119977
lea rcx, [rcx + rcx*2]
lea rcx, [rax + rcx*8]
nop dword [rax + rax]
mov dword [rax], 0xffffffff
mov qword [rax + 8], 0xffffffffffffffff
add rax, 0x18
cmp rax, rcx
jne 0x140119960
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsp + 0x20], 0
lea rcx, str....._sanitizer_common_sanitizer_dense_map.h
lea r8, str.__Buckets______0_
mov edx, 0x289
xor r9d, r9d
call fcn.1400c31d0
mov qword [rsp + 0x20], rdx
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__size________1ULL_____up__1____
mov edx, 0x1b9
call fcn.1400c31d0
mov qword [rsp + 0x20], rsi
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__size________1ULL____up___
mov edx, 0x1ba
call fcn.1400c31d0
mov qword [rsp + 0x20], 0
lea rcx, str....._sanitizer_common_sanitizer_dense_map.h
lea r8, str.___getNumBuckets_____getNumBuckets_____1________0__
mov edx, 0x10f
call fcn.1400c31d0
int3