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

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x14000c6a8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x14000c6b0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x14000c6c0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000c70d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x14000c704
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000c70f
add rax, 0x28
cmp rax, r9
jne 0x14000c6f0
xor eax, eax
ret

Function at 0x14000c710
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x14000c7a0
mov rdx, qword [0x1400bb920]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000c78e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000c78e
cmp word [rax + 0x18], 0x20b
jne 0x14000c78e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x14000c7a0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x14000c779
add rbx, 0x28
cmp rbx, rdi
je 0x14000c7a0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x14000c770
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

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

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

Function at 0x14000c830
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400bb920]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000c84f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000c858
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000c84f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x14000c870
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400bb920]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x14000c890
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x14000c898
ret
cmp word [rdx + 0x18], 0x20b
jne 0x14000c890
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x14000c8e0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14000c8d7
test rcx, rcx
je 0x14000c890
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x14000c8c8
xor eax, eax
ret

Function at 0x14000c8f0
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x1400bb920]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000c950
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000c958
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000c950
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x14000c950
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 0x14000c9a4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000c9b0
add rdx, 0x28
cmp rdx, r9
jne 0x14000c990
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x1400bb920]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x14000c9e2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x14000c9f0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000c9e2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x14000c9e2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x14000c9e2
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 0x14000ca45
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x14000ca58
add rdx, 0x28
cmp r10, rdx
jne 0x14000ca30
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14000ca67
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14000ca77
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000ca4e
test ecx, ecx
jg 0x14000ca60
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret

Function at 0x14000cd40
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14000cd70
mov rdx, rbx
mov ecx, eax
mov dword [rsi], eax
add rsp, 0x28
pop rbx
pop rsi
jmp dbg.__mingwthr_key_dtor
add rsp, 0x28
pop rbx
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x14000cdb0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x14000cde0
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14000cdf8
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x14000d660
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x1400bad80]
mov r11d, dword [rsi]
mov rbx, rcx
test r11d, r11d
jne 0x14000d698
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x14000d700
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r12, qword [rcx + 0x10]
test r12, r12
je 0x14000d710
mov esi, dword [0x1400e1188]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
call r13
mov edi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x14000d768
mov rbp, qword [rsi]
cmp rbp, r12
jb 0x14000d7b0
sub r12, 1
mov rax, qword [rsi + r12*8 + 8]
test rax, rax
jne 0x14000d687
mov rcx, rbx
call fcn.14000d5c0
mov qword [rsi + r12*8 + 8], rax
jmp 0x14000d687
call fcn.14000d5c0
mov qword [rbx + 0x10], rax
jmp 0x14000d687
mov r10d, dword [rsi]
test r10d, r10d
je 0x14000d841
mov r9d, dword [0x1400b1030]
test r9d, r9d
je 0x14000d869
lea rcx, [0x1400e11a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x14000d84e
mov eax, dword [rsi]
test eax, eax
je 0x14000d6a1
lea rcx, [0x1400e11a0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14000d6a1
lea rcx, [r12 + 0x21]
mov edx, 8
lea rdi, [r12 + 0x20]
call sym.calloc
mov rsi, rax
test rax, rax
je 0x14000d8a4
mov qword [rax], rdi
mov ecx, dword [0x1400e1188]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14000d6db
call r13
jmp 0x14000d6db
lea rdi, [rbp + rbp]
lea rax, [r12 + 0x20]
mov rcx, rsi
cmp rdi, r12
cmovb rdi, rax
lea rdx, [rdi*8 + 8]
call sym.realloc
mov rsi, rax
test rax, rax
je 0x14000d8a4
mov qword [rax], rdi
sub rdi, rbp
lea rcx, [rax + rbp*8 + 8]
xor edx, edx
lea r8, [rdi*8]
call sym.memset
jmp 0x14000d78b
lea rcx, [0x1400e11a0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14000d89c
lea rdx, [0x14000d570]
mov ecx, eax
mov dword [0x1400e1188], eax
call dbg.__mingwthr_key_dtor
test eax, eax
jne 0x14000d8a4
mov dword [0x1400b1030], 1
mov edx, dword [rsi]
test edx, edx
jne 0x14000d72c
mov r12, qword [rbx + 0x10]
test r12, r12
jne 0x14000d6a1
mov rax, qword [0x1400e1180]
lea r12, [rax + 1]
mov qword [0x1400e1180], r12
mov qword [rbx + 0x10], r12
jmp 0x14000d746
lock add dword [0x1400b1034], 1
je 0x14000d7f9
mov r8d, dword [0x1400b1030]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
lea rdi, [0x1400b1030]
test r8d, r8d
jne 0x14000d837
nop dword [rax]
xor ecx, ecx
call rbp
mov ecx, dword [rdi]
test ecx, ecx
je 0x14000d890
jmp 0x14000d837
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000d829
call sym.abort
nop
nop word [rax + rax]
Function at 0x140016510
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
lea rcx, str.msvcrt.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.rand_s
mov rcx, rax
call rsi
test rax, rax
je 0x140016558
mov rcx, rbx
mov qword [dbg.init_rand_s], rax
add rsp, 0x28
pop rbx
pop rsi
jmp rax
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.SystemFunction036
mov rcx, rax
call rsi
mov qword [0x1400e1bc0], rax
lea rax, [dbg.mingw_rand_s]
jmp 0x14001653e

Function at 0x140018a90
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r9, qword [rcx + 0x40]
mov rsi, rdx
mov rbx, rcx
mov edx, 1
mov rcx, rsi
call sym.fread
mov edx, 0xffffffff
test rax, rax
jle 0x140018abc
movzx edx, byte [rsi + rax - 1]
mov dword [rbx + 0x48], edx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x140019730
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x1400b41c0], 0
jne 0x140019836
mov byte [0x1400b41c0], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x14001980c
mov rbx, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call sym.__cxa_demangle
mov ecx, 2
mov rsi, qword [dbg.__acrt_iob_func]
mov rdi, rax
call rsi
mov edx, 1
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r8d, 0x30
mov r9, rax
call sym.fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x1400197fd
call rsi
mov rcx, rbx
mov rdx, rax
call sym.fputs
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x1400b7371]
mov r9, rax
call sym.fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x1400197f8
mov rcx, rdi
call sym.free
call sym.__cxa_rethrow
call rsi
mov rcx, rdi
mov rdx, rax
call sym.fputs
jmp 0x1400197c7
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x2d
mov edx, 1
lea rcx, str.terminate_called_without_an_active_exception_n
mov r9, rax
call sym.fwrite
call sym.abort
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x1d
mov edx, 1
lea rcx, str.terminate_called_recursively_n
mov r9, rax
call sym.fwrite
call sym.abort
sub rdx, 1
mov rcx, rax
jne 0x1400198cb
call sym.__cxa_begin_catch
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sym.fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sym.fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sym.fputc
call sym.__cxa_end_catch
jmp 0x140019831
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x140019831
Function at 0x140077510
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sym.fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sym.read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x140077558
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x14007752a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x14008acb0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x14008acd8
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sym.read
test eax, eax
jle 0x14008ad20
cdqe
add rsi, rax
sub rbx, rax
jne 0x14008acf0
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x14008ad2c
call rbp
cmp dword [rax], 4
je 0x14008acf0
lea rcx, str.random_device_could_not_be_read
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400afaf0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b41e0]
jmp sym.__emutls_get_address

Function at 0x1400afb00
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b41e0]
jmp sym.__emutls_get_address
Function at 0x141f54058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141f541df
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 0x141f54089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141f5406f
add dl, dl
jne 0x141f54096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141f540f6
xor eax, eax
add dl, dl
jne 0x141f540a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141f541ad
add dl, dl
jne 0x141f540b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141f540c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141f540d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141f540dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141f540ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141f5407e
mov eax, 1
add dl, dl
jne 0x141f54106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141f54113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141f540fb
sub eax, ebx
mov ebx, 1
jne 0x141f5414c
mov ecx, 1
add dl, dl
jne 0x141f5412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141f5413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141f54123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141f5407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141f54168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141f54175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141f5415d
cmp eax, 0x7d00
jae 0x141f5419b
cmp eax, 0x500
jb 0x141f54196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141f5407e
cmp eax, 0x7f
ja 0x141f5419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141f5407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141f541d2
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 0x141f5407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x140797548
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140797552
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x14079757b
pop rbp
sub rbp, 0x33
sub rbp, 0x797548
sub rsp, 0x20
jmp 0x14079759a
mov rax, 0x797548
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0xffffffff8736f747
xor byte [rax], dl
inc rax
dec rcx
jne 0x1407975b9
jmp 0x1407975d0
bswap esi
scasb al, byte [rdi]
int3
Function at 0x140001460
Capabilities:
Encode data using xor

Disassembly:
mov r8, rcx
mov eax, 0xffffffff
movsx ecx, byte [rcx]
test ecx, ecx
je 0x14000150c
xor eax, ecx
lea r8, [r8 + 1]
mov edx, eax
mov ecx, eax
shl ecx, 0x1f
sar ecx, 0x1f
and ecx, 0x77073096
shl edx, 0x18
sar edx, 0x1f
and edx, 0xedb88320
xor edx, ecx
mov ecx, eax
shl ecx, 0x1d
sar ecx, 0x1f
and ecx, 0x76dc419
xor edx, ecx
mov ecx, eax
shl ecx, 0x19
sar ecx, 0x1f
and ecx, 0x76dc4190
xor edx, ecx
mov ecx, eax
shl ecx, 0x1a
sar ecx, 0x1f
and ecx, 0x3b6e20c8
xor edx, ecx
mov ecx, eax
shl ecx, 0x1e
sar ecx, 0x1f
and ecx, 0xee0e612c
xor edx, ecx
mov ecx, eax
shl ecx, 0x1b
sar ecx, 0x1f
and ecx, 0x1db71064
xor edx, ecx
mov ecx, eax
shl ecx, 0x1c
sar ecx, 0x1f
and ecx, 0xedb8832
xor edx, ecx
mov ecx, eax
shr ecx, 8
mov eax, edx
xor eax, ecx
movsx ecx, byte [r8]
test ecx, ecx
jne 0x140001473
not eax
ret

Function at 0x140001510
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x130
mov ebp, ecx
test ecx, ecx
je 0x1400015ab
mov rax, qword gs:[0x60]
mov rbx, qword [rax + 0x18]
mov rbx, qword [rbx + 0x20]
test rbx, rbx
je 0x1400015ab
mov r14d, 0x104
nop
movzx eax, word [rbx + 0x48]
test ax, ax
je 0x1400015ab
cmp ax, r14w
jae 0x1400015ab
mov rax, qword [rbx + 0x50]
xor edi, edi
cmp word [rax], di
je 0x140001590
xor esi, esi
xor ecx, ecx
nop
movzx ecx, byte [rcx + rax]
call fcn.140001fa0
inc edi
mov byte [rsp + rsi + 0x20], al
mov rax, qword [rbx + 0x50]
mov esi, edi
lea rcx, [rdi + rdi]
cmp word [rcx + rax], 0
jne 0x140001570
lea rcx, [rsp + 0x20]
mov byte [rsp + rdi + 0x20], 0
call fcn.140001460
cmp eax, ebp
je 0x1400015cb
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140001550
xor eax, eax
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov rax, qword [rbx + 0x20]
jmp 0x1400015ad
Function at 0x1400015e0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov ebp, edx
mov rdi, rcx
test rcx, rcx
je 0x140001715
test edx, edx
je 0x140001715
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001715
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140001715
movups xmm0, xmmword [rax + 0x18]
lea rcx, [rsp + 0x20]
xor ebx, ebx
movups xmm1, xmmword [rax + 0x28]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x38]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm1
mov r14d, dword [rsp + 0x90]
add r14, rdi
mov r15d, dword [r14 + 0x20]
mov r12d, dword [r14 + 0x1c]
add r15, rdi
mov r13d, dword [r14 + 0x24]
add r12, rdi
add r13, rdi
cmp dword [r14 + 0x14], ebx
jbe 0x140001715
nop dword [rax + rax]
movzx eax, word [r13 + rbx*2]
mov ecx, dword [r15 + rbx*4]
add rcx, rdi
mov esi, dword [r12 + rax*4]
add rsi, rdi
call fcn.140001460
cmp ebp, eax
je 0x140001738
inc ebx
cmp ebx, dword [r14 + 0x14]
jb 0x1400016f0
xor eax, eax
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, rsi
jmp 0x140001717
Function at 0x14000da78
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov r8d, ecx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14000dab0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
test eax, eax
jne 0x14000dab8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x14000dab2

Function at 0x14000dcd8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1400e3828]
test rax, rax
je 0x14000dcff
call rax
mov al, 1
jmp 0x14000de69
xor eax, eax
mov dword [rbp - 0x30], 0x39740932
mov dword [rbp - 0x2c], 0xef57c5b7
xor r9d, r9d
mov word [rbp - 0x28], 0x5081
movabs rdi, 0x8080808080808081
mov byte [rbp - 0x26], al
movabs r11, 0xfffffffd97116b8a
lea r10d, [rax + 0xa]
mov cl, r9b
mov rax, rdi
mul r11
and cl, 7
mov r8, 0xffffffffc24e8ac0
shl cl, 3
shr r8, cl
mov rcx, r11
shr rdx, 7
sub r11, 0x3db1753f
imul rax, rdx, 0xff
sub rcx, rax
mov rax, rdi
xor r8b, cl
mov rcx, r10
mul r10
add r10, 0xa
shr rdx, 7
imul rax, rdx, 0xff
sub rcx, rax
xor r8b, cl
xor r8b, r9b
xor byte [rbp + r9 - 0x30], r8b
inc r9
cmp r10, 0x6e
jb 0x14000dd33
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x26], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r9, rax
test rax, rax
je 0x14000de67
movdqa xmm0, xmmword [0x1400cbdb0]
xor r10d, r10d
movdqu xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x10], 0x73bc37af
movabs rbx, 0xfffffffaf07161d5
mov word [rbp - 0xc], 0xff
lea r11d, [r10 + 0x15]
mov cl, r10b
mov rax, rdi
mul rbx
and cl, 7
mov r8, 0xffffffffc24e8ac0
shl cl, 3
shr r8, cl
mov rcx, rbx
shr rdx, 7
sub rbx, 0x3db1753f
imul rax, rdx, 0xff
sub rcx, rax
mov rax, rdi
xor r8b, cl
mov rcx, r11
mul r11
add r11, 0x15
shr rdx, 7
imul rax, rdx, 0xff
sub rcx, rax
xor r8b, cl
xor r8b, byte [rbp + r10 - 0x20]
xor r8b, r10b
mov byte [rbp + r10 - 0x20], r8b
inc r10
cmp r11, 0x1ce
jb 0x14000dddb
lea rdx, [rbp - 0x20]
mov byte [rbp - 0xb], 0
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e3828], rax
test rax, rax
jne 0x14000dcf6
xor al, al
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret