joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14019a854
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov dword [rsp + 4], 0
mov dword [rsp], 0xffffffff
movsxd rax, dword [rsp + 4]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x14019a8e7
movsxd rax, dword [rsp + 4]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0xc]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov dword [rsp + 8], 7
jmp 0x14019a8b2
mov eax, dword [rsp + 8]
dec eax
mov dword [rsp + 8], eax
cmp dword [rsp + 8], 0
jl 0x14019a8db
mov eax, dword [rsp]
and eax, 1
neg eax
mov dword [rsp + 0x10], eax
mov eax, dword [rsp]
shr eax, 1
mov ecx, dword [rsp + 0x10]
and ecx, 0xedb88320
xor eax, ecx
mov dword [rsp], eax
jmp 0x14019a8a8
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
jmp 0x14019a86c
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret
Function at 0x1401bdbe0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov qword [rax], 0
mov rax, qword [rsp + 8]
mov qword [rax + 8], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x10325476
ret
Function at 0x1401c3ad4
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 8]
mov qword [rax + 0x28], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x6a09e667
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0xbb67ae85
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x3c6ef372
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0xa54ff53a
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x510e527f
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x9b05688c
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x1f83d9ab
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x5be0cd19
ret
Function at 0x1401c5d2c
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x160
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov byte [rsp + 0x40], 0
call fcn.14019a6d0
mov byte [rsp + 0x41], al
lea rax, [rsp + 0x140]
mov qword [rsp + 0x90], rax
mov dl, byte [rsp + 0x41]
lea rcx, [rsp + 0xa8]
call fcn.140008f34
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.1400062e4
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
xor ecx, ecx
call fcn.1401c7170
nop
mov r9d, 1
mov r8d, eax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x170]
call fcn.1401c72ec
nop
mov rax, qword [rsp + 0xa8]
sub rax, 0x18
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.14000d000
mov rax, qword [rsp + 0x170]
movzx eax, byte [rax + 0x20]
test eax, eax
je 0x1401c6011
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
bts eax, 0x1a
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
bts eax, 0x13
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0x100]
mov rdi, rax
xor eax, eax
mov ecx, 0x1c
rep stosb byte [rdi], al
lea rax, [rsp + 0x5c]
mov rdi, rax
xor eax, eax
mov ecx, 6
rep stosb byte [rdi], al
lea rax, [rsp + 0x100]
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0xd8], rax
xor edx, edx
lea rcx, [rsp + 0x120]
call fcn.1401c7068
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0x18], 0x10
jb 0x1401c5ef0
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
jmp 0x1401c5efa
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xd0]
call fcn.140177b24
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xd8]
call fcn.140174810
mov qword [rsp + 0x38], 0
mov ecx, dword [rsp + 0x44]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0xe0]
mov r9, rcx
mov r8, rax
mov rdx, qword [rsp + 0xe8]
mov rax, qword [rsp + 0x170]
mov rcx, qword [rax + 0x30]
call fcn.1401b6894
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x120]
call fcn.140007104
nop
lea rcx, [rsp + 0x5c]
call fcn.140086dc0
nop
lea rcx, [rsp + 0x100]
call fcn.1400041c0
nop
cmp qword [rsp + 0x50], 0
je 0x1401c6007
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1401b6374
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x48]
mov edx, 0x20000013
mov rcx, qword [rsp + 0x50]
call fcn.1401b6524
cmp dword [rsp + 0x48], 0xc8
jne 0x1401c6007
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x50]
call fcn.1401b66e4
mov rcx, qword [rsp + 0x170]
call fcn.1401c7280
mov al, byte [rsp + 0x40]
add rsp, 0x160
pop rdi
ret
Function at 0x140002ff0
Capabilities:
Parse pe header

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

Disassembly:
call fcn.141e2a1df
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 0x141e2a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141e2a06f
add dl, dl
jne 0x141e2a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141e2a0f6
xor eax, eax
add dl, dl
jne 0x141e2a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141e2a1ad
add dl, dl
jne 0x141e2a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141e2a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141e2a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141e2a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141e2a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141e2a07e
mov eax, 1
add dl, dl
jne 0x141e2a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141e2a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141e2a0fb
sub eax, ebx
mov ebx, 1
jne 0x141e2a14c
mov ecx, 1
add dl, dl
jne 0x141e2a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141e2a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141e2a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141e2a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141e2a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141e2a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141e2a15d
cmp eax, 0x7d00
jae 0x141e2a19b
cmp eax, 0x500
jb 0x141e2a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141e2a07e
cmp eax, 0x7f
ja 0x141e2a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141e2a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141e2a1d2
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 0x141e2a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400018f8
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x138
lea rbp, [rsp + 0x80]
call fcn.14000e550
lea rax, [rbp + 0x50]
lea rdx, [0x140109040]
mov rcx, rax
call fcn.140001574
lea rax, [rbp + 0x30]
lea rdx, [0x140109060]
mov rcx, rax
call fcn.140001574
lea rax, [rbp + 0x50]
mov rcx, rax
call fcn.140031770
mov qword [rbp + 0xa8], rax
lea rax, [rbp + 0x30]
mov rcx, rax
call fcn.140031770
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0x98], 0x10
mov rdx, qword [rbp + 0xa8]
lea rax, [rbp + 0x50]
mov rcx, rax
call fcn.1400014af
mov qword [rbp + 0x90], rax
mov rdx, qword [rbp + 0xa0]
lea rax, [rbp + 0x30]
mov rcx, rax
call fcn.1400014af
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x98]
mov rdx, rax
lea rax, [0x1401090c0]
mov rcx, rax
call fcn.1400014af
mov qword [rbp + 0x80], rax
mov rax, qword [rbp + 0x98]
mov r8d, eax
mov rax, qword [rbp + 0xa8]
mov r10d, eax
lea rax, [rbp + 0x20]
mov rcx, qword [rbp + 0x80]
mov rdx, qword [rbp + 0x90]
mov dword [rsp + 0x20], r8d
mov r9, rcx
mov r8d, r10d
mov rcx, rax
call fcn.140001430
mov rax, qword [rbp + 0x98]
mov r8d, eax
mov rax, qword [rbp + 0xa0]
mov r10d, eax
lea rax, [rbp + 0x10]
mov rcx, qword [rbp + 0x80]
mov rdx, qword [rbp + 0x88]
mov dword [rsp + 0x20], r8d
mov r9, rcx
mov r8d, r10d
mov rcx, rax
call fcn.140001430
lea rax, [rbp + 0x77]
mov qword [rbp + 0x78], rax
nop
nop
lea rdx, [rbp + 0x77]
lea rax, [rbp - 0x10]
mov r8, rdx
lea rdx, str.C:WindowsTemp_
mov rcx, rax
call fcn.1400b8950
lea rax, [rbp + 0x77]
mov rcx, rax
call fcn.1400a9f50
nop
lea rax, [0x140109080]
mov rdx, rax
lea rax, [0x140109080]
mov rcx, rax
call fcn.1400b9010
mov rdx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov r8, rdx
mov rdx, rax
lea rax, [0x140109080]
mov rcx, rax
call fcn.1400017e4
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x10]
mov r8, rdx
mov rdx, rax
lea rax, [0x1401090a0]
mov rcx, rax
call fcn.1400017e4
lea rax, [rbp - 0x30]
lea r8, [0x140109080]
lea rdx, str.cmd__k_start
mov rcx, rax
call fcn.1400c96b0
lea rax, [rbp - 0x50]
lea r8, [0x1401090a0]
lea rdx, str.cmd__k_start
mov rcx, rax
call fcn.1400c96b0
lea rax, [rbp - 0x30]
mov rcx, rax
call fcn.1400315d0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WinExec]
call rax
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.1400315d0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WinExec]
call rax
mov ebx, 0
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.1400b8eb0
lea rax, [rbp - 0x30]
mov rcx, rax
call fcn.1400b8eb0
lea rax, [rbp - 0x10]
mov rcx, rax
call fcn.1400b8eb0
lea rax, [rbp + 0x30]
mov rcx, rax
call fcn.1400b8eb0
lea rax, [rbp + 0x50]
mov rcx, rax
call fcn.1400b8eb0
mov eax, ebx
jmp 0x140001bd2
add rsp, 0x138
pop rbx
pop rbp
ret
Function at 0x140004990
Capabilities:
Parse pe header

Disassembly:
push rsi
sub rsp, 0x30
mov rax, qword [rcx + 0x18]
movzx edx, byte [rax]
cmp dl, 0x4c
je 0x140004a00
jg 0x1400049c0
sub edx, 0x49
cmp dl, 1
ja 0x140004a10
add rax, 1
mov qword [rcx + 0x18], rax
add rsp, 0x30
pop rsi
jmp fcn.140004a30
cmp dl, 0x58
jne 0x140004a10
add rax, 1
mov esi, dword [rcx + 0x4c]
mov dword [rcx + 0x4c], 1
mov qword [rcx + 0x18], rax
mov qword [rsp + 0x28], rcx
call fcn.140004d00
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rcx + 0x18]
mov dword [rcx + 0x4c], esi
cmp byte [rdx], 0x45
jne 0x140004a20
add rdx, 1
mov qword [rcx + 0x18], rdx
add rsp, 0x30
pop rsi
ret
add rsp, 0x30
pop rsi
jmp fcn.1400047a0
add rsp, 0x30
pop rsi
jmp fcn.1400030d0
xor eax, eax
jmp 0x1400049fa
Function at 0x14000e740
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 fcn.14001a050
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14001a050
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x14000e7b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401091b4]
mov rbx, rcx
test esi, esi
jle 0x14000e8e0
mov rax, qword [0x1401091b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000e7fb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000e885
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000e7e0
mov rcx, rbx
call fcn.14000f260
mov rdi, rax
test rax, rax
je 0x14000e902
mov rax, qword [0x1401091b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000f3a0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1401091b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000e8e7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000e87e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14000e890
add dword [0x1401091b4], 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 [0x1401091b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000e87e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000e740
nop dword [rax]
xor esi, esi
jmp 0x14000e808
mov rax, qword [0x1401091b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14000e740
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14000e740
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000eea0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140109220]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140109200]
test rbx, rbx
je 0x14000ef04
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop word cs:[rax + rax]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x14000eefb
test eax, eax
jne 0x14000eefb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000eee0
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 0x14000f260
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400e0e90]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000f280
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000f288
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000f280
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000f2dd
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 0x14000f2d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000f280
add rax, 0x28
cmp rax, r9
jne 0x14000f2c0
xor eax, eax
ret

Function at 0x14000f2e0
Capabilities:
Parse pe header

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

Function at 0x14000f3a0
Capabilities:
Parse pe header

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

Function at 0x140010180
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
mov r8d, 0x2d
lea rdx, str._buffer_overflow_detected_:_terminated_n
call sub.msvcrt.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x1400101b0
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 0x1400101d0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
mov r8d, 0x2c
lea rdx, str._stack_smashing_detected_:_terminated_n
call sub.msvcrt.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x140010200
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 0x14001c770
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x140109d70], 1
je 0x14001c810
lea rdi, [0x140109d70]
mov rcx, rdi
call fcn.14001c0e0
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.14001b9c0
mov esi, dword [0x140109d70]
test esi, esi
jne 0x14001c7e8
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400ce2f8], eax
cmp eax, 0xffffffff
je 0x1400cd4b6
mov dword [0x140109d70], 1
mov rcx, rbp
call fcn.14001bc90
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.14001c3d0
cmp esi, 1
je 0x14001c7cc
mov ecx, 2
call qword [fcn.14001a050]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__ld_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x14001c7cc
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
mov rax, qword [0x28]
ud2

Function at 0x14001c820
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.14001c500
mov rbx, rax
test rax, rax
je 0x14001c91c
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.14001bfb0
cmp eax, 1
je 0x14001c928
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 0x1400cd4bc
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x1400ce2f8]
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 0x1400cd4bc
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.14001c340
nop
nop

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

Disassembly:
sub rsp, 0x28
call fcn.14001c770
mov ecx, dword [0x1400ce2f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c950
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.14001c820
Function at 0x14001d110
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov r12, qword [0x1400e0f90]
mov rax, qword [r12]
mov qword [rsp + 0x38], rax
mov eax, dword [rcx]
mov rbx, rcx
mov rsi, rdx
test rdx, rdx
je 0x14001d270
cmp eax, 1
je 0x14001d175
call fcn.14001c0e0
lea r13, [rax + 8]
mov rdi, rax
mov rcx, r13
call fcn.14001b9c0
mov ebp, dword [rbx]
test ebp, ebp
je 0x14001d198
cmp ebp, 1
jne 0x14001d238
mov rcx, r13
call fcn.14001bc90
mov rcx, rdi
call fcn.14001c3d0
xor eax, eax
mov rdx, qword [rsp + 0x38]
sub rdx, qword [r12]
jne 0x14001d2bb
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rax, [0x14001c4d0]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.14001c770
mov ecx, dword [0x1400ce2f8]
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rbp
test rax, rax
je 0x14001d2a8
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.14001c770
mov ecx, dword [0x1400ce2f8]
call rbp
test rax, rax
je 0x14001d290
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
lock or qword [rsp], 0
call rsi
call fcn.14001c770
mov ecx, dword [0x1400ce2f8]
call rbp
test rax, rax
je 0x14001d280
mov rdx, qword [rsp + 0x30]
mov rcx, r13
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
call fcn.14001bc90
mov rcx, rdi
call fcn.14001c3d0
jmp 0x14001d175
mov ecx, 2
call qword [fcn.14001a050]
mov r9d, ebp
mov r8, rbx
lea rdx, str._once__p_is__ld_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
mov rcx, r13
call fcn.14001bc90
mov rcx, rdi
call fcn.14001c3d0
jmp 0x14001d175
mov eax, 0x16
jmp 0x14001d177
call fcn.14001c820
test rax, rax
jne 0x14001d20e
jmp 0x1400cd4ee
call fcn.14001c820
test rax, rax
jne 0x14001d1eb
jmp 0x1400cd4df
call fcn.14001c820
test rax, rax
jne 0x14001d1c6
jmp 0x1400cd4d5
call fcn.1400101d0
nop
nop word cs:[rax + rax]
nop dword [rax]
mov rax, qword [pe_dos_header]
ud2
lea rax, [rsp + 0x20]
mov qword [0], rax
ud2
mov rax, qword [rsp + 0x30]
mov qword [0], rax
ud2

Function at 0x14001d550
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.14001c770
mov ecx, dword [0x1400ce2f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001d5c8
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.14001bfc0
cmp esi, dword [rbx + 0x48]
jae 0x14001d5a3
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x14001d5a3
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.14001c020
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.14001c820
mov rbx, rax
jmp 0x14001d57d