joyce8/EMBER2024-capa huggingface dataset:
Function at 0x29e85be0ec0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
xor r14d, r14d
mov rcx, rdx
mov r12d, r8d
mov rbx, rdx
mov esi, r14d
mov r15d, r14d
call fcn.29e85be2ef0
movzx ecx, byte [rbx + 0xb]
mov ebp, 1
shl ebp, cl
test eax, eax
je 0x29e85be0f3c
mov r10d, r14d
mov r11d, eax
nop word [rax + rax]
mov rax, qword [rbx + 0x10]
test byte [r10 + rax + 8], 0x40
je 0x29e85be0f33
mov rdx, qword [r10 + rax]
test byte [rdx + 9], 0x18
je 0x29e85be0f33
mov rcx, rdi
mov esi, 1
call fcn.29e85bdfb70
add r10, 0x10
dec r11
jne 0x29e85be0f10
mov r11d, r14d
test ebp, ebp
je 0x29e85be0fd0
test r12d, r12d
je 0x29e85be0f55
mov eax, ebp
sub eax, r11d
dec eax
jmp 0x29e85be0f58
mov eax, r11d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x18]
movzx edx, byte [rax + rcx*8 + 8]
lea r10, [rax + rcx*8]
test dl, 0xf
jne 0x29e85be0f7c
test byte [r10 + 9], 0x40
je 0x29e85be0fc4
mov byte [r10 + 9], 0xb
jmp 0x29e85be0fc4
test byte [r10 + 9], 0x40
je 0x29e85be0fa7
mov rcx, qword [r10 + 0x10]
test rcx, rcx
je 0x29e85be0fa7
movzx eax, byte [rcx + 8]
and al, 0xf
cmp al, 4
jne 0x29e85be0ff1
test byte [rcx + 9], 0x18
je 0x29e85be0fa7
mov rdx, rcx
mov rcx, rdi
call fcn.29e85bdfb70
test byte [r10 + 8], 0x40
je 0x29e85be0fc4
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x29e85be0fc4
mov rcx, rdi
mov esi, 1
call fcn.29e85bdfb70
inc r11d
cmp r11d, ebp
jb 0x29e85be0f47
cmp byte [rdi + 0x65], 0
jne 0x29e85be1013
mov rcx, qword [rdi + 0x90]
mov qword [rbx + 0x30], rcx
mov qword [rdi + 0x90], rbx
and byte [rbx + 9], 0xc7
jmp 0x29e85be1085
movzx eax, byte [rcx + 9]
and eax, 0x18
je 0x29e85be0fa7
mov r14d, 1
test dl, 0x40
je 0x29e85be0fc4
mov rax, qword [r10]
test byte [rax + 9], 0x18
je 0x29e85be0fc4
mov r15d, r14d
jmp 0x29e85be0fc4
test r15d, r15d
je 0x29e85be1030
mov rax, qword [rdi + 0xa0]
mov qword [rbx + 0x30], rax
mov qword [rdi + 0xa0], rbx
and byte [rbx + 9], 0xc7
jmp 0x29e85be1085
test r14d, r14d
je 0x29e85be104d
mov rax, qword [rdi + 0xa8]
mov qword [rbx + 0x30], rax
mov qword [rdi + 0xa8], rbx
and byte [rbx + 9], 0xc7
jmp 0x29e85be1085
movzx eax, byte [rbx + 9]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x29e85be107b
mov rcx, rbx
call fcn.29e85bdec50
mov rcx, qword [rdi + 0x90]
mov qword [rax], rcx
mov qword [rdi + 0x90], rbx
and byte [rbx + 9], 0xc7
jmp 0x29e85be1085
cmp cl, 6
jne 0x29e85be1085
xor al, 2
mov byte [rbx + 9], al
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov eax, esi
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x29e85be11f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
movzx ecx, byte [rdx + 0xb]
mov eax, 1
shl eax, cl
mov rcx, rdx
mov rbx, rdx
cdqe
lea r8, [rax + rax*2]
mov rax, qword [rdx + 0x18]
lea rbp, [rax + r8*8]
call fcn.29e85be2ef0
xor esi, esi
test eax, eax
je 0x29e85be1267
mov r10d, esi
mov r11d, eax
nop word [rax + rax]
mov rax, qword [rbx + 0x10]
test byte [rax + r10 + 8], 0x40
je 0x29e85be125e
mov rdx, qword [rax + r10]
test byte [rdx + 9], 0x18
je 0x29e85be125e
mov rcx, rdi
call fcn.29e85bdfb70
add r10, 0x10
dec r11
jne 0x29e85be1240
mov r10, qword [rbx + 0x18]
cmp r10, rbp
jae 0x29e85be12bf
test byte [r10 + 8], 0xf
jne 0x29e85be1285
test byte [r10 + 9], 0x40
je 0x29e85be12b6
mov byte [r10 + 9], 0xb
jmp 0x29e85be12b6
test byte [r10 + 9], 0x40
je 0x29e85be129e
mov rdx, qword [r10 + 0x10]
test byte [rdx + 9], 0x18
je 0x29e85be129e
mov rcx, rdi
call fcn.29e85bdfb70
test byte [r10 + 8], 0x40
je 0x29e85be12b6
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x29e85be12b6
mov rcx, rdi
call fcn.29e85bdfb70
add r10, 0x18
cmp r10, rbp
jb 0x29e85be1270
movzx eax, byte [rbx + 9]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x29e85be132a
movzx eax, byte [rbx + 8]
add eax, 0xfffffffb
cmp eax, 0x21
ja case.0x29e85be12f5.9
lea rdx, [0x29e85ad0000]
cdqe
movzx eax, byte [rdx + rax + 0x111364]
mov ecx, dword [rdx + rax*4 + 0x11134c]
add rcx, rdx
jmp rcx
lea rsi, [rbx + 0x30]
jmp case.0x29e85be12f5.9
lea rsi, [rbx + 0x10]
jmp case.0x29e85be12f5.9
lea rsi, [rbx + 0x48]
jmp case.0x29e85be12f5.9
lea rsi, [rbx + 0x78]
jmp case.0x29e85be12f5.9
lea rsi, [rbx + 0x20]
mov rax, qword [rdi + 0x90]
mov qword [rsi], rax
mov qword [rdi + 0x90], rbx
and byte [rbx + 9], 0xc7
jmp 0x29e85be1334
cmp cl, 6
jne 0x29e85be1334
xor al, 2
mov byte [rbx + 9], al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x29e85be15c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r11, rdx
mov rdx, qword [rdx + 0x18]
mov rdi, rcx
test rdx, rdx
je 0x29e85be15e4
test byte [rdx + 9], 0x18
je 0x29e85be15e4
call fcn.29e85bdfb70
xor ebx, ebx
cmp bx, word [r11 + 0xa]
jae 0x29e85be1618
lea r10, [r11 + 0x28]
test byte [r10 + 8], 0x40
je 0x29e85be1609
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x29e85be1609
mov rcx, rdi
call fcn.29e85bdfb70
movzx eax, word [r11 + 0xa]
inc ebx
add r10, 0x10
cmp ebx, eax
jl 0x29e85be15f1
movzx eax, byte [r11 + 9]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x29e85be1658
mov rcx, r11
call fcn.29e85bdec50
mov rcx, qword [rdi + 0x90]
mov qword [rax], rcx
mov qword [rdi + 0x90], r11
and byte [r11 + 9], 0xc7
movzx eax, word [r11 + 0xa]
inc eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp cl, 6
jne 0x29e85be1663
xor al, 2
mov byte [r11 + 9], al
movzx eax, word [r11 + 0xa]
mov rbx, qword [rsp + 0x30]
inc eax
add rsp, 0x20
pop rdi
ret
Function at 0x29e85be1b70
Capabilities:
Encode data using xor

Disassembly:
mov eax, edx
mov r9, rcx
xor eax, r8d
test rdx, rdx
je 0x29e85be1b9e
nop dword [rax]
movzx r8d, byte [r9 + rdx - 1]
mov ecx, eax
shl ecx, 5
add r8d, ecx
mov ecx, eax
shr ecx, 2
add r8d, ecx
xor eax, r8d
dec rdx
jne 0x29e85be1b80
ret

Function at 0x29e85be1dd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov rsi, r8
mov rbp, rdx
cmp r8, 0x28
ja 0x29e85be1df5
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
jmp fcn.29e85be1920
movabs rax, 0x7fffffffffffffdf
cmp r8, rax
jae 0x29e85be1e5d
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x30], rbx
add r8, 0x19
mov ebx, dword [rax + 0x60]
mov edx, 0x14
mov qword [rsp + 0x38], rdi
call fcn.29e85bdf1f0
mov r8, rsi
mov rdx, rbp
mov dword [rax + 0xc], ebx
mov byte [rax + 0xa], 0
mov byte [rax + rsi + 0x18], 0
lea rcx, [rax + 0x18]
mov rdi, rax
mov qword [rax + 0x10], rsi
call fcn.29e85b45d20
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
call fcn.29e85bf5d30
int3

Function at 0x29e85beced0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x450
mov rax, qword [0x29e85cc0760]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rdx
lea rdx, [rsp + 0x20]
call fcn.29e85bd65e0
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
mov edx, 0x400
call fcn.29e85bd73c0
mov r9, rbx
mov edx, 1
mov rcx, rax
mov r8d, 0x400
call fcn.29e85b49cd0
add qword [rsp + 0x30], rax
cmp rax, 0x400
je 0x29e85becf00
lea rcx, [rsp + 0x20]
call fcn.29e85bd73d0
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.29e85b464e0
add rsp, 0x450
pop rbx
ret

Function at 0x29e85becf60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x29e85cc0760]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rdx
lea rdx, [rsp + 0x20]
mov rdi, r8
call fcn.29e85bd65e0
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.29e85bd73c0
mov r9, rbx
mov r8, rdi
mov rcx, rax
mov edx, 1
call fcn.29e85b49cd0
lea rcx, [rsp + 0x20]
add qword [rsp + 0x30], rax
mov rbx, rax
call fcn.29e85bd73d0
xor eax, eax
test rbx, rbx
setne al
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.29e85b464e0
mov rbx, qword [rsp + 0x478]
add rsp, 0x450
pop rdi
ret
Function at 0x29e85bf33d0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
lea rax, [rdx + 1]
mov r10, r8
mov r9, rcx
test rdx, rax
jne 0x29e85bf33ee
and r9, rdx
mov rax, r9
add rsp, 8
ret
mov rax, rdx
shr rax, 1
or rax, rdx
mov rcx, rax
shr rcx, 2
or rax, rcx
mov rcx, rax
shr rcx, 4
or rax, rcx
mov rcx, rax
shr rcx, 8
or rax, rcx
mov rcx, rax
shr rcx, 0x10
or rax, rcx
mov rcx, rax
shr rcx, 0x20
or rax, rcx
and r9, rax
cmp r9, rdx
jbe 0x29e85bf349e
mov qword [rsp + 0x10], rbx
mov rbx, qword [r8 + 0x10]
mov qword [rsp + 0x18], rsi
mov rsi, qword [r8 + 8]
mov qword [rsp], rdi
mov rdi, qword [r8 + 0x18]
nop dword [rax + rax]
xor rbx, qword [r10]
mov r9, rsi
xor rdi, rsi
xor qword [r10], rdi
xor rsi, rbx
lea rcx, [r9 + r9*4]
ror rdi, 0x13
mov r8, rbx
mov rbx, r9
rol rcx, 7
shl rbx, 0x11
lea r9, [rcx + rcx*8]
xor rbx, r8
and r9, rax
cmp r9, rdx
ja 0x29e85bf3450
mov qword [r10 + 8], rsi
mov rsi, qword [rsp + 0x18]
mov qword [r10 + 0x10], rbx
mov rbx, qword [rsp + 0x10]
mov qword [r10 + 0x18], rdi
mov rdi, qword [rsp]
mov rax, r9
add rsp, 8
ret

Function at 0x29e85bf34b0
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 r14
sub rsp, 0x20
xor eax, eax
mov ebx, 0xff
mov rsi, r9
mov r14, r8
mov rbp, rcx
mov qword [rdx], r8
lea edi, [rax + 0x10]
mov qword [rdx + 8], rbx
mov qword [rdx + 0x10], r9
mov qword [rdx + 0x18], rax
mov r10, r9
nop
xor r10, qword [rdx]
xor rax, rbx
mov r8, rbx
xor qword [rdx], rax
xor rbx, r10
mov r9, r10
ror rax, 0x13
mov r10, r8
shl r10, 0x11
xor r10, r9
dec rdi
jne 0x29e85bf34f0
mov qword [rdx + 8], rbx
mov qword [rdx + 0x10], r10
mov qword [rdx + 0x18], rax
mov rdx, r14
call fcn.29e85bd48b0
mov rdx, rsi
mov rcx, 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
jmp fcn.29e85bd48b0
Function at 0x29e85bf57c0
Capabilities:
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x458
mov rax, qword [0x29e85cc0760]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov r14, r9
mov r15, rdx
lea r9, str._5_4
lea rdx, [0x29e85c765ac]
mov rbx, r8
mov rbp, rcx
call fcn.29e85bd4840
mov rcx, rax
call fcn.29e85b60210
mov rsi, rax
test rax, rax
jne 0x29e85bf5825
mov rcx, rbx
call fcn.29e85b60210
mov rsi, rax
test rax, rax
je 0x29e85bf5947
lea r8, str.LUA_NOENV
mov edx, 0xfff0b9d8
mov rcx, rbp
call fcn.29e85bd3d80
or rdi, 0xffffffffffffffff
mov rcx, rbp
mov edx, edi
call fcn.29e85bd5800
lea edx, [rdi - 1]
mov rcx, rbp
mov ebx, eax
call fcn.29e85bd5590
test ebx, ebx
jne 0x29e85bf5947
lea rdx, [0x29e85c7f88c]
mov rcx, rsi
call fcn.29e85b4835c
mov rbx, rax
test rax, rax
jne 0x29e85bf5880
mov rdx, rsi
jmp 0x29e85bf594a
inc rdi
cmp byte [rsi + rdi], 0
jne 0x29e85bf5880
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.29e85bd65e0
cmp rsi, rbx
jae 0x29e85bf58dc
mov r8, rbx
lea rcx, [rsp + 0x20]
mov rdx, rsi
sub r8, rsi
call fcn.29e85bd63a0
mov rcx, qword [rsp + 0x30]
cmp rcx, qword [rsp + 0x28]
jb 0x29e85bf58ce
lea rcx, [rsp + 0x20]
mov edx, 1
call fcn.29e85bd73c0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
mov byte [rax + rcx], 0x3b
inc qword [rsp + 0x30]
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.29e85bd63f0
lea rax, [rsi - 2]
add rax, rdi
cmp rbx, rax
jae 0x29e85bf593b
mov rcx, qword [rsp + 0x30]
cmp rcx, qword [rsp + 0x28]
jb 0x29e85bf5915
lea rcx, [rsp + 0x20]
mov edx, 1
call fcn.29e85bd73c0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
sub rdi, rbx
lea r8, [rsi - 2]
mov byte [rax + rcx], 0x3b
inc qword [rsp + 0x30]
lea rcx, [rsp + 0x20]
lea rdx, [rbx + 2]
add r8, rdi
call fcn.29e85bd63a0
lea rcx, [rsp + 0x20]
call fcn.29e85bd73d0
jmp 0x29e85bf5952
mov rdx, r14
mov rcx, rbp
call fcn.29e85bd4a80
mov rcx, rbp
call fcn.29e85bf59a0
mov r8, r15
mov edx, 0xfffffffd
mov rcx, rbp
call fcn.29e85bd5160
mov edx, 0xfffffffe
mov rcx, rbp
call fcn.29e85bd5590
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.29e85b464e0
add rsp, 0x458
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x29e85c06490
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp dword [rcx + 4], 2
mov rax, rdx
je 0x29e85c0649c
xor eax, eax
ret
mov rdx, qword [rcx + 0x20]
mov r9, r8
mov r8, rax
add rdx, 4
mov ecx, 2
jmp fcn.29e85c1b0a0
Function at 0x29e85c0ef30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r10, qword [rcx + 0x2b8]
mov rdi, r9
mov rsi, r8
mov rbx, rcx
test r10, r10
je 0x29e85c0ef73
mov rax, qword [rcx + 0x208]
mov qword [rsp + 0x20], rax
call r10
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp edx, 2
ja 0x29e85c0efb6
mov r9, qword [rbx + 0x200]
movsxd rax, edx
mov edx, 2
lea rcx, [rax + rax*2]
lea rax, [0x29e85c82780]
lea r8d, [rdx - 1]
add rcx, rax
call fcn.29e85b48ab4
mov r9, qword [rbx + 0x200]
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call fcn.29e85b48ab4
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x29e85c1b000
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
mov r9, rdx
mov r8, rcx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
call fcn.29e85b492a0
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
cmovbe rbx, rax
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x29e85c1b0a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x28
mov rax, r8
mov r10, rdx
cmp ecx, 2
je 0x29e85c1b0c1
mov ecx, 0x273f
call qword [0x29e85c50550]
xor eax, eax
add rsp, 0x28
ret
mov r8, r9
mov rdx, rax
mov rcx, r10
add rsp, 0x28
jmp 0x29e85c1b0e0
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x29e85cc0760]
xor rax, rsp
mov qword [rsp + 0x50], rax
movzx eax, byte [rcx + 3]
movzx r10d, byte [rcx + 1]
movzx r9d, byte [rcx]
mov rbx, rdx
movzx edx, byte [rcx + 2]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edx
mov rdi, r8
lea rcx, [rsp + 0x40]
lea r8, str._d._d._d._d
mov edx, 0x10
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x20], r10d
call fcn.29e85c10830
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x29e85c1b141
test rax, rax
je 0x29e85c1b185
cmp rax, rdi
jae 0x29e85c1b185
lea rax, [rsp + 0x40]
mov r8, rbx
lea rcx, [rsp + 0x40]
sub r8, rax
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
mov byte [r8 + rcx - 1], dl
test dl, dl
jne 0x29e85c1b170
mov rax, rbx
jmp 0x29e85c1b192
mov ecx, 0x1c
call qword [0x29e85c50550]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.29e85b464e0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x29e85c1e1b0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x148
mov rax, qword [0x29e85cc0760]
xor rax, rsp
mov qword [rsp + 0x130], rax
call fcn.29e85b60210
mov byte [rsp + 0x20], 0
test rax, rax
je 0x29e85c1e216
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rax
call qword [0x29e85c503e8]
cmp byte [rsp + 0x20], 0
je 0x29e85c1e216
lea rcx, [rsp + 0x20]
call qword [fcn.29e85b65468]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.29e85b464e0
add rsp, 0x148
ret
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.29e85b464e0
add rsp, 0x148
ret
jmp 0x29e85c1e1b0

Function at 0x29e85c1e230
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x148
mov rax, qword [0x29e85cc0760]
xor rax, rsp
mov qword [rsp + 0x130], rax
call fcn.29e85b60210
mov byte [rsp + 0x20], 0
test rax, rax
je 0x29e85c1e216
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rax
call qword [0x29e85c503e8]
cmp byte [rsp + 0x20], 0
je 0x29e85c1e216
lea rcx, [rsp + 0x20]
call qword [fcn.29e85b65468]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.29e85b464e0
add rsp, 0x148
ret
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.29e85b464e0
add rsp, 0x148
ret
jmp 0x29e85c1e1b0
Function at 0x29e85c22850
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
mov rdi, r8
cmp dword [rcx + 8], 2
mov rsi, rdx
jne 0x29e85c2289a
mov rax, qword [rbx + 0x18]
test rax, rax
jne 0x29e85c2288a
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r9, qword [rcx + 0x10]
mov edx, 1
mov rcx, rsi
call rax
jmp 0x29e85c228e2
cmp qword [rbx + 0x10], 0
jne 0x29e85c228ce
mov rcx, qword [rcx + 0x10]
lea rdx, [0x29e85c735a4]
call fcn.29e85b48834
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x29e85c228ce
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r9, qword [rbx + 0x10]
mov r8, rdi
mov edx, 1
mov rcx, rsi
call fcn.29e85b49cd0
mov rdi, rax
test rax, rax
jne 0x29e85c22905
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x29e85c228fc
call fcn.29e85b47a10
mov qword [rbx + 0x10], rdi
mov rax, qword [rbx]
mov rcx, qword [rax]
mov qword [rbx], rcx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x29e85c36860
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, qword [rcx]
mov ebp, r8d
mov r14d, edx
mov rbx, rcx
xor esi, esi
call fcn.29e85c36920
test ebp, ebp
je 0x29e85c36895
or byte [rdi + 0xc], 8
test r14d, r14d
je 0x29e85c3689e
or byte [rdi + 0xc], 2
lea r8, [0x29e85c35c40]
mov r9, rdi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
call fcn.29e85b492a0
or rcx, 0xffffffffffffffff
test rax, rax
cmove rax, rcx
mov qword [rbx + 8], rax
cmp rax, rcx
jne 0x29e85c368d2
mov esi, ecx
jmp 0x29e85c368fa
or byte [rbx + 0x10], 1
movzx eax, byte [rbx + 0x10]
test ebp, ebp
je 0x29e85c368e3
or al, 8
mov byte [rbx + 0x10], al
test r14d, r14d
je 0x29e85c368fa
or byte [rbx + 0x10], 2
test ebp, ebp
jne 0x29e85c368fa
mov rcx, rbx
call fcn.29e85c36570
mov esi, eax
mov rcx, rbx
call fcn.29e85c36920
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
mov eax, esi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x29e85c36920
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
movzx eax, byte [rcx + 0x10]
mov rbx, rcx
test al, 1
jne 0x29e85c36991
test al, 2
je 0x29e85c3694e
lea rdx, str.llthread.c
lea rcx, str._IS_this__DETACHED_
mov r8d, 0x10d
call fcn.29e85c40b6c
test byte [rbx + 0x10], 4
je 0x29e85c3696d
lea rdx, str.llthread.c
lea rcx, str._IS_this__JOINED_
mov r8d, 0x10e
call fcn.29e85c40b6c
test byte [rbx + 0x10], 8
je 0x29e85c369e1
lea rcx, str._IS_this__JOINABLE_
lea rdx, str.llthread.c
mov r8d, 0x10f
add rsp, 0x20
pop rbx
jmp fcn.29e85c40b6c
test al, 2
je 0x29e85c369e1
test al, 8
jne 0x29e85c369bd
cmp qword [rcx], 0
je 0x29e85c369e1
lea rcx, str.this__child__NULL
lea rdx, str.llthread.c
mov r8d, 0x114
add rsp, 0x20
pop rbx
jmp fcn.29e85c40b6c
cmp qword [rcx], 0
jne 0x29e85c369e1
lea rcx, str.this__child___NULL
lea rdx, str.llthread.c
mov r8d, 0x115
add rsp, 0x20
pop rbx
jmp fcn.29e85c40b6c
add rsp, 0x20
pop rbx
ret
Function at 0x140d20860
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140d2086d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140d2087d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140d20865
lea eax, [rcx + 1]
jmp 0x140d2088b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140d2089e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140d20884
sub eax, 3
jb 0x140d208be
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140d2090d
sar eax, 1
movsxd rbp, eax
jb 0x140d208f4
jmp 0x140d208cc
add ebx, ebx
jne 0x140d208ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140d208f4
inc ecx
add ebx, ebx
jne 0x140d208da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140d208f4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140d208ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140d208dc
add ecx, 2
jmp 0x140d208f9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140d20822
jmp 0x140d2086d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xfea00
mov dl, 0x5f
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140d20959
cmp rsi, rcx
jae 0x140d20961
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140d20940
cmp al, 0x8f
ja 0x140d20940
cmp byte [rsi - 2], 0xf
je 0x140d20946
sub al, 0xe8
cmp al, 1
ja 0x140d2092a
cmp rsi, rcx
jae 0x140d20961
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140d20930
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140d20961
lodsb al, byte [rsi]
jmp 0x140d20940
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xd1d000]
mov eax, dword [rdi]
or eax, eax
je 0x140d209ca
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xd3da58]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140d2096e
jns 0x140d209a3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140d209ad
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140d209c4
mov qword [rbx], rax
add rbx, 8
jmp 0x140d2098e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140d20a04
cmp al, 0xef
ja 0x140d209f6
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140d209d6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140d209e5
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x267]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140d20a58
sub rsp, 0xffffffffffffff80
jmp 0x1400d1b48