joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012510
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000c038
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001259a
cmp byte [rbp - 0x21], r15b
je 0x140012595
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400125d0
call fcn.140008dd4
test eax, eax
jne 0x1400125bc
cmp byte [rbp - 0x21], r15b
je 0x1400125b4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400125d0
cmp byte [rbp - 0x21], r15b
je 0x1400125cd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000b618
test eax, eax
jne 0x140012670
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000c038
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001260f
cmp byte [rbp - 0x21], r15b
je 0x140012644
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140012644
call fcn.140008dd4
test eax, eax
jne 0x140012630
cmp byte [rbp - 0x21], r15b
je 0x140012629
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140012644
cmp byte [rbp - 0x21], r15b
je 0x140012641
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000b618
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140012670
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140012673
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140012681
mov rcx, rdi
call fcn.140008b84
cmp byte [rbp + 0x3f], r15b
je 0x140012690
mov rcx, qword [rbp + 0x27]
call fcn.140008b84
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140001e90
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x1400604a0]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400604b0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call sym._amsg_exit
jmp 0x14000123c
mov rax, qword [0x1400604b0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400604b0]
mov dword [rax], 1
mov rax, qword [0x140060500]
mov rdx, rax
mov rax, qword [0x1400604f0]
mov rcx, rax
call sym._initterm
jmp 0x14000123c
mov dword [0x14006c024], 1
mov rax, qword [0x1400604b0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400604e0]
mov rdx, rax
mov rax, qword [0x1400604d0]
mov rcx, rax
call sym._initterm
mov rax, qword [0x1400604b0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x1400604a0]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1400603c0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1400603c0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call sym._pei386_runtime_relocator
mov rax, qword [sym._gnu_exception_handler]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x140060490]
mov qword [rdx], rax
lea rax, [sym.__mingw_invalidParameterHandler]
mov rcx, rax
call sym._set_invalid_parameter_handler
call sym._fpreset
mov eax, dword [0x14006c004]
lea rdx, [0x14006c008]
mov ecx, eax
call sym.duplicate_ppstrings
call sym.__main
mov rax, qword [0x140060420]
mov rax, qword [rax]
mov rdx, qword [0x14006c010]
mov qword [rax], rdx
mov rcx, qword [0x14006c010]
mov rdx, qword [0x14006c008]
mov eax, dword [0x14006c004]
mov r8, rcx
mov ecx, eax
call sym.main
mov dword [0x14006c01c], eax
mov eax, dword [0x14006c020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14006c01c]
mov ecx, eax
call sym.exit
mov eax, dword [0x14006c024]
test eax, eax
jne 0x14000136c
call sym._cexit
mov eax, dword [0x14006c01c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140060450]
mov dword [rax], 1
mov rax, qword [0x140060460]
mov dword [rax], 1
mov rax, qword [0x140060470]
mov dword [rax], 1
mov rax, qword [0x140060410]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
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 0x1400013f5
mov eax, 0
jmp 0x140001476
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 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400075d2
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_5
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 0x14000764e
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 0x14000764f
nop
mov rax, qword [rbp - 0x10]
add rsp, 0x40
pop rbp
ret

Function at 0x140008ef7
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_5
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 0x140009501
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 0x140009531
mov rax, qword [rbp + 0x18]
mov rcx, rax
call sym.nimCStrLen_1
mov rcx, rax
jmp 0x140009536
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 0x140009572
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_2
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 0x14000961e
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 0x14000961f
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, [0x14005b4c9]
mov rdx, rax
call sym.rawWrite
mov ecx, 1
call sym.exit
nop

Function at 0x140009e74
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:_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_7
mov qword [rbp - 0x20], 0x2f
mov rax, qword [0x14006c170]
test rax, rax
je 0x140009ecb
mov rax, qword [0x14006c170]
call rax
jmp 0x140009ecc
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 0x14000d4aa
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:_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_7
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 0x14000d550
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_7
nop
add rsp, 0x60
pop rbp
ret

Function at 0x1400134a2
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 0x140013709
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
call sym.nimErrorFlag_6
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 0x14001383b
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 [0x14005ae80]
mov rdx, qword [0x14005ae88]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
lea rdx, [rbp - 0x50]
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.appendString_1
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_1
mov rax, qword [0x14005af20]
mov rdx, qword [0x14005af28]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
lea rdx, [rbp - 0x50]
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.appendString_1
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 0x140013954
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, [0x14005b4c9]
mov rdx, rax
call sym.rawWrite
mov ecx, 1
call sym.exit
nop
Function at 0x140014463
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov dword [rbp + 0x10], ecx
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0
lea rax, [rbp - 0x20]
mov edx, 0x7d0
mov rcx, rax
call sym.rawNewString
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.rawWriteStackTrace__system_u4324
cmp dword [rbp + 0x10], 2
jne 0x1400144ed
lea rax, [rbp - 0x10]
mov edx, 0x1f
mov rcx, rax
call sym.prepareAdd
mov rax, qword [0x14005af90]
mov rdx, qword [0x14005af98]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
lea rdx, [rbp - 0x20]
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.appendString_1
jmp 0x14001462c
nop
cmp dword [rbp + 0x10], 0xb
jne 0x140014530
lea rax, [rbp - 0x10]
mov edx, 0x3d
mov rcx, rax
call sym.prepareAdd
mov rax, qword [0x14005aff0]
mov rdx, qword [0x14005aff8]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
lea rdx, [rbp - 0x20]
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.appendString_1
jmp 0x14001462c
nop
cmp dword [rbp + 0x10], 0x16
jne 0x140014573
lea rax, [rbp - 0x10]
mov edx, 0x1f
mov rcx, rax
call sym.prepareAdd
mov rax, qword [0x14005b030]
mov rdx, qword [0x14005b038]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
lea rdx, [rbp - 0x20]
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.appendString_1
jmp 0x14001462c
nop
cmp dword [rbp + 0x10], 8
jne 0x1400145b3
lea rax, [rbp - 0x10]
mov edx, 0x1a
mov rcx, rax
call sym.prepareAdd
mov rax, qword [0x14005b070]
mov rdx, qword [0x14005b078]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
lea rdx, [rbp - 0x20]
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.appendString_1
jmp 0x14001462c
nop
cmp dword [rbp + 0x10], 4
jne 0x1400145f3
lea rax, [rbp - 0x10]
mov edx, 0x1b
mov rcx, rax
call sym.prepareAdd
mov rax, qword [0x14005b0b0]
mov rdx, qword [0x14005b0b8]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
lea rdx, [rbp - 0x20]
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.appendString_1
jmp 0x14001462c
nop
nop
lea rax, [rbp - 0x10]
mov edx, 0xf
mov rcx, rax
call sym.prepareAdd
mov rax, qword [0x14005b140]
mov rdx, qword [0x14005b148]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
lea rdx, [rbp - 0x20]
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.appendString_1
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.showErrorMessage2__system_u3960
mov ecx, 1
call sym.exit
nop
Function at 0x1400176e0
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov byte [rbp - 1], 0
lea rax, [0x140059300]
mov rcx, rax
call sym.__emutls_get_address
movzx eax, byte [rax]
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
xor eax, 1
test al, al
jne 0x14001772c
lea rax, [0x140059400]
mov rcx, rax
call sym.__emutls_get_address
mov rax, qword [rax]
test rax, rax
setne al
mov byte [rbp - 1], al
jmp 0x14001772d
nop
movzx eax, byte [rbp - 1]
xor eax, 1
test al, al
jne 0x14001776c
lea rax, [0x140059400]
mov rcx, rax
call sym.__emutls_get_address
mov rbx, rax
mov rax, qword [rbx]
mov rcx, rax
call sym.reportUnhandledError__system_u4352
mov edx, 0
mov rcx, rbx
call sym.eqsink___stdZtypedthreads_u179
mov ecx, 1
call sym.exit
nop
nop
add rsp, 0x38
pop rbx
pop rbp
ret
Function at 0x14001aad0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0xb0]
mov rbx, rcx
mov rcx, qword [rbx]
mov rbx, qword [rbx + 8]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rbx
mov rbx, rdx
mov rax, qword [rbx]
mov rdx, qword [rbx + 8]
mov qword [rbp - 0x90], rax
mov qword [rbp - 0x88], rdx
lea rax, str.startsWith
mov qword [rbp - 0x58], rax
lea rax, [0x14005bd98]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov word [rbp - 0x40], 0
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.nimFrame_10
mov byte [rbp - 1], 0
mov qword [rbp - 0x50], 0x38
lea rax, str.C:_nim_2.0.0lib_stdprivate_strimpl.nim
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x90]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x50], 0x39
mov rax, qword [rbp - 0x80]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], 0x3a
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x50], 0x658
lea rax, [0x14005bd98]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0x3c
lea rax, str.C:_nim_2.0.0lib_stdprivate_strimpl.nim
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x20]
cmp rax, qword [rbp - 0x10]
jg 0x14001abdc
mov qword [rbp - 0x50], 0x64b
lea rax, [0x14005bd98]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0x3c
lea rax, str.C:_nim_2.0.0lib_stdprivate_strimpl.nim
mov qword [rbp - 0x48], rax
mov byte [rbp - 1], 1
jmp 0x14001ad09
nop
mov qword [rbp - 0x50], 0x3d
mov byte [rbp - 0x11], 0
mov rax, qword [rbp - 0x28]
cmp rax, qword [rbp - 0x10]
setle al
mov byte [rbp - 0x11], al
cmp byte [rbp - 0x11], 0
jne 0x14001ac8c
cmp qword [rbp - 0x10], 0
js 0x14001ac12
mov rax, qword [rbp - 0x80]
cmp qword [rbp - 0x10], rax
jl 0x14001ac2b
mov rax, qword [rbp - 0x80]
lea rdx, [rax - 1]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.raiseIndexError2
jmp 0x14001ad09
cmp qword [rbp - 0x10], 0
js 0x14001ac3f
mov rax, qword [rbp - 0x90]
cmp qword [rbp - 0x10], rax
jl 0x14001ac5b
mov rax, qword [rbp - 0x90]
lea rdx, [rax - 1]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.raiseIndexError2
jmp 0x14001ad09
mov rdx, qword [rbp - 0x78]
mov rax, qword [rbp - 0x10]
add rax, rdx
add rax, 8
movzx edx, byte [rax]
mov rcx, qword [rbp - 0x88]
mov rax, qword [rbp - 0x10]
add rax, rcx
add rax, 8
movzx eax, byte [rax]
cmp dl, al
setne al
mov byte [rbp - 0x11], al
jmp 0x14001ac8d
nop
movzx eax, byte [rbp - 0x11]
xor eax, 1
test al, al
jne 0x14001acc4
mov qword [rbp - 0x50], 0x64b
lea rax, [0x14005bd98]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0x3d
lea rax, str.C:_nim_2.0.0lib_stdprivate_strimpl.nim
mov qword [rbp - 0x48], rax
mov byte [rbp - 1], 0
jmp 0x14001ad09
nop
mov qword [rbp - 0x50], 0x3e
mov ecx, 0
mov rax, qword [rbp - 0x10]
add rax, 1
jno 0x14001ace1
mov ecx, 1
mov rdx, rax
lea rax, [rbp - 0x68]
mov qword [rax], rdx
mov rax, rcx
and eax, 1
test al, al
je 0x14001acfc
call sym.raiseOverflow
jmp 0x14001ad09
mov rax, qword [rbp - 0x68]
mov qword [rbp - 0x10], rax
jmp 0x14001ab90
call sym.popFrame_10
movzx eax, byte [rbp - 1]
add rsp, 0xb8
pop rbx
pop rbp
ret