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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14014e68a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14014e681
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14014e681
mov rax, qword [rbp - 8]
jmp 0x14014e69f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14014e654
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140b35058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140b351df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140b35089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b3506f
add dl, dl
jne 0x140b35096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b350f6
xor eax, eax
add dl, dl
jne 0x140b350a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b351ad
add dl, dl
jne 0x140b350b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b350c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b350d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b350dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b350ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b3507e
mov eax, 1
add dl, dl
jne 0x140b35106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b35113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b350fb
sub eax, ebx
mov ebx, 1
jne 0x140b3514c
mov ecx, 1
add dl, dl
jne 0x140b3512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b3513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b35123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b3507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b35168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b35175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b3515d
cmp eax, 0x7d00
jae 0x140b3519b
cmp eax, 0x500
jb 0x140b35196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b3507e
cmp eax, 0x7f
ja 0x140b3519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b3507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b351d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140b3507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

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

Disassembly:
mov rax, qword [0x140009008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x140009008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140009008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret

Function at 0x14000196c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400019b6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400019b6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400019b6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400019b6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400019b6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400019b8
xor al, al
add rsp, 0x28
ret
Function at 0x140713afc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdx
pushfq
pop rdi
mov qword [rsp + rsi - 0x657b68a5], rdi
lea rdi, [rsp + rdx - 0x4afbfd70]
movsx ebx, word [rsp + rdx - 0x4afbfd44]
mov qword [rsp + rsi - 0x657b68ad], rdi
movzx r10d, bx
lea rsi, [rdx + rdi - 0x4afbffa8]
shr r10b, 0x62
and sil, 0xf0
sal r10b, 1
not rdx
movsx r9d, bx
lea edx, [rbx + 0x100000]
imul r10w, r9w
adc r10d, ebx
sal rdx, 0xc
bts r9w, r9w
dec r10b
movabs r10, 0
ror rbx, 0xe6
lea rbx, [rbx + r9*4 - 0x5244d46d]
push r11
push rbp
sal bx, 2
mov qword [rsp + rbx + 0x52445204], r8
mov r9d, dword [rsp + rbx + 0x5244520c]
lea r9d, [rbx + r9 - 0x5ce082e1]
btr bx, bx
movzx r8d, bl
neg r9d
bt rbx, rbx
neg ebx
bswap r9d
shr ebx, 0xdc
and bl, r8b
neg r9d
add r8w, 0x293a
and ebx, ebx
inc r9d
bt ebx, r8d
push r13
bt bx, r8w
jae 0x140725bfc
push 0xffffffffd48f3c24
mov r10d, 0x69a0b020
mov r11, qword [rdi + r10 - 0x69a0b020]
mov r10, qword [r11 + r10 - 0x69a0b020]
call fcn.14073308c
call fcn.140744bc9

Function at 0x140751b70
Capabilities:
Execute anti-debugging instructions

Disassembly:
not al
sal qword [rsp], 9
inc byte [rsp + 3]
jle 0x140716ad2
ror al, 1
sar dword [rsp], 0x1e
shl byte [rsp + 0xa], 0x61
seta byte [rsp + 0xd]
xor dil, al
add qword [rsp + 8], 0x3c2f51ab
sar qword [rsp + 1], 0xed
jae 0x1407445aa
rdtsc
push 0x3484a92e
and byte [rsp], 0x87
sbb rdi, 8
mov dword [rdi + 4], eax
mov dword [rdi], edx
jmp 0x140738b3c
lea rsp, [rsp + 8]
jmp fcn.1407271ad
rdtsc
call fcn.14073857d
mov qword [rsp], 0xffffffff81a30cad
add rbp, 1
xor al, dil
sal byte [rsp + 7], 6
jns 0x14073f4cc
xor al, 0x30
neg al
xor qword [rsp], 0xffffffffa59a9793
push 0x6596dabf
jge 0x14071fdfe
mov r9d, 0x4706b203
lea rcx, [r9*4 - 0x5a5f3deb]
mov r8, qword [r9 + rsi - 0x4706b203]
btr cx, 0x34
dec cx
shr cx, 0xad
mov r9, qword [rsi + r9 - 0x4706b1fb]
call fcn.14072fe74
Function at 0x140001e60
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x468
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3e0], 0xfffffffffffffffe
mov qword [rbp + 0x3d8], rcx
xor ebx, ebx
lea rcx, [rbp - 0x58]
mov r8d, 0x400
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x3c0], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3c8], xmm0
mov r14d, 0x200
mov r13d, 2
mov r12, qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp r14, 0x201
jae 0x140001ef5
jmp 0x140001f40
cmp r14, rsi
mov r14, rsi
ja 0x140001f9a
cmp r14, 0x201
jb 0x140001f40
mov r8, r14
sub r8, rbx
mov rax, qword [rbp + 0x3c8]
sub rax, rbx
cmp rax, r8
jae 0x140001f20
lea rcx, [rbp + 0x3c0]
mov rdx, rbx
call fcn.14001b180
mov r13, qword [rbp + 0x3c0]
mov qword [rbp + 0x3d0], r14
mov rbx, r14
mov rdi, r13
mov r15, r14
mov rsi, r13
jmp 0x140001f4d
lea rsi, [rbp - 0x58]
mov rdi, rsi
mov r15d, 0x200
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r14d
mov rdx, rsi
call r12
mov esi, eax
test eax, eax
jne 0x140001f6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140001fe5
mov esi, esi
cmp r14, rsi
jne 0x140001ee0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140001ee0
add r14, r14
cmp r14, 0x201
jae 0x140001ef5
jmp 0x140001f40
cmp r15, rsi
jb 0x140002041
lea rcx, [rbp + 0x3a8]
mov rdx, rdi
mov r8, rsi
call fcn.140004920
mov rax, qword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d8]
mov qword [rsi + 0x18], rax
movups xmm0, xmmword [rbp + 0x3a8]
movups xmmword [rsi + 8], xmm0
xor eax, eax
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3c8]
test rdx, rdx
jne 0x140002012
jmp 0x14000202a
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d8]
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3c8]
test rdx, rdx
je 0x14000202a
test r13, r13
je 0x14000202a
add rdx, rdx
je 0x14000202a
mov r8d, 2
mov rcx, r13
call fcn.140001310
mov rax, rsi
add rsp, 0x468
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, str.library_std_src_syswindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, rsi
mov rdx, r15
call fcn.14001c040
ud2
Function at 0x1400020c0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x498
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x410], 0xfffffffffffffffe
mov rsi, rcx
lea r12, [rbp - 0x58]
mov rcx, r12
call fcn.14000c110
cmp qword [rbp - 0x58], 0
je 0x140002123
lea rcx, [rbp - 0x50]
call fcn.140001580
mov qword [rsi], 0
mov rax, rsi
add rsp, 0x498
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, qword [rbp - 0x50]
mov qword [rbp + 0x400], rax
test rax, rax
je 0x140002105
mov qword [rbp + 0x3f8], rsi
mov rax, qword [rbp - 0x48]
mov qword [rbp + 0x408], rax
xor ebx, ebx
mov r8d, 0x400
mov rcx, r12
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x3e0], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3e8], xmm0
mov r14d, 0x200
mov r13d, 2
cmp r14, 0x201
jae 0x1400021a5
jmp 0x1400021f0
cmp r14, rsi
mov r14, rsi
ja 0x140002253
cmp r14, 0x201
jb 0x1400021f0
mov r8, r14
sub r8, rbx
mov rax, qword [rbp + 0x3e8]
sub rax, rbx
cmp rax, r8
jae 0x1400021d0
lea rcx, [rbp + 0x3e0]
mov rdx, rbx
call fcn.14001b180
mov r13, qword [rbp + 0x3e0]
mov qword [rbp + 0x3f0], r14
mov rbx, r14
mov rdi, r13
mov r15, r14
mov rsi, r13
jmp 0x1400021fc
mov rdi, r12
mov r15d, 0x200
mov rsi, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x400]
mov rdx, rsi
mov r8d, r14d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
jne 0x140002227
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400022a6
mov esi, esi
cmp r14, rsi
jne 0x140002190
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140002190
add r14, r14
cmp r14, 0x201
jae 0x1400021a5
jmp 0x1400021f0
cmp r15, rsi
jb 0x140002359
lea rcx, [rbp + 0x3a8]
mov rdx, rdi
mov r8, rsi
call fcn.140004920
mov rax, qword [rbp + 0x3b8]
mov qword [rbp + 0x3d8], rax
movups xmm0, xmmword [rbp + 0x3a8]
movups xmmword [rbp + 0x3c8], xmm0
mov qword [rbp + 0x3c0], 0
mov sil, 1
mov rdx, qword [rbp + 0x3e8]
test rdx, rdx
jne 0x1400022d4
jmp 0x1400022ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3c8], rax
mov qword [rbp + 0x3c0], 1
xor esi, esi
mov rdx, qword [rbp + 0x3e8]
test rdx, rdx
je 0x1400022ec
test r13, r13
je 0x1400022ec
add rdx, rdx
je 0x1400022ec
mov r8d, 2
mov rcx, r13
call fcn.140001310
test sil, sil
je 0x14000230f
mov rax, qword [rbp + 0x3d8]
mov rsi, qword [rbp + 0x3f8]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp + 0x3c8]
movups xmmword [rsi], xmm0
jmp 0x140002329
mov rsi, qword [rbp + 0x3f8]
mov qword [rsi], 0
lea rcx, [rbp + 0x3c8]
call fcn.140001580
mov rdx, qword [rbp + 0x408]
test rdx, rdx
je 0x14000210c
add rdx, rdx
je 0x14000210c
mov r8d, 2
mov rcx, qword [rbp + 0x400]
call fcn.140001310
jmp 0x14000210c
lea r8, str.library_std_src_syswindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, rsi
mov rdx, r15
call fcn.14001c040
ud2
Function at 0x140019010
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test r8, r8
je 0x14001908a
mov r11, rdx
mov rdx, qword [rsp + 0x70]
mov ebp, ecx
shr ebp, 8
lea r8, [r11 + r8*2]
xor eax, eax
mov rbx, r11
movzx edi, byte [r11 + 1]
add r11, 2
lea r10, [rax + rdi]
cmp byte [rbx], bpl
jne 0x140019080
cmp r10, rax
jb 0x14001911d
cmp r10, rdx
ja 0x140019131
add rax, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140019082
lea rsi, [rbx + 1]
cmp byte [rax + rbx], cl
mov rbx, rsi
jne 0x140019060
jmp 0x1400190f2
ja 0x14001908a
mov rax, r10
cmp r11, r8
jne 0x140019030
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1400190f6
mov rbx, qword [rsp + 0x78]
add rdx, rbx
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
nop
lea rsi, [rbx + 1]
movzx edi, byte [rbx]
test dil, dil
js 0x1400190d0
mov rbx, rsi
sub ecx, edi
jns 0x1400190e9
jmp 0x1400190f8
cmp rsi, rdx
je 0x140019103
and edi, 0x7f
shl edi, 8
movzx ebp, byte [rbx + 1]
add rbx, 2
or edi, ebp
sub ecx, edi
js 0x1400190f8
xor al, 1
cmp rbx, rdx
jne 0x1400190b0
jmp 0x1400190f8
xor eax, eax
jmp 0x1400190f8
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x14002058e]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14001bd70
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, rax
mov rdx, r10
call fcn.14001c0c0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001c040
ud2

Function at 0x14001ad5c
Capabilities:
Parse pe header

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41672b
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 [0x00725128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x416605
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416614
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x416633
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x416643
cmp rbx, 0x1000
jae 0x41660b
jmp 0x4166ad
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x416655
xor edx, edx
jmp 0x4166a4
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 [0x00725128]
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 0x416639
jmp 0x416628
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x00725128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x0057d256]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x0057d85c]
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, [0x0058048f]
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 0x416760
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416986
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 [0x00725128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x4167d3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4167e2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x416805
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x416815
cmp rbx, 0x1000
jae 0x4167d9
nop
jmp 0x416898
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 0x41682d
xor esi, esi
jmp 0x41688a
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 [0x00725128]
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 0x41680b
jmp 0x4167f6
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x00725128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x416920
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x0057d875]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x0057d85c]
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, [0x005791d8]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x4168c0
call sym.runtime.printlock
lea rax, [0x0057d875]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x0057d85c]
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, [0x0057fbda]
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 0x41fe60
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x00724eb1], 0
jne 0x41ff47
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 0x41ff3a
lea rbx, [0x006f7298]
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 0x41ff20
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, [0x005829f8]
mov ebx, 0x2c
call sym.runtime.throw
nop
int3

Function at 0x422220
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x422326
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 0x422263
mov rax, qword [rsp + 0x60]
mov rcx, rdx
mov rbx, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x17]
cmp qword [rsp + 0x18], rbx
jae 0x42231b
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 0x42231b
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 [0x00725128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
test rdx, rdx
jne 0x422309
xor eax, eax
jmp 0x422313
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x70]
test al, al
je 0x422251
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