joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140103b99
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
call qword [rax + 0x78]
mov rdx, qword [rbx + 0x648]
mov rcx, rax
mov qword [rsp + 0x30], rax
call fcn.1400ffe60
lea rcx, [rbx + 0x640]
lea rdx, [rsp + 0x30]
call fcn.1401036f0
mov rcx, rbx
sub rsp, 0xffffffffffffffe0
pop rbx
jmp 0x140103ae0
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x648], 0
mov rbx, rcx
je 0x140103c1f
lea rdx, [rsp + 0x30]
call fcn.1400ee1f0
mov r8, qword [rsp + 0x30]
mov r11d, 0x2cbb7088
xor r11d, 0x1fcca929
add r11d, 0xeb6e898
xor r11d, 0x422ec299
mov r9d, dword [rsp + 0x34]
mov eax, r8d
sub eax, r9d
cdq
idiv dword [rbx + 0x648]
mov rdx, qword [rbx + 0x648]
cmp eax, r11d
cmovl r11d, eax
xor r10d, r10d
test rdx, rdx
je 0x140103bce
mov rax, qword [rbx + 0x640]
mov qword [rsp + 0x38], rdi
lea rdi, [rax + rdx*8]
cmp rax, rdi
je 0x140103bc9
mov r8d, r11d
xor r8d, 0x282c22a4
xor r9d, 0x282c22a4
nop word [rax + rax]
mov rdx, qword [rax]
mov ecx, r10d
xor ecx, 0x282c22a4
add r10d, r11d
neg rax
add rax, 0xfffffffffffffff8
neg rax
mov dword [rdx + 0x30], ecx
mov dword [rdx + 0x34], 0x159a3f3d
add dword [rdx + 0x34], 0x168730f4
xor dword [rdx + 0x34], 0x40d5295
mov dword [rdx + 0x38], r8d
mov dword [rdx + 0x3c], r9d
cmp rax, rdi
jne 0x140103b7d
mov r8, qword [rsp + 0x30]
mov r9d, dword [rsp + 0x34]
mov rdi, qword [rsp + 0x38]
mov rax, qword [rbx + 0x660]
test rax, rax
je 0x140103c17
sub r8d, r9d
mov dword [rax + 0x14], 0x75cf5af1
add dword [rax + 0x14], 0x637ae3
sub dword [rax + 0x14], 0x424fcf09
sub dword [rax + 0x14], 0xbb6e427
xor r8d, 0x282c22a4
xor r9d, 0x282c22a4
mov dword [rax + 0x10], r8d
mov dword [rax + 0x18], r9d
mov dword [rax + 0x1c], r9d
mov rcx, rbx
call fcn.1400ed960
sub rsp, 0xffffffffffffffe0
pop rbx
ret
Function at 0x14011776c
Capabilities:
Encode data using xor

Disassembly:
xchg rcx, rbx
mov qword [rsp + 0x10], rcx
xchg rcx, rbx
xchg r10, rsi
mov qword [rsp + 0x18], r10
xchg rsi, r10
xchg rdi, rsi
mov qword [rsp + 0x20], rsi
xchg rdi, rsi
push rbp
mov dword [rsp - 0x44], 0x35697e07
xchg rbp, r12
mov r12, rsp
xchg r12, rbp
add rsp, 0xffffffffffffff80
xor esi, esi
mov dword [rbp - 0x50], 0x46b6c943
add dword [rbp - 0x50], 0x38e1c13b
xor dword [rbp - 0x50], 0x4f4c3ffa
sub dword [rbp - 0x50], 0x308ab546
mov dword [rbp - 0x4c], 0x1227c5dd
add dword [rbp - 0x4c], 0x595a3d5d
xor dword [rbp - 0x4c], 0x5128716
sub dword [rbp - 0x4c], 0x2c4c85b3
sub dword [rbp - 0x4c], 0x41e8fe5f
mov dword [rbp - 0x48], 0x7f7a99d5
xor dword [rbp - 0x48], 0x52cc3b9f
add dword [rbp - 0x48], 0x4bf7218d
sub dword [rbp - 0x48], 0x185b4bee
sub dword [rbp - 0x48], 0x611277be
mov dword [rbp - 0x44], 0x30963d05
sub dword [rbp - 0x44], 0xd3dd3fa
add dword [rbp - 0x44], 0x26c17c72
xor dword [rbp - 0x44], 0x60b5ad5c
sub dword [rbp - 0x44], 0x2a58481c
xchg rsi, r15
mov qword [rbp + 0x10], r15
xchg rsi, r15
lea ebx, [rsi + 1]
xchg r10, r10
xchg r9, rax
mov r9, qword [rbp + 0x10]
xchg r9, rax
mov rcx, qword [rbp + 0x10]
xchg rsi, rsi
xchg rcx, rax
mov rcx, qword [rbp + 0x10]
xchg rcx, rax
and cl, 3
mov rdx, rdx
shl cl, 1
shl cl, 2
movzx edx, word [rbp + rax*2 - 0x50]
xchg r11, r11
mov eax, 0x709e783e
xor eax, 0x15fa2967
xor eax, 0x458f0c30
sub eax, 0x89644fb
shr eax, cl
movzx ecx, al
xchg rcx, rcx
mov rax, qword [rbp + 0x10]
xor cx, dx
mov word [rbp + rax*2 - 0x20], cx
mov rax, qword [rbp + 0x10]
mov dword [rsp - 0x40], ecx
add rax, rbx
xchg rsi, rax
mov qword [rbp + 0x10], rsi
xchg rsi, rax
mov rax, qword [rbp + 0x10]
cmp rax, 8
xchg r14, r14
jb 0x140117842
lea rax, [rbp - 0x20]
mov word [rbp - 0x10], si
xorps xmm0, xmm0
mov dword [rsp - 0x1c], 0x7cd1c055
xchg r13, rax
mov qword [rbp - 0x38], r13
xchg r13, rax
lea r9, [rbp - 0x30]
mov dword [rbp - 0x40], 0x14e02abb
xor dword [rbp - 0x40], 0xc392bf
xor dword [rbp - 0x40], 0xb8cdc
xor dword [rbp - 0x40], 0x143a34c8
lea r8, [rbp - 0x40]
mov r11, r11
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
mov dword [rsp - 0x34], 0x59618eec
xchg rdi, rbp
movups xmmword [rdi - 0x30], xmm0
xchg rbp, rdi
call fcn.1401322d0
mov dword [rsp - 0x30], 0x16c5f27c
xchg rdi, rax
mov rax, rdi
xchg rdi, rax
test rax, rax
xchg r8, r8
je 0x14011795f
mov rcx, rax
call fcn.14010dd08
mov dword [rsp - 0x24], esi
test al, al
je 0x14011795f
lea rdx, [rbp - 0x40]
mov rcx, rdi
mov r11, r11
call fcn.14010cbb4
test al, al
jne 0x140117962
mov dword [rsp - 0x20], 0x49a68549
mov bl, sil
xor eax, eax
lea r11, [rsp + 0x80]
mov dword [rsp - 0x34], 0x132db03c
mov rsi, qword [r11 + 0x20]
lea rdi, [rbp - 0x20]
lea ecx, [rax + 8]
rep stosb byte [rdi], al
mov dword [rsp - 0x38], 0x27592964
xchg rdi, rcx
mov rcx, qword [r11 + 0x28]
xchg rcx, rdi
mov al, bl
mov r13, r13
mov rbx, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14011bb60
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x230
mov rax, qword [0x1401402b0]
xchg rsp, rsp
lea rdx, [rsp + 0x20]
ror rax, 0x1b
ror rax, 2
ror rax, 3
ror rax, 5
ror rax, 1
ror rax, 1
mov rbx, rcx
movabs rcx, 0x3e7f261231f0b257
add rcx, 0xea10f7b
add rcx, 0x3914cf0
xor rcx, 0x1682b2f2
sub rcx, 0x3e87f913
xor r9d, r9d
mov dword [rsp - 0x40], 0x4b3d21ac
xor rax, rcx
movabs rcx, 0x874a2ab66e0dc270
sub rcx, 0x57aa45c5
add rcx, 0x46cfa085
add rcx, 0x7fffffff
add rcx, 0x526e3c0
ror rax, 0x17
ror rax, 2
ror rax, 1
ror rax, 1
xor rax, rcx
mov dword [rsp - 0x1c], edi
movabs rcx, 0x361e73c0638d080c
sub rcx, 0x4b875827
xor rcx, 0x32c6c03e
add rcx, 0x533d3b59
sub rcx, 0x5a28a9f
add rax, rcx
mov r10, r10
lea r8d, [r9 + 8]
rol rax, 0xf
rol rax, 4
rol rax, 6
rol rax, 1
xor ecx, ecx
mov dword [rsp - 0x30], 0x68a647f6
call rax
lea rcx, [rbx + 8]
xorps xmm0, xmm0
mov dword [rsp - 0x3c], ebp
mov qword [rbx], rcx
xchg r14, rcx
movups xmmword [r14], xmm0
xchg rcx, r14
xchg rcx, r10
movups xmmword [r10 + 0x10], xmm0
xchg rcx, r10
xchg r8, rcx
movups xmmword [r8 + 0x20], xmm0
xchg r8, rcx
test eax, eax
je 0x14011bda2
lea rax, [rsp + 0x20]
mov dword [rsp - 0x14], 0x4c4cd603
nop
movabs rdx, 0xffffffff490bfe2b
add rdx, 0x221bac62
sub rdx, 0x339f5015
add rdx, 0x2dcd142d
add rdx, 0x7fffffff
xor rdx, 0x1aaa915b
nop dword [rax + rax]
mov dword [rsp - 0x3c], 0x72bb6dd4
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14011bcc9
xchg rdx, rcx
mov rdx, rbx
xchg rdx, rcx
mov qword [rbx + 0x38], rdx
call fcn.140017c38
mov dword [rsp - 0x3c], 0x6e808327
xor r8d, r8d
xchg rdx, rax
mov rax, rdx
xchg rdx, rax
mov ecx, 0x7a04a623
xor ecx, 0x25d209ff
xor ecx, 0x13a29cb3
xor ecx, 0x3c537e5a
sub ecx, 0x57d234c7
cmp qword [rbx + 0x38], r8
jbe 0x14011bdac
mov r11, r11
lea r9, [rsp + 0x20]
mov r10d, 0x1bdc2552
xor r10d, 0x415cdf3
xor r10d, 0x1eb91d87
sub r10d, 0x170f427
sub r9, rax
mov dword [rsp - 0x2c], edi
nop word [rax + rax]
movzx eax, cx
lea rdx, [rdx + 2]
xchg rbx, rbx
and ax, r10w
ror ecx, 4
ror ecx, 3
ror ecx, 1
xor ax, word [r9 + rdx - 2]
inc r8
mov dword [rsp - 0x40], esp
mov word [rdx - 2], ax
cmp r8, qword [rbx + 0x38]
jb 0x14011bd57
mov dword [rsp - 0x2c], ebx
mov rax, rbx
sub rsp, 0x78102ee
add rsp, 0x781051e
pop rbx
xchg r15, r15
ret
xor r8d, r8d
xchg rsp, rsp
mov qword [rbx + 0x38], r8
xchg rbx, rax
mov rbx, rax
xchg rbx, rax
neg rsp
add rsp, 0xfffffffffffffdd0
neg rsp
nop
add rsp, 8
mov rbx, qword [rsp - 8]
ret
Function at 0x1401322d0
Capabilities:
Execute syscall

Disassembly:
xchg r10, rsp
mov rsp, rcx
xchg r10, rsp
mov eax, dword [0x140141044]
cmp qword [0x140141058], 0
mov dword [rsp - 0x3c], ebp
jne 0x14008c0c0
syscall
ret
jmp 0x14008cbe3
Function at 0x140134b20
Capabilities:
Encode data using xor

Disassembly:
xchg r9, rbx
mov qword [rsp + 8], r9
xchg rbx, r9
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov dword [rsp - 0x34], edi
nop
push r8
mov qword [rsp], rbp
push r12
nop
sub rsp, 8
mov qword [rsp], r14
mov rbp, rsp
nop
add rsp, 0x5ff1d22a
sub rsp, 0x5ff1d29a
mov rdi, r8
xchg r15, r15
xchg r14, rdx
mov rdx, r14
xchg r14, rdx
xchg rdx, rcx
mov rsi, rdx
xchg rcx, rdx
movabs r12, 0x407043dc15c67c66
add r12, 0x5cf1acee
xor r12, 0x2a1c4ae3
xor r12, 0x6f9ffecd
sub r12, 0x25aa2210
cmp r9d, 0x60001
jne 0x140134d38
mov dword [rsp - 0x2c], 0x5f79a2c2
mov dword [rbp - 0x40], 0x1fdf1cd9
xor dword [rbp - 0x40], 0x56103123
sub dword [rbp - 0x40], 0x182d548
xor dword [rbp - 0x40], 0xbb9ed9c
add dword [rbp - 0x40], 0xac424f71
xor edx, edx
mov dword [rbp - 0x3c], 0x228dc59d
xor dword [rbp - 0x3c], 0x4a645a39
sub dword [rbp - 0x3c], 0x4c1e6f66
xor dword [rbp - 0x3c], 0x60859688
xor dword [rbp - 0x3c], 0xff826457
mov dword [rbp - 0x38], 0x5236811b
sub dword [rbp - 0x38], 0x10eab438
xor dword [rbp - 0x38], 0x713855d9
add dword [rbp - 0x38], 0x1857cf8b
mov ecx, edx
mov eax, 0x394865d3
xor eax, 0x21c32e6e
add eax, 0x1ea135e2
add eax, 0xf029913
xor eax, 0x56352a6c
rol eax, cl
mov dword [rsp - 0xc], edx
xor al, byte [rbp + rdx - 0x40]
mov byte [rbp + rdx - 0x34], al
inc rdx
xchg rdi, rdi
cmp rdx, 0xc
jb 0x140134c14
mov r9d, 0x39aade17
xor r9d, 0x329e529d
xor r9d, 0x60cbadb7
sub r9d, 0x6bff113e
mov qword [rsp + 0x20], 0x5210ff77
xor qword [rsp + 0x20], 0x51e56eab
add qword [rsp + 0x20], 0x35d24e4e
xor qword [rsp + 0x20], 0x39c7e026
lea r8, [rbp - 0x34]
xchg rdx, rdi
mov rdi, rdx
xchg rdi, rdx
mov rcx, r14
mov dword [rsp - 0x34], 0x204890ad
call fcn.140131f0c
xchg r10, rbx
mov r10, rax
xchg rbx, r10
lea rdi, [rbp - 0x34]
xor eax, eax
mov r8, r8
lea ecx, [rax + 0xc]
rep stosb byte [rdi], al
test rbx, rbx
mov dword [rsp - 0x18], 0x505a097f
je 0x140134d76
lea rdx, [rbp - 0x28]
lea rcx, [rbx + 0xc]
call fcn.14008e4c4
xchg rdi, rdi
test dword [rbp - 7], 0x1000
jne 0x140134d76
cmp byte [rbp - 0x1d], 0xe8
mov dword [rsp - 0x20], esi
jne 0x140134d76
lea rdx, [rbx + 0xc]
mov rcx, r14
call fcn.140083e20
mov dword [rsp - 0x28], esi
movzx edx, byte [rbp - 0x28]
add edx, dword [rbp - 0x13]
add edx, eax
xchg rsp, rax
mov rsp, qword [rsi + 8]
xchg rsp, rax
xor rax, r12
add rdx, rax
xor rdx, r12
mov dword [rsp - 0x18], 0x3ad019ee
xchg r14, rdx
mov qword [rsi + 0x20], r14
xchg r14, rdx
cmp qword [rsi + 0x20], r12
mov dword [rsp - 0x10], 0x4fbf92e8
setne al
lea r11, [rsp + 0x70]
xchg r10, rbx
mov r10, qword [r11 + 0x20]
xchg r10, rbx
mov rsi, qword [r11 + 0x28]
xchg rdi, rsi
mov rsi, qword [r11 + 0x30]
xchg rdi, rsi
xchg r8, rsp
mov r8, r11
xchg r8, rsp
pop r14
pop r12
pop rbp
xchg rsp, rsp
ret
xor al, al
jmp 0x140134d47
Function at 0x14000ea30
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 0x14000f2d0
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 0x14000f2fc
mov dword [rsp + 0x24], 0x38
jmp 0x14000f304
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 0x14000f35b
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 0x14000f32d
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x40], 0x38
jb 0x14000f383
mov rcx, qword [rsp + 0x40]
call fcn.14000ee70
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.14000ee70
add rsp, 0x30
pop rdi
ret
Function at 0x14001353c
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14001356a
xor eax, eax
jmp 0x140013650
cmp qword [rcx + 0x68], 0
je 0x14001357b
call fcn.140010290
jmp 0x140013650
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140013592
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140013594
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400135c6
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140018150
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14001364a
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1400135fd
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140013626
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140020130
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14001364a
cmp rsi, rbx
ja 0x140013604
test rsi, rsi
je 0x14001364a
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140020130
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140016b54
Capabilities:
Parse pe header

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

Function at 0x140025b68
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140025958
Function at 0x14002ca6c
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 0x14002ca9e
call fcn.14001f284
mov dword [rax], 0x16
call fcn.14001f110
jmp 0x14002cbbd
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14002cbbd
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14002cbbd
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14002cacd
lock or dword [rcx + 0x14], 0x10
jmp 0x14002cbbd
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14002cae1
call fcn.14002e298
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.140029830
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14002da14
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14002cbab
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14002cb76
mov rcx, rsi
call fcn.140029830
cmp eax, edi
je 0x14002cb61
mov rcx, rsi
call fcn.140029830
cmp eax, 0xfffffffe
je 0x14002cb61
mov rcx, rsi
call fcn.140029830
movsxd rbx, eax
lea r14, [0x1404ca360]
mov rcx, rsi
sar rbx, 6
call fcn.140029830
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14002cb68
lea rdx, [0x14004e3c0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14002cb76
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14002cb9a
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14002cb9a
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14002cb9a
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 0x14002cbc0
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 0x14002cbd8
Capabilities:
Read file on windows

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, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14002c8fa
call fcn.14001f284
mov dword [rax], 0x16
call fcn.14001f110
jmp 0x14002ca4a
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14002ca4a
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14002ca4a
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14002c929
lock or dword [rcx + 0x14], 0x10
jmp 0x14002ca4a
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14002c93d
call fcn.14002e298
mov ebp, dword [rbx + 0x10]
cmp ebp, 1
jne 0x14002c94d
mov rax, qword [rbx]
mov r14b, byte [rax]
jmp 0x14002c950
xor r14b, r14b
mov rsi, qword [rbx + 8]
mov rcx, rbx
mov edi, dword [rbx + 0x20]
mov qword [rbx], rsi
call fcn.140029830
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.14002da14
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x14002ca38
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x14002c9e3
mov rcx, rbx
call fcn.140029830
cmp eax, 0xffffffff
je 0x14002c9ce
mov rcx, rbx
call fcn.140029830
cmp eax, 0xfffffffe
je 0x14002c9ce
mov rcx, rbx
call fcn.140029830
movsxd rdi, eax
lea rsi, [0x1404ca360]
mov rcx, rbx
sar rdi, 6
call fcn.140029830
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [rsi + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x14002c9d5
lea rdx, [0x14004e3c0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14002c9e3
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x14002ca07
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x14002ca07
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x14002ca07
mov dword [rbx + 0x20], 0x1000
mov rdx, qword [rbx]
cmp ebp, 1
jne 0x14002ca25
movzx ecx, byte [rdx]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, r14b
or cx, ax
inc rdx
jmp 0x14002ca30
movzx ecx, word [rdx]
add dword [rbx + 0x10], 0xfffffffe
add rdx, 2
mov qword [rbx], rdx
movzx eax, cx
jmp 0x14002ca4f
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x14002c8c4
Function at 0x14002cef0
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.140016400
sub rsp, rax
mov rax, qword [0x14004e020]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140029830
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14002cf3f
mov rax, rbp
jmp 0x14002d047
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, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x4ca360]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14002e1ec
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x4ca360]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14002d043
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 0x14002d043
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14002e1ec
test rax, rax
js 0x14002d043
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14002d043
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14002d035
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14002d035
cmp byte [rcx], 0xd
jne 0x14002d01b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002d02a
cmp byte [rcx + 1], 0xa
jne 0x14002d02a
inc rcx
jmp 0x14002d02a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x4e410]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14002cffd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14002d047
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140015cc0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret