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

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140005ea0
cmp r10, r11
jb 0x140005f17
cmp r10, rdx
ja 0x140005f29
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140005ea2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140005e80
jmp 0x140005f04
ja 0x140005eaa
mov r11, r10
cmp rax, r8
jne 0x140005e4e
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140005ee0
mov rdi, r8
sub ecx, edx
jns 0x140005efb
jmp 0x140005f06
cmp r8, rsi
je 0x140005f38
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140005f06
xor al, 1
cmp rdi, rsi
jne 0x140005ec0
jmp 0x140005f06
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140027530
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400272b0
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140027540
int3
Function at 0x140006b0f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
cmp byte [rcx + 0x79], 0
je 0x140006b24
xor esi, esi
jmp 0x140006cad
mov rdi, rcx
mov rsi, qword [rcx + 0x48]
lea rax, [rcx + 8]
cmp qword [rcx], 0
je 0x140006b8a
mov r9, qword [rdi + 0x50]
movups xmm0, xmmword [rdi + 0x58]
cmp qword [rdi + 0x38], 0xffffffffffffffff
sete byte [rsp + 0x30]
movups xmmword [rsp + 0x20], xmm0
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov rdx, rax
mov r8, rsi
call fcn.140006d05
cmp qword [rbx], 0
jne 0x140006c95
cmp byte [rdi + 0x79], 0
jne 0x140006b1d
mov byte [rdi + 0x79], 1
cmp byte [rdi + 0x78], 0
je 0x140006cb9
mov rsi, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
jmp 0x140006cca
mov cl, byte [rdi + 0x1a]
mov r8, qword [rdi + 8]
mov rdx, qword [rdi + 0x50]
mov r9b, byte [rdi + 0x18]
test cl, cl
jne 0x140006b69
mov r10d, r9d
xor r10b, 1
mov byte [rdi + 0x18], r10b
test r8, r8
je 0x140006bc4
cmp r8, rdx
jae 0x140006bbe
cmp byte [rsi + r8], 0xbf
jg 0x140006bc4
jmp 0x140006cd3
jne 0x140006cd3
cmp r8, rdx
je 0x140006c7a
mov bl, byte [rsi + r8]
movzx r10d, bl
test r10b, r10b
jns 0x140006c38
mov r11d, r10d
and r11d, 0x1f
movzx ebp, byte [rsi + r8 + 1]
and ebp, 0x3f
cmp r10b, 0xdf
jbe 0x140006c25
movzx r10d, byte [rsi + r8 + 2]
shl ebp, 6
and r10d, 0x3f
or r10d, ebp
cmp bl, 0xf0
jb 0x140006c31
movzx ebx, byte [rsi + r8 + 3]
and r11d, 7
shl r11d, 0x12
shl r10d, 6
and ebx, 0x3f
or ebx, r10d
or ebx, r11d
mov r10d, ebx
jmp 0x140006c38
shl r11d, 6
or r11d, ebp
mov r10d, r11d
jmp 0x140006c38
shl r11d, 0xc
or r10d, r11d
test r9b, r9b
jne 0x140006c88
mov r9d, 1
cmp r10d, 0x80
jb 0x140006c6c
mov r9d, 2
cmp r10d, 0x800
jb 0x140006c6c
cmp r10d, 0x10000
mov r9d, 4
sbb r9, 0
add r8, r9
mov qword [rax], r8
mov r9b, 1
jmp 0x140006b99
test r9b, r9b
jne 0x140006c8b
mov byte [rdi + 0x1a], 1
jmp 0x140006b69
mov rdx, r8
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rdx
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rdi + 0x68]
sub rdx, rcx
add rsi, rcx
mov qword [rdi + 0x68], rax
mov rax, rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rsi, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
cmp rdx, rsi
je 0x140006b1d
sub rdx, rsi
add rsi, qword [rdi + 0x48]
jmp 0x140006cad
lea rax, [0x1400405d8]
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov r9, rdx
call fcn.1400276a0
int3
Function at 0x14000ce10
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x14000ce35
cmp rax, rcx
je 0x14000ce3b
cmp rdx, 4
jae 0x14000ce42
xor eax, eax
xor r8d, r8d
jmp 0x14000cee0
pop rbp
jmp fcn.140003a10
xor eax, eax
jmp 0x14000cef7
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140029500]
movdqa xmm3, xmmword [0x140029510]
pxor xmm1, xmm1
nop word cs:[rax + rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x14000ce70
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000cef7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000cee0
pop rbp
ret
Function at 0x140013ec0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
movzx r9d, byte [rdx + 0x38]
movzx eax, byte [rdx + 0x3a]
test al, al
setne r8b
cmp r9b, 1
ja 0x140013f46
test al, al
jne 0x140013f1f
movzx esi, byte [rdx + 0x10]
lea eax, [rsi - 5]
cmp al, 1
ja 0x140013f1f
invalid
mov r10, qword [rdx]
xor r8d, r8d
xor eax, eax

Function at 0x140019114
Capabilities:
Parse pe header

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

Function at 0x14001c7d8
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 0x14001c847
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001c847
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001c847
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001c847
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001c847
cmp dword [rcx + 0x84], 0xe
jbe 0x14001c847
cmp dword [rcx + 0xf8], 0
je 0x14001c847
mov ecx, ebx
call fcn.14001c8f8
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.14001c6d4
nop
cmp dword [rbp + 0x20], 0
je 0x14001c895
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001c8a0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14001c7d8

Function at 0x14001c9dc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001c7d8
Function at 0x14001fa9c
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14001facc
xor eax, eax
jmp 0x14001fb8f
mov rbp, rbx
cmp word [rax], si
je 0x14001faf1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001fad8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001fad4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14001f9bc
movsxd r14, eax
test eax, eax
jne 0x14001fb2f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001fac5
mov rcx, r14
call fcn.140020978
mov rdi, rax
test rax, rax
jne 0x14001fb48
xor ecx, ecx
call fcn.14001e01c
jmp 0x14001fb24
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14001f9bc
test eax, eax
jne 0x14001fb79
mov rcx, rdi
call fcn.14001e01c
jmp 0x14001fb83
xor ecx, ecx
call fcn.14001e01c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140023080
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14001ea8c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002310a
cmp byte [rbp - 0x21], r15b
je 0x140023105
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140023140
call fcn.140021188
test eax, eax
jne 0x14002312c
cmp byte [rbp - 0x21], r15b
je 0x140023124
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140023140
cmp byte [rbp - 0x21], r15b
je 0x14002313d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14001e06c
test eax, eax
jne 0x1400231e0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14001ea8c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002317f
cmp byte [rbp - 0x21], r15b
je 0x1400231b4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400231b4
call fcn.140021188
test eax, eax
jne 0x1400231a0
cmp byte [rbp - 0x21], r15b
je 0x140023199
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400231b4
cmp byte [rbp - 0x21], r15b
je 0x1400231b1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14001e06c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400231e0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400231e3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400231f1
mov rcx, rdi
call fcn.14001e01c
cmp byte [rbp + 0x3f], r15b
je 0x140023200
mov rcx, qword [rbp + 0x27]
call fcn.14001e01c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400260e0
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x136176d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x136177d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1361765
lea eax, [rcx + 1]
jmp 0x136178b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x136179e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1361784
sub eax, 3
jb 0x13617be
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x136180d
sar eax, 1
movsxd rbp, eax
jb 0x13617f4
jmp 0x13617cc
add ebx, ebx
jne 0x13617ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x13617f4
inc ecx
add ebx, ebx
jne 0x13617da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x13617f4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x13617ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x13617dc
add ecx, 2
jmp 0x13617f9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01361722
jmp 0x136176d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xf4c000]
mov eax, dword [rdi]
or eax, eax
je 0x1361869
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xf61000]
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 0x1361819
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 0x1361863
mov qword [rbx], rax
add rbx, 8
jmp 0x1361839
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 0x13618ad
cmp al, 0xef
ja 0x1361895
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1361875
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1361884
mov eax, dword [rdi]
add rdi, 4
jmp 0x1361884
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 + 0x1af]
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 0x1361901
sub rsp, 0xffffffffffffff80
jmp 0x45d0a0
Function at 0x140003980
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140044040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rdx + 0x18], 7
mov r12, rdx
mov r13, rcx
mov qword [rsp + 0x30], rdx
jbe 0x1400039bd
mov rax, qword [rdx]
mov qword [rsp + 0x30], rax
cmp qword [rcx + 0x18], 7
mov qword [rsp + 0x38], r13
jbe 0x1400039d1
mov rax, qword [rcx]
mov qword [rsp + 0x38], rax
mov ecx, 0x72
xor edx, edx
call fcn.140001150
mov ecx, 0x75
mov edx, 1
movzx r15d, ax
call fcn.140001150
mov ecx, 0x6e
mov edx, 2
movzx r14d, ax
call fcn.140001150
mov ecx, 0x61
mov edx, 3
movzx ebp, ax
call fcn.140001150
mov ecx, 0x73
mov edx, 4
movzx esi, ax
call fcn.140001150
xor ecx, ecx
mov edx, 5
movzx edi, ax
call fcn.140001150
movzx ecx, word [0x14003e4fc]
mov edx, 6
movzx ebx, ax
call fcn.140001150
movzx ecx, word [0x14003e4fe]
mov edx, 7
movzx r9d, ax
call fcn.140001150
movzx ecx, word [0x14003e500]
mov edx, 8
movzx r8d, ax
call fcn.140001150
movzx ecx, word [0x14003e502]
mov edx, 9
movzx r11d, ax
call fcn.140001150
movzx ecx, word [0x14003e504]
mov edx, 0xa
movzx r10d, ax
call fcn.140001150
mov ecx, 0x133
xor r15w, cx
mov ecx, 0x134
xor r14w, cx
mov word [rsp + 0x40], r15w
mov ecx, 0x135
mov word [rsp + 0x42], r14w
xor bp, cx
mov ecx, 0x136
xor si, cx
mov word [rsp + 0x44], bp
mov ecx, 0x137
mov word [rsp + 0x46], si
xor di, cx
mov ecx, 0x138
xor bx, cx
mov word [rsp + 0x48], di
mov ecx, 0x139
mov word [rsp + 0x4a], bx
xor r9w, cx
mov ecx, 0x13a
xor r8w, cx
mov word [rsp + 0x4c], r9w
mov r9, qword [rsp + 0x30]
mov ecx, 0x13b
xor r11w, cx
mov word [rsp + 0x4e], r8w
mov ecx, 0x13c
mov word [rsp + 0x50], r11w
xor r10w, cx
mov ecx, 0x13d
xor ax, cx
mov word [rsp + 0x52], r10w
xor ebx, ebx
mov word [rsp + 0x54], ax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov word [rsp + 0x56], bx
mov r8, qword [rsp + 0x38]
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [r13 + 0x18]
cmp rdx, 7
jbe 0x140003ba0
mov rcx, qword [r13]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140003b9b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003c26
mov rcx, r8
call fcn.14000f6e4
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x18], 7
mov word [r13], bx
mov rdx, qword [r12 + 0x18]
cmp rdx, 7
jbe 0x140003bee
mov rcx, qword [r12]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140003be9
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003c26
mov rcx, r8
call fcn.14000f6e4
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], 7
mov word [r12], bx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000f3a0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140018a2c
int3
Function at 0x140003c30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 7
mov dword [rsp + 0x40], ebp
jbe 0x140003c52
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 0x140003ce6
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x140003cc5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140003cc0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003d8f
mov rcx, r8
call fcn.14000f6e4
mov al, 1
mov rsi, qword [rsp + 0x78]
mov word [rdi], bp
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbp
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x140003d2b
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x140003d27
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140003d22
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003d8f
mov rcx, r8
call fcn.14000f6e4
xor al, al
jmp 0x140003cc7
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 0x41200
mov qword [rsp + 0x20], rbp
lea rdx, [0x1400470a0]
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 0x140003d78
cmp rax, 7
jbe 0x140003d27
lea rdx, [rax*2 + 2]
jmp 0x140003cfe
cmp rax, 7
jbe 0x140003cc5
lea rdx, [rax*2 + 2]
jmp 0x140003c98
call fcn.140018a2c
int3
Function at 0x140003da0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 7
mov dword [rsp + 0x40], ebp
jbe 0x140003dc2
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 0x140003e56
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x140003e35
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140003e30
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003eff
mov rcx, r8
call fcn.14000f6e4
mov al, 1
mov rsi, qword [rsp + 0x78]
mov word [rdi], bp
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbp
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x140003e9b
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x140003e97
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140003e92
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003eff
mov rcx, r8
call fcn.14000f6e4
xor al, al
jmp 0x140003e37
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 0x2400
mov qword [rsp + 0x20], rbp
lea rdx, [0x140044ca0]
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 0x140003ee8
cmp rax, 7
jbe 0x140003e97
lea rdx, [rax*2 + 2]
jmp 0x140003e6e
cmp rax, 7
jbe 0x140003e35
lea rdx, [rax*2 + 2]
jmp 0x140003e08
call fcn.140018a2c
int3
Function at 0x14000e2d4
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 0x14000e302
xor eax, eax
jmp 0x14000e3e8
cmp qword [rcx + 0x68], 0
je 0x14000e313
call fcn.14000e404
jmp 0x14000e3e8
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000e32a
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000e32c
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000e35e
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140031380
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 0x14000e3e2
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14000e395
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 0x14000e3be
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140019750
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14000e3e2
cmp rsi, rbx
ja 0x14000e39c
test rsi, rsi
je 0x14000e3e2
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140019750
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 0x140010200
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001024a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001024a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001024a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001024a
cmp dword [rcx + 0x84], 0xe
jbe 0x14001024a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001024c
xor al, al
add rsp, 0x28
ret
Function at 0x14001bf0c
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 0x14001bf7b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001bf7b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001bf7b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001bf7b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001bf7b
cmp dword [rcx + 0x84], 0xe
jbe 0x14001bf7b
cmp dword [rcx + 0xf8], 0
je 0x14001bf7b
mov ecx, ebx
call fcn.14001c02c
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.14001be08
nop
cmp dword [rbp + 0x20], 0
je 0x14001bfc9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001bfd4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14001bf0c

Function at 0x14001c110
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001bf0c