joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140102e90
Capabilities:
Create process on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x110]
xor eax, eax
mov qword [rbp - 0x68], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov rsi, rdx
mov r14, qword [rbp + 0x48]
mov rdi, qword [rbp + 0x50]
mov rbx, qword [rbp + 0x58]
cmp byte [rbp + 0x30], 0
jne 0x140102eda
xor r15d, r15d
jmp 0x140102ee0
mov r15d, 1
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x48], rdi
test r14, r14
je 0x140102ef3
add r14, 0xc
jmp 0x140102ef6
xor r14d, r14d
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x58], r9
mov r12, r9
mov qword [rbp - 0x60], r8
mov r13, r8
test rcx, rcx
je 0x140102f16
add rcx, 0xc
mov rax, rcx
jmp 0x140102f18
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x70], rax
xor ecx, ecx
call sub.KERNEL32.DLL_SetLastError
mov dword [rsp + 0x20], r15d
mov r15d, dword [rbp + 0x38]
mov dword [rsp + 0x28], r15d
mov r15, qword [rbp + 0x40]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbx
mov rcx, qword [rbp - 0x70]
mov qword [rbp - 0x78], rcx
mov rdx, rsi
mov qword [rbp - 0x80], rdx
mov r8, r13
mov qword [rbp - 0x88], r8
mov r9, r12
mov qword [rbp - 0x90], r9
lea rcx, [rbp - 0xb8]
call fcn.140002d50
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x88]
mov r9, qword [rbp - 0x90]
call sub.KERNEL32.DLL_CreateProcessW
mov esi, eax
lea rcx, [rbp - 0xb8]
call fcn.140002da0
call sub.KERNEL32.DLL_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
test esi, esi
setne sil
movzx esi, sil
call fcn.140001c08
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140102ff0
Capabilities:
Terminate process

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov qword [rbp + 0x10], rcx
mov esi, edx
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400c6e70
mov rcx, qword [rbp + 0x10]
mov rdi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.DLL_SetLastError
mov rcx, rdi
mov qword [rbp - 0x4c], rcx
mov edx, esi
mov dword [rbp - 0x44], edx
lea rcx, [rbp - 0x78]
call fcn.140002d50
mov rcx, qword [rbp - 0x4c]
mov edx, dword [rbp - 0x44]
call sub.KERNEL32.DLL_TerminateProcess
mov esi, eax
lea rcx, [rbp - 0x78]
call fcn.140002da0
call sub.KERNEL32.DLL_GetLastError
mov edi, eax
test esi, esi
setne sil
movzx esi, sil
cmp byte [rbp - 0x40], 0
je 0x14010307b
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.1400c6ea0
call fcn.140001c08
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1401031f0
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov esi, edx
mov qword [rbp - 0x40], r8
mov rdi, r8
test rcx, rcx
jne 0x140103224
xor ebx, ebx
jmp 0x140103228
lea rbx, [rcx + 0x10]
mov qword [rbp - 0x48], rbx
xor ecx, ecx
call sub.KERNEL32.DLL_SetLastError
mov rcx, rbx
mov qword [rbp - 0x54], rcx
mov edx, esi
mov dword [rbp - 0x4c], edx
mov r8, rdi
mov qword [rbp - 0x5c], r8
lea rcx, [rbp - 0x88]
call fcn.140002d50
mov rcx, qword [rbp - 0x54]
mov edx, dword [rbp - 0x4c]
mov r8, qword [rbp - 0x5c]
call sub.KERNEL32.DLL_K32EnumProcesses
mov esi, eax
lea rcx, [rbp - 0x88]
call fcn.140002da0
call sub.KERNEL32.DLL_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
test esi, esi
setne sil
movzx esi, sil
call fcn.140001c08
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140103b80
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xorps xmm4, xmm4
movups xmmword [rbp - 0x68], xmm4
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rsi, r8
mov edi, r9d
xor edx, edx
mov dword [rbp - 0x3c], edx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x50], rdx
lea rcx, [0x140195fc0]
call fcn.140002290
mov rbx, rax
mov rcx, rbx
call fcn.140072b10
mov qword [rbp - 0x60], rbx
lea rcx, [0x140195fc0]
call fcn.140002290
mov r14, rax
mov rcx, r14
call fcn.140072b10
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x58], rsi
xor ecx, ecx
call sub.KERNEL32.DLL_SetLastError
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x74], rcx
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x7c], rdx
mov r8, rsi
mov qword [rbp - 0x84], r8
mov r9d, edi
mov dword [rbp - 0x6c], r9d
lea rcx, [rbp - 0xb0]
call fcn.140002d50
mov rcx, qword [rbp - 0x74]
mov rdx, qword [rbp - 0x7c]
mov r8, qword [rbp - 0x84]
mov r9d, dword [rbp - 0x6c]
call sub.KERNEL32.DLL_CreatePipe
mov esi, eax
lea rcx, [rbp - 0xb0]
call fcn.140002da0
call sub.KERNEL32.DLL_GetLastError
mov edi, eax
xor edx, edx
mov qword [rbp - 0x58], rdx
mov dword [rbp - 0x3c], 1
test esi, esi
setne sil
movzx esi, sil
mov rbx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x60]
mov qword [rax + 8], rbx
mov rcx, qword [rbp + 0x18]
mov rdx, rax
call fcn.140003630
mov r14, qword [rbp - 0x48]
mov rax, qword [rbp - 0x68]
mov qword [rax + 8], r14
mov rcx, qword [rbp + 0x10]
mov rdx, rax
call fcn.140003630
call fcn.140001c08
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14010dc80
Capabilities:
Get token membership

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp + 0x10], rcx
mov rdi, rdx
mov rsi, r8
xor edx, edx
mov dword [rbp - 0x40], edx
mov dword [rbp - 0x48], edx
mov qword [rbp + 0x20], rsi
cmp byte [rsi], 0
jne 0x14010dcbd
xor edx, edx
jmp 0x14010dcc2
mov edx, 1
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x48]
cmp dword [rcx], ecx
call fcn.1400c6e70
mov rcx, qword [rbp + 0x10]
mov rbx, qword [rcx + 8]
test rdi, rdi
jne 0x14010dce2
xor r14d, r14d
jmp 0x14010dce6
lea r14, [rdi + 0x10]
mov qword [rbp - 0x50], r14
xor ecx, ecx
call sub.KERNEL32.DLL_SetLastError
lea r8, [rbp - 0x40]
mov qword [rbp - 0x58], r8
mov rcx, rbx
mov qword [rbp - 0x60], rcx
mov rdx, r14
mov qword [rbp - 0x68], rdx
lea rcx, [rbp - 0x90]
call fcn.140002d50
mov r8, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x68]
call sub.ADVAPI32.dll_CheckTokenMembership
mov esi, eax
lea rcx, [rbp - 0x90]
call fcn.140002da0
call sub.KERNEL32.DLL_GetLastError
mov edi, eax
xor ecx, ecx
mov qword [rbp - 0x50], rcx
test esi, esi
setne sil
movzx esi, sil
cmp dword [rbp - 0x40], 0
setne cl
mov rbx, qword [rbp + 0x20]
mov byte [rbx], cl
cmp byte [rbp - 0x48], 0
je 0x14010dd67
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.1400c6ea0
call fcn.140001c08
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14000b9fc
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b77c
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba52
mov ecx, 1
call fcn.14000b77c
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
invalid
Function at 0x140003168
Capabilities:
Copy file
Delete file

Disassembly:
push rbx
sub rsp, 0x20
lea rax, [0x140004028]
mov rbx, rcx
mov qword [rcx], rax
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x140003191
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400031a4
call fcn.140003cf8
and qword [rbx + 0x20], 0
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1400031b7
call fcn.140003cf8
and qword [rbx + 0x28], 0
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400031ec
mov rdx, qword [rbx + 0x10]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x18]
call fcn.140003cf8
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400031ff
call fcn.140003cf8
and qword [rbx + 0x10], 0
add rsp, 0x20
pop rbx
ret
Function at 0x14000320c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push r12
push r14
push r15
sub rsp, 0x40
mov rbx, rcx
cmp qword [rcx + 0x20], 0
je 0x1400032ce
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x1400032ce
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
nop dword [rax + rax]
mov r14d, eax
mov dword [rsp + 0x80], eax
cmp eax, 0xffffffff
je 0x1400032ce
mov ecx, dword [rbx + 0x30]
add ecx, 2
call fcn.140003cb8
mov rsi, rax
mov qword [rsp + 0x30], rax
jmp 0x140003288
test rsi, rsi
je 0x1400032ce
and dword [rsp + 0x78], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
mov r8d, dword [rbx + 0x30]
mov rdx, rsi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
je 0x1400032c6
cmp dword [rsp + 0x78], 0
jne 0x1400032de
mov dword [rbx + 0x40], 1
mov rcx, rsi
call fcn.140003cf8
xor eax, eax
add rsp, 0x40
pop r15
pop r14
pop r12
pop rsi
pop rbx
ret
mov eax, dword [rsp + 0x78]
mov byte [rax + rsi], 0
and dword [rbx + 0x40], 0
mov ecx, dword [rsp + 0x78]
test ecx, ecx
je 0x140003314
xor edx, edx
lea r8d, [rcx - 1]
test r8d, r8d
je 0x140003314
mov rax, rsi
cmp byte [rax], 0xd
je 0x14000336f
cmp byte [rax], 0xa
je 0x14000336f
inc edx
inc rax
cmp edx, r8d
jb 0x140003300
lea edx, [rcx - 1]
cmp byte [rdx + rsi], 0x1a
jne 0x14000332d
mov ecx, edx
mov dword [rsp + 0x78], edx
mov dword [rbx + 0x40], 1
xor r14d, r14d
mov dword [rbx + 0x34], r14d
mov eax, ecx
mov byte [rax + rsi], 0
mov eax, dword [rbx + 0x30]
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop dword [rax + rax]
mov ebx, eax
mov rcx, rsi
call fcn.140003cf8
mov eax, ebx
jmp 0x1400032d0
lea r15d, [rdx + 1]
mov r12b, byte [r15 + rsi]
cmp r12b, 0xa
cmovne r15d, edx
lea edx, [r14 + 1]
add edx, r15d
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x1400033a5
xor eax, eax
jmp 0x1400033cd
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
nop dword [rax + rax]
xor ecx, ecx
cmp r12b, 0xa
sete cl
inc ecx
sub eax, ecx
mov dword [rbx + 0x34], eax
lea eax, [r15 + 1]
mov byte [rax + rsi], 0
mov eax, dword [rbx + 0x30]
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop dword [rax + rax]
mov ebx, eax
mov rcx, rsi
call fcn.140003cf8
lea eax, [rbx + 1]
jmp 0x1400032d0
Function at 0x1400035a0
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 [0x140006600], rbx
je 0x1400035ec
cmp rax, rbx
jne 0x1400035df
mov ebx, 1
mov esi, ebx
jmp 0x1400035f1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400035c4
mov ebx, 1
mov eax, dword [0x140006608]
cmp eax, ebx
jne 0x140003607
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14000366c
mov eax, dword [0x140006608]
test eax, eax
jne 0x140003666
mov dword [0x140006608], ebx
lea r15, [0x1400043a8]
lea rdi, [0x140004390]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140003658
test eax, eax
jne 0x14000365c
cmp qword [rdi], 0
je 0x14000364d
mov rax, qword [rdi]
mov rcx, qword [0x140004370]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000362e
test eax, eax
je 0x14000366c
mov eax, 0xff
jmp 0x140003748
mov dword [0x140006024], ebx
mov eax, dword [0x140006608]
cmp eax, ebx
jne 0x140003693
lea rdx, [0x140004388]
lea rcx, [0x140004378]
call sub.msvcrt.dll__initterm
mov dword [0x140006608], 2
test esi, esi
jne 0x1400036a0
xor eax, eax
xchg qword [0x140006600], rax
cmp qword [0x140006610], 0
je 0x1400036d4
lea rcx, [0x140006610]
call fcn.140003950
test eax, eax
je 0x1400036d4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140006610]
mov r9, qword [0x140004370]
call r9
mov r8, qword [0x140006038]
mov rdx, qword [0x140006030]
mov ecx, dword [0x140006028]
call fcn.140001008
mov dword [0x140006020], eax
cmp dword [0x140006040], 0
jne 0x140003704
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140006024], 0
jne 0x140003719
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140006020]
jmp 0x140003748
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.14017d000
add rsp, 0x28
jmp 0x1400035a0

Function at 0x14000383c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140003888
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140003880
cmp dword [rcx + 0x3c], edx
jl 0x140003880
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140003880
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 0x140003888
mov rax, rdx
add rsp, 0x18
ret
Function at 0x414d00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414e8b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005b69e8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x414d65
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x414d74
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x414d93
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x414da3
cmp rbx, 0x1000
jae 0x414d6b
jmp 0x414e0d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x414db5
xor edx, edx
jmp 0x414e04
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005b69e8]
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 0x414d99
jmp 0x414d88
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005b69e8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x004c1284]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004c1693]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004c3785]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS
Function at 0x414ec0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4150e6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_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 sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x005b69e8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x414f33
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x414f42
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x414f65
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x414f75
cmp rbx, 0x1000
jae 0x414f39
nop
jmp 0x414ff8
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 0x414f8d
xor esi, esi
jmp 0x414fea
mov rax, qword [sym.imp.kernel32.dll_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 sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x005b69e8]
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 0x414f6b
jmp 0x414f56
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005b69e8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x415080
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x004c16ac]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x004c1693]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
call sym.runtime.printuint
nop
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004be50c]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x415020
call sym.runtime.printlock
lea rax, [0x004c16ac]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004c1693]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
nop dword [rax]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004c3027]
mov ebx, 0x1f
nop dword [rax + rax]
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp sym.runtime.sysUsedOS
Function at 0x41ce00
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x005b67d1], 0
jne 0x41cee7
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 0x41ceda
lea rbx, [0x00588bb8]
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 0x41cec0
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 sym.runtime.panicIndexU
lea rax, [0x004c534e]
mov ebx, 0x2c
call sym.runtime.throw
nop
int3

Function at 0x41f1c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41f2c6
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 0x41f203
mov rax, qword [rsp + 0x60]
mov rcx, rdx
mov rbx, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x17]
cmp qword [rsp + 0x18], rbx
jae 0x41f2bb
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call sym.runtime._scavengeIndex_.find
test rax, rax
je 0x41f2bb
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
movups xmmword [rsp + 0x40], xmm15
lea rcx, [sym.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 sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x005b69e8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
test rdx, rdx
jne 0x41f2a9
xor eax, eax
jmp 0x41f2b3
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x70]
test al, al
je 0x41f1f1
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 sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp sym.runtime._pageAlloc_.scavenge