joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003f070
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14003aa7c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14003f0fa
cmp byte [rbp - 0x21], r15b
je 0x14003f0f5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14003f130
call fcn.14003d178
test eax, eax
jne 0x14003f11c
cmp byte [rbp - 0x21], r15b
je 0x14003f114
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14003f130
cmp byte [rbp - 0x21], r15b
je 0x14003f12d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14003a05c
test eax, eax
jne 0x14003f1d0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14003aa7c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14003f16f
cmp byte [rbp - 0x21], r15b
je 0x14003f1a4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14003f1a4
call fcn.14003d178
test eax, eax
jne 0x14003f190
cmp byte [rbp - 0x21], r15b
je 0x14003f189
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14003f1a4
cmp byte [rbp - 0x21], r15b
je 0x14003f1a1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14003a05c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14003f1d0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14003f1d3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14003f1e1
mov rcx, rdi
call fcn.14003a00c
cmp byte [rbp + 0x3f], r15b
je 0x14003f1f0
mov rcx, qword [rbp + 0x27]
call fcn.14003a00c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400420d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400420f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400420f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003e30
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003e64
cmp word [rcx], 0x5a4d
jne 0x140003e64
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003e64
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003e64
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003d70
test eax, eax
jne 0x140003e80
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.140003de0
test rax, rax
je 0x140003e75
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.140004632
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x140004530
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.1400044d0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1400049a4
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x140986838]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x140986834]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x1400049f2
mov rdx, qword [rax]
cmp r12, rdx
jb 0x1400049ea
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140004ad9
inc ebx
add rax, 0x28
jmp 0x1400049ca
mov rcx, r12
call fcn.1400051d1
mov rbp, rax
test rax, rax
jne 0x140004a11
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140004940
movsxd rbx, ebx
mov rax, qword [0x140986838]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.14000527f
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140986838]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140004a73
mov rax, qword [0x140986838]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140004940
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140004ad3
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140004ad3
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140986838]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140004ad3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140004940
inc dword [0x140986834]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140004f00
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x1409868a0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140986880]
test rbx, rbx
je 0x140004f4c
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140004f46
test eax, eax
jne 0x140004f46
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140004f1e
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140005100
Capabilities:
Parse pe header

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

Function at 0x140005124
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x14000515e
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140005155
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140005160
inc r8d
add rax, 0x28
jmp 0x14000513c
xor eax, eax
ret

Function at 0x1400051d1
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140982890]
mov r8, rcx
mov rcx, r9
call fcn.140005100
test eax, eax
je 0x1400051fd
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140005124
xor eax, eax
add rsp, 0x28
ret
Function at 0x1808259fc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, r8d
mov rbp, rdx
xor edx, edx
mov r8d, 0x90
mov rsi, r9
mov rdi, rcx
call fcn.180012a10
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 0x40]
call fcn.180012a10
mov dword [rdi], ebx
mov qword [rdi + 0x30], rsi
test rsi, rsi
je 0x180825a4f
cmp dword [rsi], 0xa
jne 0x180825a4f
mov eax, dword [rsi + 0x4780]
jmp 0x180825a52
or eax, 0xffffffff
mov dword [rdi + 0x38], eax
or eax, 0xffffffff
inc eax
mov r8d, eax
cmp byte [rax + rbp], 0
jne 0x180825a58
lea rbx, [rdi + 0x40]
mov dword [rdi + 0x84], eax
mov rcx, rbx
inc r8
mov rdx, rbp
call fcn.1800129f0
mov rcx, qword [0x180013028]
mov edx, 1
mov r8d, 0xff
mov rax, qword [rcx]
mov r9, qword [rax + 0x20]
call r9
mov ecx, dword [rdi + 0x84]
add ecx, 1
je 0x180825aad
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x180825aa2
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180825ac4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, r8d
mov rbx, rcx
test rcx, rcx
je 0x180825b88
movsxd r9, dword [rcx + 0x2d8]
cmp r9d, 8
jge 0x180825b88
or ecx, 0xffffffff
inc ecx
cmp byte [rcx + rdx], 0
jne 0x180825af1
mov dword [rbx + r9*4 + 0x298], ecx
movsxd rax, dword [rbx + 0x2d8]
imul rcx, rax, 0x41
mov r8d, dword [rbx + rax*4 + 0x298]
add rcx, 0x90
inc r8
add rcx, rbx
call fcn.1800129f0
mov rcx, qword [0x180013028]
mov edx, 1
mov r8d, 0xff
mov rax, qword [rcx]
mov r9, qword [rax + 0x20]
call r9
movsxd rdx, dword [rbx + 0x2d8]
imul r8, rdx, 0x41
mov ecx, dword [rbx + rdx*4 + 0x298]
add r8, 0x90
add r8, rbx
add ecx, 1
je 0x180825b6f
xor byte [r8], al
inc r8
sub rcx, 1
jne 0x180825b63
movsxd rax, dword [rbx + 0x2d8]
mov dword [rbx + rax*4 + 0x2b8], edi
mov rax, rbx
inc dword [rbx + 0x2d8]
jmp 0x180825b8a
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180825efc
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
movaps xmmword [rax - 0x18], xmm6
mov rbp, r9
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x18082611e
movsxd rax, dword [rcx + 0x4828]
cmp eax, 0x18
jge 0x18082611e
imul rbx, rax, 0x2f8
lea r9, [rcx + 0xa8]
mov r8d, 7
add rbx, 0xe8
add rbx, rcx
mov rcx, rbx
call fcn.1808259fc
and dword [rbx + 4], 0xfffffffe
lea rdx, [rsp + 0x50]
mov rcx, qword [0x180013018]
xorps xmm6, xmm6
and dword [rsp + 0x28], 0
mov r9, rsi
mov r8, qword [0x180013830]
movss dword [rsp + 0x20], xmm6
mov rax, qword [rcx]
call qword [rax + pe_nt_image_headers64]
mov eax, dword [rsp + 0x70]
lea r9, [0x18082da40]
movss xmm0, dword [rsp + 0x50]
xor ecx, ecx
movss xmm1, dword [rsp + 0x54]
movss dword [rbx + 0x8c], xmm1
movss dword [rbx + 0x88], xmm0
movss xmm1, dword [rdi + 0x482c]
lea esi, [rcx + 1]
movss xmm0, dword [rbx + 0x8c]
mulss xmm0, dword [0x18001323c]
mov dword [rbx + 0xa8], eax
mov eax, dword [rsp + 0x78]
mov dword [rbx + 0xac], eax
mov eax, dword [rsp + 0x80]
movss dword [rbx + 0x14], xmm0
movss dword [rbx + 0x1c], xmm0
movss dword [rbx + 0x24], xmm0
mov dword [rbx + 0xc0], 0x41200000
mov dword [rbx + 0xb0], eax
mulss xmm1, xmm6
mov qword [rbx + 0xb8], rbp
addss xmm1, dword [0x180013300]
movss dword [rbx + 0x10], xmm1
movss dword [rbx + 0x18], xmm1
movss dword [rbx + 0x20], xmm1
and dword [rbx + 0xa0], 0
xor eax, eax
mov byte [rbx + 0x90], 0
mov byte [rbx + 0xa4], 0
mov dl, byte [rax + r9]
test dl, dl
je 0x18082605b
add ecx, esi
mov byte [rax + rbx + 0x90], dl
mov eax, ecx
cmp rax, 0xf
jb 0x180826042
mov byte [rcx + rbx + 0x90], 0
or eax, 0xffffffff
mov dword [rbx + 0xa0], ecx
add eax, esi
mov r8d, eax
cmp byte [rax + r9], 0
jne 0x18082606c
test eax, eax
je 0x180826086
xor edx, edx
mov rcx, r9
call fcn.180012a10
cmp dword [rbx + 0xa0], 0
jbe 0x1808260ea
cmp byte [rbx + 0xa4], 0
jne 0x1808260ea
mov rcx, qword [0x180013028]
mov r8d, 0xff
mov edx, esi
mov rax, qword [rcx]
mov r9, qword [rax + 0x20]
call r9
mov r8d, eax
xor ecx, ecx
mov al, byte [rbx + 0x90]
test al, al
je 0x1808260db
xor edx, edx
add ecx, esi
xor al, r8b
mov byte [rdx + rbx + 0x90], al
mov edx, ecx
mov al, byte [rcx + rbx + 0x90]
test al, al
jne 0x1808260c2
mov byte [rcx + rbx + 0x90], r8b
mov byte [rbx + 0xa4], sil
movss xmm0, dword [rdi + 0x482c]
addss xmm0, dword [rbx + 0x20]
comiss xmm0, dword [rdi + 0x4834]
jbe 0x180826108
movss dword [rdi + 0x4834], xmm0
mov rcx, rbx
call fcn.18000114c
mov rcx, rbx
call fcn.180002f14
add dword [rdi + 0x4828], esi
mov rbp, qword [rsp + 0x60]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
Function at 0x18082613c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x50
movaps xmmword [rax - 0x18], xmm6
xor edi, edi
movsxd rax, dword [0x180037a78]
movaps xmm6, xmm3
mov rsi, rdx
mov rbp, rcx
cmp eax, 8
jge 0x180826361
imul rdi, rax, 0x4840
xor r9d, r9d
lea rax, [0x180013878]
add rdi, rax
mov rdx, rcx
mov rcx, rdi
lea r8d, [r9 + 9]
call fcn.1808259fc
and dword [rdi + 4], 0xfffffffe
or eax, 0xffffffff
inc eax
mov r8d, eax
cmp byte [rax + rsi], 0
jne 0x180826199
lea rbx, [rdi + 0x90]
mov dword [rdi + 0x94], eax
mov rcx, rbx
inc r8
mov rdx, rsi
call fcn.1800129f0
mov rcx, qword [0x180013028]
mov edx, 1
mov r8d, 0xff
mov rax, qword [rcx]
mov r9, qword [rax + 0x20]
call r9
mov ecx, eax
mov eax, dword [rdi + 0x94]
add eax, 1
je 0x1808261f3
xor byte [rbx], cl
inc rbx
sub rax, 1
jne 0x1808261e8
mov eax, dword [0x180037a78]
lea rdx, [rsp + 0x30]
mov rcx, qword [0x180013018]
xorps xmm0, xmm0
and dword [rsp + 0x28], 0
mov r9, rbp
mov dword [rdi + 0x98], eax
mov r8, qword [0x180013830]
mov rax, qword [rcx]
movss dword [rsp + 0x20], xmm0
call qword [rax + pe_nt_image_headers64]
movss xmm0, dword [rsp + 0x30]
lea rbx, [rdi + 0xa8]
movss xmm1, dword [rsp + 0x34]
mov ecx, 0x42200000
mov eax, 0x42f00000
movss dword [rdi + 0x88], xmm0
mov dword [rdi + 0x14], ecx
xor edx, edx
mov dword [rdi + 0x1c], ecx
mov dword [rdi + 0x24], ecx
mov dword [rdi + 0xa0], ecx
mov rcx, rbx
movss dword [rdi + 0x8c], xmm1
lea r8d, [rdx + 0x40]
mov dword [rdi + 0x10], eax
mov dword [rdi + 0x18], eax
mov dword [rdi + 0x20], eax
mov dword [rdi + 0x9c], 0x41c00000
mov dword [rdi + 8], 0xc1c00000
movd xmm0, dword [0x180037a78]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1800132e8]
movss dword [rdi + 0xc], xmm0
call fcn.180012a10
and qword [rbx + 0x30], 0
or dword [rbx + 0x38], 0xffffffff
mov dword [rbx], 0xa
and dword [rdi + 0xac], 0xfffffffe
movss xmm0, dword [0x180013868]
movss dword [rdi + 0xb0], xmm0
addss xmm0, xmm0
movss xmm1, dword [0x18001386c]
movss dword [rdi + 0xb4], xmm1
movss xmm2, dword [0x180013840]
subss xmm2, xmm0
movss dword [rdi + 0xb8], xmm2
movss xmm0, dword [0x180013844]
subss xmm0, xmm1
movss dword [rdi + 0xc0], xmm2
movss xmm1, dword [rsp + 0x90]
movss dword [rdi + 0xc8], xmm2
movss dword [rdi + 0x482c], xmm6
movss dword [rdi + 0x4834], xmm1
movss dword [rdi + 0xbc], xmm0
movss dword [rdi + 0xc4], xmm0
movss dword [rdi + 0xcc], xmm0
movss xmm0, dword [rsp + 0x80]
movss dword [rdi + 0x4830], xmm0
mov byte [rdi + 0x4838], 1
inc dword [0x180037a78]
mov rbx, qword [rsp + 0x60]
mov rax, rdi
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rdi
ret
Function at 0x180826380
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov byte [rcx + 0xf], r8b
mov rbx, rcx
or r8d, 0xffffffff
mov ecx, r8d
inc ecx
cmp byte [rcx + rdx], 0
jne 0x180826394
mov eax, 0xd
cmp ecx, eax
jae 0x1808263b2
inc r8d
mov eax, r8d
cmp byte [r8 + rdx], 0
jne 0x1808263a5
movzx r8d, al
mov rcx, rbx
mov byte [rbx + 0xe], r8b
call fcn.1800129f0
movzx eax, byte [rbx + 0xe]
mov edx, 1
mov rcx, qword [0x180013028]
mov r8d, 0xff
mov byte [rax + rbx], 0
mov rax, qword [rcx]
mov r9, qword [rax + 0x20]
call r9
movzx ecx, byte [rbx + 0xe]
add ecx, 1
je 0x1808263fa
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x1808263ef
add rsp, 0x20
pop rbx
ret
Function at 0x412da0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x412f2b
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 [0x00563648]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x412e05
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x412e14
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x412e33
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x412e43
cmp rbx, 0x1000
jae 0x412e0b
jmp 0x412ead
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x412e55
xor edx, edx
jmp 0x412ea4
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 [0x00563648]
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 0x412e39
jmp 0x412e28
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x00563648]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x00474a3e]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x00474c24]
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, [0x00475f64]
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 0x412f60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x413186
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 [0x00563648]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x412fd3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x412fe2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x413005
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x413015
cmp rbx, 0x1000
jae 0x412fd9
nop
jmp 0x413098
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 0x41302d
xor esi, esi
jmp 0x41308a
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 [0x00563648]
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 0x41300b
jmp 0x412ff6
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x00563648]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x413120
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x00474c3d]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x00474c24]
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, [0x004733d7]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x4130c0
call sym.runtime.printlock
lea rax, [0x00474c3d]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x00474c24]
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, [0x00475a88]
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 0x41a9e0
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x0056346f], 0
jne 0x41aad0
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 0x41aac3
lea rsi, [0x004f5578]
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 0x41aa9e
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, [0x0047705d]
mov ebx, 0x2c
nop dword [rax]
call sym.runtime.throw
nop
int3

Function at 0x41cf20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41d026
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 0x41cf63
mov rax, qword [rsp + 0x58]
mov rcx, rdx
mov rbx, qword [rsp + 0x60]
movzx edi, byte [rsp + 0x70]
cmp qword [rsp + 0x10], rbx
jae 0x41d01b
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 0x41d01b
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 [0x00563648]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x68]
nop dword [rax]
test rdx, rdx
jne 0x41d009
xor eax, eax
jmp 0x41d013
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x68]
test al, al
je 0x41cf51
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