joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008738
Capabilities:
Download url
Execute command
Receive data

Disassembly:
sbb al, 0x48
add edx, 0x27
mov rcx, qword [rcx - 8]
mov ecx, dword [rcx - 8]
sub rax, rcx

Function at 0x140008768
Capabilities:
Download url
Execute command
Receive data

Disassembly:
mov byte [rsp + 0x40], 0
mov rsi, qword [rbp + 0x1a0]
lea r9, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 0xf
cmova r9, qword [rbp + 0x190]
cmp rsi, r14
ja 0x1400087b2
lea rbx, [rbp + 0x210]
mov qword [rbp + 0x220], rsi
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call 0x140038816
mov byte [rbx + rsi], 0
jmp 0x1400087c1
mov rdx, rsi
lea rcx, [rbp + 0x210]
call fcn.14001f111
mov rax, qword [rbp + 0x1c8]
cmp rax, 0xd
jb 0x140008807
lea rbx, [rbp + 0x1b0]
cmp rax, 0xf
cmova rbx, qword [rbp + 0x1b0]
mov qword [rbp + 0x1c0], 0xd
mov r8d, 0xd
lea rdx, str.CraniumV1.dll
mov rcx, rbx
call 0x14003886b
mov byte [rbx + 0xd], 0
jmp 0x14000881f
lea r9, str.CraniumV1.dll
mov edx, 0xd
lea rcx, [rbp + 0x1b0]
call fcn.14001f16f
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x200], xmm1
mov r8d, 0x31
lea rdx, str.https:__dl.cbn.lol_content_download_CraniumV1.dll
lea rcx, [rbp + 0x1f0]
call fcn.14001c88d
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1e0], xmm1
mov r8d, 0x4f
lea rdx, str.https:__github.com_timjans01_CarbonReleases_releases_download_1.7_CraniumV1.dll
lea rcx, [rbp + 0x1d0]
rol byte [rcx], 1
add byte [rax], al
call fcn.14001c8bc
nop
lea r8, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 0xf
cmova r8, qword [rbp + 0x190]
lea rdx, [rbp + 0x1f0]
cmp qword [rbp + 0x208], 0xf
cmova rdx, qword [rbp + 0x1f0]
mov qword [rsp + 0x20], r12
and al, 0x20
xor r9d, r9d
xor ecx, ecx
leave
call qword [0x1400337b0]
test eax, eax
jns 0x140008b2e
add al, byte [rax]
invalid
lea rcx, str.__x__An_error_occured_trying_to_download_CraniumV1._Trying_the_backup_download.__n
Function at 0x1400088ae
Capabilities:
Download url
Execute command
Receive data

Disassembly:
mov byte [rsp + 0x40], 0
mov rsi, qword [rbp + 0x1a0]
lea r9, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 0xf
cmova r9, qword [rbp + 0x190]
cmp rsi, r14
ja 0x1400087b2
lea rbx, [rbp + 0x210]
mov qword [rbp + 0x220], rsi
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call 0x140038816
mov byte [rbx + rsi], 0
jmp 0x1400087c1
mov rdx, rsi
lea rcx, [rbp + 0x210]
call fcn.14001f111
mov rax, qword [rbp + 0x1c8]
cmp rax, 0xd
jb 0x140008807
lea rbx, [rbp + 0x1b0]
cmp rax, 0xf
cmova rbx, qword [rbp + 0x1b0]
mov qword [rbp + 0x1c0], 0xd
mov r8d, 0xd
lea rdx, str.CraniumV1.dll
mov rcx, rbx
call 0x14003886b
mov byte [rbx + 0xd], 0
jmp 0x14000881f
lea r9, str.CraniumV1.dll
mov edx, 0xd
lea rcx, [rbp + 0x1b0]
call fcn.14001f16f
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x200], xmm1
mov r8d, 0x31
lea rdx, str.https:__dl.cbn.lol_content_download_CraniumV1.dll
lea rcx, [rbp + 0x1f0]
call fcn.14001c88d
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1e0], xmm1
mov r8d, 0x4f
lea rdx, str.https:__github.com_timjans01_CarbonReleases_releases_download_1.7_CraniumV1.dll
lea rcx, [rbp + 0x1d0]
rol byte [rcx], 1
add byte [rax], al
call fcn.14001c8bc
nop
lea r8, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 0xf
cmova r8, qword [rbp + 0x190]
lea rdx, [rbp + 0x1f0]
cmp qword [rbp + 0x208], 0xf
cmova rdx, qword [rbp + 0x1f0]
mov qword [rsp + 0x20], r12
and al, 0x20
xor r9d, r9d
xor ecx, ecx
leave
call qword [0x1400337b0]
test eax, eax
jns 0x140008b2e
add al, byte [rax]
invalid
lea rcx, str.__x__An_error_occured_trying_to_download_CraniumV1._Trying_the_backup_download.__n

Function at 0x1400088cc
Capabilities:
Download url
Execute command
Receive data

Disassembly:
add al, byte [rax]
add byte [rax - 0x73], cl
or eax, 0x48d06
lea eax, [rax + rax]
call fcn.140008e7f
lea r8, [rbp + 0x190]
add dword [rax], eax
add byte [rax - 0x7d], cl
mov ebp, 0x1a8
invalid
cmova r8, qword [rbp + 0x190]
lea rdx, [rbp + 0x1d0]

Function at 0x1400088d2
Capabilities:
Download url
Execute command
Receive data

Disassembly:
add al, byte [rax]
add byte [rax - 0x73], cl
or eax, 0x48d06
lea eax, [rax + rax]
call fcn.140008e7f
lea r8, [rbp + 0x190]
add dword [rax], eax
add byte [rax - 0x7d], cl
mov ebp, 0x1a8
invalid
cmova r8, qword [rbp + 0x190]
lea rdx, [rbp + 0x1d0]

Function at 0x1400088d8
Capabilities:
Download url
Execute command
Receive data

Disassembly:
add al, byte [rax]
add byte [rax - 0x73], cl
or eax, 0x48d06
lea eax, [rax + rax]
call fcn.140008e7f
lea r8, [rbp + 0x190]
add dword [rax], eax
add byte [rax - 0x7d], cl
mov ebp, 0x1a8
invalid
cmova r8, qword [rbp + 0x190]
lea rdx, [rbp + 0x1d0]

Function at 0x14000a1e4
Capabilities:
Execute command
Set console window title

Disassembly:
add r15b, dil
adc eax, 0x29424
lea rdx, [0x1400062a0]
lea ecx, [rsi + 0xf]
call qword [0x140033610]
cmp byte [0x140064400], sil
je 0x14000a248
call fcn.1400129ca
lea rcx, str.CarbonLauncher.exe
call fcn.14000f376
lea rcx, str.node__v
Function at 0x14000b421
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 0xf
add byte [rax], al
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14000b423
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b41e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b41e
call 0x14003aba3
call fcn.140010918
lea rcx, str.____Closing_Carbon__n
call fcn.14000b9e4
lea rcx, str.pause
call qword [0x140033648]
lea rcx, str.CarbonLauncher.exe
call fcn.1400105ad
nop dword [rax]
Function at 0x14000bbf0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000bc12
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14000bc21
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [0x140033240]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000bc44
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000bc46
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000bc82
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call 0x14003bccb
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000bd1e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000bcbd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000bcfe
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [0x140033740]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000bd1e
cmp rbx, rax
ja 0x14000bcd0
test rbx, rbx
je 0x14000bd1e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [0x140033740]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x14002ec12
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 8
mov rax, qword [rcx]
mov r9, rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp], rdi
mov rdi, rdx
mov rcx, qword [rax + 0x10]
cmp rcx, qword [rax + 8]
jae 0x14002ec0a
mov byte [rcx], 0x22
inc qword [rax + 0x10]
mov rax, qword [r9]
mov ebx, r8d
test r8d, r8d
je 0x14002ed05
out dx, eax
add byte [rax], al
add byte [rax], al
mov qword [rsp + 0x18], rsi
xor r11d, r11d
lea rsi, [0x140000000]
nop word [rax + rax]
movzx edx, byte [rdi]
lea rdi, [rdi + 1]
mov rax, qword [r9]
inc r11
movzx r8d, byte [rdx + rsi + 0x59040]
mov rcx, qword [rax + 0x10]
test r8b, r8b
je 0x14002ece8
cmp rcx, qword [rax + 8]
jae 0x14002ec60
mov byte [rcx], 0x5c
inc qword [rax + 0x10]
mov rax, qword [r9]
mov rcx, rax
mov r10, qword [rax + 0x10]
cmp r10, qword [rax + 8]
jae 0x14002ec7d
mov byte [r10], r8b
inc qword [rax + 0x10]
mov rax, qword [r9]
mov rcx, rax
cmp r8b, 0x75
jne 0x14002ecf7
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx + 8]
jae 0x14002ec94
mov byte [rax], 0x30
inc qword [rcx + 0x10]
mov rax, qword [r9]
mov rcx, qword [rax + 0x10]
cmp rcx, qword [rax + 8]
jae 0x14002eca8
mov byte [rcx], 0x30
inc qword [rax + 0x10]
mov rcx, qword [r9]
mov r8, qword [rcx + 0x10]
cmp r8, qword [rcx + 8]
jae 0x14002eccb
mov rax, rdx
shr rax, 4
movzx eax, byte [rax + rsi + 0x59140]
mov byte [r8], al
inc qword [rcx + 0x10]
mov rax, qword [r9]
mov r8, qword [rax + 0x10]
cmp r8, qword [rax + 8]
jae 0x14002ecf7
and edx, 0xf
movzx ecx, byte [rdx + rsi + 0x59140]
mov byte [r8], cl
jmp 0x14002ecf0
cmp rcx, qword [rax + 8]
jae 0x14002ecf7
mov byte [rcx], dl
inc qword [rax + 0x10]
mov rax, qword [r9]
cmp r11, rbx
jb 0x14002ec30
mov rsi, qword [rsp + 0x18]
mov rcx, qword [rax + 0x10]
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp rcx, qword [rax + 8]
jae 0x14002ed1f
mov byte [rcx], 0x22
inc qword [rax + 0x10]
mov al, 1
add rsp, 8
ret
Function at 0x140001180
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x140342560]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov rax, qword gs:[0x30]
mov rsi, qword [rax + 8]
jmp 0x1400011c0
cmp rsi, rax
je 0x140001320
mov ecx, 0x3e8
call rbp
mov rax, rdi
lock cmpxchg qword [rbx], rsi
test rax, rax
jne 0x1400011b0
mov rsi, qword [0x140342570]
xor edi, edi
mov eax, dword [rsi]
cmp eax, 1
je 0x140001337
mov eax, dword [rsi]
test eax, eax
je 0x1400013a0
mov dword [0x14036a008], 1
mov eax, dword [rsi]
cmp eax, 1
je 0x14000134c
test edi, edi
je 0x14000136d
mov rax, qword [0x1403424c0]
mov rax, qword [rax]
test rax, rax
je 0x140001223
xor r8d, r8d
mov edx, 2
xor ecx, ecx
call rax
call fcn.14000c390
mov rcx, qword [0x140342620]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rdx, qword [0x140342550]
lea rcx, section..text
mov qword [rdx], rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.14000c1a0
mov ebx, dword [0x14036a028]
lea edi, [rbx + 1]
movsxd rdi, edi
shl rdi, 3
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r12, qword [0x14036a020]
mov rbp, rax
test ebx, ebx
jle 0x1400013c0
sub rdi, 8
xor ebx, ebx
mov rcx, qword [r12 + rbx]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rsi, [rax + 1]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, rsi
mov qword [rbp + rbx], rax
mov rdx, qword [r12 + rbx]
mov rcx, rax
add rbx, 8
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
cmp rdi, rbx
jne 0x140001280
add rdi, rbp
mov qword [rdi], 0
mov qword [0x14036a020], rbp
call fcn.14000bfa0
mov rax, qword [0x1403424e0]
mov r8, qword [0x14036a018]
mov ecx, dword [0x14036a028]
mov rax, qword [rax]
mov qword [rax], r8
mov rdx, qword [0x14036a020]
call fcn.1400b6f20
mov ecx, dword [0x14036a00c]
mov dword [0x14036a010], eax
test ecx, ecx
je 0x1400013c8
mov edx, dword [0x14036a008]
test edx, edx
je 0x140001380
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [0x140342570]
mov edi, 1
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011e1
mov ecx, 0x1f
call fcn.140016600
mov eax, dword [rsi]
cmp eax, 1
jne 0x140001200
mov rdx, qword [0x1403425c0]
mov rcx, qword [0x1403425b0]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [rsi], 2
test edi, edi
jne 0x140001208
xor eax, eax
xchg qword [rbx], rax
jmp 0x140001208
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14036a010]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [0x1403425e0]
mov rcx, qword [0x1403425d0]
mov dword [rsi], 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x1400011f5
mov rdi, rax
jmp 0x1400012b5
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
sub rsp, 0x28
mov rax, qword [0x140342500]
mov dword [rax], 1
call fcn.140001180
nop
nop
add rsp, 0x28
ret
Function at 0x14000c1b0
Capabilities:
Write file on windows

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

Function at 0x14000c220
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14036a094]
mov rbx, rcx
test esi, esi
jle 0x14000c350
mov rax, qword [0x14036a098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000c26b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000c2f5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000c250
mov rcx, rbx
call fcn.14000cc90
mov rdi, rax
test rax, rax
je 0x14000c372
mov rax, qword [0x14036a098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000cdd0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14036a098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000c357
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000c2ee
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14000c300
add dword [0x14036a094], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14036a098]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000c2ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000c1b0
nop dword [rax]
xor esi, esi
jmp 0x14000c278
mov rax, qword [0x14036a098]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14000c1b0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14000c1b0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x14000c900
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14036a100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14036a0e0]
test rbx, rbx
je 0x14000c95c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x14000c953
test eax, eax
jne 0x14000c953
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000c938
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

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

Disassembly:
mov rdx, qword [0x140342480]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000ccb0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000ccb8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000ccb0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000cd0d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000cd04
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000ccb0
add rax, 0x28
cmp rax, r9
jne 0x14000ccf0
xor eax, eax
ret

Function at 0x14000cd10
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140342480]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000cd2f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000cd38
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000cd2f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14000cdd0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140342480]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000cdef
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000cdf8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x14000dc90
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
mov r8d, 0x2d
lea rdx, str._buffer_overflow_detected_:_terminated_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x14000dcc0
mov ecx, 8
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x14000dce0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
mov r8d, 0x2c
lea rdx, str._stack_smashing_detected_:_terminated_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x14000dd10
mov ecx, 2
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140018a20
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140342580]
mov qword [rsp + 0x48], 0
lea rbx, [rsp + 0x20]
mov rdx, qword [rax]
mov qword [rsp + 0x58], rdx
xor edx, edx
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x4d], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r8, str.Error_cleaning_up_spin_keys_for_thread__lu._n
mov edx, 0x35
mov rcx, rbx
mov r9d, eax
call fcn.140016450
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop word cs:[rax + rax]

Function at 0x140018e30
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x14036ac20], 1
je 0x140018ea8
lea rdi, [0x14036ac20]
mov rcx, rdi
call fcn.1400187b0
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.1400180e0
mov esi, dword [0x14036ac20]
test esi, esi
jne 0x140018eb8
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400b9378], eax
cmp eax, 0xffffffff
je 0x1400b7fd6
mov dword [0x14036ac20], 1
mov rcx, rbp
call fcn.1400183b0
test rbx, rbx
je 0x140018ea8
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140018ab0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp esi, 1
je 0x140018e88
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__ld_n
mov rcx, rax
call fcn.140016490
jmp 0x140018e88
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
mov rax, qword [0x28]
ud2

Function at 0x140018ee0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.140018bc0
mov rbx, rax
test rax, rax
je 0x140018fdc
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.1400186b0
cmp eax, 1
je 0x140018fe8
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rsi, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, rsi
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400b7fdc
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x1400b9378]
mov rdx, rbx
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400b7fdc
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.140018a20
nop
nop