joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002d08
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1020
call fcn.1400189c0
sub rsp, rax
mov ebp, r8d
mov sil, dl
mov rdi, rcx
call fcn.1400040c8
xor ebx, ebx
cmp word [rax], 0x2e
je 0x140002d50
cmp word [rax], 0x20
je 0x140002d50
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140002d85
mov rcx, rdi
call fcn.140002c88
cmp eax, 0xffffffff
jne 0x140002d98
mov r8d, 0x800
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140003cf0
test al, al
je 0x140002d98
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140002d98
test sil, sil
je 0x140002d94
mov edx, ebp
mov rcx, rdi
call fcn.140002fa0
xor eax, eax
jmp 0x140002db3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140002dae
cmp eax, 3
sete bl
lea eax, [rbx + 1]
jmp 0x140002db3
mov eax, 2
lea r11, [rsp + 0x1020]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140002fa0
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x1020
call fcn.1400189c0
sub rsp, rax
mov edi, edx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
test eax, eax
jne 0x140002ff5
mov r8d, 0x800
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140003cf0
test al, al
je 0x140002ff5
mov edx, edi
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
lea r11, [rsp + 0x1020]
mov al, bl
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000321c
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r15
push rbp
lea rbp, [rax - 0x1178]
mov eax, 0x1270
call fcn.1400189c0
sub rsp, rax
mov rsi, rdx
lea rdx, [rsp + 0x20]
mov rdi, r8
mov rbx, rcx
mov r15d, 0x800
cmp rcx, 0xffffffffffffffff
jne 0x1400032c8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400032e4
mov r8d, r15d
lea rdx, [rbp + 0x170]
mov rcx, rsi
call fcn.140003cf0
test al, al
je 0x1400032a1
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400032e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 2]
test ecx, 0xffffffee
jne 0x1400032bb
cmp eax, 0x13
je 0x1400032bb
xor al, al
jmp 0x1400032bd
mov al, 1
mov byte [rdi + 0x1044], al
jmp 0x140003379
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400032e4
or rbx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
setne al
jmp 0x1400032bd
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call fcn.140007ac4
mov r8, r15
lea rdx, [rsp + 0x4c]
mov rcx, rdi
call fcn.1400041f8
mov eax, dword [rsp + 0x40]
lea rdx, [rsp + 0x34]
mov ecx, dword [rsp + 0x3c]
shl rcx, 0x20
add rcx, rax
mov eax, dword [rsp + 0x20]
mov dword [rdi + 0x1008], eax
mov rax, qword [rsp + 0x24]
mov qword [rdi + 0x1028], rax
mov rax, qword [rsp + 0x2c]
mov qword [rdi + 0x1030], rax
mov rax, qword [rsp + 0x34]
mov qword [rdi + 0x1000], rcx
lea rcx, [rdi + 0x1010]
mov qword [rdi + 0x1038], rax
call fcn.1400086c8
lea rcx, [rdi + 0x1018]
lea rdx, [rsp + 0x24]
call fcn.1400086c8
lea rcx, [rdi + 0x1020]
lea rdx, [rsp + 0x2c]
call fcn.1400086c8
and dword [rdi + 0x1040], 0
lea r11, [rsp + 0x1270]
mov rsi, qword [r11 + 0x18]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140003cf0
Capabilities:
Get common file path

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
mov eax, 0x1020
call fcn.1400189c0
sub rsp, rax
xor r14d, r14d
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
cmp word [rcx], r14w
je 0x140003e9f
call fcn.140003ec0
mov rcx, rbx
call fcn.14001d558
mov rcx, rbx
mov rbp, rax
call fcn.140003ef0
test al, al
je 0x140003dd4
mov rcx, rbx
call fcn.140003ec0
test al, al
je 0x140003d88
lea rax, [rbp + 4]
cmp rdi, rax
jbe 0x140003e9f
mov r8, rdi
lea rdx, [0x14002d890]
mov rcx, rsi
call fcn.140007ac4
mov rdx, rbx
mov r8, rdi
mov rcx, rsi
call fcn.140007a80
mov al, 1
jmp 0x140003ea1
cmp word [rbx], 0x5c
jne 0x140003e9f
cmp word [rbx + 2], 0x5c
jne 0x140003e9f
lea rax, [rbp + 6]
cmp rdi, rax
jbe 0x140003e9f
mov r8, rdi
lea rdx, [0x14002d890]
mov rcx, rsi
call fcn.140007ac4
mov r8, rdi
lea rdx, [0x14002d8a0]
mov rcx, rsi
call fcn.140007a80
lea rdx, [rbx + 2]
jmp 0x140003d76
lea rdx, [rsp + 0x20]
mov ecx, 0x7ff
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x7fe
ja 0x140003e9f
cmp word [rbx], 0x5c
je 0x140003e69
cmp word [rbx], 0x2f
je 0x140003e69
mov edx, 0x800
lea rcx, [rsp + 0x20]
call fcn.14000381c
lea rcx, [rsp + 0x20]
call fcn.14001d558
lea rcx, [rax + 4]
add rcx, rbp
cmp rdi, rcx
jbe 0x140003e9f
mov r8, rdi
lea rdx, [0x14002d890]
mov rcx, rsi
call fcn.140007ac4
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140007a80
cmp word [rbx], 0x2e
jne 0x140003d73
cmp word [rbx + 2], 0x5c
je 0x140003e60
cmp word [rbx + 2], 0x2f
jne 0x140003d73
add rbx, 4
jmp 0x140003d73
lea rax, [rbp + 6]
cmp rdi, rax
jbe 0x140003e9f
mov r8, rdi
lea rdx, [0x14002d890]
mov rcx, rsi
call fcn.140007ac4
mov r8, rdi
mov word [rsp + 0x24], r14w
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140007a80
jmp 0x140003d73
xor al, al
lea r11, [rsp + 0x1020]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1400060c8
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov r11, r8
mov r10, rdx
movdqu xmm1, xmmword [rcx + 8]
test r8, r8
je 0x14000613a
mov rax, r10
add r10, 0x10
cmp byte [rcx + 1], 0
movdqu xmm0, xmmword [rax]
je 0x1400060ed
pxor xmm0, xmm1
movdqu xmm1, xmmword [rcx + 0x18]
movsxd rax, dword [rcx + 4]
pxor xmm1, xmm0
cmp rax, 1
jle 0x14000611b
lea rdx, [rcx + 0x28]
lea r8, [rax - 1]
movdqu xmm0, xmmword [rdx]
lea rdx, [rdx + 0x10]
aesenc xmm1, xmm0
sub r8, 1
jne 0x140006108
add rax, rax
movdqu xmm0, xmmword [rcx + rax*8 + 0x18]
mov rax, r9
add r9, 0x10
aesenclast xmm1, xmm0
movdqu xmmword [rax], xmm1
sub r11, 1
jne 0x1400060d8
movdqu xmmword [rcx + 8], xmm1
ret

Function at 0x140006140
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r10b, r10b
mov r11b, dl
mov bl, cl
test dl, dl
je 0x140006188
mov al, r10b
xor al, bl
movzx r8d, al
test r11b, 1
movzx eax, r10b
cmove r8d, eax
mov al, bl
add al, al
mov r10b, r8b
mov r8b, bl
movzx edx, al
mov cl, dl
mov ebx, edx
xor cl, 0x1b
test r8b, r8b
movzx ecx, cl
cmovs ebx, ecx
shr r11b, 1
jne 0x140006151
mov rbx, qword [rsp + 8]
mov al, r10b
ret

Function at 0x140006194
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov esi, 1
mov rdi, rcx
cmp dword [rcx + 4], esi
jle 0x14000626c
lea rbx, [rax - 0x28]
sub rbx, rcx
lea rbp, [rcx + 0x2a]
sub rbx, 0x2a
lea r15, [0x140000000]
xor r9d, r9d
mov r10, rbp
lea r14, [rbx + r9]
mov r11d, 4
movzx eax, byte [r10 + 1]
lea rdx, [r9 + rax*4]
movzx eax, byte [r10 - 1]
mov r8b, byte [rdx + r15 + 0x47010]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10 - 2]
xor r8b, byte [rcx + r15 + 0x46810]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10]
xor r8b, byte [rcx + r15 + 0x46410]
lea rcx, [r9 + rax*4]
xor r8b, byte [rcx + r15 + 0x46c10]
mov byte [r14 + r10], r8b
lea r10, [r10 + 4]
sub r11, 1
jne 0x1400061e3
inc r9
cmp r9, 4
jl 0x1400061d6
movsxd rcx, esi
lea r8d, [r11 + 0x10]
shl rcx, 4
lea rdx, [rsp + 0x20]
add rcx, 0x18
add rcx, rdi
call fcn.14001a370
inc esi
add rbp, 0x10
sub rbx, 0x10
cmp esi, dword [rdi + 4]
jl 0x1400061d3
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400069dc
Capabilities:
Encode data using xor

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 r10, qword [0x140047420]
xor ebx, ebx
movzx ebp, r9b
mov r14b, r8b
mov rdi, rdx
mov rsi, rcx
test r10, r10
jne 0x140006a7b
cmp byte [0x140047418], bl
jne 0x140006a7b
lea rcx, str.Crypt32.dll
call fcn.140007d94
mov qword [0x140047410], rax
test rax, rax
je 0x140006a64
lea rdx, str.CryptProtectMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140047410]
lea rdx, str.CryptUnprotectMemory
mov qword [0x140047420], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140047428], rax
jmp 0x140006a6b
mov rax, qword [0x140047428]
mov r10, qword [0x140047420]
mov byte [0x140047418], 1
jmp 0x140006a82
mov rax, qword [0x140047428]
mov rcx, rdi
mov r8d, ebp
and rcx, 0xfffffffffffffff0
test r14b, r14b
je 0x140006ad5
test r10, r10
je 0x140006af2
mov edx, ecx
mov rax, r10
mov rcx, rsi
call qword [0x14002d478]
test eax, eax
jne 0x140006b0d
lea rdx, str.CryptProtectMemory_failed
lea rbx, [0x140064260]
mov rcx, rbx
call fcn.140001ad4
mov rcx, rbx
call fcn.140001d5c
mov edx, 2
mov rcx, rbx
call fcn.140001acc
jmp 0x140006b0d
test rax, rax
je 0x140006af2
mov edx, ecx
mov rcx, rsi
call qword [0x14002d478]
test eax, eax
jne 0x140006b0d
lea rdx, str.CryptUnprotectMemory_failed
jmp 0x140006aaf
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test rdi, rdi
je 0x140006b0d
lea ecx, [rax + 0x4b]
add cl, bl
xor byte [rbx + rsi], cl
inc rbx
cmp rbx, rdi
jb 0x140006afd
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 0x14000740c
Capabilities:
Hash data using sha1

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, 0x60
mov edi, dword [rcx + 0x18]
mov ebp, 0x38
mov r14, qword [rcx + 0x18]
and edi, 0x3f
shl r14, 3
mov rsi, rdx
mov rbx, rcx
mov byte [rdi + rcx + 0x20], 0x80
inc edi
cmp edi, ebp
je 0x140007492
jbe 0x14000747d
lea edx, [rbp + 8]
cmp edi, edx
jae 0x140007467
sub edx, edi
mov ecx, edi
add rcx, 0x20
mov r8d, edx
add rcx, rbx
xor edx, edx
call fcn.1400196c0
xor edi, edi
lea r8, [rbx + 0x20]
mov r9b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140006c14
sub ebp, edi
mov ecx, edi
add rcx, 0x20
mov r8d, ebp
add rcx, rbx
xor edx, edx
call fcn.1400196c0
mov rcx, r14
shr rcx, 0x20
call fcn.1400207c4
mov ecx, r14d
mov dword [rbx + 0x58], eax
call fcn.1400207c4
lea r8, [rbx + 0x20]
mov dword [rbx + 0x5c], eax
mov r9b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140006c14
mov rdx, rbx
mov ecx, 5
sub rdx, rsi
mov eax, dword [rdx + rsi]
mov dword [rsi], eax
lea rsi, [rsi + 4]
sub rcx, 1
jne 0x1400074cb
and qword [rbx + 0x18], rcx
lea r11, [rsp + 0x60]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov dword [rbx + 0x10], 0xc3d2e1f0
mov rbx, qword [r11 + 0x10]
mov rsp, r11
pop r14
ret

Function at 0x14000751c
Capabilities:
Hash data using sha1

Disassembly:
and qword [rcx + 0x18], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret

Function at 0x140007d94
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x1020
call fcn.1400189c0
sub rsp, rax
mov rbx, rcx
mov edx, 0x800
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x140007dbe
xor eax, eax
jmp 0x140007de1
mov r9d, 0x800
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140003f80
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
add rsp, 0x1020
pop rbx
ret
Function at 0x14000d204
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x140057ac8], 0
je 0x14000d21f
or eax, 0xffffffff
jmp 0x14000d327
mov rax, qword [0x140047978]
test rax, rax
jg 0x14000d23f
dec rax
mov qword [0x140047978], rax
and qword [0x1400579d8], 0
jmp 0x14000d217
mov rbx, qword [0x1400579d8]
test rbx, rbx
jg 0x14000d293
mov rcx, qword [0x1400579c8]
mov ebx, 0x2000
mov edx, ebx
call fcn.14000d4a4
movsxd rcx, eax
mov qword [0x1400579d8], rcx
test eax, eax
je 0x14000d235
cmp rcx, 0xffffffffffffffff
je 0x14000d2c9
mov rax, qword [0x1400579c8]
add qword [0x140057a18], rbx
mov qword [0x1400579d0], rax
call fcn.14000cc90
mov rbx, qword [0x1400579d8]
mov rax, qword [0x1400479b0]
test byte [rax + 0x80], 1
je 0x14000d30c
cmp byte [0x140058be1], 0
je 0x14000d2e1
test rbx, rbx
je 0x14000d30c
mov rdx, qword [0x1400579d0]
lea rcx, [0x140058be8]
mov r8, rbx
call fcn.1400108bc
jmp 0x14000d305
lea rdx, [0x14006e52a]
lea rcx, [0x140064260]
call fcn.140001cb8
jmp 0x14000d235
mov rdi, qword [0x1400579d0]
test rbx, rbx
je 0x14000d30c
call fcn.14001062c
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.140010784
inc rdi
sub rbx, 1
jne 0x14000d2ed
mov rbx, qword [0x1400579d8]
mov rax, qword [0x1400579d0]
dec rbx
mov qword [0x1400579d8], rbx
movzx eax, byte [rax]
inc qword [0x1400579d0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140010698
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov dil, r8b
mov rcx, rdx
call fcn.14001064c
mov r8d, 0xc
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14001a370
xor ebx, ebx
mov ecx, dword [0x140058b28]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rsp + rbx + 0x20], al
movzx ecx, byte [rsp + rbx + 0x20]
call fcn.140010784
inc rbx
cmp rbx, 0xc
jl 0x1400106c5
mov rax, qword [0x1400479b0]
movzx ecx, byte [0x140057a47]
test byte [rax + 0x80], 2
movzx eax, byte [0x140057a3f]
cmovne ecx, eax
movzx eax, byte [rsp + 0x2b]
cmp eax, ecx
je 0x140010723
or eax, 0xffffffff
jmp 0x140010778
test dil, dil
je 0x140010776
mov rbx, qword [0x1400579d8]
mov rax, qword [0x140047978]
mov rdi, qword [0x1400579d0]
movsxd rcx, ebx
cmp rcx, rax
cmovg ebx, eax
test ebx, ebx
je 0x140010776
mov ecx, dword [0x140058b28]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.140010784
inc rdi
sub ebx, 1
jne 0x14001074a
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140010784
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov r8, qword [0x140058b20]
mov eax, ecx
mov r9d, ecx
mov rdx, r8
mov rcx, qword [0x140058b28]
xor rdx, rax
movzx eax, dl
lea rdx, [0x140047550]
shr r8d, 8
xor r8d, dword [rdx + rax*4]
movzx eax, r8b
add eax, dword [0x140058b24]
imul eax, eax, 0x8088405
mov dword [0x140058b20], r8d
inc eax
mov dword [0x140058b24], eax
shr rax, 0x18
xor rax, rcx
shr ecx, 8
movzx eax, al
xor ecx, dword [rdx + rax*4]
mov eax, r9d
mov dword [0x140058b28], ecx
ret
Function at 0x140010a48
Capabilities:
Encode data using xor

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 r12
push r14
push r15
sub rsp, 0x50
mov r12, rdx
mov rsi, r9
lea rdx, [rax - 0x30]
mov r15, r8
mov rdi, rcx
call fcn.14000740c
xor ebx, ebx
lea r10, [rsp + 0x38]
mov r9d, ebx
mov r11d, ebx
lea r14d, [r9*4]
mov r8d, ebx
mov edx, dword [r10]
lea eax, [r14 + r11]
mov ecx, 0x18
inc r11d
sub ecx, r8d
add r8d, 8
shr edx, cl
mov byte [rsp + rax + 0x20], dl
cmp r8d, 0x20
jb 0x140010a92
inc r9d
add r10, 4
cmp r9d, 5
jb 0x140010a84
mov r14, qword [rsp + 0x90]
test rsi, rsi
je 0x140010b03
cmp byte [r14], bl
je 0x140010b03
movups xmm0, xmmword [rsi]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rdi + 0x30], xmm1
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rdi + 0x40], xmm0
movups xmm1, xmmword [rsi + 0x50]
movups xmmword [rdi + 0x50], xmm1
jmp 0x140010b37
lea rax, [rdi + 0x60]
mov ecx, 0x40
xor byte [rax], 0x6a
inc rax
sub rcx, 1
jne 0x140010b0c
mov rcx, rdi
call fcn.14000751c
mov r8d, 0x40
lea rdx, [rdi + 0x60]
mov rcx, rdi
call fcn.140007544
test rsi, rsi
je 0x140010b6e
cmp byte [r14], bl
jne 0x140010b6e
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rsi + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rsi + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rsi + 0x50], xmm1
mov byte [r14], 1
mov r8d, 0x14
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140007544
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14000740c
mov r8d, ebx
lea r9, [rsp + 0x38]
mov r11d, ebx
lea edi, [r8*4]
mov r10d, ebx
mov edx, dword [r9]
lea eax, [rdi + r11]
mov ecx, 0x18
inc r11d
sub ecx, r10d
add r10d, 8
shr edx, cl
mov byte [rsp + rax + 0x20], dl
cmp r10d, 0x20
jb 0x140010ba4
inc r8d
add r9, 4
cmp r8d, 5
jb 0x140010b96
test r15, r15
je 0x140010bec
mov rcx, rbx
mov al, byte [rsp + rcx + 0x20]
inc ebx
mov byte [rcx + r12], al
mov ecx, ebx
cmp rcx, r15
jb 0x140010bdb
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x140010c0c
Capabilities:
Encode data using xor

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
xor esi, esi
mov rdi, r8
mov r14, rdx
mov rbx, rcx
cmp r8, 0x40
jbe 0x140010ca6
call fcn.14000751c
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call fcn.140007544
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000740c
mov r8d, esi
lea r9, [rsp + 0x20]
mov r11d, esi
lea edi, [r8*4]
mov r10d, esi
mov edx, dword [r9]
lea eax, [rdi + r11]
mov ecx, 0x18
inc r11d
sub ecx, r10d
add r10d, 8
shr edx, cl
mov byte [rax + rbx + 0x60], dl
cmp r10d, 0x20
jb 0x140010c6c
inc r8d
add r9, 4
cmp r8d, 5
jb 0x140010c5e
mov edi, 0x14
lea rbp, [rbx + 0x60]
jmp 0x140010cb2
lea rbp, [rcx + 0x60]
mov rcx, rbp
call fcn.14001a370
mov qword [rbx + 0xa0], rdi
mov edx, 0x36
test rdi, rdi
je 0x140010cda
mov rax, rsi
xor byte [rax + rbx + 0x60], dl
inc esi
mov rdi, qword [rbx + 0xa0]
mov eax, esi
cmp rax, rdi
jb 0x140010cc6
mov r8d, 0x40
lea rcx, [rbx + 0x60]
sub r8, rdi
add rcx, rdi
call fcn.1400196c0
mov rcx, rbx
call fcn.14000751c
mov r8d, 0x40
mov rdx, rbp
mov rcx, rbx
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
jmp fcn.140007544
Function at 0x1400117e8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
mov rbx, rcx
mov rax, qword [rax + 0x20]
call qword [0x14002d478]
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, 0x40
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [0x14002d478]
cmp eax, 0x40
jne 0x1400118d0
cmp byte [rsp + 0x20], 0x4d
jne 0x1400118d0
cmp byte [rsp + 0x21], 0x5a
jne 0x1400118d0
mov rax, qword [rbx]
xor r8d, r8d
mov edx, dword [rsp + 0x5c]
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [0x14002d478]
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, 0x108
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [0x14002d478]
cmp eax, 0x108
jne 0x1400118d0
cmp byte [rsp + 0x20], 0x50
jne 0x1400118d0
cmp byte [rsp + 0x21], 0x45
jne 0x1400118d0
cmp byte [rsp + 0x22], 0
jne 0x1400118d0
cmp byte [rsp + 0x23], 0
jne 0x1400118d0
cmp byte [rsp + 0x38], 0xb
jne 0x1400118d0
cmp byte [rsp + 0x39], 1
jne 0x1400118b7
cmp dword [rbp - 0x6c], 4
jbe 0x1400118b7
mov eax, dword [rbp - 0x48]
jmp 0x1400118d2
cmp byte [rsp + 0x38], 0xb
jne 0x1400118d0
cmp byte [rsp + 0x39], 2
jne 0x1400118d0
cmp dword [rbp - 0x5c], 4
jbe 0x1400118d0
mov eax, dword [rbp - 0x38]
jmp 0x1400118d2
xor eax, eax
mov rbx, qword [rsp + 0x140]
add rsp, 0x130
pop rbp
ret
Function at 0x140012224
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rdx]
mov r9, rdx
and qword [r11 + 0x20], 0
lea rdx, [r11 + 0x20]
and qword [r11 + 0x10], 0
mov rdi, rcx
mov rcx, r9
mov rsi, r8
mov rax, qword [rax + 0x90]
call qword [0x14002d478]
mov ebx, eax
test eax, eax
js 0x1400122df
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400122ed
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, [0x14002f800]
mov rax, qword [rax]
call qword [0x14002d478]
mov ebx, eax
test eax, eax
js 0x1400122cd
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x14002d478]
mov ebx, eax
test eax, eax
js 0x1400122bb
mov rcx, qword [rsp + 0x58]
mov rdx, rsi
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [0x14002d478]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14002d478]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14002d478]
test ebx, ebx
js 0x1400122ed
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jne 0x14001235e
cmp qword [rdi + 0x10], 0
je 0x14001235e
cmp qword [rdi + 0x48], 0
jne 0x14001235e
mov rdx, qword [rdi + 0x40]
test rdx, rdx
je 0x14001235e
mov rcx, rdi
call fcn.140012af0
mov rsi, rax
test rax, rax
je 0x14001235e
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov dword [rsp + 0x30], 0x204
xor r8d, r8d
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea edx, [r9 + 1]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rdi + 0x10]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x10]
mov rdx, rsi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rsi
call fcn.14001d818
mov rsi, qword [rsp + 0x60]
shr ebx, 0x1f
xor bl, 1
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14001359c
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov rax, rdx
mov rdx, rcx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret