joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140036b50
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14003def0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140036b70
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140036b78
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140036b70
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140036bc0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140036bb7
test rcx, rcx
je 0x140036b70
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140036ba8
xor eax, eax
ret

Function at 0x140036bd0
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x14003def0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140036c30
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140036c38
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140036c30
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140036c30
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140036c84
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140036c90
add rdx, 0x28
cmp rdx, r9
jne 0x140036c70
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x14003def0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140036cc2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140036cd0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140036cc2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140036cc2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140036cc2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140036d25
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140036d38
add rdx, 0x28
cmp r10, rdx
jne 0x140036d10
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140036d47
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140036d57
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140036d2e
test ecx, ecx
jg 0x140036d40
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14003c5e0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14003c5ed
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003c5fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14003c5e5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14003c615
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14003c602
sub eax, 3
jb 0x14003c62f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14003c666
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14003c656
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14003c654
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14003c643
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14003c5a2
jmp 0x14003c5ed
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x23a00
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14003c6b2
cmp rsi, rcx
jae 0x14003c6ba
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14003c699
cmp al, 0x8f
ja 0x14003c699
cmp byte [rsi - 2], 0xf
je 0x14003c69f
sub al, 0xe8
cmp al, 1
ja 0x14003c683
cmp rsi, rcx
jae 0x14003c6ba
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14003c689
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14003c6ba
lodsb al, byte [rsi]
jmp 0x14003c699
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x3a000]
mov eax, dword [rdi]
or eax, eax
je 0x14003c717
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x3c720]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14003c6c7
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14003c711
mov qword [rbx], rax
add rbx, 8
jmp 0x14003c6e7
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14003c751
cmp al, 0xef
ja 0x14003c743
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14003c723
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14003c732
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x247]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14003c7a5
sub rsp, 0xffffffffffffff80
jmp 0x140004270
Function at 0x1402cd650
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1402cd65d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1402cd66d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1402cd655
lea eax, [rcx + 1]
jmp 0x1402cd67b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1402cd68e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1402cd674
sub eax, 3
jb 0x1402cd6ae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1402cd6fd
sar eax, 1
movsxd rbp, eax
jb 0x1402cd6e4
jmp 0x1402cd6bc
add ebx, ebx
jne 0x1402cd6ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1402cd6e4
inc ecx
add ebx, ebx
jne 0x1402cd6ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1402cd6e4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1402cd6dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1402cd6cc
add ecx, 2
jmp 0x1402cd6e9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1402cd612
jmp 0x1402cd65d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1ed200
mov dl, 0x26
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1402cd74d
cmp rsi, rcx
jae 0x1402cd755
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1402cd734
cmp al, 0x8f
ja 0x1402cd734
cmp byte [rsi - 2], 0xf
je 0x1402cd73a
sub al, 0xe8
cmp al, 1
ja 0x1402cd71e
cmp rsi, rcx
jae 0x1402cd755
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1402cd724
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1402cd755
lodsb al, byte [rsi]
jmp 0x1402cd734
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2c9000]
mov eax, dword [rdi]
or eax, eax
je 0x1402cd7b2
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2cd5e0]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1402cd762
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1402cd7ac
mov qword [rbx], rax
add rbx, 8
jmp 0x1402cd782
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1402cd7f6
cmp al, 0xef
ja 0x1402cd7de
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1402cd7be
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1402cd7cd
mov eax, dword [rdi]
add rdi, 4
jmp 0x1402cd7cd
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1402cd84a
sub rsp, 0xffffffffffffff80
jmp 0x1401ab8a8
Function at 0x14000147f
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14001cdc0]
mov dword [rax], 1
mov rax, qword [0x14001cdd0]
mov dword [rax], 1
mov rax, qword [0x14001cde0]
mov dword [rax], 1
mov rax, qword [0x14001cd80]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014d0
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400014fc
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001522
cmp eax, 0x20b
je 0x140001549
jmp 0x140001578
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001535
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000157d
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001564
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000157d
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140002f32
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
lea rax, str.echoBinSafe
mov qword [rbp - 0x48], rax
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemio.nim
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov word [rbp - 0x30], 0
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.nimFrame_2
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x40], 8
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemiterators.nim
mov qword [rbp - 0x38], rax
mov qword [rbp - 8], 0
mov qword [rbp - 0x40], 9
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemiterators.nim
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x28]
jge 0x140003081
mov qword [rbp - 0x40], 0x332
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemio.nim
mov qword [rbp - 0x38], rax
cmp qword [rbp - 8], 0
js 0x140002fe3
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x28]
jl 0x140002ff7
mov rax, qword [rbp + 0x28]
lea rdx, [rax - 1]
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.raiseIndexError2
mov rax, qword [rbp - 8]
lea rdx, [rax*8]
mov rax, qword [rbp + 0x20]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov rbx, qword [rax]
mov ecx, 1
mov rax, qword [sym.imp.ucrtbase.dll___acrt_iob_func]
call rax
mov r8d, 0
mov rdx, rbx
mov rcx, rax
call sym.writeWindows__systemZio_205
mov qword [rbp - 0x40], 0xb
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemiterators.nim
mov qword [rbp - 0x38], rax
mov edx, 0
mov rax, qword [rbp - 8]
add rax, 1
jno 0x14000305b
mov edx, 1
mov rcx, rax
lea rax, [rbp - 0x58]
mov qword [rax], rcx
mov rax, rdx
and eax, 1
test al, al
je 0x140003074
call sym.raiseOverflow
mov rax, qword [rbp - 0x58]
mov qword [rbp - 8], rax
jmp 0x140002fb1
nop
mov qword [rbp - 0x40], 0x338
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemio.nim
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x14], 0
mov ecx, 1
mov rax, qword [sym.imp.ucrtbase.dll___acrt_iob_func]
call rax
mov r9, rax
mov r8d, 1
mov edx, 1
lea rax, [0x14001b3e8]
mov rcx, rax
call sym.fwrite
mov dword [rbp - 0x14], eax
mov qword [rbp - 0x40], 0x339
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemio.nim
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x18], 0
mov ecx, 1
mov rax, qword [sym.imp.ucrtbase.dll___acrt_iob_func]
call rax
mov rcx, rax
call sym.fflush
mov dword [rbp - 0x18], eax
call sym.popFrame_2
nop
add rsp, 0x88
pop rbx
pop rbp
ret

Function at 0x140004e91
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov dword [rbp - 4], 0
cmp qword [rbp + 0x18], 0
je 0x140004ec0
mov rax, qword [rbp + 0x18]
mov rcx, rax
call sym.nimCStrLen
mov rcx, rax
jmp 0x140004ec5
mov ecx, 0
mov rdx, qword [rbp + 0x10]
mov rax, qword [rbp + 0x18]
mov r9, rdx
mov r8, rcx
mov edx, 1
mov rcx, rax
call sym.fwrite
mov dword [rbp - 4], eax
mov dword [rbp - 8], 0
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.fflush
mov dword [rbp - 8], eax
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140004f00
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
lea rax, str.raiseOutOfMem
mov qword [rbp - 0x28], rax
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemmmdisp.nim
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], 0
mov word [rbp - 0x10], 0
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.nimFrame_3
mov qword [rbp - 0x20], 0x2f
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemmmdisp.nim
mov qword [rbp - 0x18], rax
mov rax, qword [0x140023698]
test rax, rax
je 0x140004f62
mov rax, qword [0x140023698]
call rax
jmp 0x140004f63
nop
mov qword [rbp - 0x20], 0x30
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemmmdisp.nim
mov qword [rbp - 0x18], rax
mov ecx, 2
mov rax, qword [sym.imp.ucrtbase.dll___acrt_iob_func]
call rax
mov rcx, rax
lea rax, str.out_of_memory_n
mov rdx, rax
call sym.rawWrite
mov qword [rbp - 0x20], 0x31
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemmmdisp.nim
mov qword [rbp - 0x18], rax
mov ecx, 1
call sym.exit
nop

Function at 0x140008da1
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
lea rax, str.osDeallocPages
mov qword [rbp - 0x38], rax
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemosalloc.nim
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x30], 0
mov word [rbp - 0x20], 0
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.nimFrame_3
mov qword [rbp - 0x30], 0xbe
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemosalloc.nim
mov qword [rbp - 0x28], rax
mov dword [rbp - 4], 0
mov rax, qword [rbp + 0x10]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x140008e68
mov qword [rbp - 0x30], 0xbf
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemosalloc.nim
mov qword [rbp - 0x28], rax
mov dword [rbp - 8], 0
lea rax, str.virtualFree_failing_
mov rcx, rax
call sym.printf
mov dword [rbp - 8], eax
mov qword [rbp - 0x30], 0xc0
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemosalloc.nim
mov qword [rbp - 0x28], rax
mov ecx, 1
call sym.exit
nop
call sym.popFrame_3
nop
add rsp, 0x60
pop rbp
ret

Function at 0x14000d555
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov dword [rbp - 4], 0
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x10]
mov rax, qword [rbp + 0x18]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fwrite
mov dword [rbp - 4], eax
mov dword [rbp - 8], 0
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.fflush
mov dword [rbp - 8], eax
nop
add rsp, 0x30
pop rbp
ret
Function at 0x14000d9e0
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov rax, qword [0x140023690]
test rax, rax
je 0x14000da17
mov byte [rbp - 1], 0
mov rdx, qword [0x140023690]
mov rax, qword [rbp + 0x10]
mov rcx, rax
call rdx
mov byte [rbp - 1], al
cmp byte [rbp - 1], 0
je 0x14000da8f
jmp 0x14000da18
nop
mov rax, qword [0x140023688]
test rax, rax
je 0x14000da43
mov byte [rbp - 2], 0
mov rdx, qword [0x140023688]
mov rax, qword [rbp + 0x10]
mov rcx, rax
call rdx
mov byte [rbp - 2], al
cmp byte [rbp - 2], 0
je 0x14000da92
jmp 0x14000da44
nop
mov rax, qword [0x1400236b8]
test rax, rax
je 0x14000da78
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.pushCurrentException
mov rax, qword [0x1400236b8]
add rax, 0x10
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.ucrtbase.dll_longjmp]
call rax
nop
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.reportUnhandledError__system_2882
mov ecx, 1
call sym.exit
nop
jmp 0x14000da93
nop
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14000fbb9
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
call sym.writeStackTrace__system_2161
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
mov ecx, 0x7d0
call sym.dollar___systemZdollars_3
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x14000fbfa
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
add rax, 0xa7
jmp 0x14000fbff
mov eax, 0xa7
mov rcx, rax
call sym.rawNewString
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
lea rdx, [0x14001b940]
mov rcx, rax
call sym.appendString
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.appendString
mov rax, qword [rbp - 8]
lea rdx, [0x14001b9a0]
mov rcx, rax
call sym.appendString
mov rax, qword [rbp - 8]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.showErrorMessage2__system_2546
mov ecx, 1
call sym.exit
nop
Function at 0x140010144
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
lea rax, str.nimRegisterThreadLocalMarker
mov qword [rbp - 0x28], rax
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemgc_common.nim
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], 0
mov word [rbp - 0x10], 0
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.nimFrame_3
mov qword [rbp - 0x20], 0x1de
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemgc_common.nim
mov qword [rbp - 0x18], rax
mov rax, qword [0x14002d440]
cmp rax, 0xdab
jg 0x1400101fa
mov qword [rbp - 0x20], 0x1df
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemgc_common.nim
mov qword [rbp - 0x18], rax
mov rax, qword [0x14002d440]
lea rcx, [rax*8]
lea rdx, [0x14002d460]
mov rax, qword [rbp + 0x10]
mov qword [rcx + rdx], rax
mov qword [rbp - 0x20], 0x1e0
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemgc_common.nim
mov qword [rbp - 0x18], rax
mov rax, qword [0x14002d440]
add rax, 1
mov qword [0x14002d440], rax
jmp 0x14001024b
nop
mov qword [rbp - 0x20], 0x1e2
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemgc_common.nim
mov qword [rbp - 0x18], rax
mov ecx, 2
mov rax, qword [sym.imp.ucrtbase.dll___acrt_iob_func]
call rax
mov rcx, rax
lea rax, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov rdx, rax
call sym.rawWrite
mov qword [rbp - 0x20], 0x1e3
lea rax, str.C:_toolsNim_nim_1.6.8lib_systemgc_common.nim
mov qword [rbp - 0x18], rax
mov ecx, 1
call sym.exit
call sym.popFrame_3
nop
add rsp, 0x50
pop rbp
ret
Function at 0x1400103cd
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov dword [rbp + 0x10], ecx
call sym.GC_disable__system_2263
mov ecx, 0x7d0
call sym.rawNewString
mov qword [rbp - 8], rax
lea rax, [rbp - 8]
mov rcx, rax
call sym.rawWriteStackTrace__system_2848
cmp dword [rbp + 0x10], 2
jne 0x14001042a
mov rax, qword [rbp - 8]
mov edx, 0x1f
mov rcx, rax
call sym.resizeString
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
lea rdx, [0x14001ba40]
mov rcx, rax
call sym.appendString
jmp 0x14001051e
nop
cmp dword [rbp + 0x10], 0xb
jne 0x14001045e
mov rax, qword [rbp - 8]
mov edx, 0x3d
mov rcx, rax
call sym.resizeString
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
lea rdx, [0x14001ba80]
mov rcx, rax
call sym.appendString
jmp 0x14001051e
nop
cmp dword [rbp + 0x10], 0x16
jne 0x140010492
mov rax, qword [rbp - 8]
mov edx, 0x1f
mov rcx, rax
call sym.resizeString
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
lea rdx, [0x14001bae0]
mov rcx, rax
call sym.appendString
jmp 0x14001051e
nop
cmp dword [rbp + 0x10], 8
jne 0x1400104c3
mov rax, qword [rbp - 8]
mov edx, 0x1a
mov rcx, rax
call sym.resizeString
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
lea rdx, [0x14001bb20]
mov rcx, rax
call sym.appendString
jmp 0x14001051e
nop
cmp dword [rbp + 0x10], 4
jne 0x1400104f4
mov rax, qword [rbp - 8]
mov edx, 0x1b
mov rcx, rax
call sym.resizeString
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
lea rdx, [0x14001bb60]
mov rcx, rax
call sym.appendString
jmp 0x14001051e
nop
nop
mov rax, qword [rbp - 8]
mov edx, 0xf
mov rcx, rax
call sym.resizeString
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
lea rdx, [0x14001bc00]
mov rcx, rax
call sym.appendString
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.showErrorMessage2__system_2546
call sym.GC_enable__system_2264
mov ecx, 1
call sym.exit
nop

Function at 0x1400106c0
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov ecx, 2
mov rax, qword [sym.imp.ucrtbase.dll___acrt_iob_func]
call rax
mov rcx, rax
lea rax, str.could_not_load:
mov rdx, rax
call sym.rawWrite
mov rax, qword [rbp + 0x20]
mov rcx, rax
call sym.nimToCStringConv_1
mov rbx, rax
mov ecx, 2
mov rax, qword [sym.imp.ucrtbase.dll___acrt_iob_func]
call rax
mov rdx, rbx
mov rcx, rax
call sym.rawWrite
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0xc1
jne 0x14001074e
mov ecx, 2
mov rax, qword [sym.imp.ucrtbase.dll___acrt_iob_func]
call rax
mov rcx, rax
lea rax, str._n_bad_format__library_may_be_wrong_architecture_
mov rdx, rax
call sym.rawWrite
jmp 0x14001074f
nop
mov ecx, 2
mov rax, qword [sym.imp.ucrtbase.dll___acrt_iob_func]
call rax
mov rcx, rax
lea rax, [0x14001c499]
mov rdx, rax
call sym.rawWrite
mov ecx, 1
call sym.exit
nop