joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400150d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14001512d
lea rbx, [0x1400f8a70]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140015114
cmp r10, 2
jb 0x140015114
cmp byte [r9], r8b
jne 0x140015114
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400150f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001516f
lea rbx, [0x1400f8a70]
cmp r8b, 0x23
jne 0x140015153
cmp byte [r9], r8b
jne 0x140015153
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140015140
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400152b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400152ca
mov qword [r8], 0
lea rdx, [0x14011aca8]
call fcn.140015180
mov rbx, rax
test rax, rax
jne 0x1400152ea
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.1400bce2c
mov esi, eax
cmp eax, 0xffffffff
je 0x1400153b8
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1400bda04
test eax, eax
jne 0x1400153b8
mov rcx, rbx
call fcn.1400bce2c
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400153b8
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1400bda04
test eax, eax
jne 0x1400153b8
cmp rdi, 0xffffffffffffffff
je 0x1400153b8
mov rax, qword [0x14018c190]
test rax, rax
je 0x14001535a
inc dword [rax + 0x3b0]
mov rcx, rdi
call fcn.1400c3f30
mov rsi, rax
test rax, rax
je 0x1400153b8
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1400be8d0
mov rcx, rbx
cmp rax, rdi
je 0x1400153a6
call fcn.1400bd664
mov rax, qword [0x14018c190]
test rax, rax
je 0x14001539c
dec dword [rax + 0x3b0]
mov rcx, rsi
call fcn.1400bc6f8
jmp 0x1400153c0
call fcn.1400bd664
test r14, r14
je 0x1400153b3
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400153c2
mov rcx, rbx
call fcn.1400bd664
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400238a0
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [0x14018c190]
lea rdx, [0x1400f8a70]
mov r8, rcx
mov rbx, qword [rax + 0x1d28]
add rbx, 0x100
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 9]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xa]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xb]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xc]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xd]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xe]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xf]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x1400239a1
lea ecx, [r9 + 1]
test r8d, r8d
je 0x14002398d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140023992
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140036380
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400239c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x14018c190]
lea rdx, [0x1400f8a70]
mov r8d, ecx
mov rbx, qword [rax + 0x1d28]
add rbx, 0x100
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x140023a77
lea ecx, [r9 + 1]
test r8d, r8d
je 0x140023a63
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140023a68
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140036380
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400249c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140136210]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14018c190]
mov edi, edx
cmp byte [rbx + 0x20dd], 0
jne 0x140024a20
cmp byte [rbx + 0x20de], 0
jne 0x140024a20
mov r9d, dword [rbx + 0x31b8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140015050
test dil, 1
je 0x140024b46
jmp 0x140024aaf
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x31b8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14011d95c]
mulss xmm1, dword [0x14011d94c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1dec], rax
mov dword [rbx + 0x1dd4], 1
movss dword [rbx + 0x1de4], xmm0
mov byte [rbx + 0x1e0c], 1
movss dword [rbx + 0x1de8], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x14011d888]
or dword [rbx + 0x1dd0], 0x41
movss dword [rbx + 0x1e30], xmm0
call fcn.140015050
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140024b00
lea r11, [0x1400f8a70]
nop
cmp r9b, 0x23
jne 0x140024ae3
cmp byte [r8], r9b
jne 0x140024ae3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140024ad0
not ecx
call fcn.14001d440
test rax, rax
je 0x140024b46
cmp byte [rax + 0xc7], 0
je 0x140024b46
mov byte [rax + 0xce], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xe8], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x31b8]
mov edx, 0x10
mov r9d, dword [rbx + 0x31b8]
call fcn.140015050
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14001fe60
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a70e0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140029a80
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140029ad2
lea r11, [0x1400f8a70]
cmp r9b, 0x23
jne 0x140029ab5
cmp byte [r8], r9b
jne 0x140029ab5
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140029aa2
mov r11, qword [0x14018c190]
mov r10, qword [r11 + 0x3268]
test r10, r10
je 0x140029b19
lea r9, [r10 + 4]
test r9, r9
je 0x140029b19
not eax
cmp dword [r9], eax
je 0x140029b22
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x3260]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140029af0
mov rcx, rbx
pop rbx
jmp fcn.140029990
mov rax, r9
pop rbx
ret
Function at 0x14002d260
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14002d4ae
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x140136210]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1400f8a70]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x14002d476
mov rcx, rbp
call fcn.14002c8e0
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x14002d331
movsxd rdx, dword [rbp + 0x3200]
mov r8, qword [rbp + 0x3208]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x14002d321
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14002d319
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14002d31c
mov rdx, rcx
test rdx, rdx
jne 0x14002d2f0
cmp r8, r10
je 0x14002d331
cmp dword [r8], r9d
jne 0x14002d331
mov rcx, qword [r8 + 8]
jmp 0x14002d333
xor ecx, ecx
mov qword [rbx + 0x18], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test rcx, rcx
je 0x14002d3c7
cmp qword [rcx + 0x20], 0
jne 0x14002d3bc
mov qword [rcx + 0x20], rbx
jmp 0x14002d3c7
cmp qword [rcx + 0x28], 0
jne 0x14002d3c7
mov qword [rcx + 0x28], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 6]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14002d40c
nop word [rax + rax]
mov r9, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14002d400
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, 0x14
lea rcx, [rsp + 0x20]
call fcn.140015050
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x14002d468
cmp r9b, 0x23
jne 0x14002d44b
cmp byte [r8], r9b
jne 0x14002d44b
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x14002d438
not ecx
call fcn.14001d440
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x14002d2b0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a70e0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14005aee0
Capabilities:
Receive http response

Disassembly:
push rbp
push rsi
sub rsp, 0x48
mov rax, qword [0x140136210]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rsi, rdx
mov rbp, rcx
test rcx, rcx
jne 0x14005af0b
mov eax, 0xffffffff
jmp 0x14005afe1
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r14
xor r14d, r14d
mov qword [rsp + 0x30], r15
mov edi, r14d
mov qword [rsp + 0x70], rbx
lea r15, [r14 - 1]
nop dword [rax]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x24], r14d
mov rcx, rbp
mov dword [rsp + 0x20], r14d
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x14005afcb
mov eax, dword [rsp + 0x20]
test eax, eax
je 0x14005afcb
add eax, 1
mov ecx, eax
cmovb rcx, r15
call fcn.1400c3f30
mov r8d, dword [rsp + 0x20]
xor edx, edx
inc r8d
mov rcx, rax
mov rbx, rax
call fcn.1400a9f40
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x24]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x14005afbe
mov r9d, dword [rsp + 0x20]
mov r8, rbx
mov rdx, qword [rsi + 8]
mov rcx, rsi
call fcn.14005b860
add edi, dword [rsp + 0x24]
mov rcx, rbx
call fcn.1400bc6f8
cmp dword [rsp + 0x20], r14d
ja 0x14005af30
jmp 0x14005afcb
test rbx, rbx
je 0x14005afcb
mov rcx, rbx
call fcn.1400bc6f8
mov r15, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400a70e0
add rsp, 0x48
pop rsi
pop rbp
ret
Function at 0x14005eb90
Capabilities:
Create process on windows
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
cmp qword [rdx + 0x18], 8
mov rbx, rdx
mov rdi, rcx
mov r9, rdx
jb 0x14005ebb2
mov r9, qword [rdx]
cmp qword [rcx + 0x18], 8
mov r8, rdi
jb 0x14005ebbf
mov r8, qword [rcx]
mov ecx, 0x72
xor edx, edx
call fcn.140001b60
lea ecx, [rdx + 0x75]
mov word [rsp + 0x30], ax
lea edx, [rcx - 0x74]
call fcn.140001b60
lea ecx, [rdx + 0x6d]
mov word [rsp + 0x32], ax
lea edx, [rcx - 0x6c]
call fcn.140001b60
lea ecx, [rdx + 0x5f]
mov word [rsp + 0x34], ax
lea edx, [rcx - 0x5e]
call fcn.140001b60
lea ecx, [rdx + 0x70]
mov word [rsp + 0x36], ax
lea edx, [rcx - 0x6f]
call fcn.140001b60
xor ecx, ecx
mov word [rsp + 0x38], ax
lea edx, [rcx + 5]
call fcn.140001b60
lea edx, [rcx + 6]
mov word [rsp + 0x3a], ax
movzx ecx, word [0x14011bfec]
call fcn.140001b60
movzx ecx, word [0x14011bfee]
mov edx, 7
mov word [rsp + 0x3c], ax
call fcn.140001b60
movzx ecx, word [0x14011bff0]
mov edx, 8
mov word [rsp + 0x3e], ax
call fcn.140001b60
movzx ecx, word [0x14011bff2]
mov edx, 9
mov word [rsp + 0x40], ax
call fcn.140001b60
movzx ecx, word [0x14011bff4]
mov edx, 0xa
mov word [rsp + 0x42], ax
call fcn.140001b60
mov word [rsp + 0x44], ax
mov r10d, 0x133
xor eax, eax
mov word [rsp + 0x46], ax
xor esi, esi
nop word [rax + rax]
movsxd rcx, eax
lea rdx, [rsp + 0x30]
lea rdx, [rdx + rcx*2]
lea ecx, [r10 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0xb
jb 0x14005eca0
mov dword [rsp + 0x28], esi
lea rdx, [rsp + 0x30]
xor ecx, ecx
mov qword [rsp + 0x20], rsi
mov word [rsp + 0x46], si
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14005ed10
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14005ed0b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005ed79
mov rcx, r8
call fcn.1400a7470
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14005ed5a
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14005ed55
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005ed79
mov rcx, r8
call fcn.1400a7470
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rsi, qword [rsp + 0x78]
mov qword [rbx + 0x18], 7
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call fcn.1400bc558
int3
Function at 0x14005ed80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140136210]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x40], ebp
jb 0x14005edb1
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x14005ee52
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14005ee24
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14005ee1f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005eefb
mov rcx, r8
call fcn.1400a7470
mov al, 1
mov word [rdi], bp
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a70e0
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x14005ee97
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14005ee93
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14005ee8e
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005eefb
mov rcx, r8
call fcn.1400a7470
xor al, al
jmp 0x14005ee26
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 0x41200
mov qword [rsp + 0x20], rbp
lea rdx, [0x140142900]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x68]
jne 0x14005eee4
cmp rax, 8
jb 0x14005ee93
lea rdx, [rax*2 + 2]
jmp 0x14005ee6a
cmp rax, 8
jb 0x14005ee24
lea rdx, [rax*2 + 2]
jmp 0x14005edf7
call fcn.1400bc558
int3
Function at 0x14005ef10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140136210]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x40], ebp
jb 0x14005ef41
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x14005efe2
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14005efb4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14005efaf
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005f08b
mov rcx, r8
call fcn.1400a7470
mov al, 1
mov word [rdi], bp
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a70e0
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x14005f027
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14005f023
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14005f01e
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005f08b
mov rcx, r8
call fcn.1400a7470
xor al, al
jmp 0x14005efb6
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 0x2400
mov qword [rsp + 0x20], rbp
lea rdx, [0x1401404f0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x68]
jne 0x14005f074
cmp rax, 8
jb 0x14005f023
lea rdx, [rax*2 + 2]
jmp 0x14005effa
cmp rax, 8
jb 0x14005efb4
lea rdx, [rax*2 + 2]
jmp 0x14005ef87
call fcn.1400bc558
int3
Function at 0x140066010
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rcx
xor edx, edx
mov cl, 0x3f
call fcn.14005d590
mov edx, 1
mov byte [rsp + 0x20], al
call fcn.14005d590
mov edx, 2
mov byte [rsp + 0x21], al
call fcn.14005d590
mov edx, 3
mov byte [rsp + 0x22], al
call fcn.14005d590
mov edx, 4
mov byte [rsp + 0x23], al
call fcn.14005d590
mov edx, 5
mov byte [rsp + 0x24], al
call fcn.14005d590
mov edx, 6
mov byte [rsp + 0x25], al
call fcn.14005d590
mov edx, 7
mov byte [rsp + 0x26], al
call fcn.14005d590
mov edx, 8
mov byte [rsp + 0x27], al
call fcn.14005d590
mov edx, 9
mov byte [rsp + 0x28], al
call fcn.14005d590
mov edx, 0xa
mov byte [rsp + 0x29], al
call fcn.14005d590
mov edx, 0xb
mov byte [rsp + 0x2a], al
call fcn.14005d590
mov edx, 0xc
mov byte [rsp + 0x2b], al
call fcn.14005d590
mov edx, 0xd
mov byte [rsp + 0x2c], al
call fcn.14005d590
mov edx, 0xe
mov byte [rsp + 0x2d], al
call fcn.14005d590
mov edx, 0xf
mov byte [rsp + 0x2e], al
call fcn.14005d590
mov byte [rsp + 0x2f], al
xor eax, eax
mov byte [rsp + 0x30], al
xor edi, edi
nop dword [rax]
nop dword [rax + rax]
movsxd rcx, eax
lea rdx, [rsp + 0x20]
add rdx, rcx
lea ecx, [rax + 0x13]
inc eax
xor byte [rdx], cl
cmp eax, 0x10
jb 0x140066110
xorps xmm0, xmm0
mov byte [rsp + 0x30], dil
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
lea rax, [rsp + 0x20]
mov qword [rbx + 0x18], rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x140066146
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000efc0
xorps xmm0, xmm0
mov rax, rbx
movups xmmword [rbx + 0x20], xmm0
mov qword [rbx + 0x30], rdi
mov qword [rbx + 0x38], 0xf
mov byte [rbx + 0x20], dil
movups xmmword [rbx + 0x40], xmm0
mov qword [rbx + 0x50], rdi
mov qword [rbx + 0x58], 0xf
mov byte [rbx + 0x40], dil
movups xmmword [rbx + 0x60], xmm0
mov qword [rbx + 0x70], rdi
mov qword [rbx + 0x78], 0xf
mov byte [rbx + 0x60], dil
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140067700
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140067722
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14006779c
mov rdi, r14
mov rcx, rbx
call fcn.14000c5f0
test rax, rax
jle 0x140067774
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1400a98a0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14006778c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140067794
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140067736
sub r14, rdi
jmp 0x14006787f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400677b3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400677b5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400677e7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400a98a0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14006787c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140067822
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14006785d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400be8d0
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14006787c
cmp rbp, rax
ja 0x140067830
test rbp, rbp
je 0x14006787c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400be8d0
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret