joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400181e0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x1400ebd80], 1
je 0x140018258
lea rdi, [0x1400ebd80]
mov rcx, rdi
call fcn.140017ac0
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.1400173d0
mov esi, dword [0x1400ebd80]
test esi, esi
jne 0x140018268
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400b9168], eax
cmp eax, 0xffffffff
je 0x1400b8aa6
mov dword [0x1400ebd80], 1
mov rcx, rbp
call fcn.1400176c0
test rbx, rbx
je 0x140018258
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140017e60
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp esi, 1
je 0x140018238
mov ecx, 2
call qword [fcn.1400157e0]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x140018238
call sub.msvcrt.dll_abort
nop

Function at 0x140018290
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.140017f70
cmp qword [0x1400ee048], 0
mov rbx, rax
je 0x1400183a8
test rax, rax
je 0x1400183a8
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.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.1400179c0
cmp eax, 1
je 0x1400183b6
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 rsi, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, rsi
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 fcn.1400b8aac
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x1400b9168]
mov rdx, rbx
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
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400183bc
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.140017d40
nop
jmp fcn.1400b8aac

Function at 0x1400183d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.1400181e0
mov ecx, dword [0x1400b9168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400183f0
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.140018290
Function at 0x140018b60
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov eax, dword [rcx]
mov rbx, rcx
mov rsi, rdx
test rdx, rdx
je 0x140018c88
cmp eax, 1
je 0x140018bbb
call fcn.140017ac0
lea rbp, [rax + 8]
mov rdi, rax
mov rcx, rbp
call fcn.1400173d0
mov r12d, dword [rbx]
test r12d, r12d
je 0x140018bd0
cmp r12d, 1
jne 0x140018c60
mov rcx, rbp
call fcn.1400176c0
test rdi, rdi
je 0x140018bbb
mov rcx, rdi
call fcn.140017e60
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rax, [0x140017f40]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.1400181e0
mov ecx, dword [0x1400b9168]
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call r12
test rax, rax
je 0x140018cc8
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.1400181e0
mov ecx, dword [0x1400b9168]
call r12
test rax, rax
je 0x140018cb0
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
lock or qword [rsp], 0
call rsi
call fcn.1400181e0
mov ecx, dword [0x1400b9168]
call r12
test rax, rax
je 0x140018ca0
mov rdx, qword [rsp + 0x30]
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
jmp 0x140018ba6
mov ecx, 2
call qword [fcn.1400157e0]
mov r9d, r12d
mov r8, rbx
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x140018ba6
mov eax, 0x16
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.140018290
test rax, rax
jne 0x140018c49
jmp 0x1400b8ac5
call fcn.140018290
test rax, rax
jne 0x140018c25
jmp 0x1400b8ade
call fcn.140018290
test rax, rax
jne 0x140018bff
jmp 0x1400b8ad4
mov rax, qword [rsp + 0x30]
mov qword [0], rax
ud2
mov rax, qword [pe_dos_header]
ud2
lea rax, [rsp + 0x20]
mov qword [0], rax
ud2

Function at 0x140018f50
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.1400181e0
mov ecx, dword [0x1400b9168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140018fc8
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.1400179d0
cmp esi, dword [rbx + 0x48]
jae 0x140018fa3
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x140018fa3
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.140017a10
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.140018290
mov rbx, rax
jmp 0x140018f7d
Function at 0x140018fe0
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.1400181e0
mov ecx, dword [0x1400b9168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400190e0
lea r13, [rbx + 0x68]
mov rcx, r13
call fcn.1400179d0
cmp esi, dword [rbx + 0x48]
jae 0x140019060
mov rdi, qword [rbx + 0x50]
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r13
mov byte [rax + rsi], 1
call fcn.140017a10
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r15d, [rsi + 1]
mov rcx, qword [rbx + 0x50]
movsxd r14, r15d
lea rdx, [r14*8]
call sub.msvcrt.dll_realloc
mov rdi, rax
test rax, rax
je 0x1400190ed
mov rcx, qword [rbx + 0x58]
mov rdx, r14
call sub.msvcrt.dll_realloc
mov r14, rax
test rax, rax
je 0x1400190ed
mov eax, dword [rbx + 0x48]
mov edx, r15d
sub edx, eax
lea rcx, [rdi + rax*8]
lea r8, [rdx*8]
xor edx, edx
call sub.msvcrt.dll_memset
mov ecx, dword [rbx + 0x48]
mov r8d, r15d
xor edx, edx
mov rax, rcx
add rcx, r14
sub r8d, eax
call sub.msvcrt.dll_memset
mov qword [rbx + 0x50], rdi
mov qword [rbx + 0x58], r14
mov dword [rbx + 0x48], r15d
jmp 0x14001902f
call fcn.140018290
mov rbx, rax
jmp 0x14001901a
mov rcx, r13
call fcn.140017a10
mov eax, 0xc
jmp 0x14001904d

Function at 0x140019170
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.1400181e0
mov ecx, dword [0x1400b9168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140019198
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.140018290
test rax, rax
jne 0x14001918a
add rsp, 0x28
ret

Function at 0x140019200
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.1400181e0
mov ecx, dword [0x1400b9168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140019228
add rax, 0x18
add rsp, 0x28
ret
call fcn.140018290
test rax, rax
jne 0x14001921a
jmp 0x14001921e

Function at 0x140019340
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400ebd88]
test eax, eax
jne 0x140019358
xor eax, eax
add rsp, 0x28
ret
call fcn.1400181e0
mov ecx, dword [0x1400b9168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140019388
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x14001934e
test byte [rax + 0x40], 3
je 0x14001934e
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x140019350
call fcn.140018290
test rax, rax
jne 0x14001936e
jmp 0x14001934e

Function at 0x1400193a0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.1400181e0
mov ecx, dword [0x1400b9168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400193e0
test ebx, ebx
jle 0x1400193d0
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.140018290
test rax, rax
jne 0x1400193bd
add rsp, 0x20
pop rbx
ret
Function at 0x1400194d0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.1400181e0
mov ecx, dword [0x1400b9168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140019548
test byte [rbx + 0x40], 0xc
jne 0x1400194ff
mov eax, dword [0x1400ebd88]
test eax, eax
jne 0x140019510
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.1400173d0
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140019533
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140019533
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001955c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.1400176c0
call fcn.140018290
mov rbx, rax
test rax, rax
jne 0x1400194ef
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001957a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.1400176c0
call fcn.1400193f0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140019600
call fcn.140017180
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x140019638
call fcn.1400181e0
mov ecx, dword [0x1400b9168]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140019690
test esi, esi
je 0x140019616
call fcn.1400194d0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140019670
mov edx, edi
call fcn.140017230
call fcn.1400194d0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.1400181e0
mov ecx, dword [0x1400b9168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140019680
call fcn.1400194d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400194d0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.1400181e0
mov ecx, dword [0x1400b9168]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x1400195d5
call fcn.140018290
mov rbx, rax
jmp 0x1400195d5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400195ee
call fcn.140018290
jmp 0x140019616
call fcn.140018290
mov rbx, rax
jmp 0x1400195d1
Function at 0x140019590
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.1400181e0
mov ecx, dword [0x1400b9168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140019548
test byte [rbx + 0x40], 0xc
jne 0x1400194ff
mov eax, dword [0x1400ebd88]
test eax, eax
jne 0x140019510
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.1400173d0
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140019533
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140019533
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001955c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.1400176c0
call fcn.140018290
mov rbx, rax
test rax, rax
jne 0x1400194ef
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001957a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.1400176c0
call fcn.1400193f0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140019600
call fcn.140017180
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x140019638
call fcn.1400181e0
mov ecx, dword [0x1400b9168]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140019690
test esi, esi
je 0x140019616
call fcn.1400194d0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140019670
mov edx, edi
call fcn.140017230
call fcn.1400194d0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.1400181e0
mov ecx, dword [0x1400b9168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140019680
call fcn.1400194d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400194d0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.1400181e0
mov ecx, dword [0x1400b9168]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x1400195d5
call fcn.140018290
mov rbx, rax
jmp 0x1400195d5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400195ee
call fcn.140018290
jmp 0x140019616
call fcn.140018290
mov rbx, rax
jmp 0x1400195d1

Function at 0x1400196a0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.1400181e0
mov ecx, dword [0x1400b9168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140019710
test esi, esi
je 0x1400196f0
call fcn.1400194d0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140019720
mov edx, esi
call fcn.140017230
call fcn.1400194d0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.1400194d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400194d0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140018290
mov rbx, rax
jmp 0x1400196c1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400196da
Function at 0x14007cb80
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 rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.msvcrt.dll__fileno_1
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x14007cbc8
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x14007cb9a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1400b6370
Capabilities:
Write file on windows

Disassembly:
call fcn.1400b5950
call fcn.1400b5ba0
mov rbx, qword [rax]
test byte [rbx + 0x50], 1
je 0x1400b6317
mov rbx, qword [rbx]
lea r12, [rsp + 0x20]
mov rdx, rbp
xor ecx, ecx
mov r8, r12
call fcn.14001b810
mov rdx, qword [rbx - 0x90]
mov r9, rsi
mov r8, rbx
mov rcx, r12
call fcn.14001b900
test al, al
jne 0x1400b6335
lea rbx, [0x1400c4620]
mov r9, rsi
xor r8d, r8d
mov rcx, r12
mov rdx, rbx
call fcn.14001b900
test al, al
je 0x1400b633a
mov ecx, 8
call fcn.1400b58e0
lea r8, [0x140082da0]
mov rdx, rbx
mov rcx, rax
mov rax, qword [0x1400c2110]
add rax, 0x10
mov qword [rcx], rax
call fcn.1400b5e60
add rbx, 0x90
jmp 0x1400b62a6
call fcn.1400b5e10
mov rcx, rdi
call fcn.14001bc20
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call sub.msvcrt.dll_abort
mov rcx, rax
call fcn.1400b5950
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov rcx, rax
mov rax, rdx
sub rax, 1
jne 0x1400b63ec
call fcn.1400b5950
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sub.msvcrt.dll_fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sub.msvcrt.dll_fputc
call fcn.1400b5a80
call sub.msvcrt.dll_abort
mov rcx, rdi
call fcn.140015df8
call fcn.1400b5e10
call fcn.1400b5950
call fcn.1400b5a80
jmp 0x1400b63da
Function at 0x416c80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416e0b
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 [0x00623300]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x416ce5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416cf4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x416d13
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x416d23
cmp rbx, 0x1000
jae 0x416ceb
jmp 0x416d8d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x416d35
xor edx, edx
jmp 0x416d84
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 [0x00623300]
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 0x416d19
jmp 0x416d08
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x00623300]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x004e17a7]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004e1c2d]
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, [0x004e3eec]
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 0x416e40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x417066
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 [0x00623300]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x416eb3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x416ec2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x416ee5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x416ef5
cmp rbx, 0x1000
jae 0x416eb9
nop
jmp 0x416f78
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 0x416f0d
xor esi, esi
jmp 0x416f6a
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 [0x00623300]
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 0x416eeb
jmp 0x416ed6
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x00623300]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x417000
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x004e1c46]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x004e1c2d]
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, [0x004de6a1]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x416fa0
call sym.runtime.printlock
lea rax, [0x004e1c46]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004e1c2d]
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, [0x004e377a]
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 0x420e40
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x006230ef], 0
jne 0x420f30
sub rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x48]
test byte [rdx], al
mov ecx, dword [rax + 0x5c]
imul rcx, rbx
mov rbx, rcx
shr rbx, 0x20
shr rcx, 0x23
and ebx, 7
mov rsi, rcx
mov rcx, rbx
mov edi, 1
shl edi, cl
add rdx, rsi
nop
nop
nop
nop
lock or byte [rdx], dil
mov rcx, qword [rax + 0x18]
movabs rdx, 0x800000000000
add rdx, rcx
mov rbx, rdx
shr rdx, 0x2a
nop
nop
nop
cmp rdx, 0x40
jae 0x420f23
lea rsi, [0x005b51f8]
mov rdx, qword [rsi + rdx*8]
test byte [rdx], al
mov rsi, rcx
shr rsi, 0x10
and esi, 0x3f
shr rcx, 0xd
and ecx, 7
mov edi, 1
shl edi, cl
shr rbx, 0x16
and ebx, 0xfffff
mov rdx, qword [rdx + rbx*8]
test byte [rdx], al
movzx ebx, byte [rdx + rsi + 0x1040]
lea rdx, [rdx + rsi]
lea rdx, [rdx + 0x1040]
test dil, bl
jne 0x420efe
lock or byte [rdx], dil
mov rcx, qword [r14 + 0x30]
mov rcx, qword [rcx + 0xa0]
test byte [rcx], al
mov rdx, qword [rcx + 0x1270]
add rdx, qword [rax + 0x68]
mov qword [rcx + 0x1270], rdx
add rsp, 0x10
pop rbp
ret
mov rax, rdx
mov ecx, 0x40
call sym.runtime.panicIndexU
lea rax, [0x004e5fcb]
mov ebx, 0x2c
nop dword [rax]
call sym.runtime.throw
nop
int3

Function at 0x423380
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x423486
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x70], dil
mov qword [rsp + 0x10], 0
jmp 0x4233c3
mov rax, qword [rsp + 0x58]
mov rcx, rdx
mov rbx, qword [rsp + 0x60]
movzx edi, byte [rsp + 0x70]
cmp qword [rsp + 0x10], rbx
jae 0x42347b
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 0x42347b
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [sym.runtime._pageAlloc_.scavenge.func1]
mov qword [rsp + 0x18], rcx
lea rdx, [rsp + 0x10]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x18]
mov qword [rsp], rbx
nop dword [rax]
call sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x00623300]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x68]
nop dword [rax]
test rdx, rdx
jne 0x423469
xor eax, eax
jmp 0x423473
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x68]
test al, al
je 0x4233b1
mov rax, qword [rsp + 0x10]
add rsp, 0x48
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