joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c370
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x40c380
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x40c390
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x40c3d1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x40c3c8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x40c3d3
add rax, 0x28
cmp rax, r9
jne 0x40c3b4
xor eax, eax
ret

Function at 0x40c470
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004a8210]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x40c4dd
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x40c4dd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x40c4dd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x40c4d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x40c4df
add rax, 0x28
cmp rax, r9
jne 0x40c4c0
xor eax, eax
add rsp, 0x28
ret

Function at 0x40c5e0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004a8210]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x40c600
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x40c5f8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x40c65d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x40c654
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x40c664
add rax, 0x28
cmp rax, r9
jne 0x40c640
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x40c680
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x004a8210]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x40c6ee
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x40c6ee
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x40c6ee
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x40c6ee
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x40c6e5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x40c6f5
add rcx, 0x28
cmp rcx, rax
jne 0x40c6d0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x40c708
jmp 0x40c6ee
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x40c716
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x40c6ee
test r9d, r9d
jg 0x40c700
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x40c7f0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x40c820
mov rdx, rbx
mov ecx, eax
mov dword [rsi], eax
add rsp, 0x28
pop rbx
pop rsi
jmp sym.__mingwthr_key_dtor
add rsp, 0x28
pop rbx
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x40c850
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x40c880
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x40c895
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x40d230
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [global___mutex], 0xffffffff
mov r8d, 0xffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [0x004cc968], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x40d280
lea rdx, [dbg.emutls_destroy]
mov ecx, eax
mov dword [0x004cc958], eax
call sym.__mingwthr_key_dtor
test eax, eax
jne 0x40d28a
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40d27b
call sym.abort
nop
Function at 0x40d290
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [0x004a7680]
mov r11d, dword [rbx]
mov rdi, rcx
test r11d, r11d
jne 0x40d2c4
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x40d320
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x40d330
mov ebx, dword [0x004cc958]
mov r12, qword [sym.imp.KERNEL32.dll_GetLastError]
call r12
mov ebp, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebp
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x40d3a1
mov rbp, qword [rbx]
cmp rbp, rsi
jb 0x40d3e1
lea rbx, [rbx + rsi*8]
mov rax, qword [rbx]
test rax, rax
jne 0x40d2b7
mov rcx, rdi
call dbg.emutls_alloc
mov qword [rbx], rax
jmp 0x40d2b7
call dbg.emutls_alloc
mov qword [rdi + 0x10], rax
jmp 0x40d2b7
mov r10d, dword [rbx]
test r10d, r10d
je 0x40d442
mov r9d, dword [global_once]
test r9d, r9d
je 0x40d470
lock add dword [0x004cc960], 1
jne 0x40d4a0
mov rsi, qword [rdi + 0x10]
test rsi, rsi
je 0x40d44f
mov eax, dword [rbx]
test eax, eax
je 0x40d2cd
mov eax, 0xffffffff
lock xadd dword [0x004cc960], eax
sub eax, 1
js 0x40d2cd
xor r8d, r8d
mov edx, 1
mov rcx, qword [0x004cc968]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x40d2cd
lea rcx, [rsi + 0x21]
mov edx, 8
call sym.calloc
lea rbp, [rsi + 0x20]
test rax, rax
mov rbx, rax
je 0x40d4c7
mov qword [rax], rbp
mov rdx, rbx
mov ecx, dword [0x004cc958]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x40d307
call r12
jmp 0x40d307
lea r13, [rbp + rbp]
mov rcx, rbx
lea rax, [rsi + 0x20]
cmp rsi, r13
cmova r13, rax
lea rdx, [r13*8 + 8]
call sym.realloc
test rax, rax
mov rbx, rax
je 0x40d4c7
mov qword [rax], r13
lea rcx, [rax + rbp*8 + 8]
sub r13, rbp
xor edx, edx
lea r8, [r13*8]
call sym.memset
jmp 0x40d3c2
call dbg.emutls_init
mov dword [global_once], 1
mov edx, dword [rbx]
test edx, edx
jne 0x40d34c
mov rsi, qword [rdi + 0x10]
test rsi, rsi
jne 0x40d2cd
mov rax, qword [0x004cc950]
lea rsi, [rax + 1]
mov qword [0x004cc950], rsi
mov qword [rdi + 0x10], rsi
jmp 0x40d367
lock add dword [0x0049f254], 1
je 0x40d429
mov r8d, dword [global_once]
lea rsi, [0x0049f250]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
test r8d, r8d
jne 0x40d438
xor ecx, ecx
call rbp
mov ecx, dword [rsi]
test ecx, ecx
je 0x40d494
jmp 0x40d438
mov edx, 0xffffffff
mov rcx, qword [0x004cc968]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40d35a
lock sub dword [0x004cc960], 1
jmp 0x40d35a
call sym.abort
nop
nop dword [rax]

Function at 0x419840
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r9, qword [rcx + 0x40]
mov rsi, rdx
mov rbx, rcx
mov edx, 1
mov rcx, rsi
call sym.fread
mov edx, 0xffffffff
test rax, rax
jle 0x41986c
movzx edx, byte [rsi + rax - 1]
mov dword [rbx + 0x48], edx
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x41a440
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x004a20e0], 0
jne 0x41a546
mov byte [0x004a20e0], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x41a51c
mov rbx, qword [rax + 8]
lea r9, [rsp + 0x2c]
xor eax, eax
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call sym.__cxa_demangle
mov ecx, 2
mov rsi, qword [sym.__acrt_iob_func]
mov rdi, rax
call rsi
mov edx, 1
mov r8d, 0x30
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r9, rax
call sym.fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x41a50d
call rsi
mov rcx, rbx
mov rdx, rax
call sym.fputs
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x004a4651]
mov r9, rax
call sym.fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x41a508
mov rcx, rdi
call sym.free
call sym.__cxa_rethrow
call rsi
mov rcx, rdi
mov rdx, rax
call sym.fputs
jmp 0x41a4d7
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov r8d, 0x2d
mov edx, 1
lea rcx, str.terminate_called_without_an_active_exception_n
mov r9, rax
call sym.fwrite
call sym.abort
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov r8d, 0x1d
mov edx, 1
lea rcx, str.terminate_called_recursively_n
mov r9, rax
call sym.fwrite
call sym.abort
sub rdx, 1
mov rcx, rax
jne 0x41a5db
call sym.__cxa_begin_catch
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sym.fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sym.fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sym.fputc
call sym.__cxa_end_catch
jmp 0x41a541
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x41a541

Function at 0x468920
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rbp, rcx
mov rdi, rdx
mov esi, r8d
jmp 0x468948
call r12
cmp dword [rax], 4
jne 0x468966
mov rcx, rbp
call method.std::__basic_file_char_.fd__
mov r8d, esi
mov rdx, rdi
mov ecx, eax
call sym.read
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
je 0x468940
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x47ac00
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rbx, rcx
lea rdx, str.mt19937
mov rcx, rsi
call method.std::string.compare_char_const__const
mov ecx, 0x1571
test eax, eax
jne 0x47ac65
mov dword [rbx], ecx
mov edx, 1
jmp 0x47ac34
mov ecx, dword [rbx + rdx*4 - 4]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul eax, eax, 0x6c078965
add eax, edx
mov dword [rbx + rdx*4], eax
add rdx, 1
cmp rdx, 0x270
jne 0x47ac30
mov qword [rbx + 0x9c0], 0x270
add rsp, 0x38
pop rbx
pop rsi
ret
mov rsi, qword [rsi]
lea rdx, [rsp + 0x28]
xor r8d, r8d
mov rcx, rsi
call sym.strtoul
cmp byte [rsi], 0
mov ecx, eax
je 0x47ac89
mov rax, qword [rsp + 0x28]
cmp byte [rax], 0
je 0x47ac24
lea rcx, str.random_device::random_device_const_std::string_
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x49e2d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x004a2100]
jmp dbg.__emutls_get_address

Function at 0x49ec20
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140011212
Capabilities:
Terminate process

Disassembly:
jmp 0x140013380
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011294
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x140011b60
push rbp
push rdi
sub rsp, 0x5b8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0xfe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001d008]
xor rax, rbp
mov qword [rbp + 0x568], rax
lea rcx, [0x140023036]
call fcn.140011398
lea rcx, str.process:
call fcn.1400111a9
mov r8d, 0x103
lea rdx, [rbp + 0x10]
lea rcx, str._259s
call fcn.14001121c
lea rcx, str.dll:
call fcn.1400111a9
mov r8d, 0x103
lea rdx, [rbp + 0x140]
lea rcx, str._259s
call fcn.14001121c
xor r9d, r9d
lea r8, [rbp + 0x290]
mov edx, 0x104
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea rcx, [rbp + 0x10]
call fcn.1400110f5
mov dword [rbp + 0x264], eax
mov r8d, dword [rbp + 0x264]
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x3b8], rax
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x104
xor edx, edx
mov rcx, qword [rbp + 0x3b8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x3d8], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x104
lea r8, [rbp + 0x290]
mov rdx, qword [rbp + 0x3d8]
mov rcx, qword [rbp + 0x3b8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0x3d8]
mov qword [rsp + 0x20], rax
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x3b8]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, qword [rbp + 0x3b8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001ae10]
call fcn.140011334
mov eax, edi
mov rcx, qword [rbp + 0x568]
xor rcx, rbp
call fcn.1400111c7
lea rsp, [rbp + 0x578]
pop rdi
pop rbp
ret
Function at 0x14001b8d4
Capabilities:
Get file size

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

Function at 0x14001fd60
Capabilities:
Parse pe header

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

Function at 0x140001048
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x110
call fcn.140001500
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
test eax, eax
jns 0x14000108e
xor al, al
jmp 0x140001096
cmp dword [rsp + 0x24], 0xa
setae al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140001490
add rsp, 0x158
ret

Function at 0x1400010b0
Capabilities:
Complete processing asynchronous io request

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
lea rdx, [0x1400016f0]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_IoDeleteSymbolicLink]
and dword [rbx + 0x30], 0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, dword [rbx + 0x30]
add rsp, 0x30
pop rbx
ret
Function at 0x238ff7980
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x238ff7b0b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call dbg.runtime.stdcall3
xorps xmm15, xmm15
mov r14, qword [0x23938d098]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x238ff79e5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x238ff79f4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x238ff7a13
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x238ff7a23
cmp rbx, 0x1000
jae 0x238ff79eb
jmp 0x238ff7a8d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x238ff7a35
xor edx, edx
jmp 0x238ff7a84
mov rcx, qword [sym.VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call dbg.runtime.stdcall3
xorps xmm15, xmm15
mov r14, qword [0x23938d098]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x238ff7a19
jmp 0x238ff7a08
call dbg.runtime.getlasterror
xorps xmm15, xmm15
mov r14, qword [0x23938d098]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call dbg.runtime.printlock
lea rax, [0x2391e73b5]
mov ebx, 0x18
nop dword [rax]
call dbg.runtime.printstring
mov rax, qword [rsp + 0x38]
call dbg.runtime.printuint
lea rax, [0x2391e7968]
mov ebx, 0x19
nop dword [rax + rax]
call dbg.runtime.printstring
mov rax, qword [rsp + 0x30]
call dbg.runtime.printuint
call dbg.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x2391ea764]
mov ebx, 0x21
call dbg.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp dbg.runtime.sysUnusedOS
Function at 0x238ff7b40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x238ff7d66
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call dbg.runtime.stdcall4
xorps xmm15, xmm15
mov r14, qword [0x23938d098]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x238ff7bb3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x238ff7bc2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x238ff7be5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x238ff7bf5
cmp rbx, 0x1000
jae 0x238ff7bb9
nop
jmp 0x238ff7c78
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x238ff7c0d
xor esi, esi
jmp 0x238ff7c6a
mov rax, qword [sym.VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call dbg.runtime.stdcall4
xorps xmm15, xmm15
mov r14, qword [0x23938d098]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x238ff7beb
jmp 0x238ff7bd6
call dbg.runtime.getlasterror
xorps xmm15, xmm15
mov r14, qword [0x23938d098]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x238ff7d00
nop dword [rax + rax]
call dbg.runtime.printlock
lea rax, [0x2391e7981]
mov ebx, 0x19
call dbg.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call dbg.runtime.printuint
lea rax, [0x2391e7968]
mov ebx, 0x19
call dbg.runtime.printstring
mov eax, dword [rsp + 0x34]
call dbg.runtime.printuint
nop
call dbg.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x2391e35fc]
mov ebx, 0xd
call dbg.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x238ff7ca0
call dbg.runtime.printlock
lea rax, [0x2391e7981]
mov ebx, 0x19
call dbg.runtime.printstring
mov rax, qword [rsp + 0x38]
call dbg.runtime.printuint
lea rax, [0x2391e7968]
mov ebx, 0x19
call dbg.runtime.printstring
mov eax, dword [rsp + 0x34]
nop dword [rax]
call dbg.runtime.printuint
call dbg.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x2391e9c15]
mov ebx, 0x1f
nop dword [rax + rax]
call dbg.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp dbg.runtime.sysUsedOS
Function at 0x239001440
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x23938ce50], 0
jne 0x239001527
sub rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x50]
test byte [rdx], al
mov esi, dword [rax + 0x64]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
nop
nop
nop
nop
lock or byte [rdx], r8b
mov rcx, qword [rax + 0x18]
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rdx, 0x2a
nop
nop
nop
cmp rdx, 0x40
jae 0x23900151a
lea rbx, [0x23935f238]
mov rdx, qword [rbx + rdx*8]
test byte [rdx], al
mov rbx, rcx
shr rbx, 0x10
and ebx, 0x3f
shr rcx, 0xd
and ecx, 7
mov esi, 1
shl esi, cl
shr rax, 0x16
and eax, 0xfffff
mov rax, qword [rdx + rax*8]
test byte [rax], al
movzx edx, byte [rax + rbx + 0x11440]
lea rax, [rax + rbx]
lea rax, [rax + 0x11440]
test sil, dl
jne 0x239001500
lock or byte [rax], sil
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1250], rdi
add rsp, 0x10
pop rbp
ret
mov rax, rdx
mov ecx, 0x40
call dbg.runtime.panicIndexU
lea rax, [0x2391ed2b2]
mov ebx, 0x2c
call dbg.runtime.throw
nop
int3

Function at 0x239003800
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x239003906
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x17], dil
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x18], 0
jmp 0x239003843
mov rax, qword [rsp + 0x60]
mov rcx, rdx
mov rbx, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x17]
cmp qword [rsp + 0x18], rbx
jae 0x2390038fb
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call dbg.runtime.(*scavengeIndex).find
test rax, rax
je 0x2390038fb
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
movups xmmword [rsp + 0x40], xmm15
lea rcx, [dbg.runtime.(*pageAlloc).scavenge.func1]
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x20]
mov qword [rsp], rbx
nop dword [rax]
call dbg.runtime.systemstack
xorps xmm15, xmm15
mov r14, qword [0x23938d098]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
test rdx, rdx
jne 0x2390038e9
xor eax, eax
jmp 0x2390038f3
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x70]
test al, al
je 0x239003831
mov rax, qword [rsp + 0x18]
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp dbg.runtime.(*pageAlloc).scavenge