joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800298d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov rdi, r9
mov r10, r8
mov r14, rdx
mov rsi, rcx
movzx r9d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r9, rax
movabs rcx, 0x100000001b3
imul r9, rcx
movzx eax, byte [r8 + 1]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 2]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 3]
xor r9, rax
imul r9, rcx
mov r8, qword [rsi + 0x30]
and r8, r9
mov rbx, qword [rsi + 8]
mov rax, r8
add rax, rax
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rdx + rax*8]
cmp rbx, rcx
je 0x1800299b7
mov rbx, qword [rdx + rax*8 + 8]
mov rbx, qword [rbx]
nop dword [rax + rax]
cmp rbx, rcx
je 0x1800299b7
mov rbx, qword [rbx + 8]
mov eax, dword [rbx + 0x10]
cmp dword [r10], eax
jne 0x180029970
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
mov edx, 0x20
mov rcx, rdi
call fcn.18005061c
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x180029aeb
mov qword [rsp + 0x20], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x1800299f1
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
add r8, r8
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x180029a11
mov qword [rdx + r8*8], rdi
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rdi
jmp 0x180029a40
cmp rax, rbx
jne 0x180029a1c
mov qword [rdx + r8*8], rdi
jmp 0x180029a40
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rdi
je 0x180029a40
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x18007a084]
test rax, rax
jns 0x180029a61
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x180029a72
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x180029ae0
cmp rdx, 0x200
jae 0x180029a8e
lea rdx, [rdx*8]
jmp 0x180029aa0
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x180029aa0
add rdx, rdx
mov rcx, rsi
call fcn.180042ec0
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x180029ae0
mov r15, qword [rax + 8]
nop word [rax + rax]
mov rbx, qword [rsi + 8]
mov rbx, qword [rbx]
lea r8, [rbx + 0x10]
mov r9, rbx
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1800298d0
cmp rbx, r15
jne 0x180029ac0
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x180037da0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx r9d, byte [r8 + 0x10]
mov r10, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov rdi, rdx
movzx eax, byte [r8 + 0x11]
mov rdx, qword [r10 + 0x30]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 0x12]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 0x13]
imul r9, rcx
xor r9, rax
imul r9, rcx
mov rcx, qword [r10 + 0x18]
and rdx, r9
shl rdx, 4
add rcx, rdx
mov rax, qword [rcx]
cmp qword [rcx + 8], r8
jne 0x180037e34
cmp rax, r8
jne 0x180037e2a
mov rax, qword [r10 + 8]
mov qword [rcx], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [rdx + rcx + 8], rax
jmp 0x180037e3f
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x180037e3f
cmp rax, r8
jne 0x180037e3f
mov rax, qword [r8]
mov qword [rcx], rax
mov rax, qword [r8 + 8]
mov edx, 0x20
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r10 + 0x10]
call fcn.18005061c
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18003fc60
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push r14
sub rsp, 0x38
mov qword [rsp + 0x60], rbx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov eax, dword [r8 + 0x18]
mov qword [rsp + 0x68], rbp
mov ebp, dword [r8 + 8]
mov qword [rsp + 0x30], rsi
mov rsi, rdx
test eax, eax
jne 0x18003fc9a
mov rbx, qword [r8 + 0x10]
dec rbx
and ebx, 0xfffffff0
jmp 0x18003fc9c
mov ebx, eax
mov rax, qword [rdx]
mov edx, 0x10000
mov rcx, qword [rax + 0x110]
test rcx, rcx
jne 0x18003fcce
mov r9d, 0x40
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rcx, qword [rsi]
mov qword [rcx + 0x110], rax
jmp 0x18003fcdf
lea r9, [rsp + 0x20]
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rdi + 0x18]
mov rdx, rdi
cmp rcx, 0x10
jb 0x18003fcef
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
cmp r8, 9
jne 0x18003fd15
mov rax, qword [rdx]
cmp rax, qword [str.intel_avx]
jne 0x18003fd15
movzx eax, byte [rdx + 8]
cmp al, byte [0x180079db0]
jne 0x18003fd15
mov al, 1
jmp 0x18003fd17
xor al, al
xor r14d, r14d
lea r10, section._TEXT_CN
test al, al
mov rdx, rdi
cmove r10, r14
cmp rcx, 0x10
jb 0x18003fd33
mov rdx, qword [rdi]
cmp r8, 7
jne 0x18003fd63
mov eax, dword [rdx]
cmp eax, dword [str.amd_avx]
jne 0x18003fd63
movzx eax, word [rdx + 4]
cmp ax, word [0x180079dbc]
jne 0x18003fd63
movzx eax, byte [rdx + 6]
cmp al, byte [0x180079dbe]
jne 0x18003fd63
lea r10, [0x18008f300]
test r10, r10
je 0x18003fdf4
mov rax, qword [rsi]
mov r11, qword [rax + 0x110]
test r11, r11
je 0x18003fdf4
mov r9d, ebx
mov r8d, ebp
mov rdx, r10
mov rcx, r11
call fcn.18003fe60
mov rcx, qword [rsi]
lea r9, [rsp + 0x20]
mov edx, 0x10000
mov r8d, 0x20
mov rax, qword [rcx + 0x110]
mov qword [rcx + 0x100], rax
lea rcx, [0x18003d290]
mov rax, qword [rsi]
mov qword [rax + 0x108], rcx
mov rcx, qword [rsi]
mov rcx, qword [rcx + 0x110]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x110]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 0x10000
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rcx, qword [rdi + 0x18]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
cmp rcx, 0x10
jb 0x18003fe36
lea rdx, [rcx + 1]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x18003fe31
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18003fe4d
mov rcx, r8
call fcn.18005061c
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r14b
add rsp, 0x38
pop r14
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1800435a0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
pshufd xmm0, xmmword [rdx], 0x55
lea rbp, [0x180079c40]
mov rdi, rcx
movd eax, xmm0
pshufd xmm0, xmmword [rdx], 0xff
mov rsi, rdx
movzx ebx, r8b
mov r10d, eax
movdqu xmm5, xmmword [rdi]
shr rax, 0x10
movzx r9d, al
mov eax, r10d
shr rax, 0x18
pslldq xmm5, 4
movdqa xmm4, xmm5
pslldq xmm5, 4
movzx r11d, byte [r9 + rbp]
movzx eax, byte [rax + rbp]
pxor xmm4, xmmword [rdi]
shl eax, 8
or r11d, eax
mov eax, r10d
shr rax, 8
movzx ecx, al
shl r11d, 8
movzx eax, byte [rcx + rbp]
or r11d, eax
movzx eax, r10b
shl r11d, 8
movzx ecx, byte [rax + rbp]
movd eax, xmm0
or r11d, ecx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movd xmm3, r11d
movzx r8d, byte [rcx + rbp]
movzx eax, byte [rax + rbp]
shl eax, 8
or r8d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rbp]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + rbp]
mov eax, r11d
ror eax, 8
or r8d, ecx
xor eax, ebx
mov edx, r8d
ror edx, 8
xor edx, ebx
movd xmm0, r8d
movd xmm2, eax
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
movd xmm1, edx
pxor xmm0, xmm4
punpckldq xmm2, xmm1
punpckldq xmm3, xmm2
pslldq xmm5, 4
pxor xmm0, xmm5
pshufd xmm1, xmm3, 0xff
pxor xmm1, xmm0
pshufd xmm0, xmm1, 0x55
movd eax, xmm0
movdqu xmmword [rdi], xmm1
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movzx r9d, byte [rcx + rbp]
movzx eax, byte [rax + rbp]
shl eax, 8
movdqu xmm5, xmmword [rsi]
or r9d, eax
mov rbx, qword [rsp + 8]
mov eax, edx
mov rdi, qword [rsp + 0x20]
shr rax, 8
movzx ecx, al
pshufd xmm0, xmm1, 0xff
shl r9d, 8
pslldq xmm5, 4
movzx eax, byte [rcx + rbp]
movdqa xmm4, xmm5
pxor xmm4, xmmword [rsi]
or r9d, eax
movzx eax, dl
shl r9d, 8
pslldq xmm5, 4
movzx ecx, byte [rax + rbp]
movd eax, xmm0
or r9d, ecx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movd xmm3, r9d
movzx r8d, byte [rcx + rbp]
movzx eax, byte [rax + rbp]
shl eax, 8
or r8d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rbp]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + rbp]
mov rbp, qword [rsp + 0x10]
or r8d, ecx
mov eax, r8d
mov ecx, r9d
ror eax, 8
ror ecx, 8
movd xmm0, r8d
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
movd xmm1, eax
pxor xmm0, xmm4
movd xmm2, ecx
punpckldq xmm2, xmm1
punpckldq xmm3, xmm2
pslldq xmm5, 4
pshufd xmm1, xmm3, 0xaa
pxor xmm0, xmm5
pxor xmm1, xmm0
movdqu xmmword [rsi], xmm1
mov rsi, qword [rsp + 0x18]
ret
Function at 0x180048a90
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x180089208]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor eax, eax
mov dword [rsp + 0x20], 0x6a09e667
mov rbx, rcx
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x50], rax
lea r8d, [r8*8]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x24], 0xbb67ae85
mov dword [rsp + 0x28], 0x3c6ef372
mov dword [rsp + 0x2c], 0xa54ff53a
mov dword [rsp + 0x30], 0x510e527f
mov dword [rsp + 0x34], 0x9b05688c
mov dword [rsp + 0x38], 0x1f83d9ab
mov qword [rsp + 0x3c], 0x5be0cd19
call fcn.180048b50
mov r9b, 1
lea rcx, [rsp + 0x20]
mov r8b, 0x81
mov rdx, rbx
call fcn.180048840
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800507a0
add rsp, 0xb0
pop rbx
ret
Function at 0x1800497a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x180089208]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov eax, dword [rcx]
lea rdi, [rcx + 0x3c]
mov dword [rbp - 0x79], eax
lea rdx, [rbp - 0x39]
mov eax, dword [rcx + 4]
mov rbx, rcx
mov dword [rbp - 0x75], eax
xor r8d, r8d
mov eax, dword [rcx + 8]
mov dword [rbp - 0x71], eax
mov eax, dword [rcx + 0xc]
mov dword [rbp - 0x6d], eax
mov eax, dword [rcx + 0x10]
mov dword [rbp - 0x69], eax
mov eax, dword [rcx + 0x14]
mov dword [rbp - 0x65], eax
mov eax, dword [rcx + 0x18]
mov dword [rbp - 0x61], eax
mov eax, dword [rcx + 0x1c]
mov dword [rbp - 0x5d], eax
mov eax, dword [rcx + 0x20]
mov dword [rbp - 0x59], eax
mov eax, dword [rcx + 0x24]
mov dword [rbp - 0x55], eax
mov eax, dword [rcx + 0x28]
mov dword [rbp - 0x51], eax
mov eax, dword [rcx + 0x2c]
mov dword [rbp - 0x4d], eax
mov eax, dword [rcx + 0x30]
mov dword [rbp - 0x49], eax
mov eax, dword [rcx + 0x34]
mov dword [rbp - 0x45], eax
mov eax, dword [rcx + 0x38]
lea rcx, [rbp - 0x79]
mov dword [rbp - 0x41], eax
mov eax, dword [rdi]
mov dword [rbp - 0x3d], eax
call fcn.1800499a0
mov r8d, 1
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.1800499a0
mov r8d, 2
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.1800499a0
mov r8d, 3
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.1800499a0
mov r8d, 4
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.1800499a0
mov r8d, 5
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.1800499a0
mov r8d, 6
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.1800499a0
mov r8d, 7
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.1800499a0
mov r8d, 8
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.1800499a0
mov r8d, 9
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x39]
call fcn.1800499a0
lea rax, [rbp - 0x3d]
mov edx, 0x10
cmp rbx, rax
ja 0x1800498fe
xor ecx, ecx
lea rax, [rbp - 0x79]
cmp rdi, rax
jae 0x180049947
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [rbp - 0x69]
pxor xmm0, xmmword [rbp - 0x79]
movdqu xmmword [rbx], xmm0
movdqu xmm0, xmmword [rbx + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rbx + 0x10], xmm1
movdqu xmm0, xmmword [rbx + 0x20]
movdqu xmm1, xmmword [rbp - 0x59]
pxor xmm1, xmm0
movdqu xmmword [rbx + 0x20], xmm1
movdqu xmm0, xmmword [rbx + 0x30]
movdqu xmm1, xmmword [rbp - 0x49]
pxor xmm1, xmm0
movdqu xmmword [rbx + 0x30], xmm1
mov rcx, rdx
cmp rcx, rdx
jae 0x180049970
lea r8, [rbp - 0x79]
sub r8, rbx
lea rax, [rbx + rcx*4]
sub rdx, rcx
nop word [rax + rax]
mov ecx, dword [r8 + rax]
xor dword [rax], ecx
lea rax, [rax + 4]
sub rdx, 1
jne 0x180049960
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800507a0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1407f83c8
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1407f854f
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 0x1407f83f9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407f83df
add dl, dl
jne 0x1407f8406
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407f8466
xor eax, eax
add dl, dl
jne 0x1407f8415
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407f851d
add dl, dl
jne 0x1407f8426
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407f8433
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407f8440
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407f844d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407f845a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407f83ee
mov eax, 1
add dl, dl
jne 0x1407f8476
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407f8483
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407f846b
sub eax, ebx
mov ebx, 1
jne 0x1407f84bc
mov ecx, 1
add dl, dl
jne 0x1407f849e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407f84ab
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407f8493
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407f83ee
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407f84d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407f84e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407f84cd
cmp eax, 0x7d00
jae 0x1407f850b
cmp eax, 0x500
jb 0x1407f8506
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407f83ee
cmp eax, 0x7f
ja 0x1407f850e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407f83ee
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407f8542
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 0x1407f83ee
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400018f0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, 2
call fcn.140008afc
mov rdi, rax
lea rcx, str.could_not_load:
mov edx, 1
mov r8d, 0x10
mov r9, rax
call fcn.14000b968
mov rcx, rdi
call fcn.14000b770
mov rax, qword [rsi + 8]
add rax, 8
cmp qword [rsi], 0
lea rsi, [0x14001fdb2]
cmovne rsi, rax
mov ecx, 2
call fcn.140008afc
mov rdi, rax
mov rcx, rsi
call fcn.14000c240
mov edx, 1
mov rcx, rsi
mov r8, rax
mov r9, rdi
call fcn.14000b968
mov rcx, rdi
call fcn.14000b770
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xc1
jne 0x1400019ab
mov ecx, 2
call fcn.140008afc
mov rsi, rax
lea rcx, str._n_bad_format__library_may_be_wrong_architecture_
mov edx, 1
mov r8d, 0x30
mov r9, rax
call fcn.14000b968
mov rcx, rsi
call fcn.14000b770
mov ecx, 2
call fcn.140008afc
lea rdx, [0x14001fdb1]
mov rcx, rax
call fcn.1400019d0
mov ecx, 1
call fcn.14000a394
int3

Function at 0x1400019d0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x1400019ee
mov rcx, rdi
call fcn.14000c240
mov r8, rax
jmp 0x1400019f1
xor r8d, r8d
mov edx, 1
mov rcx, rdi
mov r9, rsi
call fcn.14000b968
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14000b770

Function at 0x140005a70
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, qword [0x140025a10]
test r14, r14
je 0x140005b11
mov eax, dword [0x140025aa0]
mov rcx, qword gs:[0x58]
mov r15, qword [rcx + rax*8]
test rsi, rsi
je 0x140005b54
mov rcx, rsi
call fcn.14000c240
test rax, rax
jle 0x140005b54
mov rdi, rax
lea r14, [rax + 1]
mov rdx, rax
add rdx, 9
mov eax, dword [0x140025aa0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x20]
call fcn.140002c30
mov rbx, rax
mov qword [rax], rdi
lea rcx, [rax + 8]
mov rdx, rsi
mov r8, r14
call fcn.140018340
mov r14, qword [0x140025a10]
jmp 0x140005b58
mov rdi, rdx
mov ecx, 2
call fcn.140008afc
mov rbx, rax
mov edx, 1
mov rcx, rsi
mov r8, rdi
mov r9, rax
call fcn.14000b968
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400079d0
mov rcx, rbx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.14000b770
xor edi, edi
xor ebx, ebx
lea rsi, [r15 + 0x2ac8]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x28]
call r14
test rbx, rbx
je 0x140005b9e
test byte [rbx + 7], 0x40
jne 0x140005b9e
mov eax, dword [0x140025aa0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x20]
mov rdx, rbx
call fcn.140003950
cmp byte [rsi], 0
je 0x140005bd3
mov byte [rsi], 0
mov eax, dword [0x140025aa0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x2ad0]
mov rax, qword [rax + 0x2ad0]
mov rdx, qword [rax + 0x38]
xor r8d, r8d
call fcn.140005950
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400079d0
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140008094
Capabilities:
Parse pe header

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

Function at 0x14000a394
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000a4dc
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x14000a54c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000a54c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000a54c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000a54c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000a54c
cmp dword [rcx + 0x84], 0xe
jbe 0x14000a54c
cmp dword [rcx + 0xf8], esi
je 0x14000a54c
mov ecx, r14d
call fcn.14000a418
mov ecx, 2
call fcn.14000d904
nop
cmp byte [0x140026104], 0
jne 0x14000a616
mov r15d, 1
mov eax, r15d
xchg dword [0x140026100], eax
test ebx, ebx
jne 0x14000a5bf
mov rdi, qword [section..data]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1400260f8]
cmp rcx, rax
je 0x14000a5b6
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [section..00cfg]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140026218]
jmp 0x14000a5cb
cmp ebx, r15d
jne 0x14000a5d1
lea rcx, [0x140026230]
call fcn.14000ab28
nop
test ebx, ebx
jne 0x14000a5e8
lea rdx, [0x140022620]
lea rcx, [0x140022600]
call fcn.14000b2c0
lea rdx, [0x140022630]
lea rcx, [0x140022628]
call fcn.14000b2c0
movzx eax, byte [0x140026104]
test esi, esi
cmove eax, r15d
mov byte [0x140026104], al
jmp 0x14000a616
mov ecx, 2
call fcn.14000d920
test esi, esi
jne 0x14000a62d
mov ecx, r14d
call fcn.14000a484
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret

Function at 0x14000c310
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000c338
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000c338
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
invalid
psubsb mm5, qword [rax]
hlt
mov dl, 0x1e
mov dh, 0x91
invalid
fcom qword [rbp + rbx*4 - 0x30a8546a]
ret
loope 0x14003f742
invalid
sbb bl, bh
mov bl, 0xef
sbb dh, byte [rcx + 0x44]
retf
xchg edi, eax
xor byte [rsi], dh
invalid
jne 0x14003f6bb
adc byte [rbx + 0x12], bh
invalid
mov edi, 0x448cb67a
mov dh, 0x8a
fnstsw word [rbp + 0x22]
xchg ebp, eax
sub byte [rdx + 0x3c], al
cmp al, 0x1a
invalid
ror byte [rdx - 0x120b1896], 1
xchg ebp, eax
fmul qword [rdi - 0x2a]
out 0x9c, eax
xchg byte [rbx + 0x76], cl
xor eax, 0x6aca4b6c
invalid
cmp al, 0x1a
invalid
iretd