joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800049a0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1800049c2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x180004a3c
mov rdi, r14
mov rcx, rbx
call fcn.180005f70
test rax, rax
jle 0x180004a14
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.18000a9d0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x180004a2c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x180004a34
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1800049d6
sub r14, rdi
jmp 0x180004b1f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x180004a53
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180004a55
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180004a87
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.18000a9d0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x180004b1c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x180004ac2
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x180004afd
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.180010994
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x180004b1c
cmp rbp, rax
ja 0x180004ad0
test rbp, rbp
je 0x180004b1c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.180010994
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret

Function at 0x180007450
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800074d4
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180028440]
cmp byte [rcx + rax], 0
je 0x1800074d4
dec r8
sub rdx, 1
jne 0x1800074ba
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x180007754
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1800074ec
mov ebx, eax
test eax, eax
jne 0x180007784
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1800077e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1800077d7
test al, 0x10
je 0x1800077d7
bt eax, 0xa
jae 0x1800077d0
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, pe_nt_image_headers64
mov rdx, rdi
call fcn.1800077f8
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1800077cc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1800077f0
test edi, edi
jne 0x1800077d7
and dword [rsp + 0x3c], 0
jmp 0x1800077dc
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.1800118c8
int3

Function at 0x1800092ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x180019ba8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x180019bda
call fcn.1800120b8
mov dword [rax], 0x16
call fcn.180011168
jmp 0x180019cf9
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x180019cf9
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x180019cf9
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x180019c09
lock or dword [rcx + 0x14], 0x10
jmp 0x180019cf9
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x180019c1d
call fcn.18001b0bc
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.18001649c
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.18001b5d4
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x180019ce7
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x180019cb2
mov rcx, rsi
call fcn.18001649c
cmp eax, edi
je 0x180019c9d
mov rcx, rsi
call fcn.18001649c
cmp eax, 0xfffffffe
je 0x180019c9d
mov rcx, rsi
call fcn.18001649c
movsxd rbx, eax
lea r14, [0x18003d280]
mov rcx, rsi
sar rbx, 6
call fcn.18001649c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x180019ca4
lea rdx, [0x18003b400]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x180019cb2
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x180019cd6
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x180019cd6
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x180019cd6
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x180019cfc
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x18001ae3c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1800090b0
sub rsp, rax
mov rax, qword [0x18003b058]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18001649c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18001ae8b
mov rax, rbp
jmp 0x18001af93
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x3d280]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18001bdac
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x3d280]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18001af8f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18001af8f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18001bdac
test rax, rax
js 0x18001af8f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18001af8f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x18001af81
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x18001af81
cmp byte [rcx], 0xd
jne 0x18001af67
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x18001af76
cmp byte [rcx + 1], 0xa
jne 0x18001af76
inc rcx
jmp 0x18001af76
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x3b450]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x18001af49
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18001af93
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180008820
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18001b128
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x18003d280]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x18001b186
cmp word [rdx], r12w
jne 0x18001b186
or byte [rax + r8*8 + 0x38], cl
jmp 0x18001b18c
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x18001b2e7
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x18001b2c2
lea r9, [rcx + 2]
cmp ax, r13w
je 0x18001b1c5
mov rcx, r9
jmp 0x18001b1e8
cmp r9, rdx
jae 0x18001b1ff
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x18001b1a9
jmp 0x18001b2e7
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18001b2bc
cmp dword [rsp + 0x80], edi
je 0x18001b2bc
mov rdx, r14
lea r11, [0x18003d280]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x18001b295
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x18001b268
mov word [rbx], r12w
jmp 0x18001b2e3
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x18001b271
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x18001b2e3
cmp word [rsp + 0x70], r12w
jne 0x18001b2a2
cmp rbx, rsi
je 0x18001b262
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.18001bdb4
cmp word [rsp + 0x70], r12w
je 0x18001b2e7
mov word [rbx], r13w
jmp 0x18001b2e3
lea r11, [0x18003d280]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x18001b2df
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x18001b2e7
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18001fa30
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18001fa60
xor eax, eax
jmp 0x18001fb23
mov rbp, rbx
cmp word [rax], si
je 0x18001fa85
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18001fa6c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18001fa68
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18001e178
movsxd r14, eax
test eax, eax
jne 0x18001fac3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18001fa59
mov rcx, r14
call fcn.180019d14
mov rdi, rax
test rax, rax
jne 0x18001fadc
xor ecx, ecx
call fcn.180019728
jmp 0x18001fab8
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18001e178
test eax, eax
jne 0x18001fb0d
mov rcx, rdi
call fcn.180019728
jmp 0x18001fb17
xor ecx, ecx
call fcn.180019728
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x180025760
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.18001bdb4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.18001bdb4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800258b0
cmp rax, 0xffffffffffffffff
je 0x1800258b0
xor edi, edi
test rbp, rbp
jle 0x18002585b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.18001a8b4
mov rbx, rax
test rax, rax
jne 0x1800257e8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180025851
mov edx, 0x8000
mov ecx, r14d
call fcn.1800255e8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.180019418
cmp eax, 0xffffffff
je 0x180025831
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800257f8
mov edx, r15d
mov ecx, r14d
call fcn.1800255e8
jmp 0x180025851
cmp byte [rsi + 0x38], dil
je 0x180025848
cmp dword [rsi + 0x34], 5
jne 0x180025848
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180025851
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180019728
jmp 0x1800258c4
jns 0x1800258c4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.18001bdb4
cmp rax, 0xffffffffffffffff
jne 0x18002587c
cmp byte [rsi + 0x30], dil
je 0x1800258c4
mov edi, dword [rsi + 0x2c]
jmp 0x1800258c4
mov ecx, r14d
call fcn.1800201e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800258c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1800258c4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800258bd
mov eax, dword [rsi + 0x2c]
jmp 0x1800258c2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.18001bdb4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1800d9793
Capabilities:
Terminate process

Disassembly:
push qword [rsp + 0x30]
popfq
lea rsp, [rsp + 0x40]
call fcn.18027e71d

Function at 0x180144e8c
Capabilities:
Encode data using xor

Disassembly:
mov rdi, qword [rsp + 0x20]
call fcn.180153858
in al, 0x85
enter 0xffffffffffffe441, 0xffffffffffffff9a
adc ch, dl
movabs dword [0x19cc805c2df3d7ee], eax
sub eax, 0xe21c51dc
xor byte [rdi + rsi*4 - 0x5d], bl
js 0x180144e91
and ebp, dword [rsi + 0x23c7ac66]
jmp 0x15c444b70

Function at 0x180224d43
Capabilities:
Encode data using xor

Disassembly:
mov rbp, qword [rsp + 0x18]
sets r13b
call fcn.18015cd22
or r13b, bpl
jno 0x18018efe3
cli
sahf
xor dl, byte [rax + 0x20]
invalid
Function at 0x140009038
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov r9, rcx
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
mov rsi, rdx
movzx eax, byte [rbx + rcx + 0x10]
movabs rdx, 0x100000001b3
xor r8, rax
inc rcx
imul r8, rdx
cmp rcx, 4
jb 0x14000905c
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, r8
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x1400090b3
cmp qword [rcx + rdx*8], rbx
jne 0x1400090a8
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x1400090ac
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400090c0
cmp qword [rcx + rdx*8], rbx
jne 0x1400090c0
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rax, qword [rbx + 8]
mov rdi, qword [rbx]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov rdx, qword [rbx + 0x30]
cmp rdx, 8
jb 0x1400090f5
mov rcx, qword [rbx + 0x18]
inc rdx
mov r8d, 2
call fcn.1400020a4
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x37]
call fcn.1400020a4
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000b51c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400148a0], eax
call fcn.14000b2a4
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_UnhandledExceptionFilter]
cmp dword [0x1400148a0], 0
jne case.default.0x14000b572
mov ecx, 1
call fcn.14000b2a4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_TerminateProcess]
push rax
jmp rdi
Function at 0x1400030f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x60], 0
je 0x14000310e
cmp qword [rsp + 0x68], 0
jne 0x140003115
xor eax, eax
jmp 0x140003241
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov dword [rsp], 0
jmp 0x1400031b6
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x18]
cmp dword [rsp], eax
jae 0x14000323f
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x1400031fe
inc rax
test dl, dl
jne 0x1400031eb
xor eax, eax
jmp 0x140003203
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14000323a
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x38]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
jmp 0x140003241
jmp 0x1400031ae
xor eax, eax
add rsp, 0x58
ret
Function at 0x14000c200
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov dword [rax + 0x40], 0
mov rax, qword [rsp + 8]
mov qword [rax + 0x48], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x6a09e667
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0xbb67ae85
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x3c6ef372
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0xa54ff53a
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x510e527f
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x9b05688c
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x1f83d9ab
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x5be0cd19
mov rax, qword [rsp + 8]
ret
Function at 0x14000c9a0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x40]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x40], 0x38
jae 0x14000c9cc
mov dword [rsp + 0x24], 0x38
jmp 0x14000c9d4
mov dword [rsp + 0x24], 0x40
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov byte [rax], pe_nt_image_headers64
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x20]
cmp qword [rsp + 0x28], rax
jae 0x14000ca2b
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov byte [rax], 0
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x14000c9fd
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x40], 0x38
jb 0x14000ca53
mov rcx, qword [rsp + 0x40]
call fcn.14000c540
mov rax, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x40]
xor eax, eax
mov ecx, 0x38
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x40]
shl eax, 3
mov eax, eax
mov rcx, qword [rsp + 0x40]
add rax, qword [rcx + 0x48]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x48], rax
mov eax, 1
imul rax, rax, 0x3f
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x40]
movzx edx, byte [rdx + 0x48]
mov byte [rcx + rax], dl
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 8
mov ecx, 1
imul rcx, rcx, 0x3e
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x10
mov ecx, 1
imul rcx, rcx, 0x3d
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x18
mov ecx, 1
imul rcx, rcx, 0x3c
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x20
mov ecx, 1
imul rcx, rcx, 0x3b
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x28
mov ecx, 1
imul rcx, rcx, 0x3a
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x30
mov ecx, 1
imul rcx, rcx, 0x39
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x38
mov ecx, 1
imul rcx, rcx, 0x38
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rcx, qword [rsp + 0x40]
call fcn.14000c540
add rsp, 0x30
pop rdi
ret