joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140091d50
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov r9d, dword [rcx + 0x10060]
mov rsi, rdx
mov rdi, rcx
test r8d, r8d
je 0x140091e64
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x50], r14
xor r14d, r14d
mov qword [rsp + 0x70], rbx
mov ebp, r8d
cmp r9d, 0x10
jne 0x140091e28
mov ecx, r14d
lea rax, [rdi + 0x10080]
add byte [rax], 1
jne 0x140091da5
inc ecx
inc rax
cmp ecx, 8
jb 0x140091d96
movups xmm0, xmmword [rdi + 0x10080]
mov rbx, qword [rdi + 0x10058]
lea rdx, [rdi + 0x10064]
mov dword [rsp + 0x80], r14d
movups xmmword [rdx], xmm0
test rbx, rbx
je 0x140091e25
test rdx, rdx
je 0x140091e25
cmp dword [rbx + 0x18], 2
jne 0x140091ddb
cmp qword [rbx + 0x60], r14
je 0x140091e25
mov r9, qword [rbx + 0x60]
lea rax, [rsp + 0x80]
mov rcx, qword [rbx + 8]
mov r8d, 0x10
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x40], rax
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x38], 0x10
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x20], rax
call qword [sym.imp.bcrypt.dll_BCryptEncrypt]
test eax, eax
jns 0x140091e25
mov dword [rbx + 0x1c], eax
mov r9d, r14d
mov eax, r9d
inc r9d
movzx ecx, byte [rax + rdi + 0x10064]
xor byte [rsi], cl
inc rsi
sub rbp, 1
jne 0x140091d82
mov r14, qword [rsp + 0x50]
xor eax, eax
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov dword [rdi + 0x10060], r9d
add rsp, 0x58
pop rdi
pop rsi
ret
mov dword [rcx + 0x10060], r9d
xor eax, eax
add rsp, 0x58
pop rdi
pop rsi
ret

Function at 0x140094070
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x160]
mov r9, rdx
mov rbx, rcx
test rax, rax
jne 0x1400940cd
test rdx, rdx
je 0x1400940ac
mov rax, qword [rdx]
test rax, rax
je 0x1400940ac
mov rcx, qword [r9 + 0x10]
mov edx, 1
mov r8d, 0x140
call qword [case.0x140032886.0]
jmp 0x1400940b6
mov ecx, 0x140
call fcn.1400e9cb4
test rax, rax
jne 0x1400940cd
xor ecx, ecx
mov qword [rbx + 0x160], rcx
lea eax, [rcx + 5]
add rsp, 0x20
pop rbx
ret
xor ecx, ecx
mov dword [rax], ecx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x90], rcx
mov qword [rax + 0x98], rcx
mov qword [rax + 0xa0], rcx
mov qword [rax + 0xa8], rcx
mov qword [rax + 0x120], rcx
mov qword [rax + 0x128], rcx
mov qword [rax + 0x130], rcx
mov dword [rax + 0x138], ecx
movups xmm0, xmmword [0x14013c920]
movups xmmword [rax + 0x68], xmm0
movups xmm1, xmmword [0x14013c930]
mov qword [rax + 0x88], rcx
movups xmmword [rax + 0x78], xmm1
movups xmm0, xmmword [0x14013c920]
movups xmmword [rax + 0xf0], xmm0
movups xmm1, xmmword [0x14013c930]
mov qword [rax + 0x110], rcx
movups xmmword [rax + 0x100], xmm1
mov qword [rbx + 0x160], rax
xor eax, eax
mov dword [rbx], ecx
mov qword [rbx + 0x180], rcx
add rsp, 0x20
pop rbx
ret
Function at 0x140099cf0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r13
push r14
push r15
mov esi, dword [rcx + 0x4804]
lea r9, [0x14013c8a0]
mov ebp, edx
mov r11, rcx
mov dword [rcx + rbp*4 + 0x4808], esi
lea r12, [r11 + 0x404]
movzx edx, word [rcx]
movzx ecx, word [rcx + 2]
mov eax, edx
shr rax, 4
xor rdx, 0x7f0
shr rdx, 4
movzx r14d, byte [rax + r9]
mov eax, ecx
movzx r8d, byte [rdx + r9]
xor rcx, 0x7f0
shr rax, 4
shr rcx, 4
mov dword [rsp + 0x38], r14d
movzx r15d, byte [rax + r9]
movzx r13d, byte [rcx + r9]
add r15d, r8d
imul rax, rbp, 0x440
add r13d, r8d
xor r9d, r9d
add r12, rax
test esi, esi
je 0x140099ed9
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rdi
mov rdi, r12
cmp r9d, 8
jae 0x140099dff
xor r10d, r10d
lea r8d, [r9 + 8]
lea rbx, [rbp*8]
lea r14, [0x14013c8a0]
nop dword [rax]
nop dword [rax + rax]
mov ecx, r8d
shr r8d, 1
and ecx, 1
mov eax, r8d
add rax, rbx
movzx edx, word [r11 + rax*2 + 4]
mov eax, ecx
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
movzx eax, byte [rdx + r14]
add r10d, eax
cmp r8d, 1
jne 0x140099db0
mov eax, dword [rsp + 0x38]
inc r9d
add eax, r10d
mov dword [rdi], eax
add rdi, 4
cmp r9d, esi
jb 0x140099d88
jmp 0x140099ecf
cmp r9d, esi
jae 0x140099ecf
lea rdi, [r12 + r9*4]
lea r14, [0x14013c8a0]
cmp r9d, 0x10
jae 0x140099e7c
xor r10d, r10d
lea rbx, [rbp*8]
mov r8d, r9d
nop word [rax + rax]
mov ecx, r8d
shr r8d, 1
and ecx, 1
mov eax, r8d
add rax, rbx
movzx edx, word [r11 + rax*2 + 0x104]
mov eax, ecx
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
movzx eax, byte [rdx + r14]
add r10d, eax
cmp r8d, 1
jne 0x140099e30
lea eax, [r10 + r15]
inc r9d
mov dword [rdi], eax
add rdi, 4
cmp r9d, esi
jb 0x140099e13
jmp 0x140099ecf
lea rbx, [r12 + r9*4]
xor r10d, r10d
lea eax, [r9 + 0xf0]
nop word [rax + rax]
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
shr rcx, 4
movzx r8d, word [r11 + rax*2 + 0x204]
and ecx, 0x7f
shr r8, 4
xor r8, rcx
movzx ecx, byte [r8 + r14]
add r10d, ecx
cmp eax, 1
jne 0x140099e90
lea eax, [r10 + r13]
inc r9d
mov dword [rbx], eax
add rbx, 4
cmp r9d, esi
jb 0x140099e80
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
Function at 0x14009add0
Capabilities:
Encode data using xor

Disassembly:
push rdi
push r13
sub rsp, 0x28
mov dword [rcx], 0x4000400
mov r10, rcx
mov r13d, edx
mov r9d, 0x400
test edx, edx
je 0x14009ae4d
lea rax, [rcx + 8]
mov ecx, r13d
nop word [rax + rax]
mov dword [rax - 4], 0x4000400
mov dword [rax], 0x4000400
mov dword [rax + 4], 0x4000400
mov dword [rax + 8], 0x4000400
mov dword [rax + 0xfc], 0x4000400
mov dword [rax + 0x100], 0x4000400
mov dword [rax + 0x104], 0x4000400
mov dword [rax + 0x108], 0x4000400
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x14009ae00
movzx eax, r9w
lea rdi, [r10 + 0x204]
mov ecx, 0x100
rep stosw word [rdi], ax
test r8b, r8b
jne 0x14009afbf
test edx, edx
je 0x14009afbf
mov qword [rsp + 0x48], rbx
lea rax, [r10 + 0x4808]
mov qword [rsp + 0x20], rbp
xor ebx, ebx
mov qword [rsp + 0x18], rsi
lea rsi, [0x14013c8a0]
mov qword [rsp + 0x10], r12
mov qword [rsp + 8], r14
mov qword [rsp], r15
lea r15, [r10 + 0x404]
mov qword [rsp + 0x40], rax
nop word [rax + rax]
mov ebp, dword [r10 + 0x4804]
lea rdi, [0x14013c8a0]
mov dword [rax], ebp
movzx ecx, word [r10]
mov eax, ecx
xor rcx, 0x7f0
shr rcx, 4
shr rax, 4
movzx edx, byte [rcx + rdi]
movzx esi, byte [rax + rsi]
movzx ecx, word [r10 + 2]
mov eax, ecx
mov dword [rsp + 0x50], esi
shr rax, 4
xor rcx, 0x7f0
shr rcx, 4
movzx r14d, byte [rax + rdi]
xor eax, eax
movzx r12d, byte [rcx + rdi]
add r14d, edx
add r12d, edx
test ebp, ebp
je 0x14009af78
mov r11, r15
cmp eax, 8
jae 0x14009afc7
xor r9d, r9d
lea r8d, [rax + 8]
lea rsi, [0x14013c8a0]
nop word [rax + rax]
mov edx, r8d
shr r8d, 1
and edx, 1
mov ecx, r8d
add rcx, rbx
movzx edi, word [r10 + rcx*2 + 4]
mov ecx, edx
neg ecx
shr rdi, 4
shr rcx, 4
and ecx, 0x7f
xor rdi, rcx
movzx ecx, byte [rdi + rsi]
add r9d, ecx
cmp r8d, 1
jne 0x14009af30
mov ecx, dword [rsp + 0x50]
inc eax
add ecx, r9d
mov dword [r11], ecx
add r11, 4
cmp eax, ebp
jb 0x14009af10
lea rsi, [0x14013c8a0]
mov rax, qword [rsp + 0x40]
add r15, 0x440
add rax, 4
add rbx, 8
mov qword [rsp + 0x40], rax
sub r13, 1
jne 0x14009aeb0
mov r15, qword [rsp]
mov r14, qword [rsp + 8]
mov r12, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x48]
add rsp, 0x28
pop r13
pop rdi
ret
cmp eax, ebp
jae 0x14009af78
lea r11, [r15 + rax*4]
lea rsi, [0x14013c8a0]
cmp eax, 0x10
jae 0x14009b02e
xor r9d, r9d
mov r8d, eax
mov edx, r8d
shr r8d, 1
and edx, 1
mov ecx, r8d
add rcx, rbx
movzx edi, word [r10 + rcx*2 + 0x104]
mov ecx, edx
neg ecx
shr rdi, 4
shr rcx, 4
and ecx, 0x7f
xor rdi, rcx
movzx ecx, byte [rdi + rsi]
add r9d, ecx
cmp r8d, 1
jne 0x14009afe1
lea ecx, [r9 + r14]
inc eax
mov dword [r11], ecx
add r11, 4
cmp eax, ebp
jb 0x14009afd6
jmp 0x14009af7f
lea r11, [r15 + rax*4]
nop dword [rax]
nop word [rax + rax]
xor r9d, r9d
lea r8d, [rax + 0xf0]
nop word [rax + rax]
mov ecx, r8d
shr r8d, 1
and ecx, 1
neg ecx
shr rcx, 4
movzx edi, word [r10 + r8*2 + 0x204]
and ecx, 0x7f
shr rdi, 4
xor rdi, rcx
movzx ecx, byte [rdi + rsi]
add r9d, ecx
cmp r8d, 1
jne 0x14009b050
lea ecx, [r9 + r12]
inc eax
mov dword [r11], ecx
add r11, 4
cmp eax, ebp
jb 0x14009b040
jmp 0x14009af7f
Function at 0x14009c3e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, r9
mov rsi, r8
mov rbp, rcx
sub edx, 1
je 0x14009c557
mov qword [rsp + 0x30], rbx
sub edx, 3
je 0x14009c47c
cmp edx, 6
jne 0x14009c467
test r9, r9
je 0x14009c467
nop word [rax + rax]
mov ecx, dword [rbp + 0x60]
mov eax, 0x40
and ecx, 0x3f
mov rbx, rdi
sub rax, rcx
mov rdx, rsi
cmp rax, rdi
cmovbe rbx, rax
add rcx, rbp
mov r8, rbx
call fcn.1400d44b0
add qword [rbp + 0x60], rbx
add rsi, rbx
sub rdi, rbx
test byte [rbp + 0x60], 0x3f
jne 0x14009c462
lea rcx, [rbp + 0x40]
mov rdx, rbp
call fcn.1400a2e10
test rdi, rdi
jne 0x14009c420
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rcx + 0x40]
lea rbx, [0x14013ea40]
not rax
cmp r9, 4
jbe 0x14009c52a
test sil, 3
je 0x14009c4bd
nop word [rax + rax]
movzx ecx, byte [rsi]
dec rdi
movzx edx, al
inc rsi
xor rdx, rcx
shr rax, 8
xor rax, qword [rbx + rdx*8]
test sil, 3
jne 0x14009c4a0
mov r11, rdi
and edi, 3
and r11, 0xfffffffffffffffc
add r11, rsi
cmp rsi, r11
jae 0x14009c52a
nop
mov r10d, dword [rsi]
add rsi, 4
mov ecx, eax
xor r10, rcx
mov rcx, r10
shr rcx, 0x10
movzx r8d, cl
mov rcx, r10
shr rcx, 8
movzx edx, cl
mov rcx, r10
shr rcx, 0x18
mov r9, qword [rbx + r8*8 + 0x800]
xor r9, qword [rbx + rdx*8 + 0x1000]
xor r9, qword [rbx + rcx*8]
movzx ecx, r10b
xor r9, qword [rbx + rcx*8 + 0x1800]
mov rcx, rax
shr rcx, 0x20
mov rax, r9
xor rax, rcx
cmp rsi, r11
jb 0x14009c4d0
test rdi, rdi
je 0x14009c54b
nop
movzx ecx, byte [rsi]
lea rsi, [rsi + 1]
movzx edx, al
xor rdx, rcx
shr rax, 8
xor rax, qword [rbx + rdx*8]
sub rdi, 1
jne 0x14009c530
not rax
mov qword [rbp + 0x40], rax
jmp 0x14009c467
mov r8d, dword [rcx + 0x40]
mov rdx, r9
mov rcx, rsi
call fcn.1400a4500
mov rsi, qword [rsp + 0x40]
mov dword [rbp + 0x40], eax
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400a09c0
Capabilities:
Encode data using xor

Disassembly:
push rdi
mov r10d, dword [rcx + 0xb7c]
mov r11, rcx
mov ecx, 8
sub ecx, r10d
shr r8d, cl
mov ecx, r10d
mov eax, dword [r11 + 0xb80]
xor r10d, r10d
and eax, edx
shl eax, cl
mov ecx, dword [rsp + 0x38]
add r8d, eax
add ecx, 0x100
lea rdi, [r8 + r8*2]
shl rdi, 9
add rdi, r11
lea r11, [0x14013c8a0]
test r9b, r9b
jne 0x1400a0a46
nop dword [rax]
mov r8d, ecx
shr ecx, 1
and r8d, 1
neg r8d
shr r8, 4
movzx r9d, word [rdi + rcx*2 + 0xb84]
and r8d, 0x7f
shr r9, 4
xor r9, r8
movzx edx, byte [r9 + r11]
add r10d, edx
cmp ecx, 1
jne 0x1400a0a10
mov eax, r10d
pop rdi
ret
mov qword [rsp + 0x10], rbx
mov r9d, 0x100
mov ebx, dword [rsp + 0x30]
nop word [rax + rax]
mov edx, ecx
add ebx, ebx
shr edx, 8
mov eax, r9d
and eax, ebx
add eax, r9d
add edx, eax
movzx r8d, word [rdi + rdx*2 + 0xb84]
mov edx, ecx
shr edx, 7
add ecx, ecx
and edx, 1
shr r8, 4
neg edx
shr rdx, 4
and edx, 0x7f
xor r8, rdx
movzx eax, byte [r8 + r11]
add r10d, eax
mov eax, ebx
xor eax, ecx
not eax
and r9d, eax
cmp ecx, 0x10000
jb 0x1400a0a60
mov rbx, qword [rsp + 0x10]
mov eax, r10d
pop rdi
ret
Function at 0x1400a0ac0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov r12d, 4
lea rbx, [rcx + 0x10278]
mov ebp, r12d
lea rsi, [rcx + 0x10680]
mov r10, rcx
lea r13, [0x14013c8a0]
xor edi, edi
nop
mov eax, dword [r10 + 0x10e78]
xor r11d, r11d
test eax, eax
je 0x1400a0b67
nop
xor r9d, r9d
lea eax, [r11 + 0x40]
nop word [rax + rax]
mov edx, eax
shr eax, 1
and edx, 1
mov ecx, eax
add rcx, rdi
movzx r8d, word [r10 + rcx*2 + 0x6ee4]
mov ecx, edx
neg ecx
shr r8, 4
shr rcx, 4
and ecx, 0x7f
xor r8, rcx
movzx ecx, byte [r8 + r13]
add r9d, ecx
cmp eax, 1
jne 0x1400a0b20
mov dword [rbx + r11*4], r9d
inc r11d
mov eax, dword [r10 + 0x10e78]
cmp r11d, eax
jb 0x1400a0b10
mov edx, 0xe
cmp eax, edx
jbe 0x1400a0b90
mov eax, edx
lea rcx, [rbx + rax*4]
mov eax, edx
shr eax, 1
inc edx
shl eax, 4
sub eax, 0x50
add dword [rcx], eax
cmp edx, dword [r10 + 0x10e78]
jb 0x1400a0b70
nop dword [rax]
mov eax, dword [rbx]
add rdi, 0x40
mov dword [rsi - 8], eax
mov eax, dword [rbx + 4]
mov dword [rsi - 4], eax
mov eax, dword [rbx + 8]
mov dword [rsi], eax
mov eax, dword [rbx + 0xc]
add rbx, 0x100
mov dword [rsi + 4], eax
add rsi, 0x200
sub rbp, 1
jne 0x1400a0b00
mov r15, r12
lea r14, [0x14013a8a4]
lea rdi, [r10 + 0x10a88]
nop dword [rax]
nop word [rax + rax]
movzx r9d, byte [r14]
mov ebx, r12d
mov r11d, r9d
mov eax, r9d
and eax, 1
shr r11d, 1
dec r11d
or eax, 2
mov ecx, r11d
shl eax, cl
sub ebx, eax
mov ebp, eax
xor r8d, r8d
lea esi, [r8 + 1]
nop dword [rax]
mov eax, esi
mov edx, ebx
sub rax, r9
shr ebx, 1
add rax, rbp
and edx, 1
movzx ecx, word [r10 + rax*2 + 0x70e2]
lea esi, [rdx + rsi*2]
mov eax, edx
shr rcx, 4
neg eax
shr rax, 4
and eax, 0x7f
xor rcx, rax
movzx eax, byte [rcx + r13]
add r8d, eax
add r11d, 0xffffffff
jne 0x1400a0c10
mov ecx, dword [r10 + r9*4 + 0x10278]
inc r12d
add ecx, r8d
inc r15
mov dword [rdi - 0x400], ecx
inc r14
mov ecx, dword [r10 + r9*4 + 0x10378]
add ecx, r8d
mov dword [rdi - 0x200], ecx
mov ecx, dword [r10 + r9*4 + 0x10478]
add ecx, r8d
mov dword [rdi], ecx
mov ecx, dword [r10 + r9*4 + 0x10578]
add ecx, r8d
mov dword [rdi + 0x200], ecx
add rdi, 4
cmp r12d, 0x80
jb 0x1400a0be0
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov dword [r10 + 0x10e7c], r11d
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x1400a4500
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
lea rsi, [0x14013ca40]
mov rbx, rdx
mov r11, rcx
not r8d
cmp rdx, 8
jbe 0x1400a4606
mov qword [rsp + 0x10], rdi
test cl, 7
je 0x1400a454f
nop word [rax + rax]
movzx eax, byte [r11]
dec rbx
movzx ecx, r8b
inc r11
xor rcx, rax
shr r8d, 8
xor r8d, dword [rsi + rcx*4]
test r11b, 7
jne 0x1400a4530
mov rdi, rbx
and ebx, 7
and rdi, 0xfffffffffffffff8
add rdi, r11
cmp r11, rdi
jae 0x1400a4601
nop word [rax + rax]
xor r8d, dword [r11]
mov r10d, dword [r11 + 4]
add r11, 8
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov eax, r10d
mov r8d, dword [rsi + rdx*4 + 0x1400]
shr rax, 0x10
xor r8d, dword [rsi + rcx*4 + 0x1800]
movzx ecx, al
mov eax, r10d
shr rax, 8
xor r8d, dword [rsi + rcx*4 + 0x400]
movzx ecx, al
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4 + 0x1000]
mov eax, r10d
shr rax, 0x18
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0x1c00]
movzx eax, r10b
xor r8d, dword [rsi + rax*4 + 0xc00]
cmp r11, rdi
jb 0x1400a4570
mov rdi, qword [rsp + 0x10]
test rbx, rbx
je 0x1400a462d
nop dword [rax + rax]
movzx eax, byte [r11]
lea r11, [r11 + 1]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [rsi + rcx*4]
sub rbx, 1
jne 0x1400a4610
mov rbx, qword [rsp + 0x18]
not r8d
mov eax, r8d
pop rsi
ret
Function at 0x1400d86f0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400d855b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400d855b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400d855b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400d855b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400d855b
cmp dword [rcx + 0x84], 0xe
jbe 0x1400d855b
cmp dword [rcx + 0xf8], 0
je 0x1400d855b
mov ecx, ebx
call fcn.1400d860c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400d83e8
nop
cmp dword [rbp + 0x20], 0
je 0x1400d85a9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400d85b4
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400d84ec

Function at 0x1400e64d8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400e650f
call fcn.1400e3b60
mov dword [rax], 0x16
call fcn.1400e39c0
xor eax, eax
jmp 0x1400e659d
mov rdx, r9
mov rcx, r8
call fcn.1400e6474
mov rbx, rax
test rax, rax
je 0x1400e659a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400e63a0]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400e6587
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400e3ad4
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400e656e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400e657d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400f0bdc
jmp 0x1400e659a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400e6597
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400e9a34
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.1401033f0
sub rsp, rax
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400f1c70
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400e9a83
mov rax, rbp
jmp 0x1400e9b8b
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 + 0x16c540]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400f802c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x16c540]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400e9b87
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 0x1400e9b87
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400f802c
test rax, rax
js 0x1400e9b87
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400e9b87
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400e9b79
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400e9b79
cmp byte [rcx], 0xd
jne 0x1400e9b5f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400e9b6e
cmp byte [rcx + 1], 0xa
jne 0x1400e9b6e
inc rcx
jmp 0x1400e9b6e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x162650]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400e9b41
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400e9b8b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400ad9f0
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 0x1400f5ef0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400f5f06
mov al, 1
jmp 0x1400f5f66
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400f5f17
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400f5f64
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400fa824
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400f5f64
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400f5f64
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400f5f64
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400f5f66
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400f73cc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14016c540]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400f7423
cmp word [rdx], r13w
jne 0x1400f7423
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400f7428
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400f754d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400f756e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400f7461
mov rdx, r9
mov word [rbx], cx
jmp 0x1400f7488
cmp r9, r8
jae 0x1400f7498
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400f7442
jmp 0x1400f754d
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400f7542
cmp dword [rsp + 0x80], esi
je 0x1400f7542
lea r8, [0x14016c540]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400f751a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400f74ea
mov word [rbx], r13w
jmp 0x1400f754a
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400f74f7
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400f754a
cmp word [rsp + 0x70], r13w
jne 0x1400f7527
cmp rbx, r14
je 0x1400f74e4
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400f8034
cmp word [rsp + 0x70], r13w
je 0x1400f754d
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14016c540]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400f7547
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400f754d
Function at 0x1400fbd3c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400fbdc3
mov rsi, rbx
cmp word [rax], bp
je 0x1400fbd82
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400fbd6c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400fbd68
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400f41c0
mov rdi, rax
test rax, rax
je 0x1400fbdb0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400d44b0
mov rbp, rdi
xor ecx, ecx
call fcn.1400f0bdc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret