joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801ee600
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x860
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov r14, rcx
lea rdx, [rsp + 0x50]
mov ecx, 0x3fe
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebp, eax
test eax, eax
je 0x1801ee6ce
lea r15, [rsp + 0x50]
xor r12d, r12d
mov qword [rsp + 0x48], r12
mov ebx, r12d
mov qword [rsp + 0x48], rbx
lea r13, [r12 - 1]
cmp ebp, 0x3fe
jbe 0x1801ee701
lea ecx, [rbp + 2]
mov eax, 2
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.18029a0ac
mov r15, rax
mov rbx, rax
mov qword [rsp + 0x48], rax
mov rdx, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1801ee6c1
cmp eax, ebp
ja 0x1801ee6c1
mov ecx, eax
mov word [rbx + rcx*2], r12w
lea ecx, [rax + 1]
mov word [rbx + rcx*2], r12w
mov ebp, eax
jmp 0x1801ee732
test r15, r15
je 0x1801ee6ce
mov rcx, r15
call fcn.180299904
xor al, al
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1802994c0
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, rbp
add rax, rax
cmp rax, 0x800
jae 0x1801ee817
mov word [rsp + rax + 0x50], r12w
lea ecx, [rbp + 1]
add rcx, rcx
cmp rcx, 0x800
jae 0x1801ee811
mov word [rsp + rcx + 0x50], r12w
mov eax, r12d
mov edi, r12d
test ebp, ebp
je 0x1801ee7fd
mov rsi, r15
cmp word [rsi], 0
jne 0x1801ee7ef
cmp eax, edi
je 0x1801ee7ef
lea rdx, [r15 + rax*2]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r12w
mov r8, r13
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1801ee780
lea rcx, [rsp + 0x20]
call fcn.180033930
nop
mov rdx, qword [r14 + 8]
cmp qword [r14 + 0x10], rdx
je 0x1801ee7d4
mov qword [rdx + 0x10], r12
mov qword [rdx + 0x18], r12
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r12w
add qword [r14 + 8], 0x20
jmp 0x1801ee7e2
lea r8, [rsp + 0x20]
mov rcx, r14
call fcn.1800556d0
nop
lea rcx, [rsp + 0x20]
call fcn.1800338a0
lea eax, [rdi + 1]
inc edi
add rsi, 2
cmp edi, ebp
jb 0x1801ee743
test rbx, rbx
je 0x1801ee80a
mov rcx, rbx
call fcn.180299904
mov al, 1
jmp 0x1801ee6d0
call fcn.180299a68
int3
call fcn.180299a68
int3
Function at 0x1801f0190
Capabilities:
Set file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebx, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x1801f01c1
xor al, al
jmp 0x1801f0240
and ebx, 0xffffb1af
cmp qword [rcx + 0x18], 8
jb 0x1801f01d1
mov rcx, qword [rcx]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1801f01e1
mov al, 1
jmp 0x1801f0240
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rsp + 0x38], xmm1
xor eax, eax
mov word [rsp + 0x28], ax
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.1801f0cb0
test al, al
je 0x1801f0231
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1801f0231
mov bl, 1
jmp 0x1801f0233
xor bl, bl
lea rcx, [rsp + 0x28]
call fcn.1800338a0
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1802994c0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

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

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x1801f0290
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1801f02f1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rsp + 0x38], xmm1
xor eax, eax
mov word [rsp + 0x28], ax
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.1801f0cb0
test al, al
je 0x1801f02e5
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea rcx, [rsp + 0x28]
call fcn.1800338a0
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1802994c0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1801f0310
Capabilities:
Move file

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rdx
mov rbx, rcx
cmp qword [rdx + 0x18], 8
jb 0x1801f0348
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x1801f0352
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1801f040e
xor sil, sil
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rsp + 0x58], xmm1
xor ebp, ebp
mov word [rsp + 0x48], bp
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1801f0cb0
movzx ebx, sil
mov ecx, 1
test al, al
cmovne ebx, ecx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rsp + 0x38], xmm1
mov word [rsp + 0x28], bp
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.1801f0cb0
test al, al
jne 0x1801f03cd
test bl, bl
je 0x1801f0412
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1801f0412
lea rcx, [rsp + 0x28]
call fcn.1800338a0
nop
lea rcx, [rsp + 0x48]
call fcn.1800338a0
mov al, 1
jmp 0x1801f0429
lea rcx, [rsp + 0x28]
call fcn.1800338a0
nop
lea rcx, [rsp + 0x48]
call fcn.1800338a0
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1802994c0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x1801f0450
Capabilities:
Move file

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x90
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, rdx
mov rdi, rcx
cmp qword [rdx + 0x18], 8
jb 0x1801f048e
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x1801f0498
mov rcx, qword [rcx]
mov r8d, 0xb
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1801f04af
mov al, 1
jmp 0x1801f05de
xor sil, sil
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rsp + 0x58], xmm1
xor ebp, ebp
mov word [rsp + 0x48], bp
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.1801f0cb0
movzx esi, sil
mov ecx, 1
test al, al
cmovne esi, ecx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rsp + 0x38], xmm1
mov word [rsp + 0x28], bp
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1801f0cb0
test al, al
jne 0x1801f051d
test sil, sil
je 0x1801f054f
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov r8d, 0xb
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1801f05ad
mov rcx, rbx
call fcn.1801f0260
cmp eax, 0xffffffff
je 0x1801f05c4
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.180037a20
nop
lea rcx, [rsp + 0x68]
call fcn.1801f09d0
test al, al
je 0x1801f05ba
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.1801f0310
test al, al
je 0x1801f05ba
mov rdx, rbx
mov rcx, rdi
call fcn.1801f0310
lea rcx, [rsp + 0x68]
test al, al
je 0x1801f05b1
call fcn.1801f0610
nop
lea rcx, [rsp + 0x68]
call fcn.1800338a0
mov bl, 1
jmp 0x1801f05c6
mov rdx, rbx
call fcn.1801f0310
nop
lea rcx, [rsp + 0x68]
call fcn.1800338a0
xor bl, bl
lea rcx, [rsp + 0x28]
call fcn.1800338a0
nop
lea rcx, [rsp + 0x48]
call fcn.1800338a0
movzx eax, bl
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1802994c0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
Function at 0x1801f0610
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x1801f064e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1801f065f
mov al, 1
jmp 0x1801f07ee
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1801f066c
mov rdx, qword [rdi]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rbp - 0x18], xmm1
xor r15d, r15d
mov word [rbp - 0x28], r15w
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp word [rdx + r8*2], r15w
jne 0x1801f0693
lea rcx, [rbp - 0x28]
call fcn.180033930
nop
lea rcx, [rbp - 0x28]
call fcn.1801f0260
mov r14d, eax
lea rcx, [rbp - 0x28]
call fcn.1800338a0
cmp r14d, 0xffffffff
jne 0x1801f06c9
xor al, al
jmp 0x1801f07ee
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1801f06d6
mov rdx, qword [rdi]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], r15w
mov r8, rsi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1801f06f3
lea rcx, [rbp - 0x28]
call fcn.180033930
nop
xor edx, edx
lea rcx, [rbp - 0x28]
call fcn.1801f0190
movzx ebx, al
lea rcx, [rbp - 0x28]
call fcn.1800338a0
test bl, bl
je 0x1801f06c2
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1801f0730
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1801f0658
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], r15w
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.1801f0cb0
test al, al
je 0x1801f0784
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1801f0784
mov bl, 1
jmp 0x1801f07e2
cmp qword [rdi + 0x18], 8
jb 0x1801f078e
mov rdi, qword [rdi]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], r15w
nop dword [rax + rax]
inc rsi
cmp word [rdi + rsi*2], 0
jne 0x1801f07b0
mov r8, rsi
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.180033930
nop
mov edx, r14d
lea rcx, [rbp - 0x50]
call fcn.1801f0190
nop
lea rcx, [rbp - 0x50]
call fcn.1800338a0
xor bl, bl
lea rcx, [rbp - 0x28]
call fcn.1800338a0
movzx eax, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1802994c0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1801f49a0
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor eax, eax
mov dword [rsp + 0x20], 0x114
mov qword [rcx + 8], rax
mov rbx, rcx
mov qword [rcx + 0x10], rax
xor edx, edx
mov qword [rcx + 0x18], rax
mov r8d, 0x110
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], rax
mov qword [rcx + 0x50], rax
mov byte [rcx], al
lea rcx, [rsp + 0x24]
call fcn.18029c350
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov rax, rbx
je 0x1801f4a20
cmp dword [rsp + 0x24], 6
jb 0x1801f4a20
mov byte [rbx], 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1802994c0
add rsp, 0x150
pop rbx
ret
Function at 0x1801f4a40
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rsi, rcx
xorps xmm0, xmm0
movdqu xmmword [rax - 0x40], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rax - 0x40], xmm1
xor edi, edi
mov word [rax - 0x50], di
lea r8d, [rdi + 0xc]
lea rdx, str.wintrust.dll
lea rcx, [rax - 0x50]
call fcn.180033930
nop
call fcn.1801ef580
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.1801ef620
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.1800338a0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rsp + 0x58], xmm1
mov word [rsp + 0x48], di
lea r8d, [rdi + 0xb]
lea rdx, str.crypt32.dll
lea rcx, [rsp + 0x48]
call fcn.180033930
nop
call fcn.1801ef580
mov rcx, rax
lea rdx, [rsp + 0x48]
call fcn.1801ef620
mov rdi, rax
lea rcx, [rsp + 0x48]
call fcn.1800338a0
test rbx, rbx
je 0x1801f4bd5
test rdi, rdi
je 0x1801f4bd5
lea rdx, str.CryptCATAdminCalcHashFromFileHandle
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 8], rax
lea rdx, str.CryptCATAdminAcquireContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x10], rax
lea rdx, str.CryptCATAdminEnumCatalogFromHash
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x18], rax
lea rdx, str.CryptCATCatalogInfoFromContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x20], rax
lea rdx, str.CryptCATAdminReleaseCatalogContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x28], rax
lea rdx, str.CryptCATAdminReleaseContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x30], rax
lea rdx, str.WTHelperProvDataFromStateData
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x38], rax
lea rdx, str.WTHelperGetProvSignerFromChain
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x40], rax
lea rdx, str.WinVerifyTrust
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x48], rax
lea rdx, str.CertNameToStrW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x50], rax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1801fbb20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rdx
mov rdx, rcx
lea rcx, [rbp - 0x28]
call fcn.180037a20
nop
mov rdi, qword [rbp - 0x18]
xor ebx, ebx
mov esi, ebx
test rdi, rdi
je 0x1801fbba5
nop dword [rax]
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rax, qword [rbp - 0x28]
movzx ecx, word [rax + rsi*2]
call fcn.1802b6b48
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
mov word [rcx + rsi*2], ax
inc rsi
cmp rsi, rdi
jb 0x1801fbb70
mov rdi, qword [rbp - 0x18]
cmp rdi, 2
jbe 0x1801fbcd4
lea rax, [rbp - 0x28]
mov rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x10]
cmp r8, 8
cmovae rax, rdx
cmp word [rax], 0x5c
jne 0x1801fbbe0
lea rax, [rbp - 0x28]
cmp r8, 8
cmovae rax, rdx
cmp word [rax + 2], 0x5c
je 0x1801fbd4c
lea rax, [rbp - 0x28]
cmp r8, 8
cmovae rax, rdx
cmp word [rax], 0x2f
jne 0x1801fbc09
lea rax, [rbp - 0x28]
cmp r8, 8
cmovae rax, rdx
cmp word [rax + 2], 0x2f
je 0x1801fbd52
test rdi, rdi
je 0x1801fbc53
mov ecx, 0x2f
lea r9d, [rcx + 0x2d]
nop word [rax + rax]
lea rax, [rbp - 0x28]
cmp r8, 8
cmovae rax, rdx
cmp cx, word [rax + rbx*2]
jne 0x1801fbc4b
lea rax, [rbp - 0x28]
cmp r8, 8
cmovae rax, rdx
mov word [rax + rbx*2], r9w
mov r8, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x28]
inc rbx
cmp rbx, rdi
jb 0x1801fbc20
lea rax, [rbp - 0x28]
cmp r8, 8
cmovae rax, rdx
cmp word [rax + 2], 0x3a
jne 0x1801fbd50
lea rax, [rbp - 0x28]
cmp r8, 8
cmovae rax, rdx
cmp word [rax + 4], 0x5c
jne 0x1801fbd50
lea rax, [rbp - 0x28]
cmp r8, 8
cmovae rax, rdx
cmp word [rax], 0x61
jb 0x1801fbd50
lea rax, [rbp - 0x28]
cmp r8, 8
cmovae rax, rdx
cmp word [rax], 0x7a
ja 0x1801fbd50
lea rcx, [rbp - 0x28]
cmp r8, 8
cmovae rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1801fbd50
shr eax, 4
and al, 1
mov byte [r14], al
mov bl, 1
jmp 0x1801fbd52
jne 0x1801fbd50
lea rax, [rbp - 0x28]
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
cmovae rax, rcx
cmp word [rax + 2], 0x3a
jne 0x1801fbd50
lea rax, [rbp - 0x28]
cmp rdx, 8
cmovae rax, rcx
cmp word [rax], 0x61
jb 0x1801fbd50
lea rax, [rbp - 0x28]
cmp rdx, 8
cmovae rax, rcx
cmp word [rax], 0x7a
ja 0x1801fbd50
mov r8d, 1
lea rdx, [0x180374b30]
lea rcx, [rbp - 0x28]
call fcn.180033c20
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1801fbd52
shr eax, 4
and al, 1
mov byte [r14], al
mov bl, 1
jmp 0x1801fbd52
xor bl, bl
lea rcx, [rbp - 0x28]
call fcn.1800338a0
movzx eax, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1802994c0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1802019f0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov ebp, r8d
mov r14, rdx
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 0xf
mov byte [rcx], sil
mov dword [rsp + 0x20], 1
mov ebx, esi
test r8d, r8d
je 0x180201c9a
mov ecx, esi
nop word [rax + rax]
dec ebp
movzx eax, byte [r14]
mov byte [rsp + rcx + 0x80], al
inc ebx
inc rcx
lea r14, [r14 + 1]
movzx r13d, byte [rsp + 0x82]
movzx r15d, byte [rsp + 0x81]
movzx r12d, byte [rsp + 0x80]
cmp rcx, 3
jne 0x180201b46
movzx eax, r12b
shr al, 2
mov byte [rsp + 0x88], al
movzx ecx, r12b
and cl, 3
shl cl, 4
movzx eax, r15b
shr al, 4
add cl, al
mov byte [rsp + 0x89], cl
movzx ecx, r15b
and cl, 0xf
shl cl, 2
movzx eax, r13b
shr al, 6
add cl, al
mov byte [rsp + 0x8a], cl
movzx eax, r13b
and al, 0x3f
mov byte [rsp + 0x8b], al
mov rbx, rsi
nop dword [rax]
lea rcx, [0x180482378]
cmp qword [0x180482390], 0x10
cmovae rcx, qword [0x180482378]
movzx eax, byte [rsp + rbx + 0x88]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x180201b30
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x180201b25
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180201b38
mov rcx, rdi
call fcn.1801bc180
inc rbx
cmp rbx, 4
jl 0x180201ae0
mov ebx, esi
mov rcx, rsi
test ebp, ebp
jne 0x180201a50
test ebx, ebx
je 0x180201c9a
movsxd rax, ebx
cmp rax, 3
jge 0x180201b91
jae 0x180201cb2
mov byte [rsp + rax + 0x80], 0
inc rax
cmp rax, 3
jl 0x180201b5f
movzx r13d, byte [rsp + 0x82]
movzx r15d, byte [rsp + 0x81]
movzx r12d, byte [rsp + 0x80]
movzx eax, r12b
shr al, 2
mov byte [rsp + 0x88], al
and r12b, 3
shl r12b, 4
movzx eax, r15b
shr al, 4
add r12b, al
mov byte [rsp + 0x89], r12b
and r15b, 0xf
shl r15b, 2
movzx eax, r13b
shr al, 6
add r15b, al
mov byte [rsp + 0x8a], r15b
and r13b, 0x3f
mov byte [rsp + 0x8b], r13b
lea eax, [rbx + 1]
movsxd rbp, eax
test eax, eax
jle 0x180201c50
nop dword [rax]
lea rcx, [0x180482378]
cmp qword [0x180482390], 0x10
cmovae rcx, qword [0x180482378]
movzx eax, byte [rsp + rsi + 0x88]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x180201c40
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x180201c35
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180201c48
mov rcx, rdi
call fcn.1801bc180
inc rsi
cmp rsi, rbp
jl 0x180201bf0
cmp ebx, 3
jge 0x180201c9a
mov eax, 3
sub eax, ebx
mov ebx, eax
nop
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x180201c89
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x180201c81
mov rax, qword [rdi]
mov word [rax + rcx], 0x3d
jmp 0x180201c94
mov r9b, 0x3d
mov rcx, rdi
call fcn.1801bc180
sub rbx, 1
jne 0x180201c60
mov rax, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180299a68
int3
Function at 0x18020a0d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x80
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rsi, rdx
mov r8, rcx
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18020a25d
mov dword [rsp + 0x50], 0x2d2d4352
mov dword [rsp + 0x54], 0xf7babac9
mov dword [rsp + 0x58], 0x61726f43
mov dword [rsp + 0x5c], 0x776f7242
mov dword [rsp + 0x60], 0x2d756e45
mov dword [rsp + 0x64], 0x61746144
mov dword [rsp + 0x68], 0x37313630
mov dword [rsp + 0x6c], 0x30313032
movdqa xmm2, xmmword [0x180397ec0]
xor ebp, ebp
mov eax, ebp
mov ecx, 1
movd xmm3, ecx
lea rcx, [r11 - 0x38]
nop word [rax + rax]
movd xmm1, eax
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
movdqu xmm0, xmmword [rcx]
pslld xmm0, xmm3
paddd xmm1, xmm0
movdqu xmmword [rcx], xmm1
add eax, 4
lea rcx, [rcx + 0x10]
cmp eax, 8
jl 0x18020a170
mov rax, qword [rdx]
mov qword [rdx + 8], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rbp
mov rdx, qword [r8]
mov r8, qword [r8 + 8]
sub r8, rdx
lea r9, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.1801fd3e0
mov rbx, qword [rsp + 0x38]
test al, al
je 0x18020a219
cmp rbx, qword [rsp + 0x40]
je 0x18020a219
mov rdx, rsi
mov ecx, 0xa
call fcn.18020e710
mov ecx, dword [rsp + 0x40]
sub ecx, ebx
mov rdx, rsi
call fcn.18020e710
mov r9, qword [rsp + 0x40]
mov r8, rbx
mov rdx, qword [rsi + 8]
mov rcx, rsi
call fcn.1801ecb80
nop
test rbx, rbx
je 0x18020a25d
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x18020a247
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18020a27f
mov rcx, rbx
call fcn.180299904
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbp
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1802994c0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
call fcn.1802a54c4
int3