joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140116ee2
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov r15, r9
mov r13, r8
mov rdi, rdx
mov rbx, rcx
call fcn.140116860
cmp rax, 2
je 0x140116f56
test rax, rax
jne 0x140116f5b
cmp qword [rbx], 0
je 0x1401170c1
test r15, r15
je 0x140116f68
mov rax, r15
shr rax, 0x20
jne 0x1401170cd
lea r12, [rbx + 8]
mov rcx, qword [r12]
call fcn.1400740c4
mov r14, rax
mov ebp, edx
and bpl, 1
mov rax, qword [rax + 0x28]
cmp rax, 2
jae 0x140116f71
movabs rsi, 0xd00000003
jmp 0x140116fc1
jmp 0x14011703f
mov rsi, rdx
mov eax, 1
jmp 0x14011703f
xor esi, esi
xor eax, eax
jmp 0x14011703f
cmp eax, 2
jne 0x140116fa6
mov rax, qword [r12]
mov rcx, qword [rax]
mov r8d, 0x7fffffff
cmp r15, r8
cmovb r8, r15
mov rdx, r13
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
je 0x140117053
movsxd rsi, eax
jmp 0x140117061
mov rdx, r14
add rdx, 8
mov rsi, qword [r14 + 0x30]
mov qword [r14 + 0x28], 0
mov rcx, r12
call fcn.14007419e
mov rcx, r14
mov edx, ebp
call fcn.14010c204
lea r14, [rsp + 0x30]
mov qword [r14 - 8], 1
mov qword [r14], rsi
mov rcx, rsi
call fcn.140053a23
mov ecx, eax
mov eax, 1
cmp cl, 0xd
jne 0x14011703f
lock and qword [rbx + 0x40], 0xfffffffffffffffe
mov rcx, rbx
mov rdx, rdi
call fcn.140116860
test rax, rax
je 0x140117025
cmp rax, 1
jne 0x140117032
mov rbx, rdx
mov rcx, r14
call fcn.14002dde6
test rbx, rbx
je 0x14011703a
mov eax, 1
mov rsi, rbx
jmp 0x14011703f
mov rax, qword [rdi]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
call qword [rdx + 0x10]
mov rcx, r14
call fcn.14002dde6
mov eax, 2
mov rdx, rsi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x14011708d
xor esi, esi
mov rcx, r14
mov edx, ebp
cmp rsi, r15
jae 0x140117083
call fcn.14010c204
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], rsi
jmp 0x140116f6a
call fcn.14010c204
jmp 0x140116f6a
mov esi, eax
shl rsi, 0x20
or rsi, 2
lea r15, [r14 + 8]
cmp dword [r14 + 0x28], 3
jne 0x1401170ae
mov rcx, r14
add rcx, 0x30
call fcn.14002dde6
mov qword [r14 + 0x28], 0
mov rcx, r12
mov rdx, r15
jmp 0x140116fbc
lea rcx, str.C:UsersAdmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_0.2.25_srciopoll_evented.rs
call fcn.14003fb80
lea rcx, [0x14018958a]
lea r8, str.C:UsersAdmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fiovec_0.1.4_src_syswindows.rsassertion_failed:_src.len_____MAX_LENGTH
mov edx, 0x29
call fcn.1400396c0
int3
Function at 0x140123830
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
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.1401246c0
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.1401246c0
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 0x1401238a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401d21d4]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x140123a30
mov rax, qword [0x1401d21d8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x1401238ec
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x140123975
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x1401238d0
mov rcx, rdi
call fcn.140124400
test rax, rax
mov r12, rax
je 0x140123a82
mov rax, qword [0x1401d21d8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.140124540
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1401d21d8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140123a65
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14012396e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1401239e0
add dword [0x1401d21d4], 1
cmp ebx, 8
jae 0x1401239a1
test bl, 4
jne 0x140123a40
test ebx, ebx
je 0x140123996
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x140123a54
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x140123996
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x1401239ba
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x1401d21d8]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14012396e
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140123830
xor esi, esi
jmp 0x1401238f7
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x140123996
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x140123996
mov rax, qword [0x1401d21d8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.140123830
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.140123830
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x140124050
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1401d2240]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401d2220]
test rbx, rbx
je 0x1401240a4
mov rbp, qword [sym.imp.kernel32.dll_TlsGetValue]
mov rdi, qword [sym.imp.kernel32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14012409b
test rsi, rsi
je 0x14012409b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140124080
lea rcx, [0x1401d2240]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140124400
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1401c0260]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14012446f
mov rcx, r9
call fcn.1401242d0
test eax, eax
je 0x14012446f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14012446d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140124464
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14012446f
add rdx, 0x28
cmp rdx, r9
jne 0x140124450
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x14005d9a0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14005d9ad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14005d9bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14005d9a5
lea eax, [rcx + 1]
jmp 0x14005d9cb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14005d9de
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14005d9c4
sub eax, 3
jb 0x14005d9fe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14005da4d
sar eax, 1
movsxd rbp, eax
jb 0x14005da34
jmp 0x14005da0c
add ebx, ebx
jne 0x14005da0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14005da34
inc ecx
add ebx, ebx
jne 0x14005da1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14005da34
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14005da2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14005da1c
add ecx, 2
jmp 0x14005da39
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14005d962
jmp 0x14005d9ad
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x23600
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14005da99
cmp rsi, rcx
jae 0x14005daa1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14005da80
cmp al, 0x8f
ja 0x14005da80
cmp byte [rsi - 2], 0xf
je 0x14005da86
sub al, 0xe8
cmp al, 1
ja 0x14005da6a
cmp rsi, rcx
jae 0x14005daa1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14005da70
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14005daa1
lodsb al, byte [rsi]
jmp 0x14005da80
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x5b000]
mov eax, dword [rdi]
or eax, eax
je 0x14005dafe
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x6c02c]
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 0x14005daae
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 0x14005daf8
mov qword [rbx], rax
add rbx, 8
jmp 0x14005dace
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 0x14005db38
cmp al, 0xef
ja 0x14005db2a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14005db0a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14005db19
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 + 0x237]
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 0x14005db8c
sub rsp, 0xffffffffffffff80
jmp 0x140009d30
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14008ce40]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14008ce50]
mov dword [rax], 1
mov rax, qword [0x14008ce60]
mov dword [rax], 1
mov rax, qword [0x14008ce00]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14008ce30]
mov dword [0x14009600c], 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 [str._f_t_]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x14008cf00]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x14008cd70]
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 [str.__f_a_]
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 0x140001180
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x14008ce90]
xor edi, edi
mov rax, qword gs:[0x30]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
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 [0x14008cea0]
xor edi, edi
mov eax, dword [rsi]
cmp eax, 1
je 0x140001337
mov eax, dword [rsi]
test eax, eax
je 0x1400013a0
mov dword [0x140096008], 1
mov eax, dword [rsi]
cmp eax, 1
je 0x14000134c
test edi, edi
je 0x14000136d
mov rax, qword [0x14008cdb0]
mov rax, qword [rax]
test rax, rax
je 0x140001223
xor r8d, r8d
mov edx, 2
xor ecx, ecx
call rax
call sym._pei386_runtime_relocator
mov rcx, qword [sym._gnu_exception_handler]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rdx, qword [str.0f_t_]
lea rcx, [sym.__mingw_invalidParameterHandler]
mov qword [rdx], rax
call sym._set_invalid_parameter_handler
call sym._fpreset
mov ebx, dword [0x140096028]
lea edi, [rbx + 1]
movsxd rdi, edi
shl rdi, 3
mov rcx, rdi
call sym.malloc
test ebx, ebx
mov rbp, qword [0x140096020]
mov r12, rax
jle 0x1400013c0
sub rdi, 8
xor ebx, ebx
mov rcx, qword [rbp + rbx]
call sym.strlen
lea rsi, [rax + 1]
mov rcx, rsi
call sym.malloc
mov r8, rsi
mov qword [r12 + rbx], rax
mov rdx, qword [rbp + rbx]
mov rcx, rax
add rbx, 8
call sym.memcpy
cmp rdi, rbx
jne 0x140001280
add rdi, r12
mov qword [rdi], 0
mov qword [0x140096020], r12
call sym.__main
mov rax, qword [0x14008ce10]
mov r8, qword [0x140096018]
mov ecx, dword [0x140096028]
mov rax, qword [rax]
mov qword [rax], r8
mov rdx, qword [0x140096020]
call sym.main
mov ecx, dword [0x14009600c]
mov dword [0x140096010], eax
test ecx, ecx
je 0x1400013c8
mov edx, dword [0x140096008]
test edx, edx
je 0x140001380
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [0x14008cea0]
mov edi, 1
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011e1
mov ecx, 0x1f
call sym._amsg_exit
mov eax, dword [rsi]
cmp eax, 1
jne 0x140001200
mov rdx, qword [0x14008ced0]
mov rcx, qword [0x14008cec0]
call sym._initterm
test edi, edi
mov dword [rsi], 2
jne 0x140001208
xor eax, eax
xchg qword [rbx], rax
jmp 0x140001208
call sym._cexit
mov eax, dword [0x140096010]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [0x14008cef0]
mov dword [rsi], 1
mov rcx, qword [0x14008cee0]
call sym._initterm
jmp 0x1400011f5
mov rdi, rax
jmp 0x1400012b6
mov ecx, eax
call sym.exit
nop
Function at 0x140007c39
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
call sym.nimErrorFlag_7
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x18], 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.fread
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp + 0x20]
je 0x140007cb5
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.checkErr__stdZsyncio_u165
mov rax, qword [rbp - 8]
movzx eax, byte [rax]
movzx eax, al
test eax, eax
jmp 0x140007cb6
nop
mov rax, qword [rbp - 0x10]
add rsp, 0x40
pop rbp
ret

Function at 0x14000940c
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
call sym.nimErrorFlag_7
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x18], 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 qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.checkErr__stdZsyncio_u165
mov rax, qword [rbp - 8]
movzx eax, byte [rax]
movzx eax, al
test eax, eax
nop
mov rax, qword [rbp - 0x10]
add rsp, 0x40
pop rbp
ret

Function at 0x140009a44
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 - 8], 0
cmp qword [rbp + 0x18], 0
je 0x140009a74
mov rax, qword [rbp + 0x18]
mov rcx, rax
call sym.nimCStrLen_1
mov rcx, rax
jmp 0x140009a79
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 qword [rbp - 8], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.fflush
mov dword [rbp - 0xc], eax
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140009ab5
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov rbx, rcx
mov rax, qword [rbx]
mov rdx, qword [rbx + 8]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov ecx, 2
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.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 rdx, qword [rbp - 0x18]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.nimToCStringConv_1
mov rbx, rax
mov ecx, 2
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.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 0x140009b61
mov ecx, 2
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.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 0x140009b62
nop
mov ecx, 2
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call rax
mov rcx, rax
lea rax, [0x14007fca9]
mov rdx, rax
call sym.rawWrite
mov ecx, 1
call sym.exit
nop

Function at 0x14000a3b7
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:Usersham_dDownloads_nim_2.0.0_x64_nim_2.0.0lib_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_8
mov qword [rbp - 0x20], 0x2f
mov rax, qword [0x140096110]
test rax, rax
je 0x14000a40e
mov rax, qword [0x140096110]
call rax
jmp 0x14000a40f
nop
mov qword [rbp - 0x20], 0x30
mov ecx, 2
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.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
mov ecx, 1
call sym.exit
nop

Function at 0x14000d9d6
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:Usersham_dDownloads_nim_2.0.0_x64_nim_2.0.0lib_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_8
mov qword [rbp - 0x30], 0xbe
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 0x14000da7c
mov qword [rbp - 0x30], 0xbf
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
mov ecx, 1
call sym.exit
nop
call sym.popFrame_8
nop
add rsp, 0x60
pop rbp
ret
Function at 0x1400139c6
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 qword [rbp - 8], 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 qword [rbp - 8], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.fflush
mov dword [rbp - 0xc], eax
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140013c2d
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
call sym.nimErrorFlag_8
mov qword [rbp - 8], rax
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0
call sym.writeStackTrace__system_u2556
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
lea rax, [rbp - 0x30]
mov edx, 0x7d0
mov rcx, rax
call sym.dollar___systemZdollars_u8
mov rax, qword [rbp - 8]
movzx eax, byte [rax]
movzx eax, al
test eax, eax
jne 0x140013d5f
mov rax, qword [rbp - 0x30]
lea rdx, [rax + 0xa7]
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.rawNewString
mov rax, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x48]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
mov rax, qword [0x14007f440]
mov rdx, qword [0x14007f448]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
lea rdx, [rbp - 0x50]
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.appendString_2
mov rax, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
lea rdx, [rbp - 0x50]
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.appendString_2
mov rax, qword [0x14007f4e0]
mov rdx, qword [0x14007f4e8]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
lea rdx, [rbp - 0x50]
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.appendString_2
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.showErrorMessage2__system_u3960
mov ecx, 1
call sym.exit
nop
nop
add rsp, 0x70
pop rbp
ret

Function at 0x140013e75
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov ecx, 2
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call rax
mov rcx, rax
lea rax, str.could_not_import:
mov rdx, rax
call sym.rawWrite
mov ecx, 2
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call rax
mov rcx, rax
mov rax, qword [rbp + 0x10]
mov rdx, rax
call sym.rawWrite
mov ecx, 2
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call rax
mov rcx, rax
lea rax, [0x14007fca9]
mov rdx, rax
call sym.rawWrite
mov ecx, 1
call sym.exit
nop