joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400034d4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000351e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000351e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000351e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000351e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000351e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003520
xor al, al
add rsp, 0x28
ret

Function at 0x140003cf0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x140007098]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x140003d2c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.140003490
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140003de8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x140003e4e
test ebx, ebx
jne 0x140003e4e
lea ecx, [rax + 2]
call fcn.140003490
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140002ca0
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x140003f70
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003fcc
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003fcc
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003fcc
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003fcc
cmp dword [rcx + 0x84], 0xe
jbe 0x140003fcc
cmp dword [rcx + 0xf8], 0
je 0x140003fcc
mov ecx, ebx
call fcn.1400041e0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x140007788]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.140004360
cmp dword [rsp + 0x60], 0
jne 0x14000400f
mov ecx, ebx
call fcn.140004260
int3
add rsp, 0x40
pop rbx
ret

Function at 0x140004020
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004082
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004082
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x140004082
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x140004082
cmp dword [rdx + 0x84], 0xe
jbe 0x140004082
cmp dword [rdx + 0xf8], 0
je 0x140004082
mov ecx, ebx
call fcn.1400041e0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x140007788]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.140004360
cmp dword [rsp + 0x60], 0
jne 0x1400040c5
mov ecx, ebx
call fcn.140004260
int3
add rsp, 0x40
pop rbx
ret
Function at 0x1400110c8
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x1400179f0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
mov dword [rbp + 0x144], 0
lea rcx, [0x140032068]
call fcn.14001175d
lea rdx, [0x140026ee3]
mov rcx, qword [rbp + 0x180]
call fcn.140011343
mov qword [rbp + 0x158], rax
mov eax, dword [rbp + 0x144]
or eax, 1
mov dword [rbp + 0x144], eax
mov dword [rbp + 0x44], 0
jmp 0x140017a71
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
movsxd rax, dword [rbp + 0x44]
mov qword [rbp + 0x158], rax
mov rcx, qword [rbp + 0x188]
call fcn.14001156e
mov rcx, qword [rbp + 0x158]
cmp rcx, rax
jae 0x140017ac3
movsxd rax, dword [rbp + 0x44]
mov rdx, rax
mov rcx, qword [rbp + 0x188]
call fcn.1400110ff
movzx eax, byte [rax]
lea rcx, str.cw
movzx edx, byte [rcx + rax]
mov rcx, qword [rbp + 0x180]
call fcn.1400113f2
jmp 0x140017a69
mov rcx, qword [rbp + 0x188]
call fcn.140011177
mov rax, qword [rbp + 0x180]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140026100]
call fcn.140011613
mov rax, rdi
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x14001142e
Capabilities:
Terminate process

Disassembly:
jmp 0x14001db70
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001153c
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001e6a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001e6c0
xor al, al
jmp 0x14001e741
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001e6d3
xor al, al
jmp 0x14001e741
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001e6fd
xor al, al
jmp 0x14001e741
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001e711
xor al, al
jmp 0x14001e741
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001e723
xor al, al
jmp 0x14001e741
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001e73f
xor al, al
jmp 0x14001e741
mov al, 1
add rsp, 0x38
ret
Function at 0x1400117f3
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x14001aa80
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
mov dword [rbp + 0x144], 0
lea rcx, [0x140032068]
call fcn.14001175d
lea rdx, [0x140026ee3]
mov rcx, qword [rbp + 0x180]
call fcn.140011343
mov qword [rbp + 0x158], rax
mov eax, dword [rbp + 0x144]
or eax, 1
mov dword [rbp + 0x144], eax
mov dword [rbp + 0x44], 0
jmp 0x14001ab01
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
movsxd rax, dword [rbp + 0x44]
mov qword [rbp + 0x158], rax
mov rcx, qword [rbp + 0x188]
call fcn.14001156e
mov rcx, qword [rbp + 0x158]
cmp rcx, rax
jae 0x14001ab53
movsxd rax, dword [rbp + 0x44]
mov rdx, rax
mov rcx, qword [rbp + 0x188]
call fcn.1400110ff
movzx eax, byte [rax]
lea rcx, [0x14002c100]
movzx edx, byte [rcx + rax]
mov rcx, qword [rbp + 0x180]
call fcn.1400113f2
jmp 0x14001aaf9
mov rcx, qword [rbp + 0x188]
call fcn.140011177
mov rax, qword [rbp + 0x180]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400261e0]
call fcn.140011613
mov rax, rdi
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x1400022c8]
lea r9, str._J_ms8m
mov r8d, 5
mov qword [rsp + 0x38], rax
lea rax, [0x1400022b8]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x405160
Capabilities:
Run powershell expression

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4051ab
push rbp
mov rbp, rsp
sub rsp, 0x10
mov rcx, qword [0x0061c088]
test rcx, rcx
je 0x4051a5
mov eax, 0x400000
xor edx, edx
div rcx
test rdx, rdx
jne 0x40518f
add rsp, 0x10
pop rbp
ret
lea rax, [0x004e2ad0]
mov ebx, 0x41
nop dword [rax + rax]
call sym.runtime.throw
call sym.runtime.panicdivide
nop
call sym.runtime.morestack_noctxt.abi0
jmp sym.runtime.init.0

Function at 0x4051c0
Capabilities:
Run powershell expression

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x405337
push rbp
mov rbp, rsp
sub rsp, 0x30
cmp byte [rax + 0x65], 0
je 0x405325
mov rcx, qword [rax + 0x20]
shl rcx, 0xd
cmp rcx, 0x400000
jne 0x405310
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x1f], 1
movzx ecx, byte [rsp + 0x1f]
mov byte [rax + 0x62], cl
mov rbx, qword [rax + 0x20]
shl rbx, 0xd
mov rcx, qword [rax + 0x18]
mov rdx, rbx
neg rdx
lea rsi, [0x0061cb58]
lock xadd qword [rsi], rdx
nop
mov rax, rcx
call sym.runtime.sysUnusedOS
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rcx + 0x20]
shl rbx, 0xd
neg rbx
lea rax, [0x0061cb30]
call sym.runtime._sysMemStat_.add
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx + 0x68]
lea rsi, [0x0061cb50]
lock xadd qword [rsi], rdx
lea rax, [0x0061de00]
call sym.runtime._consistentHeapStats_.acquire
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx + 0x20]
shl rdx, 0xd
neg rdx
lock xadd qword [rax], rdx
mov rdx, qword [rcx + 0x20]
shl rdx, 0xd
neg rdx
lock xadd qword [rax + 0x10], rdx
mov edx, 1
lock xadd qword [rax + 0x270], rdx
mov rdx, qword [rcx + 0x68]
lock xadd qword [rax + 0x268], rdx
lea rax, [0x0061de00]
call sym.runtime._consistentHeapStats_.release
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rcx + 0x68]
neg rbx
lea rax, [0x0061ca20]
xor ecx, ecx
call sym.runtime._gcControllerState_.update
movups xmmword [rsp + 0x20], xmm15
lea rcx, [sym.runtime._mspan_.setUserArenaChunkToFault.func1]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x0061c200]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0x30
pop rbp
ret
lea rax, [0x004e131f]
mov ebx, 0x2c
nop dword [rax]
call sym.runtime.throw
lea rax, [0x004e08e3]
mov ebx, 0x28
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
nop dword [rax]
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
jmp sym.runtime._mspan_.setUserArenaChunkToFault
Function at 0x4057c0
Capabilities:
Run powershell expression

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x68
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x58], r14
mov rdx, qword [r14 + 0x30]
mov rsi, r14
cmp qword [rdx + 0x90], rsi
je 0x40581c
call sym.runtime.printlock
lea rax, [0x004de683]
mov ebx, 0x1e
call sym.runtime.printstring
call sym.runtime.printunlock
mov eax, 2
call sym.runtime.exit
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsi + 0x30]
mov rdx, qword [rax]
mov rbx, qword [rdx + 0x38]
xor ecx, ecx
call sym.runtime.callbackUpdateSystemStack
mov rdx, qword [r14 + 0x30]
nop
inc dword [rdx + 0x234]
mov rdx, qword [r14 + 0x30]
mov rsi, r14
nop
mov qword [rdx + 0x128], rsi
mov rdx, qword [r14 + 0x30]
mov qword [r14 + 0xd0], rdx
mov rdx, qword [rsp + 0x58]
mov rsi, qword [rdx + 0x30]
mov qword [rsp + 0x60], rsi
movups xmm0, xmmword [rsi + 0x400]
movups xmmword [rsp + 0x18], xmm0
movups xmm0, xmmword [rsi + 0x410]
movups xmmword [rsp + 0x28], xmm0
movups xmm0, xmmword [rsi + 0x420]
movups xmmword [rsp + 0x38], xmm0
mov rdi, qword [rdx + 0x70]
mov qword [rsp + 0x50], rdi
mov r8, qword [rdx + 0x78]
mov qword [rsp + 0x48], r8
call sym.runtime.exitsyscall
mov rdx, qword [rsp + 0x58]
mov rsi, qword [rdx + 0x30]
mov byte [rsi + 0xe8], 0
mov rsi, qword [rdx + 0x30]
cmp byte [rsi + 0xe9], 0
je 0x4058c0
mov byte [rsi + 0xea], 0
mov rsi, qword [rdx + 0x30]
xor edi, edi
xchg dword [rsi + 0x5f8], edi
cmp byte [rdx + 0xbd], 0
jne 0x405989
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call sym.runtime.cgocallbackg1
mov rdx, qword [rsp + 0x58]
mov rsi, qword [rdx + 0x30]
mov byte [rsi + 0xe8], 1
call sym.runtime.unlockOSThread
mov rdx, qword [rsp + 0x58]
mov rsi, qword [rdx + 0x30]
cmp byte [rsi + 0xe9], 0
je 0x405921
mov byte [rsi + 0xea], 1
mov rax, qword [rdx + 0x30]
mov rcx, qword [rsp + 0x60]
cmp rax, rcx
jne 0x405978
call sym.runtime.osPreemptExtEnter
mov rbx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x48]
nop
call sym.runtime.reentersyscall
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x30]
movups xmm0, xmmword [rsp + 0x18]
movups xmmword [rcx + 0x400], xmm0
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx + 0x410], xmm0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rcx + 0x420], xmm0
add rsp, 0x68
pop rbp
ret
lea rax, [0x004e0370]
mov ebx, 0x26
call sym.runtime.throw
lea rax, [0x004bcec0]
lea rbx, [0x005019e0]
call sym.runtime.gopanic
nop
int3
Function at 0x40c000
Capabilities:
Run powershell expression

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40c126
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rcx, qword [rbx + 8]
inc rcx
mov qword [rbx + 8], rcx
mov rdx, rbx
shl rbx, 0x10
mov rsi, rcx
and ecx, 0x7ffff
or rbx, rcx
mov rcx, rbx
sar rbx, 0x13
shl rbx, 3
nop
nop
nop
nop
cmp rdx, rbx
je 0x40c04a
jmp 0x40c06a
mov rax, rsi
mov rbx, qword [rax]
mov qword [rdx], rbx
mov rsi, rax
mov rax, rbx
lock cmpxchg qword [rsi], rcx
sete bl
nop
test bl, bl
je 0x40c047
add rsp, 0x30
pop rbp
ret
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x20], rbx
nop
call sym.runtime.printlock
lea rax, [0x004e134b]
mov ebx, 0x2c
call sym.runtime.printstring
mov rax, qword [rsp + 0x28]
nop dword [rax + rax]
call sym.runtime.printpointer
lea rax, [0x004d8756]
mov ebx, 5
call sym.runtime.printstring
mov rax, qword [rsp + 0x18]
nop dword [rax + rax]
call sym.runtime.printhex
lea rax, [0x004d8c4a]
mov ebx, 8
call sym.runtime.printstring
mov rax, qword [rsp + 0x10]
nop dword [rax + rax]
call sym.runtime.printhex
lea rax, [0x004d8e53]
mov ebx, 9
call sym.runtime.printstring
mov rax, qword [rsp + 0x20]
nop dword [rax + rax]
call sym.runtime.printpointer
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004d97a3]
mov ebx, 0xc
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._lfstack_.push
Function at 0x40c7a0
Capabilities:
Run powershell expression

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x38
mov rcx, qword [r14 + 0x30]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x20]
mov rdx, rax
xor eax, eax
lock cmpxchg qword [rdx], rcx
sete cl
test cl, cl
je 0x40c832
mov qword [rsp + 0x30], r14
test rbx, rbx
jge 0x40c7fe
mov rcx, qword [r14 + 0x30]
mov byte [rcx + 0xe5], 1
mov rcx, qword [0x0058f4d8]
cmp qword [rcx], 0
jne 0x40ca03
mov rax, 0xffffffffffffffff
call sym.runtime.semasleep
jmp 0x40c9ba
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x50], rbx
call sym.runtime.nanotime1.abi0
xorps xmm15, xmm15
mov r14, qword [0x0061c200]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp]
mov rbx, qword [rsp + 0x50]
add rax, rbx
mov qword [rsp + 0x18], rax
jmp 0x40c85a
cmp qword [rdx], 1
jne 0x40c843
mov eax, 1
add rsp, 0x38
pop rbp
ret
lea rax, [0x004de6bf]
mov ebx, 0x1e
call sym.runtime.throw
mov rax, rdx
mov rbx, rcx
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx + 0x30]
mov byte [rdx + 0xe5], 1
mov rdx, qword [0x0058f4d8]
cmp qword [rdx], 0
je 0x40c88e
nop word [rax + rax]
cmp rbx, 0x989680
jle 0x40c88e
mov ebx, 0x989680
mov rax, rbx
call sym.runtime.semasleep
test eax, eax
jge 0x40c91c
mov rax, qword [0x0058f4d8]
mov rax, qword [rax]
test rax, rax
je 0x40c8d1
mov qword [rsp], rax
mov qword [rsp + 8], 0
call sym.runtime.asmcgocall.abi0
xorps xmm15, xmm15
mov r14, qword [0x0061c200]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x30]
mov byte [rcx + 0xe5], 0
call sym.runtime.nanotime1.abi0
xorps xmm15, xmm15
mov r14, qword [0x0061c200]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x18]
mov rdx, rcx
sub rcx, rax
test rcx, rcx
jg 0x40c854
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
jmp 0x40c937
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x30]
mov byte [rcx + 0xe5], 0
mov eax, 1
add rsp, 0x38
pop rbp
ret
mov rax, qword [rcx]
mov rsi, qword [rdx + 0x30]
mov rdi, rsi
cmp rax, rsi
jne 0x40c960
xor esi, esi
lock cmpxchg qword [rcx], rsi
sete dil
test dil, dil
je 0x40c937
xor eax, eax
add rsp, 0x38
pop rbp
ret
cmp rax, 1
jne 0x40c9a9
mov byte [rdi + 0xe5], 1
mov rax, 0xffffffffffffffff
call sym.runtime.semasleep
test eax, eax
jl 0x40c998
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x30]
mov byte [rcx + 0xe5], 0
mov eax, 1
add rsp, 0x38
pop rbp
ret
lea rax, [0x004e1f44]
mov ebx, 0x32
call sym.runtime.throw
lea rax, [0x004e1ded]
mov ebx, 0x31
call sym.runtime.throw
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x30]
mov byte [rcx + 0xe5], 0
mov eax, 1
add rsp, 0x38
pop rbp
ret
mov rax, qword [0x0058f4d8]
mov rax, qword [rax]
mov qword [rsp], rax
mov qword [rsp + 8], 0
call sym.runtime.asmcgocall.abi0
xorps xmm15, xmm15
mov r14, qword [0x0061c200]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, 0x989680
call sym.runtime.semasleep
test eax, eax
jl 0x40c9d5
jmp 0x40c9ba
Function at 0x40d6e0
Capabilities:
Run powershell expression

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40d7e0
push rbp
mov rbp, rsp
sub rsp, 0x28
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
xor edx, edx
jmp 0x40d718
lea rdx, [rcx + 1]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x10], rdx
lea rsi, [rcx + rbx]
mov qword [rsp + 0x20], rsi
mov rbx, rsi
call sym.runtime.sysReserveOS
mov rcx, rax
test rcx, rcx
je 0x40d7c4
mov rdx, qword [rsp + 0x48]
lea rsi, [rdx - 1]
test rcx, rsi
je 0x40d7b9
mov qword [rsp + 0x18], rcx
mov rbx, qword [rsp + 0x20]
call sym.runtime.sysFreeOS
mov rcx, qword [rsp + 0x18]
mov rax, qword [rsp + 0x48]
lea rcx, [rax + rcx]
lea rcx, [rcx - 1]
mov rdx, rax
neg rdx
and rdx, rcx
mov qword [rsp + 0x18], rdx
nop
nop
mov rbx, qword [rsp + 0x40]
mov rax, rdx
call sym.runtime.sysReserveOS
mov rcx, rax
mov rdx, qword [rsp + 0x18]
cmp rcx, rdx
je 0x40d7ae
mov rbx, qword [rsp + 0x40]
call sym.runtime.sysFreeOS
mov rcx, qword [rsp + 0x10]
cmp rcx, 0x63
jne 0x40d705
jmp 0x40d7ce
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
pop rbp
ret
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
pop rbp
ret
xor eax, eax
xor ebx, ebx
add rsp, 0x28
pop rbp
ret
lea rax, [0x004e2570]
mov ebx, 0x38
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.runtime.sysReserveAligned
Function at 0x40d8c0
Capabilities:
Run powershell expression

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40da98
push rbp
mov rbp, rsp
sub rsp, 0x28
movzx edx, bl
nop word [rax + rax]
nop
cmp rdx, 0x88
jae 0x40da8a
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x40], bl
mov qword [rsp + 0x20], rdx
test byte [rax], al
mov rcx, qword [rax + rdx*8 + 0x28]
mov qword [rsp + 0x18], rcx
mov rax, rcx
call sym.runtime._mspan_.nextFreeIndex
mov rcx, qword [rsp + 0x18]
movzx edx, word [rcx + 0x32]
cmp ax, dx
jne 0x40d96f
mov word [rsp + 0x16], dx
movzx ecx, word [rcx + 0x60]
cmp cx, dx
jne 0x40da27
mov word [rsp + 0x12], ax
mov rax, qword [rsp + 0x38]
movzx ebx, byte [rsp + 0x40]
nop
call sym.runtime._mcache_.refill
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rdx + rcx*8 + 0x28]
mov qword [rsp + 0x18], rax
call sym.runtime._mspan_.nextFreeIndex
movzx edx, word [rsp + 0x16]
movzx ebx, word [rsp + 0x12]
mov rcx, qword [rsp + 0x18]
jmp 0x40d971
mov ebx, eax
cmp word [rcx + 0x32], ax
jbe 0x40da16
movzx eax, ax
mov rsi, qword [rcx + 0x68]
imul rax, rsi
movzx esi, word [rcx + 0x60]
inc esi
add rax, qword [rcx + 0x18]
mov word [rcx + 0x60], si
movzx edi, word [rcx + 0x32]
cmp di, si
jb 0x40d9ae
cmp bx, dx
sete dl
mov rbx, rcx
mov ecx, edx
add rsp, 0x28
pop rbp
ret
mov word [rsp + 0x16], si
mov word [rsp + 0x14], di
call sym.runtime.printlock
lea rax, [0x004d9e54]
mov ebx, 0xe
call sym.runtime.printstring
movzx eax, word [rsp + 0x16]
movzx eax, ax
call sym.runtime.printuint
lea rax, [0x004d93c2]
mov ebx, 0xb
call sym.runtime.printstring
movzx eax, word [rsp + 0x14]
call sym.runtime.printuint
call sym.runtime.printnl
nop dword [rax + rax]
call sym.runtime.printunlock
lea rax, [0x004dc645]
mov ebx, 0x17
call sym.runtime.throw
lea rax, [0x004dc0f8]
mov ebx, 0x16
call sym.runtime.throw
mov word [rsp + 0x14], cx
call sym.runtime.printlock
lea rax, [0x004dc62e]
mov ebx, 0x17
nop dword [rax]
call sym.runtime.printstring
movzx eax, word [rsp + 0x14]
call sym.runtime.printuint
lea rax, [0x004d93c2]
mov ebx, 0xb
nop dword [rax + rax]
call sym.runtime.printstring
movzx eax, word [rsp + 0x16]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004e1e1e]
mov ebx, 0x31
call sym.runtime.throw
mov rax, rdx
mov ecx, 0x88
call sym.runtime.panicIndex
nop
mov qword [rsp + 8], rax
mov byte [rsp + 0x10], bl
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
movzx ebx, byte [rsp + 0x10]
jmp sym.runtime._mcache_.nextFree