joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b1c90
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r14
sub rsp, 0x28
mov rsi, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400b1f00
test r8, r8
je 0x1400b1f00
test r9, r9
je 0x1400b1f00
mov qword [rsp + 0x50], rbp
mov ebp, dword [rsp + 0x70]
mov rcx, r14
mov edx, ebp
call fcn.1400b1f10
cmp qword [rsi], rax
jae 0x1400b1cee
xor eax, eax
mov rbp, qword [rsp + 0x50]
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
xor r9d, r9d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x20], r15
movabs rax, 0xaaaaaaaaaaaaaaab
lea ecx, [r9 + 0xd]
mov r15d, ebp
mov r10d, r9d
lea r8d, [r9 + 0x13]
mul r14
mov r13, rdx
movabs rax, 0xd79435e50d79435f
and r15d, 2
shr r13, 1
mov r11d, r9d
lea r12, [r13*4]
mul r12
mov rsi, rdx
lea edx, [rcx - 3]
shr rsi, 6
cmp r9, rsi
jne 0x1400b1d5d
mov rax, rsi
mov r8, r12
imul rax, rax, 0x4c
sub r8, rax
shr r8, 2
test r8, r8
je 0x1400b1ded
mov rbp, r8
lea r12, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_target
movzx eax, byte [rbx + 1]
movzx edx, byte [rbx]
add rdi, 8
shl edx, 8
add rbx, 3
or edx, eax
movzx eax, byte [rbx - 1]
shl edx, 8
or edx, eax
shl edx, 8
mov eax, edx
shl edx, 6
shr eax, 0x1a
movzx ecx, al
movzx eax, word [r12 + rcx*2]
mov word [rdi - 8], ax
mov eax, edx
shl edx, 6
shr eax, 0x1a
movzx ecx, al
movzx eax, word [r12 + rcx*2]
mov word [rdi - 6], ax
mov eax, edx
shr eax, 0x1a
movzx ecx, al
movzx eax, word [r12 + rcx*2]
mov word [rdi - 4], ax
mov eax, edx
shr eax, 0x14
and eax, 0x3f
movzx eax, word [r12 + rax*2]
mov word [rdi - 2], ax
dec rbp
jne 0x1400b1d70
lea r12, [r13*4]
lea ecx, [rbp + 0xd]
lea edx, [rbp + 0xa]
lea r10, [r10 + r8*4]
test r15d, r15d
jne 0x1400b1e04
mov dword [rdi], 0xa000d
add rdi, 4
add r10, 2
inc r11
cmp r11, rsi
jbe 0x1400b1d4a
mov r12, qword [rsp + 0x58]
test r10, r10
je 0x1400b1e27
test r15d, r15d
jne 0x1400b1e27
sub rdi, 4
sub r10, 2
mov r15, qword [rsp + 0x20]
lea rax, [r13*2]
add rax, r13
mov r13, qword [rsp + 0x60]
sub r14, rax
je 0x1400b1ee4
lea r8, [r14 + 1]
test r8, r8
je 0x1400b1ee4
test r14, r14
je 0x1400b1e5e
movzx r9d, byte [rbx]
inc rbx
shl r9d, 8
cmp r14, 1
jbe 0x1400b1e71
movzx eax, byte [rbx]
or r9d, eax
inc rbx
shl r9d, 8
cmp r14, 2
jbe 0x1400b1e81
movzx eax, byte [rbx]
or r9d, eax
shl r9d, 8
test r8, r8
je 0x1400b1ebf
mov rdx, r8
lea rbp, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_target
nop word [rax + rax]
mov eax, r9d
add rdi, 2
shl r9d, 6
shr eax, 0x1a
movzx ecx, al
movzx eax, word [rbp + rcx*2]
mov word [rdi - 2], ax
dec rdx
jne 0x1400b1ea0
add r10, r8
test byte [rsp + 0x70], 1
jne 0x1400b1ee4
mov edx, 4
sub rdx, r8
je 0x1400b1ee1
mov eax, 0x3d
mov rcx, rdx
movzx eax, ax
rep stosw word [rdi], ax
add r10, rdx
mov rax, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x50]
mov qword [rax], r10
mov eax, 1
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
xor eax, eax
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b8770
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r15, rcx
mov ecx, r8d
mov rdi, r9
mov esi, r8d
mov r14, rdx
mov dword [rsp + 0x60], 0
call qword [sym.imp.MSVCR110.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1400b87ba
lea ecx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1400b8808
mov r8, rsi
mov rdx, r14
mov rcx, rax
call sub.MSVCR110.dll_memcpy
mov rcx, qword [r15 + 8]
xor r9d, r9d
lea rax, [rsp + 0x60]
lea r8d, [r9 + 1]
xor edx, edx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x1400b87ff
mov rcx, rbx
call qword [sym.imp.MSVCR110.dll_free]
xor eax, eax
jmp 0x1400b8808
mov eax, dword [rsp + 0x60]
mov dword [rdi], eax
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x1400b8830
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r14
push r15
sub rsp, 0x40
mov r14, rcx
xor ecx, ecx
mov ebp, r8d
mov dword [rsp + 0x30], ecx
lea rax, [rsp + 0x70]
lea r8d, [rcx + 1]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, qword [r14 + 8]
mov rsi, r9
mov r15, rdx
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x70], ebp
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x1400b888b
xor eax, eax
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rsi
ret
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
mov edi, dword [rsp + 0x70]
mov ecx, edi
call qword [sym.imp.MSVCR110.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1400b88b6
lea ecx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1400b8904
mov r8, rbp
mov rdx, r15
mov rcx, rax
call sub.MSVCR110.dll_memcpy
mov rcx, qword [r14 + 8]
xor r9d, r9d
lea rax, [rsp + 0x70]
mov dword [rsp + 0x30], edi
lea r8d, [r9 + 1]
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x70], ebp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x1400b88ff
mov rcx, rbx
call qword [sym.imp.MSVCR110.dll_free]
xor eax, eax
jmp 0x1400b8904
mov dword [rsi], edi
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rsi
ret
Function at 0x1400b8f70
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
sub rsp, 0x38
cmp qword [0x140122ba8], 0
jne 0x1400b8f8f
cmp qword [0x140122bb0], 0
jne 0x1400b8f8f
xor eax, eax
add rsp, 0x38
ret
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
lea rdx, [0x140121e20]
lea r8, str.Microsoft_Enhanced_DSS_and_Diffie_Hellman_Cryptographic_Provider
cmovae rdx, qword [0x140121e20]
lea rcx, [0x140122ba8]
mov r9d, reloc.WS2_32.dll_listen
mov dword [rsp + 0x20], 0x30
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
lea rdx, [0x140121e40]
lea r8, str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
lea rcx, [0x140122bb0]
cmovae rdx, qword [0x140121e40]
mov r9d, 1
mov dword [rsp + 0x20], 0x30
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
xor ecx, ecx
mov qword [0x140122ba8], rcx
mov qword [0x140122bb0], rcx
add rsp, 0x38
ret
Function at 0x1400b9b70
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140121ef0]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor edi, edi
xor eax, eax
mov qword [rsp + 0x50], rcx
mov qword [rbp - 0x1e], rax
mov qword [rbp - 0x16], rax
mov qword [rbp - 0xe], rax
mov qword [rbp - 6], rax
mov qword [rbp + 2], rax
mov qword [rbp + 0xa], rax
mov qword [rbp + 0x12], rax
mov qword [rbp + 0x1a], rax
mov qword [rbp + 0x22], rax
mov dword [rbp + 0x2a], eax
mov word [rbp + 0x2e], ax
mov dword [rsp + 0x60], 0x208
mov eax, 0x1e
mov dword [rsp + 0x64], 0x260
mov dword [rsp + 0x68], 0x268
mov dword [rsp + 0x6c], 0x100
mov dword [rsp + 0x70], 0x398
mov dword [rsp + 0x74], 0x378
mov dword [rsp + 0x78], 0x330
mov dword [rsp + 0x7c], 0x3a0
mov dword [rbp - 0x80], Ordinal_956
mov dword [rbp - 0x7c], 0x308
mov dword [rbp - 0x78], 0x390
mov dword [rbp - 0x74], 0x328
mov dword [rbp - 0x70], 0x100
mov dword [rbp - 0x6c], 0x368
mov dword [rbp - 0x68], 0x308
mov dword [rbp - 0x64], 0x3c8
mov dword [rbp - 0x60], 0x310
mov dword [rbp - 0x5c], 0x328
mov dword [rbp - 0x58], 0x100
mov dword [rbp - 0x54], 0x318
mov dword [rbp - 0x50], 0x378
mov dword [rbp - 0x4c], 0x390
mov dword [rbp - 0x48], 0x390
mov dword [rbp - 0x44], reloc.mfc110u.dll_Ordinal_936
mov dword [rbp - 0x40], 0x380
mov dword [rbp - 0x3c], 0x3a0
mov dword [rbp - 0x38], 0x328
mov qword [rbp - 0x34], Ordinal_804
mov dword [rbp - 0x2c], edi
mov word [rbp - 0x20], di
nop word [rax + rax]
mov ecx, dword [rsp + rax*4 + 0x60]
shr ecx, 3
dec rax
mov word [rbp + rax*2 - 0x1e], cx
jns 0x1400b9cb0
lea rdx, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x1400b9d12
mov qword [rsp + 0x40], rdi
mov ecx, 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edi
mov word [rsp + 0x28], cx
lea edx, [rcx + 1]
xor r8d, r8d
xor r9d, r9d
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400bb310
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140002d60
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140004990
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140004990
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140002dd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000a0a4]
mov rbx, rcx
test esi, esi
jle 0x140002f00
mov rax, qword [0x14000a0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002e1b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002ea5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002e00
mov rcx, rbx
call fcn.140003820
mov rdi, rax
test rax, rax
je 0x140002f22
mov rax, qword [0x14000a0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003960
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000a0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002f07
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002e9e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002eb0
add dword [0x14000a0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
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 [0x14000a0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002e9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002d60
nop dword [rax]
xor esi, esi
jmp 0x140002e28
mov rax, qword [0x14000a0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002d60
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002d60
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003490
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000a100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000a0e0]
test rbx, rbx
je 0x1400034ec
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400034e3
test rsi, rsi
je 0x1400034e3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400034c8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x413e60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x413feb
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 [0x0058aee8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x413ec5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x413ed4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x413ef3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x413f03
cmp rbx, 0x1000
jae 0x413ecb
jmp 0x413f6d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x413f15
xor edx, edx
jmp 0x413f64
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 [0x0058aee8]
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 0x413ef9
jmp 0x413ee8
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x0058aee8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x004a5b95]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004a6096]
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, [0x004a81d2]
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 0x414020
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414246
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 [0x0058aee8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x414093
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4140a2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x4140c5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x4140d5
cmp rbx, 0x1000
jae 0x414099
nop
jmp 0x414158
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 0x4140ed
xor esi, esi
jmp 0x41414a
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 [0x0058aee8]
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 0x4140cb
jmp 0x4140b6
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x0058aee8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x4141e0
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x004a60af]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x004a6096]
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, [0x004a216a]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x414180
call sym.runtime.printlock
lea rax, [0x004a60af]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004a6096]
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, [0x004a7b12]
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 0x41d640
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x0058acaf], 0
jne 0x41d727
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 0x41d71a
lea rbx, [0x0055d098]
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 0x41d700
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, [0x004a9b52]
mov ebx, 0x2c
call sym.runtime.throw
nop
int3

Function at 0x41fa00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41fb06
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 0x41fa43
mov rax, qword [rsp + 0x60]
mov rcx, rdx
mov rbx, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x17]
cmp qword [rsp + 0x18], rbx
jae 0x41fafb
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 0x41fafb
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 [0x0058aee8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
test rdx, rdx
jne 0x41fae9
xor eax, eax
jmp 0x41faf3
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x70]
test al, al
je 0x41fa31
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
Function at 0x42db00
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42dd86
push rbp
mov rbp, rsp
sub rsp, 0x38
test byte [rax], al
mov rcx, qword [rax + 0x1268]
lea rsi, [rax + 0x1278]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42dd7a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1268], 0
cmp byte [0x0058acaf], 0
jne 0x42db5a
xor edx, edx
xor ebx, ebx
jmp 0x42dba0
xor edx, edx
jmp 0x42db85
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1278]
mov rax, rcx
call sym.runtime.shade
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42db5e
add rax, 0x1268
call sym.runtime._wbBuf_.reset
add rsp, 0x38
pop rbp
ret
inc rdx
nop
cmp rdx, rcx
jge 0x42dd14
mov rsi, qword [rax + rdx*8 + 0x1278]
cmp rsi, 0x1000
jb 0x42db9b
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
call sym.runtime.findObject
test rax, rax
jne 0x42dbec
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42db9b
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
mov r8, rcx
shr r8, 3
movzx r9d, byte [rsi + r8]
and ecx, 7
mov r10d, 1
shl r10d, cl
nop
add rsi, r8
test r10b, r9b
je 0x42dc2c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42db9b
nop
lock or byte [rsi], r10b
mov rcx, qword [rbx + 0x18]
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
nop
nop
nop
cmp r8, 0x40
jae 0x42dd6d
lea r10, [0x0055d098]
mov r8, qword [r10 + r8*8]
test byte [r8], al
mov r10, rcx
shr r10, 0x10
and r10d, 0x3f
shr rcx, 0xd
and ecx, 7
mov r11d, 1
shl r11d, cl
shr r9, 0x16
and r9d, 0xfffff
mov r8, qword [r8 + r9*8]
test byte [r8], al
movzx r9d, byte [r8 + r10 + 0x11440]
lea r8, [r8 + r10]
lea r8, [r8 + 0x11440]
test r11b, r9b
jne 0x42dcaf
lock or byte [r8], r11b
movzx r8d, byte [rbx + 0x6a]
test r8b, 1
je 0x42dce5
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1250]
add r8, qword [rbx + 0x70]
mov qword [rax + 0x1250], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42db9b
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42dd65
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1278], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x42db9b
cmp rbx, 0x200
ja 0x42dd54
lea rdx, [rax + 0x1278]
lea rsi, [rax + 0x1240]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call sym.runtime._gcWork_.putBatch
mov rax, qword [rsp + 0x48]
add rax, 0x1268
call sym.runtime._wbBuf_.reset
add rsp, 0x38
pop rbp
ret
mov rcx, rbx
mov edx, 0x200
nop dword [rax]
call sym.runtime.panicSliceAcap
mov rax, r8
call sym.runtime.panicIndex
mov rax, r8
mov ecx, 0x40
call sym.runtime.panicIndexU
mov edx, 0x200
nop
call sym.runtime.panicSliceAlenU
nop
mov qword [rsp + 8], rax
call sym.runtime.morestackc.abi0
mov rax, qword [rsp + 8]
jmp sym.runtime.wbBufFlush1