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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1403c6da0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x60]
mov r15, qword [rbp + 0x68]
mov r12d, r8d
movzx r10d, byte [rax]
movzx r8d, byte [rax + 4]
mov ebx, dword [r15]
lea rdi, [rax + 1]
mov qword [rbp - 0x18], rax
shl r10d, 0x18
movzx eax, byte [rdi]
mov rsi, rcx
movzx ecx, byte [rdi + 5]
shl eax, 0x10
shl r8d, 0x18
shl ecx, 8
or r10d, eax
movzx eax, byte [rdi + 1]
mov r14, rdx
shl eax, 8
lea rdx, [rdi + 5]
xor r13d, r13d
or r10d, eax
movzx eax, byte [rdi + 2]
mov qword [rbp - 0x28], r9
or r10d, eax
movzx eax, byte [rdi + 4]
mov qword [rbp - 0x20], r15
shl eax, 0x10
mov dword [rbp - 0x30], r10d
mov byte [rbp - 0xd], r10b
or r8d, eax
movzx eax, byte [rdx + 1]
or ecx, eax
mov eax, r10d
shr eax, 0x18
or r8d, ecx
mov byte [rbp - 0x10], al
mov eax, r10d
mov dword [rbp - 0x2c], r8d
shr eax, 0x10
mov byte [rbp - 9], r8b
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 8
mov byte [rbp - 0xe], al
mov eax, r8d
shr eax, 0x18
mov byte [rbp - 0xc], al
mov eax, r8d
shr eax, 0x10
mov byte [rbp - 0xb], al
mov eax, r8d
shr eax, 8
mov byte [rbp - 0xa], al
test r12d, r12d
je 0x1400798b9
mov r15, qword [rbp - 0x28]
sub r14, rsi
movzx edx, r8b
movzx r9d, r10b
dec r12d
test ebx, ebx
jne 0x140079856
lea rcx, [rbp - 0x30]
mov rdx, r15
call fcn.140078910
mov r10d, dword [rbp - 0x30]
mov r8d, dword [rbp - 0x2c]
mov eax, r10d
movzx edx, r8b
movzx r9d, r10b
shr eax, 0x18
mov byte [rbp - 0xd], r10b
mov byte [rbp - 9], dl
mov byte [rbp - 0x10], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 8
mov byte [rbp - 0xe], al
mov eax, r8d
shr eax, 0x18
mov byte [rbp - 0xc], al
mov eax, r8d
shr eax, 0x10
mov byte [rbp - 0xb], al
mov eax, r8d
shr eax, 8
inc r13d
mov byte [rbp - 0xa], al
movsxd rax, ebx
inc rsi
movzx ecx, byte [rbp + rax - 0x10]
xor cl, byte [rsi - 1]
inc ebx
mov byte [r14 + rsi - 1], cl
and ebx, 7
test r12d, r12d
jne 0x1400797f3
mov r15, qword [rbp - 0x20]
test r13d, r13d
je 0x1400798b9
mov rcx, qword [rbp - 0x18]
mov eax, r10d
shr eax, 0x18
mov byte [rcx], al
mov eax, r10d
shr r10d, 8
shr eax, 0x10
mov byte [rdi], al
mov byte [rdi + 1], r10b
mov byte [rdi + 2], r9b
mov eax, r8d
shr eax, 0x18
mov byte [rdi + 3], al
mov eax, r8d
shr eax, 0x10
shr r8d, 8
mov byte [rdi + 4], al
mov byte [rdi + 5], r8b
mov byte [rdi + 6], dl
mov dword [r15], ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14025db20
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007aa60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1403c6da0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x60]
mov r15, qword [rbp + 0x68]
mov r12d, r8d
movzx r10d, byte [rax]
movzx r8d, byte [rax + 4]
mov ebx, dword [r15]
lea rdi, [rax + 1]
mov qword [rbp - 0x18], rax
shl r10d, 0x18
movzx eax, byte [rdi]
mov rsi, rcx
movzx ecx, byte [rdi + 5]
shl eax, 0x10
shl r8d, 0x18
shl ecx, 8
or r10d, eax
movzx eax, byte [rdi + 1]
mov r14, rdx
shl eax, 8
lea rdx, [rdi + 5]
xor r13d, r13d
or r10d, eax
movzx eax, byte [rdi + 2]
mov qword [rbp - 0x28], r9
or r10d, eax
movzx eax, byte [rdi + 4]
mov qword [rbp - 0x20], r15
shl eax, 0x10
mov dword [rbp - 0x30], r10d
mov byte [rbp - 0xd], r10b
or r8d, eax
movzx eax, byte [rdx + 1]
or ecx, eax
mov eax, r10d
shr eax, 0x18
or r8d, ecx
mov byte [rbp - 0x10], al
mov eax, r10d
mov dword [rbp - 0x2c], r8d
shr eax, 0x10
mov byte [rbp - 9], r8b
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 8
mov byte [rbp - 0xe], al
mov eax, r8d
shr eax, 0x18
mov byte [rbp - 0xc], al
mov eax, r8d
shr eax, 0x10
mov byte [rbp - 0xb], al
mov eax, r8d
shr eax, 8
mov byte [rbp - 0xa], al
test r12d, r12d
je 0x14007ac19
mov r15, qword [rbp - 0x28]
sub r14, rsi
movzx edx, r8b
movzx r9d, r10b
dec r12d
test ebx, ebx
jne 0x14007abb6
lea rcx, [rbp - 0x30]
mov rdx, r15
call fcn.1400798e0
mov r10d, dword [rbp - 0x30]
mov r8d, dword [rbp - 0x2c]
mov eax, r10d
movzx edx, r8b
movzx r9d, r10b
shr eax, 0x18
mov byte [rbp - 0xd], r10b
mov byte [rbp - 9], dl
mov byte [rbp - 0x10], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 8
mov byte [rbp - 0xe], al
mov eax, r8d
shr eax, 0x18
mov byte [rbp - 0xc], al
mov eax, r8d
shr eax, 0x10
mov byte [rbp - 0xb], al
mov eax, r8d
shr eax, 8
inc r13d
mov byte [rbp - 0xa], al
movsxd rax, ebx
inc rsi
movzx ecx, byte [rbp + rax - 0x10]
xor cl, byte [rsi - 1]
inc ebx
mov byte [r14 + rsi - 1], cl
and ebx, 7
test r12d, r12d
jne 0x14007ab53
mov r15, qword [rbp - 0x20]
test r13d, r13d
je 0x14007ac19
mov rcx, qword [rbp - 0x18]
mov eax, r10d
shr eax, 0x18
mov byte [rcx], al
mov eax, r10d
shr r10d, 8
shr eax, 0x10
mov byte [rdi], al
mov byte [rdi + 1], r10b
mov byte [rdi + 2], r9b
mov eax, r8d
shr eax, 0x18
mov byte [rdi + 3], al
mov eax, r8d
shr eax, 0x10
shr r8d, 8
mov byte [rdi + 4], al
mov byte [rdi + 5], r8b
mov byte [rdi + 6], dl
mov dword [r15], ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14025db20
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140084e50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [r8 + 8]
mov rsi, rdx
mov rbx, rcx
cmp dword [rdx + 8], eax
jge 0x140084e73
mov rdi, r8
jmp 0x140084e79
mov rdi, rdx
mov rsi, r8
mov edx, dword [rdi + 8]
cmp edx, dword [rcx + 0xc]
jg 0x140084e86
mov rax, rcx
jmp 0x140084e8b
call fcn.14001a8a0
test rax, rax
jne 0x140084ea0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor r8d, r8d
cmp dword [rsi + 8], r8d
jle 0x140084ed4
mov r9d, r8d
nop dword [rax]
mov rax, qword [rdi]
mov rcx, qword [rsi]
inc r8d
mov rdx, qword [rcx + r9]
add r9, 8
xor rdx, qword [rax + r9 - 8]
mov rax, qword [rbx]
mov qword [r9 + rax - 8], rdx
cmp r8d, dword [rsi + 8]
jl 0x140084eb0
movsxd rdx, r8d
cmp r8d, dword [rdi + 8]
jge 0x140084efd
shl rdx, 3
mov rax, qword [rdi]
mov rcx, qword [rbx]
inc r8d
mov rax, qword [rdx + rax]
add rdx, 8
mov qword [rdx + rcx - 8], rax
cmp r8d, dword [rdi + 8]
jl 0x140084ee1
mov eax, dword [rdi + 8]
mov dword [rbx + 8], eax
test eax, eax
jle 0x140084f27
dec eax
movsxd rcx, eax
mov rax, qword [rbx]
lea rdx, [rax + rcx*8]
mov rax, qword [rdx]
sub rdx, 8
test rax, rax
jne 0x140084f27
dec dword [rbx + 8]
cmp dword [rbx + 8], eax
jg 0x140084f13
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x140086ef0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xf0
mov rax, qword [0x1403c6da0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov r11d, dword [rcx + 0x50]
lea rax, [rsp + 0x20]
lea r9, [rcx + 0x14]
lea rdi, [rcx + 0x54]
lea r8, [rsp + 0x20]
mov r10d, reloc.WSOCK32.dll_recv
mov rbx, rdi
lea rsi, [0x1403c9ec0]
sub rbx, rax
lea rax, [rsp + 0x20]
sub r9, rax
nop word [rax + rax]
movzx eax, byte [rdx]
mov ecx, dword [rbx + r8]
add r8, 4
mov dword [r8 - 4], ecx
xor ecx, eax
mov dword [r8 + 0x3c], eax
mov dword [r8 + 0x7c], ecx
mov ecx, eax
mov eax, r11d
xor rcx, rax
inc rdx
mov eax, dword [rsi + rcx*4]
xor dword [r9 + r8 - 4], eax
dec r10
mov r11d, dword [r9 + r8 - 4]
jne 0x140086f50
xor ecx, ecx
xor edx, edx
nop word [rax + rax]
xor r8d, r8d
nop word [rax + rax]
mov eax, ecx
add r8, 8
mov eax, dword [rsi + rax*4]
xor eax, dword [rsp + r8*4]
mov ecx, eax
mov eax, dword [rsi + rax*4]
mov dword [rsp + r8*4], ecx
xor eax, dword [rsp + r8*4 + 4]
mov ecx, eax
mov eax, dword [rsi + rax*4]
mov dword [rsp + r8*4 + 4], ecx
xor eax, dword [rsp + r8*4 + 8]
mov ecx, eax
mov eax, dword [rsi + rax*4]
mov dword [rsp + r8*4 + 8], ecx
xor eax, dword [rsp + r8*4 + 0xc]
mov ecx, eax
mov eax, dword [rsi + rax*4]
mov dword [rsp + r8*4 + 0xc], ecx
xor eax, dword [rsp + r8*4 + 0x10]
mov ecx, eax
mov eax, dword [rsi + rax*4]
mov dword [rsp + r8*4 + 0x10], ecx
xor eax, dword [rsp + r8*4 + 0x14]
mov ecx, eax
mov eax, dword [rsi + rax*4]
mov dword [rsp + r8*4 + 0x14], ecx
xor eax, dword [rsp + r8*4 + 0x18]
mov ecx, eax
mov eax, dword [rsi + rax*4]
mov dword [rsp + r8*4 + 0x18], ecx
xor dword [rsp + r8*4 + 0x1c], eax
mov ecx, dword [rsp + r8*4 + 0x1c]
cmp r8, 0x30
jl 0x140086fa0
lea eax, [rcx + rdx]
inc edx
movzx ecx, al
cmp edx, 0x12
jl 0x140086f90
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movzx ebx, byte [0x1403f216c]
lea rcx, [rsp + 0x20]
mov edx, 0xc0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm1
nop word [rax + rax]
mov byte [rcx], bl
inc rcx
mov rax, rcx
and eax, 0xf
dec rdx
lea rbx, [rbx + rax + 0x11]
jne 0x140087070
lea rcx, [rsp + 0x20]
movzx edx, bl
mov r8d, 0xc0
call fcn.14025f2d8
test rax, rax
je 0x1400870aa
lea rax, [rbx + rax + 0x3f]
mov byte [0x1403f216c], al
jmp 0x1400870b0
mov byte [0x1403f216c], bl
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14025db20
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400874a0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x40
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test r8, r8
jne 0x1400874cf
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
test rcx, rcx
je 0x14008755d
test rdx, rdx
je 0x140087521
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rbx
call fcn.140023070
test rax, rax
jne 0x140087549
mov qword [rsp + 0x50], rdi
lea rdi, [0x14035ecb8]
mov ecx, 4
repe cmpsb byte [rsi], byte [rdi]
mov rdi, qword [rsp + 0x50]
jne 0x140087521
mov rcx, rbx
call fcn.1402640a4
test rax, rax
jne 0x140087565
mov rcx, qword [rbp + 0x10]
lea rax, str.default
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
call fcn.140023070
test rax, rax
je 0x1400874bd
mov rax, qword [rax + 0x10]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
mov rcx, rbx
call fcn.1402640a4
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret

Function at 0x14008ec40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x14008ec73
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14008ecb6
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x14008ecb1
cmp rbx, r11
jae 0x14008ecb6
dec edi
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x14008eca0
cmp rbx, r11
jb 0x14008ecba
xor eax, eax
jmp 0x14008ecc6
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140091170
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0x38]
sub rsp, 0x120
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1403c6da0]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x70], 7
xor r12d, r12d
mov qword [rbp - 0x78], r12
mov word [rsp + 0x78], r12w
lea rcx, [rsp + 0x78]
call fcn.140099470
test al, al
je 0x1400912ef
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [rdi + 0x18], r12d
je 0x1400912ef
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r12
mov word [rbp - 0x60], r12w
lea r8d, [r12 + 9]
lea rdx, str.__autorun
lea rcx, [rbp - 0x60]
call fcn.14008fca0
nop
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r12
mov word [rsp + 0x50], r12w
lea r8d, [r12 + 0xc]
lea rdx, str.Autorun_for
lea rcx, [rsp + 0x50]
call fcn.14008fca0
nop
lea r8, [0x1402c7bc8]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.140091080
mov rbx, rax
lea rcx, [rbp - 0x38]
call fcn.140099740
nop
mov r9, rbx
lea r8, [rbp - 0x60]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14009a3b0
nop
cmp qword [rbp - 0x20], 8
jb 0x140091287
mov rcx, qword [rbp - 0x38]
call fcn.14011bc00
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r12
mov word [rbp - 0x38], r12w
cmp qword [rbp + 8], 8
jb 0x1400912a8
mov rcx, qword [rbp - 0x10]
call fcn.14011bc00
mov qword [rbp + 8], 7
mov qword [rbp], r12
mov word [rbp - 0x10], r12w
cmp qword [rsp + 0x68], 8
jb 0x1400912cb
mov rcx, qword [rsp + 0x50]
call fcn.14011bc00
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r12
mov word [rsp + 0x50], r12w
cmp qword [rbp - 0x48], 8
jb 0x1400912ef
mov rcx, qword [rbp - 0x60]
call fcn.14011bc00
mov dword [rsp + 0x30], r12d
lea rbx, [rdi + 0x10]
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.140090d50
movzx edi, al
test al, al
jne 0x14009138c
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1400b0f70
nop
mov rdx, qword [rax]
mov qword [rsp + 0x20], rdx
mov r9, qword [rbx]
lea r8, [0x1402c7bc8]
mov edx, 0x407
lea rcx, [rsp + 0x38]
call fcn.14009c790
nop
mov rdx, rax
mov rcx, rsi
call fcn.140090040
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14009136f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14009138c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [0x1403e4190]
mov rax, qword [rcx]
call qword [rax + 0x230]
nop
cmp qword [rbp - 0x70], 8
jb 0x1400913ae
mov rcx, qword [rsp + 0x78]
call fcn.14011bc00
movzx eax, dil
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.14025db20
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x1400983c0
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edx, edx
mov rbp, rcx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
cmp ebx, eax
je 0x140098401
mov r8d, 1
mov edx, ebx
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov esi, eax
jmp 0x140098403
xor esi, esi
mov edx, 0xfffffff0
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, 5
mov ecx, 9
and eax, 0x20000000
cmp eax, 0x20000000
cmove edx, ecx
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test esi, esi
je 0x14009844b
xor r8d, r8d
mov edx, ebx
mov ecx, edi
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140098720
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x14009872e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140098746
shr eax, 4
not eax
and eax, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret
Function at 0x140098ec0
Capabilities:
Get process image filename

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x2a0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x2d0], rbx
mov rax, qword [0x1403c6da0]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rsi, rdx
xor bl, bl
xor edi, edi
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x140099031
mov word [rsp + 0x80], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x82]
call fcn.14025e980
mov r9d, 0x103
lea r8, [rsp + 0x80]
xor edx, edx
mov rcx, rbp
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x140098f71
mov r8d, 0x103
lea rdx, [rsp + 0x80]
mov rcx, rbp
call sub.PSAPI.DLL_GetProcessImageFileNameW
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x30], di
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x80]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.14008fca0
nop
mov edx, 0x5c
or r8, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
call fcn.140098840
cmp rax, 0xffffffffffffffff
je 0x140099015
lea r8, [rax + 1]
or r9, 0xffffffffffffffff
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.140098e80
cmp qword [rsi + 0x18], 8
jb 0x140098fe9
mov rsi, qword [rsi]
cmp qword [rax + 0x18], 8
jb 0x140098ff3
mov rax, qword [rax]
mov rdx, rsi
mov rcx, rax
call fcn.14025e8e4
test eax, eax
sete bl
cmp qword [rsp + 0x70], 8
jb 0x140099015
mov rcx, qword [rsp + 0x58]
call fcn.14011bc00
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x48], 8
jb 0x140099031
mov rcx, qword [rsp + 0x30]
call fcn.14011bc00
movzx eax, bl
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14025db20
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x2a0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140099470
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403c6da0]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rbx, rcx
xor dil, dil
mov qword [rsp + 0x50], 7
xor esi, esi
mov qword [rsp + 0x48], rsi
mov word [rsp + 0x38], si
xor r8d, r8d
mov edx, 0x208
lea rcx, [rsp + 0x38]
call fcn.140094a80
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 7]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14009966c
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.14008fca0
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rsi
mov word [rbp - 0x50], si
lea r8d, [rsi + 4]
lea rdx, [0x1402c8a48]
lea rcx, [rbp - 0x50]
call fcn.14008fca0
nop
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
lea r8d, [rsi + 9]
lea rdx, [0x1402c7bc8]
lea rcx, [rsp + 0x60]
call fcn.14008fca0
nop
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rsi
mov word [rbp - 0x78], si
lea r8d, [rsi + 1]
lea rdx, [0x1402c84b0]
lea rcx, [rbp - 0x78]
call fcn.14008fca0
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x78]
lea rcx, [rbp]
call fcn.140099190
nop
lea r8, [rbp - 0x50]
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.140099190
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.14008f630
nop
cmp qword [rbp - 0x10], 8
jb 0x1400995e4
mov rcx, qword [rbp - 0x28]
call fcn.14011bc00
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rsi
mov word [rbp - 0x28], si
cmp qword [rbp + 0x18], 8
jb 0x140099604
mov rcx, qword [rbp]
call fcn.14011bc00
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], rsi
mov word [rbp], si
cmp qword [rbp - 0x60], 8
jb 0x140099624
mov rcx, qword [rbp - 0x78]
call fcn.14011bc00
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rsi
mov word [rbp - 0x78], si
cmp qword [rsp + 0x78], 8
jb 0x140099646
mov rcx, qword [rsp + 0x60]
call fcn.14011bc00
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
cmp qword [rbp - 0x38], 8
jb 0x140099669
mov rcx, qword [rbp - 0x50]
call fcn.14011bc00
mov dil, 1
cmp qword [rsp + 0x50], 8
jb 0x14009967e
mov rcx, qword [rsp + 0x38]
call fcn.14011bc00
movzx eax, dil
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.14025db20
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400996b0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rdi, rdx
mov rbx, rcx
xor eax, eax
mov dword [rsp + 0x50], eax
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], rax
mov word [rcx], ax
mov dword [rsp + 0x50], 1
mov rax, qword [rcx + 0x10]
mov edx, 0x105
cmp rax, rdx
jb 0x140099704
or r8, 0xffffffffffffffff
call fcn.14008f280
jmp 0x14009970f
xor r8d, r8d
sub rdx, rax
call fcn.140094a80
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14009971f
mov rdx, qword [rbx]
jmp 0x140099722
mov rdx, rbx
lea r8d, [rax - 1]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14009a640
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x40
xor r12d, r12d
cmp qword [rcx], 0xffffffffffffffff
mov edi, r9d
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
je 0x14009a6af
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14009a67e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x10]
mov qword [rbx + 8], r12
test rcx, rcx
je 0x14009a691
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbx]
mov qword [rbx + 0x10], r12
cmp rcx, 0xffffffffffffffff
je 0x14009a6a4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x18], r12d
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov edx, esi
lea r8d, [r9 + 1]
mov rcx, rbp
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x14009a723
mov edi, dword [rsp + 0x80]
test edi, edi
jne 0x14009a6f3
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov r8d, dword [rsp + 0x70]
mov rcx, qword [rbx]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, rax
mov qword [rbx + 8], rax
test rax, rax
jne 0x14009a727
mov rcx, rbx
call fcn.14009a5e0
xor al, al
jmp 0x14009a74c
mov edx, dword [rsp + 0x78]
mov eax, edi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x14009a71b
mov dword [rbx + 0x18], edi
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret