joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003ae4
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x14000f098]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov rsi, rdx
mov r14, r8
mov rdx, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
xor r15d, r15d
mov dword [rsp + 0x68], 0x30
lea rax, [rsp + 0x58]
mov qword [rsp + 0x70], r15
xorps xmm0, xmm0
mov dword [rbp - 0x80], 0x40
lea r8, [rsp + 0x68]
mov qword [rsp + 0x78], rax
lea edx, [r15 + 1]
lea rcx, [rsp + 0x48]
movdqu xmmword [rbp - 0x78], xmm0
call qword [sym.imp.ntdll.dll_NtOpenDirectoryObject]
test eax, eax
js 0x140003c08
mov dword [rsp + 0x40], r15d
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x60]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov r8d, 0x800
mov byte [rsp + 0x20], r15b
call qword [sym.imp.ntdll.dll_NtQueryDirectoryObject]
mov ebx, eax
cmp eax, 0x8000001a
je 0x140003bfb
test eax, eax
js 0x140003bec
cmp word [rbp - 0x60], r15w
je 0x140003b6e
lea rbx, [rbp - 0x58]
mov rdx, qword [rbx + 0x10]
mov r8, r14
mov rcx, qword [rbx]
mov rax, rsi
call qword [0x14000b0d8]
mov edi, eax
test eax, eax
js 0x140003bdd
add rbx, 0x20
cmp word [rbx - 8], r15w
jne 0x140003bb7
jmp 0x140003b6e
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, edi
jmp 0x140003c08
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
jmp 0x140003c08
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtClose]
xor eax, eax
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.140007520
mov rbx, qword [rsp + 0x8f8]
add rsp, 0x8b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140003c34
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor r15d, r15d
mov r14, rax
test rax, rax
je 0x140003d33
test rdi, rdi
je 0x140003d33
cmp word [rdi], r15w
je 0x140003d33
or rsi, 0xffffffffffffffff
mov rbx, rsi
inc rbx
cmp word [rdi + rbx*2], r15w
jne 0x140003c7b
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
jne 0x140003cc3
lea rdx, [rsp + 0x80]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x140003cc3
lea r9, [rsp + 0x78]
mov qword [rsp + 0x20], r15
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x140003d33
lea edx, [rbx + 1]
xor ecx, ecx
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbp, rax
test rax, rax
je 0x140003d33
add ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov qword [rsp + 0x38], r15
mov r9d, esi
mov qword [rsp + 0x30], r15
mov ecx, eax
mov dword [rsp + 0x28], ebx
mov r8, rdi
xor edx, edx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x140003d2a
inc rsi
cmp byte [rsi + rbp], r15b
jne 0x140003d08
mov r8, rsi
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x78]
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140003f9c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x14000405c
test rdx, rdx
je 0x14000405c
xor r9d, r9d
lea rdx, [0x14000b5f0]
lea edi, [r9 + 1]
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
jne 0x140003fe3
xor ebx, ebx
jmp 0x140003ff2
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
xor r9d, r9d
lea rdx, [0x14000b5f0]
mov r8, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
jne 0x140004011
xor ecx, ecx
jmp 0x140004020
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
test rbx, rbx
je 0x140004051
test rcx, rcx
je 0x140004051
mov eax, 0xfecdfecd
cmp dword [rbx], eax
jne 0x14000404b
cmp dword [rcx], eax
jne 0x14000404b
mov rax, qword [rbx + 0x1c]
cmp rax, qword [rcx + 0x1c]
jne 0x14000404b
mov rax, qword [rbx + 0x24]
cmp rax, qword [rcx + 0x24]
je 0x14000404d
xor edi, edi
mov eax, edi
jmp 0x14000405e
mov ecx, 0xd
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400043bc
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14000f098]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [r11 - 0x20]
mov dword [rsp + 0x30], 6
mov r9d, 1
mov qword [r11 - 0x38], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftActive_SetupInstalled_Components89820200_ECBD_11CF_8B85_00AA005B4383
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004489
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.Locale
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140004489
lea rsi, [0x1400081b0]
mov rdi, rsi
mov rdx, qword [rdi]
lea rcx, [rsp + 0x40]
mov r8d, 3
call sub.msvcrt.dll__wcsnicmp
test eax, eax
je 0x140004477
inc ebx
add rdi, 0x10
cmp ebx, 0x1c
jb 0x140004453
jmp 0x140004489
movsxd rax, ebx
add rax, rax
movzx eax, word [rsi + rax*8 + 8]
mov word [0x140015074], ax
movzx eax, word [0x140015074]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140007520
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140004e74
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov ebp, edx
lea r9, [rsp + 0x58]
xor edx, edx
mov rsi, r8
mov r14, rcx
xor r8d, r8d
lea ecx, [rdx + 0x63]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
cmp eax, 0xc0000023
je 0x140004eb3
test eax, eax
js 0x140004f2d
jmp 0x140004f41
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8d, dword [rsp + 0x58]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
je 0x140004f41
mov r8d, dword [rsp + 0x58]
lea r9, [rsp + 0x58]
mov rdx, rax
mov ecx, 0x63
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
test eax, eax
js 0x140004f15
movzx ecx, word [rdi]
add ecx, 2
mov dword [rsi], ecx
cmp ecx, ebp
jbe 0x140004f06
mov ebx, 0xc0000023
jmp 0x140004f15
mov rdx, qword [rdi + 8]
mov r8d, ecx
mov rcx, r14
call sub.msvcrt.dll_memcpy
mov rcx, qword gs:[0x60]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, 0x80000000
lea eax, [rbx + rcx]
test ecx, eax
jne 0x140004f58
cmp ebx, 0xc0000023
je 0x140004f58
mov r9, rsi
lea rcx, [0x140005190]
mov r8d, ebp
mov rdx, r14
call fcn.1400052b4
mov ebx, eax
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x140004fdc
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14000f098]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ebx, 1
lea rdx, [rsp + 0x20]
xor r9d, r9d
lea r8d, [rbx + 0x1f]
lea ecx, [rbx + 0x59]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x14000501b
xor ebx, ebx
cmp dword [rsp + 0x30], 3
cmovl ebx, dword [rsp + 0x30]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140007520
add rsp, 0x50
pop rbx
ret
Function at 0x14000537c
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov dword [rax + 8], ecx
push rsi
push rdi
push r14
sub rsp, 0x20
mov r14, rdx
mov rsi, r9
xor edx, edx
lea r9, [rax + 8]
mov ebp, r8d
xor r8d, r8d
lea ecx, [rdx + 0x62]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
cmp eax, 0xc0000023
je 0x1400053c8
test eax, eax
js 0x140005449
mov ebx, 0xc0000001
jmp 0x140005449
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8d, dword [rsp + 0x40]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
jne 0x1400053f1
mov ebx, 0xc000009a
jmp 0x140005449
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, rdi
mov ecx, 0x62
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
test eax, eax
js 0x140005431
movzx eax, word [rdi]
add eax, 2
mov dword [rsi], eax
cmp eax, ebp
jbe 0x140005422
mov ebx, 0xc0000023
jmp 0x140005431
mov rdx, qword [rdi + 8]
mov rcx, r14
mov r8d, eax
call sub.msvcrt.dll_memcpy
mov rcx, qword gs:[0x60]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbp, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140005a08
Capabilities:
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov r14, qword [rbp + 0x50]
lea rcx, [rbp - 0x10]
mov rsi, qword [rbp + 0x58]
xor edi, edi
and qword [rbp + 0x40], rdi
mov rbx, r8
and qword [r14], rdi
and dword [rsi], edi
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
test rbx, rbx
je 0x140005a5a
lea r9, [rbp + 0x40]
mov rdx, rbx
call fcn.1400057f8
mov ebx, eax
test eax, eax
js 0x140005b39
mov rcx, qword [rbp + 0x40]
lea rax, [rbp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], edi
lea rdx, [rbp - 0x10]
lea r8d, [r9 + 2]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov ebx, eax
cmp eax, 0xc0000023
je 0x140005a97
test eax, eax
js 0x140005b39
mov ebx, 0xc0000001
jmp 0x140005b39
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8d, dword [rbp + 0x48]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
jne 0x140005abf
mov ebx, 0xc000009a
jmp 0x140005b39
mov rcx, qword [rbp + 0x40]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x10]
mov eax, dword [rbp + 0x48]
mov r9, rdi
mov r8d, 2
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov ebx, eax
test eax, eax
js 0x140005b39
cmp dword [rdi + 4], 1
je 0x140005af9
mov ebx, 0xc0000024
jmp 0x140005b39
mov eax, dword [rbp + 0x48]
xor edx, edx
add eax, 0xfffffff4
mov dword [rbp + 0x48], eax
mov rcx, qword gs:[0x60]
mov r8d, eax
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [r14], rax
test rax, rax
je 0x140005ab8
mov r8d, dword [rbp + 0x48]
lea rdx, [rdi + 0xc]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov eax, dword [rbp + 0x48]
xor ebx, ebx
mov dword [rsi], eax
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x140005b48
call qword [sym.imp.ntdll.dll_NtClose]
test rdi, rdi
je 0x140005b65
mov rcx, qword gs:[0x60]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140007320
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140015090], rbx
je 0x14000736c
cmp rax, rbx
jne 0x14000735f
mov ebx, 1
mov esi, ebx
jmp 0x140007371
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007344
mov ebx, 1
mov eax, dword [0x140015098]
cmp eax, ebx
jne 0x140007387
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400073ec
mov eax, dword [0x140015098]
test eax, eax
jne 0x1400073e6
mov dword [0x140015098], ebx
lea r15, [0x14000b110]
lea rdi, [0x14000b0f8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x1400073d8
test eax, eax
jne 0x1400073dc
cmp qword [rdi], 0
je 0x1400073cd
mov rax, qword [rdi]
mov rcx, qword [0x14000b0d8]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x1400073ae
test eax, eax
je 0x1400073ec
mov eax, 0xff
jmp 0x1400074c8
mov dword [0x140014ac4], ebx
mov eax, dword [0x140015098]
cmp eax, ebx
jne 0x140007413
lea rdx, [0x14000b0f0]
lea rcx, [0x14000b0e0]
call sub.msvcrt.dll__initterm
mov dword [0x140015098], 2
test esi, esi
jne 0x140007420
xor eax, eax
xchg qword [0x140015090], rax
cmp qword [0x1400150a0], 0
je 0x140007454
lea rcx, [0x1400150a0]
call fcn.1400076e0
test eax, eax
je 0x140007454
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400150a0]
mov r9, qword [0x14000b0d8]
call r9
mov r8, qword [0x140014ad8]
mov rdx, qword [0x140014ad0]
mov ecx, dword [0x140014ac8]
call fcn.1400026b4
mov dword [0x140014ac0], eax
cmp dword [0x140014ae0], 0
jne 0x140007484
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140014ac4], 0
jne 0x140007499
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140014ac0]
jmp 0x1400074c8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140007774
add rsp, 0x28
jmp 0x140007320

Function at 0x1400075cc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140007618
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140007610
cmp dword [rcx + 0x3c], edx
jl 0x140007610
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140007610
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140007618
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1401337c0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1401337d0]
mov dword [rax], 1
mov rax, qword [0x1401337e0]
mov dword [rax], 1
mov rax, qword [0x1401337b0]
mov dword [rax], 1
mov rax, qword [0x140133660]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x1401337a0]
mov dword [0x14013a020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010c0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140133760]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140133740]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [str._r_t_]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067
Function at 0x1400149c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140014b4b
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 [0x14018d5b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x140014a25
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x140014a34
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x140014a53
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x140014a63
cmp rbx, 0x1000
jae 0x140014a2b
jmp 0x140014acd
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x140014a75
xor edx, edx
jmp 0x140014ac4
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 [0x14018d5b0]
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 0x140014a59
jmp 0x140014a48
call dbg.runtime.getlasterror
xorps xmm15, xmm15
mov r14, qword [0x14018d5b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call dbg.runtime.printlock
lea rax, [0x1400b5d30]
mov ebx, 0x18
nop dword [rax]
call dbg.runtime.printstring
mov rax, qword [rsp + 0x38]
call dbg.runtime.printuint
lea rax, [0x1400b6056]
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, [0x1400b7b38]
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 0x140014b80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140014da6
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 [0x14018d5b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x140014bf3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x140014c02
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x140014c25
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x140014c35
cmp rbx, 0x1000
jae 0x140014bf9
nop
jmp 0x140014cb8
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 0x140014c4d
xor esi, esi
jmp 0x140014caa
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 [0x14018d5b0]
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 0x140014c2b
jmp 0x140014c16
call dbg.runtime.getlasterror
xorps xmm15, xmm15
mov r14, qword [0x14018d5b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x140014d40
nop dword [rax + rax]
call dbg.runtime.printlock
lea rax, [0x1400b606f]
mov ebx, 0x19
call dbg.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call dbg.runtime.printuint
lea rax, [0x1400b6056]
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, [0x1400b38ad]
mov ebx, 0xd
call dbg.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x140014ce0
call dbg.runtime.printlock
lea rax, [0x1400b606f]
mov ebx, 0x19
call dbg.runtime.printstring
mov rax, qword [rsp + 0x38]
call dbg.runtime.printuint
lea rax, [0x1400b6056]
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, [0x1400b74db]
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 0x14001e220
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x14018d393], 0
jne 0x14001e307
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 0x14001e2fa
lea rbx, [0x14015f778]
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 0x14001e2e0
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, [0x1400b94e3]
mov ebx, 0x2c
call dbg.runtime.throw
nop
int3

Function at 0x1400205e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400206e6
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 0x140020623
mov rax, qword [rsp + 0x60]
mov rcx, rdx
mov rbx, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x17]
cmp qword [rsp + 0x18], rbx
jae 0x1400206db
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 0x1400206db
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 [0x14018d5b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
test rdx, rdx
jne 0x1400206c9
xor eax, eax
jmp 0x1400206d3
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x70]
test al, al
je 0x140020611
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