joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002390
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x1400023d5
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x1400023cc
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x1400023d7
add rax, 0x28
cmp rax, r9
jne 0x1400023b8
xor eax, eax
ret

Function at 0x1400023e0
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x140002470
mov rdx, qword [0x140004410]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x14000245e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000245e
cmp word [rax + 0x18], 0x20b
jne 0x14000245e
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x140002470
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x140002449
add r12, 0x28
cmp r12, rsi
je 0x140002470
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x140002440
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x140002480
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004410]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400024a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400024a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400024a0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1400024f5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400024ec
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400024a0
add rax, 0x28
cmp rax, r9
jne 0x1400024d8
xor eax, eax
ret

Function at 0x140002500
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004410]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140002520
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002528
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140002520
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x140002540
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140004410]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002560
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002568
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002560
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x1400025a8
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14000259f
test rcx, rcx
je 0x140002560
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002590
xor eax, eax
ret
Function at 0x1400025b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004410]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400025d0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1400025d8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x1400025f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004410]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002610
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002618
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002610
sub rcx, rdx
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x140002610
lea eax, [r8 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop dword [rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x14000265c
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002670
add rdx, 0x28
cmp rdx, r9
jne 0x140002648
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002680
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140004410]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400026a2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400026b0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400026a2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400026a2
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x1400026a2
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400026fd
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002710
add rdx, 0x28
cmp r10, rdx
jne 0x1400026e8
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14000271f
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14000272f
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002706
test ecx, ecx
jg 0x140002718
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140006920
Capabilities:
Access peb ldr_data
Get uefi variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x14002e040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov qword [rbp - 0x19], rdx
xor edi, edi
mov qword [rbp - 1], rdi
mov qword [rbp + 7], rdi
mov qword [rbp + 0xf], rdi
mov qword [rbp + 0x17], rdi
mov qword [rbp - 0x11], r8
mov qword [rbp - 9], r9
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x18]
lea rax, [rbp - 0x19]
mov rbx, qword [rdx + 0x20]
lea rdx, str.SecureBoot
mov qword [rbx + 0x18], rcx
lea rcx, [rbp + 0x1f]
mov qword [rbx + 0x10], rax
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rax, [rbp - 0x29]
mov dword [rbp - 0x21], edi
lea r9, [rbp - 0x25]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x21]
mov dword [rbp - 0x25], 1
lea rdx, [rbp - 0x39]
mov dword [rbp - 0x29], edi
lea rcx, [rbp + 0x1f]
mov dword [rbp - 0x39], 0x8be4df61
mov dword [rbp - 0x35], 0x11d293ca
mov dword [rbp - 0x31], 0xe0000daa
mov dword [rbp - 0x2d], 0x8c2b0398
call qword [sym.imp.ntdll.dll_NtQuerySystemEnvironmentValueEx]
mov rcx, qword [rbx + 0x18]
test eax, eax
mov qword [rbx + 0x18], rdi
cmovns rcx, rdi
mov qword [rbx + 0x10], rdi
mov rax, rcx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140008d20
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140006a10
Capabilities:
Load ntoskrnl

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14002e040]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x28]
call fcn.140006170
nop
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
cmp rbx, rsi
je 0x140006ab5
lea rcx, [rbx + 0x20]
cmp qword [rbx + 0x38], 0xf
jbe 0x140006a60
mov rcx, qword [rbx + 0x20]
lea rdx, str.ntoskrnl.exe
call fcn.140013178
test eax, eax
je 0x140006a7b
add rbx, 0x50
cmp rbx, rsi
jne 0x140006a51
jmp 0x140006ab0
mov rdx, rbx
lea rcx, [0x14002ead0]
call fcn.140007e60
lea rdx, [rbx + 0x20]
lea rcx, [0x14002eaf0]
call fcn.140007e60
mov rax, qword [rbx + 0x40]
mov qword [0x14002eb10], rax
mov rax, qword [rbx + 0x48]
mov qword [0x14002eb18], rax
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x140006b32
mov rdi, qword [rsp + 0x30]
cmp rbx, rdi
je 0x140006ada
mov rcx, rbx
call fcn.140006870
add rbx, 0x50
cmp rbx, rdi
jne 0x140006ac4
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
sub rcx, rbx
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 4
mov rax, rbx
cmp rdx, 0x1000
jb 0x140006b2a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006c31
mov rcx, rbx
call fcn.140009378
cmp qword [0x14002eb10], 0
jne 0x140006b4f
lea rcx, str._Client.exe__ntoskrnl.exe_base_address_not_found_n
call fcn.140001770
xor eax, eax
jmp 0x140006c08
mov rbx, qword [0x14002fe68]
mov r15, qword [0x14002fe70]
cmp rbx, r15
je 0x140006bc3
mov rax, qword [rbx]
mov r14, qword [rax]
mov rbp, qword [0x14002eb10]
lea rcx, str.ntoskrnl.exe
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140006b88
xor edi, edi
jmp 0x140006bab
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x140006ba2
sub rbp, rsi
add rdi, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbx]
mov qword [rcx], rdi
mov rax, qword [rbx]
cmp qword [rax], 0
je 0x140006bf0
add rbx, 8
cmp rbx, r15
jne 0x140006b62
mov byte [rsp + 0x20], 1
lea r9, [rsp + 0x20]
xor r8d, r8d
mov dl, 1
lea ecx, [r8 + 0x16]
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
test eax, eax
je 0x140006c03
lea rcx, str._Client.exe__run_as_admin_n
call fcn.140001770
xor eax, eax
jmp 0x140006c08
mov rdx, r14
lea rcx, str._Client.exe__export__s_not_found_n
call fcn.140001770
xor eax, eax
jmp 0x140006c08
mov eax, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140008d20
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
call fcn.140011e20
int3
Function at 0x140007600
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x78
mov rax, qword [0x14002e040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp dword [0x14002ff88], 0
je 0x140007633
mov eax, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140008d20
add rsp, 0x78
ret
call fcn.140006a10
mov dword [0x14002ff88], eax
test eax, eax
je 0x140007621
mov rcx, qword [str.MmGetPhysicalMemoryRanges]
xor r9d, r9d
mov qword [rsp + 0x80], rbx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x70], rdi
call fcn.140006920
mov rcx, qword [str.memcpy]
lea rdx, [rsp + 0x40]
xorps xmm0, xmm0
xor ebx, ebx
mov r8, rax
mov rdi, rax
movups xmmword [rsp + 0x40], xmm0
lea r9d, [rbx + 0x10]
call fcn.140006920
cmp qword [rsp + 0x40], rbx
je 0x1400076c3
nop
mov rcx, qword [str.memcpy]
lea rdx, [rsp + 0x40]
xorps xmm0, xmm0
inc ebx
movsxd r8, ebx
mov r9d, 0x10
shl r8, 4
add r8, rdi
movups xmmword [rsp + 0x40], xmm0
call fcn.140006920
cmp qword [rsp + 0x40], 0
jne 0x140007690
mov rcx, qword [str.memcpy]
lea rdx, [rsp + 0x50]
xorps xmm0, xmm0
mov r9d, 0x10
mov r8, rdi
movups xmmword [rsp + 0x50], xmm0
call fcn.140006920
mov rax, qword [rsp + 0x50]
lea rdx, [rsp + 0x50]
mov rcx, qword [str.memcpy]
dec ebx
movsxd r8, ebx
mov r9d, 0x10
shl r8, 4
add r8, rdi
mov qword [0x14002fe58], rax
call fcn.140006920
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
add rcx, qword [rsp + 0x58]
xor r8d, r8d
mov qword [0x14002fe48], rcx
mov rdx, rdi
mov rcx, qword [str.ExFreePool]
call fcn.140006920
mov r8, qword [str.HalPrivateDispatchTable]
lea rdx, [0x14002fe50]
mov rcx, qword [str.memcpy]
add r8, 0x90
mov r9d, 8
mov qword [0x14002fe50], r8
call fcn.140006920
mov r8, qword [str.HalPrivateDispatchTable]
lea rdx, [0x14002fe60]
mov rcx, qword [str.memcpy]
add r8, 0x98
mov r9d, 8
mov qword [0x14002fe60], r8
call fcn.140006920
mov r8, qword [0x14002fe50]
mov rdx, qword [0x14002eb10]
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x80]
cmp r8, rdx
jb 0x140007803
mov rcx, qword [0x14002eb18]
add rcx, rdx
cmp r8, rcx
ja 0x140007803
mov rax, qword [0x14002fe60]
cmp rax, rdx
jb 0x1400077ee
cmp rax, rcx
ja 0x1400077ee
mov eax, dword [0x14002ff88]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140008d20
add rsp, 0x78
ret
lea rcx, str._Client.exe__KdUnmapVirtualAddress_cant_be_used_n
call fcn.140001770
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, str._Client.exe__KdMapPhysicalMemory64_cant_be_used_n
call fcn.140001770
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x14000997c
Capabilities:
Parse pe header

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

Function at 0x1400123b0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400121a0
Function at 0x140017d34
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140017d64
xor eax, eax
jmp 0x140017e27
mov rbp, rbx
cmp word [rax], si
je 0x140017d89
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140017d70
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140017d6c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140017c84
movsxd r14, eax
test eax, eax
jne 0x140017dc7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140017d5d
mov rcx, r14
call fcn.1400144dc
mov rdi, rax
test rax, rax
jne 0x140017de0
xor ecx, ecx
call fcn.140013858
jmp 0x140017dbc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140017c84
test eax, eax
jne 0x140017e11
mov rcx, rdi
call fcn.140013858
jmp 0x140017e1b
xor ecx, ecx
call fcn.140013858
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14001cfbc
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.1400130a0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001d046
cmp byte [rbp - 0x21], r15b
je 0x14001d041
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14001d07c
call fcn.140013aac
test eax, eax
jne 0x14001d068
cmp byte [rbp - 0x21], r15b
je 0x14001d060
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001d07c
cmp byte [rbp - 0x21], r15b
je 0x14001d079
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.140016400
test eax, eax
jne 0x14001d11c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400130a0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001d0bb
cmp byte [rbp - 0x21], r15b
je 0x14001d0f0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001d0f0
call fcn.140013aac
test eax, eax
jne 0x14001d0dc
cmp byte [rbp - 0x21], r15b
je 0x14001d0d5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14001d0f0
cmp byte [rbp - 0x21], r15b
je 0x14001d0ed
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.140016400
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001d11c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001d11f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001d12d
mov rcx, rdi
call fcn.140013858
cmp byte [rbp + 0x3f], r15b
je 0x14001d13c
mov rcx, qword [rbp + 0x27]
call fcn.140013858
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 0x14001f760
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001f788
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001f788
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x416120
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4162ab
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 [0x006a3860]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x416185
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416194
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x4161b3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4161c3
cmp rbx, 0x1000
jae 0x41618b
jmp 0x41622d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4161d5
xor edx, edx
jmp 0x416224
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 [0x006a3860]
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 0x4161b9
jmp 0x4161a8
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x006a3860]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x0054ee4a]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x0054f549]
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, [0x00552359]
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 0x4162e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416506
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 [0x006a3860]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x416353
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x416362
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x416385
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x416395
cmp rbx, 0x1000
jae 0x416359
nop
jmp 0x416418
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 0x4163ad
xor esi, esi
jmp 0x41640a
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 [0x006a3860]
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 0x41638b
jmp 0x416376
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x006a3860]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x4164a0
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x0054f562]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x0054f549]
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, [0x0054a233]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x416440
call sym.runtime.printlock
lea rax, [0x0054f562]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x0054f549]
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, [0x00551a3d]
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 0x41f900
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x006a35d2], 0
jne 0x41f9e7
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 0x41f9da
lea rbx, [0x006759b8]
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 0x41f9c0
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, [0x005547cf]
mov ebx, 0x2c
call sym.runtime.throw
nop
int3

Function at 0x421cc0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x421dc6
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 0x421d03
mov rax, qword [rsp + 0x60]
mov rcx, rdx
mov rbx, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x17]
cmp qword [rsp + 0x18], rbx
jae 0x421dbb
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 0x421dbb
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 [0x006a3860]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
test rdx, rdx
jne 0x421da9
xor eax, eax
jmp 0x421db3
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x70]
test al, al
je 0x421cf1
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