joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bf330
Capabilities:
Reference http user-agent string

Disassembly:
push rbx
sub rsp, 0x310
mov rax, qword [0x1403721e8]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov rbx, rcx
mov byte [rcx + 0x3821], dl
test dl, dl
je 0x1400bf4a4
mov byte [rcx + 0x3820], 0
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x190]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x190]
call fcn.1400aa360
nop
lea rdx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__rv:91.0__Gecko_20100101_Firefox_91.0
lea rcx, [rsp + 0x190]
call fcn.1400aeda0
lea r8, [rsp + 0x190]
lea rdx, str.User_Agent
mov rcx, rbx
call fcn.1400bf930
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.1400f7ec0
nop
add rbx, 0x1f08
lea r9, [rsp + 0x20]
lea r8, str.text_html_application_xhtmlxml_application_xml_q0.9_image_webp___q0.8
lea rdx, str.Accept
mov rcx, rbx
call fcn.1401649e0
lea r8, [rsp + 0x20]
lea rdx, str.Accept_Language
mov rcx, rbx
call fcn.1401610e0
test al, al
jne 0x1400bf423
lea r9, [rsp + 0x20]
lea r8, str.en_US_en_q0.5
lea rdx, str.Accept_Language
mov rcx, rbx
call fcn.1401649e0
lea r8, [rsp + 0x20]
lea rdx, str.Connection
mov rcx, rbx
call fcn.1401610e0
test al, al
jne 0x1400bf456
lea r9, [rsp + 0x20]
lea r8, str.keep_alive
lea rdx, str.Connection
mov rcx, rbx
call fcn.1401649e0
lea r8, [rsp + 0x20]
lea rdx, str.Upgrade_Insecure_Requests
mov rcx, rbx
call fcn.1401610e0
test al, al
jne 0x1400bf48a
lea r9, [rsp + 0x20]
lea r8, [0x140261204]
lea rdx, str.Upgrade_Insecure_Requests
mov rcx, rbx
call fcn.1401649e0
nop
lea rcx, [rsp + 0x20]
call fcn.1400f7ef0
nop
lea rcx, [rsp + 0x190]
call fcn.1400aa3c0
jmp 0x1400bf4ba
add rcx, 0x1f08
mov r8b, 1
lea rdx, str.User_Agent
call fcn.140164900
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1402545b0
add rsp, 0x310
pop rbx
ret
Function at 0x1400c6c80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x238
mov rax, qword [0x1403721e8]
xor rax, rsp
mov qword [rsp + 0x220], rax
movzx r15d, r9b
mov rdi, r8
mov rbp, rdx
mov r13, rcx
mov r14, qword [rsp + 0x2a0]
mov rbx, qword [rsp + 0x2b0]
mov r12, qword [rsp + 0x2b8]
lea rdx, [rcx + 0x37f8]
mov r8d, 4
mov rcx, rbp
call fcn.1400af7a0
mov rcx, r14
call fcn.1400e4510
xor esi, esi
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x20], rsi
mov r9d, dword [r13 + 0xf24]
mov r8d, dword [r13 + 0xf20]
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140166210
nop
mov rcx, r13
call fcn.1400bedd0
mov byte [r13 + 0x1f78], 1
call sub.KERNEL32.dll_GetTickCount
mov dword [rsp + 0x70], eax
mov qword [rsp + 0x80], rsi
xor edx, edx
mov r8d, 0x188
lea rcx, [rsp + 0x90]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x78]
call fcn.140166950
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.14011e290
nop
mov dword [rsp + 0xd4], esi
lea rbx, [r13 + 0x1818]
mov rcx, rdi
call fcn.1400ad740
mov rdi, rax
mov rcx, rbp
call fcn.1400ad740
mov rdx, rax
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x90]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rbx
mov byte [rsp + 0x38], sil
mov byte [rsp + 0x30], r15b
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r13
lea r9, [r13 + 0x1d70]
lea r8, [r13 + 0x35c0]
mov rcx, r13
call fcn.140125db0
movzx ebx, al
mov ecx, dword [rsp + 0xd4]
mov dword [r13 + 0xfec], ecx
movzx ecx, byte [rsp + 0xc2]
mov byte [r13 + 0x15d3], cl
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [rsp + 0x70]
cmp eax, ecx
jb 0x1400c6e19
sub eax, ecx
mov r8d, eax
lea rdx, str.totalElapsedMs
mov rcx, r12
call fcn.1400f6d00
mov rdx, r12
test bl, bl
je 0x1400c6e55
lea rcx, [rsp + 0x78]
call fcn.140166780
lea rcx, [r13 + 0xbf0]
mov r8, qword [r13 + 0x1be8]
lea rdx, str.ContentLength
call fcn.1400f6c90
cmp dword [r13 + 0x1be0], 0x190
jl 0x1400c6e62
xor bl, bl
jmp 0x1400c6e62
lea rcx, [r13 + 0x35c0]
call fcn.140165f20
nop
lea rcx, [rsp + 0x90]
call fcn.14011e330
nop
lea rcx, [rsp + 0x78]
call fcn.140166260
movzx eax, bl
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1402545b0
add rsp, 0x238
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400d4f60
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
mov eax, r8d
mov r9, rdx
mov r8, rcx
mov edx, eax
mov rcx, r9
jmp fcn.1400f32d0

Function at 0x1400e6460
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov esi, dword [rdx + 0x10]
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
cmp esi, dword [r8 + 0x10]
jne 0x1400e64be
test esi, esi
jne 0x1400e64b1
xor r9d, r9d
mov dword [rcx + 0x10], r9d
cmp byte [rcx + 0x19], r9b
je 0x1400e6585
mov qword [rcx + 0x20], r9
mov al, 1
mov dword [rcx + 0x14], r9d
mov byte [rcx + 0x19], r9b
jmp 0x1400e64c0
cmp byte [rcx + 0x18], 0xdb
je 0x1400e64db
xor ecx, ecx
call fcn.1400b09c0
xor al, al
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
cmp dword [rcx + 0x14], esi
jae 0x1400e6537
mov ecx, esi
call fcn.1400b71c0
mov r14, rax
test rax, rax
je 0x1400e64be
mov eax, dword [rbx + 0x10]
test eax, eax
je 0x1400e6518
cmp qword [rbx + 0x20], 0
je 0x1400e6518
cmp eax, esi
jbe 0x1400e6508
xor ecx, ecx
call fcn.1400b09c0
mov r8d, dword [rbx + 0x10]
mov rcx, r14
mov rdx, qword [rbx + 0x20]
call sub.VCRUNTIME140.dll_memcpy
cmp byte [rbx + 0x19], 0
jne 0x1400e652c
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400e652c
call fcn.1402545d0
mov qword [rbx + 0x20], r14
mov dword [rbx + 0x14], esi
mov byte [rbx + 0x19], 0
mov edx, dword [rdi + 0x10]
mov eax, edx
cmp edx, dword [rbx + 0x14]
cmova eax, dword [rbx + 0x14]
cmp qword [rbx + 0x20], 0
mov dword [rbx + 0x10], eax
je 0x1400e64be
xor r9d, r9d
cmp dword [rdi + 0x10], r9d
jbe 0x1400e6585
nop word [rax + rax]
mov rax, qword [rdi + 0x20]
mov rcx, qword [rbp + 0x20]
mov r8d, r9d
inc r9d
movzx edx, byte [r8 + rcx]
xor dl, byte [rax + r8]
mov rax, qword [rbx + 0x20]
mov byte [r8 + rax], dl
cmp r9d, dword [rdi + 0x10]
jb 0x1400e6560
mov al, 1
jmp 0x1400e64c0
Function at 0x1400e9650
Capabilities:
Get file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x318
mov rax, qword [0x1403721e8]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov rbx, r9
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
mov dword [r8], 0
mov dword [rdx], 0xffffffff
call fcn.1400adda0
test al, al
je 0x1400e96ac
test rbx, rbx
je 0x1400e96a5
mov rax, qword [rbx]
lea rdx, str.GetAttributes:_filename_is_empty
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x1400e9787
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.1400aa360
nop
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.1400ab070
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rsp + 0x20]
call fcn.1400ae500
lea rcx, [rsp + 0x20]
call fcn.1400ace60
test eax, eax
jle 0x1400e9752
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x190]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x190]
call fcn.1400aa360
nop
mov r8, rbx
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x20]
call fcn.1400e9b50
lea rcx, [rsp + 0x190]
call fcn.1400adb50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rdi], eax
lea rcx, [rsp + 0x190]
call fcn.1400aa3c0
jmp 0x1400e9767
lea rcx, [rsp + 0x20]
call fcn.1400adb50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rdi], eax
cmp dword [rdi], 0xffffffff
jne 0x1400e9777
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
cmp dword [rdi], 0xffffffff
setne bl
lea rcx, [rsp + 0x20]
call fcn.1400aa3c0
movzx eax, bl
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1402545b0
add rsp, 0x318
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400ea6e0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x310
mov rax, qword [0x1403721e8]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.1400aa360
nop
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400ab070
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rsp + 0x20]
call fcn.1400ae500
lea rcx, [rsp + 0x20]
call fcn.1400ace60
test eax, eax
jle 0x1400ea7ad
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x190]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x190]
call fcn.1400aa360
nop
xor r8d, r8d
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x20]
call fcn.1400e9b50
lea rcx, [rsp + 0x190]
call fcn.1400adb50
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
lea rcx, [rsp + 0x190]
call fcn.1400aa3c0
jmp 0x1400ea7c4
lea rcx, [rsp + 0x20]
call fcn.1400adb50
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
test ebx, ebx
jne 0x1400ea804
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400ea7d9
mov bl, 1
jmp 0x1400ea807
test rdi, rdi
je 0x1400ea802
mov rax, qword [rdi]
mov r8b, 1
lea rdx, str.createDirWin32
mov rcx, rdi
call qword [rax + 0x48]
mov rcx, rdi
call fcn.1400f7690
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x50]
test ebx, ebx
setne bl
lea rcx, [rsp + 0x20]
call fcn.1400aa3c0
movzx eax, bl
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1402545b0
mov rbx, qword [rsp + 0x330]
add rsp, 0x310
pop rdi
ret
Function at 0x1400ea930
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x13a0]
mov eax, 0x14a0
call fcn.140255290
sub rsp, rax
mov rax, qword [0x1403721e8]
xor rax, rsp
mov qword [rbp + 0x1390], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x30]
call fcn.1400aa360
nop
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400ab070
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rsp + 0x30]
call fcn.1400ae500
lea rcx, [rsp + 0x30]
call fcn.1400ace60
cmp eax, 0x104
jle 0x1400eaac9
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0xa0]
call fcn.1400aa360
nop
lea rcx, [rbp + 0xa0]
call fcn.1400af810
lea rcx, [rsp + 0x30]
call fcn.1400adb50
mov rcx, rax
lea r9, [rsp + 0x20]
lea r8, [rbp + 0x380]
mov edx, 0x800
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rcx, [rbp + 0xa0]
test eax, eax
je 0x1400eaa1e
lea rdx, [rbp + 0x380]
call fcn.1400aefc0
mov bl, 1
jmp 0x1400eaa2a
lea rdx, [rsp + 0x30]
call fcn.1400aba70
xor bl, bl
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x210]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x210]
call fcn.1400aa360
nop
test bl, bl
je 0x1400eaa62
lea rdx, [0x140264380]
lea rcx, [rbp + 0x210]
call fcn.1400aaf00
lea rcx, [rbp + 0xa0]
call fcn.1400ad740
mov rdx, rax
lea rcx, [rbp + 0x210]
call fcn.1400aaf00
lea rcx, [rbp + 0x210]
call fcn.1400adb50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
test eax, eax
jne 0x1400eaaa9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 1
cmp eax, 2
cmove ebx, ecx
test ebx, ebx
setne bl
lea rcx, [rbp + 0x210]
call fcn.1400aa3c0
nop
lea rcx, [rbp + 0xa0]
call fcn.1400aa3c0
jmp 0x1400eab1d
lea rcx, [rsp + 0x30]
call fcn.1400adb50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
test eax, eax
jne 0x1400eab18
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test rdi, rdi
je 0x1400eab0d
mov edx, eax
mov rcx, rdi
call fcn.1400f7890
lea r8, [rsp + 0x30]
lea rdx, str.failedToDeleteFilepath
mov rcx, rdi
call fcn.1400f72f0
mov ecx, 1
cmp esi, 2
cmove ebx, ecx
test ebx, ebx
setne bl
lea rcx, [rsp + 0x30]
call fcn.1400aa3c0
movzx eax, bl
mov rcx, qword [rbp + 0x1390]
xor rcx, rsp
call fcn.1402545b0
mov rbx, qword [rsp + 0x14d0]
add rsp, 0x14a0
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400eb050
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x1850
call fcn.140255290
sub rsp, rax
mov rax, qword [0x1403721e8]
xor rax, rsp
mov qword [rsp + 0x1840], rax
mov rbx, rcx
lea rdx, [rsp + 0x830]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1400eb0aa
lea rdx, [rsp + 0x20]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400ae950
jmp 0x1400eb0ba
lea rdx, [rsp + 0x830]
mov rcx, rbx
call fcn.1400aefc0
mov rcx, qword [rsp + 0x1840]
xor rcx, rsp
call fcn.1402545b0
add rsp, 0x1850
pop rbx
ret
Function at 0x1400eb2e0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x1403721e8]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x90]
call fcn.1400aa360
nop
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.1400aa360
nop
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.1400ab070
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.1400ab070
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rbp + 0x90]
call fcn.1400ae500
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rsp + 0x20]
call fcn.1400ae500
lea rcx, [rbp + 0x90]
call fcn.1400adda0
test al, al
je 0x1400eb1d8
lea rcx, [rsp + 0x20]
call fcn.1400adda0
test al, al
je 0x1400eb1d8
lea rcx, [rsp + 0x20]
call fcn.1400adb50
mov rbx, rax
lea rcx, [rbp + 0x90]
call fcn.1400adb50
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
jmp 0x1400eb289
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x370]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x370]
call fcn.1400aa360
nop
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x200]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x200]
call fcn.1400aa360
nop
xor r8d, r8d
lea rdx, [rbp + 0x370]
lea rcx, [rbp + 0x90]
call fcn.1400e9b50
xor r8d, r8d
lea rdx, [rbp + 0x200]
lea rcx, [rsp + 0x20]
call fcn.1400e9b50
lea rcx, [rbp + 0x200]
call fcn.1400adb50
mov rbx, rax
lea rcx, [rbp + 0x370]
call fcn.1400adb50
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
lea rcx, [rbp + 0x200]
call fcn.1400aa3c0
nop
lea rcx, [rbp + 0x370]
call fcn.1400aa3c0
test bl, bl
jne 0x1400eb29b
test rsi, rsi
je 0x1400eb29b
mov rcx, rsi
call fcn.1400f7690
nop
lea rcx, [rsp + 0x20]
call fcn.1400aa3c0
nop
lea rcx, [rbp + 0x90]
call fcn.1400aa3c0
movzx eax, bl
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.1402545b0
mov rbx, qword [rsp + 0x628]
add rsp, 0x5f0
pop rdi
pop rsi
pop rbp
ret
jmp 0x1400eb0e0
Function at 0x1400eb7c0
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x1a0
mov rax, qword [0x1403721e8]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.1400aa360
nop
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400aeda0
lea rcx, [rsp + 0x20]
call fcn.1400adb50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea rcx, [rsp + 0x20]
call fcn.1400aa3c0
mov eax, ebx
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1402545b0
add rsp, 0x1a0
pop rbx
ret

Function at 0x1400eb850
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x1403721e8]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov edi, edx
mov rbx, rcx
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.1400aa360
nop
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400aeda0
lea rcx, [rsp + 0x20]
call fcn.1400adb50
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
lea rcx, [rsp + 0x20]
call fcn.1400aa3c0
movzx eax, bl
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1402545b0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret
Function at 0x1400ef5e0
Capabilities:
Encode data using base64

Disassembly:
push rbx
push rbp
push r14
push r15
sub rsp, 0x28
mov r14, r9
mov ebx, r8d
mov r15, rdx
test r9, r9
je 0x1400ef7ce
xor ebp, ebp
mov dword [r9], ebp
test ebx, ebx
je 0x1400ef7ce
test rdx, rdx
je 0x1400ef7ce
lea ecx, [r8 + r8*4]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea ecx, [rdx + 4]
mov dword [r9], ecx
call fcn.1400b71c0
mov r10, rax
test rax, rax
je 0x1400ef7ce
mov qword [rsp + 0x58], rdi
mov eax, 0xaaaaaaab
mul ebx
mov qword [rsp + 0x20], r13
mov ecx, ebp
mov edi, edx
lea r13, [0x140265520]
shr edi, 1
je 0x1400ef6f8
mov qword [rsp + 0x50], rsi
lea ebp, [rdi + rdi*2]
mov qword [rsp + 0x60], r12
lea ecx, [rdi*4]
mov r12d, edi
mov r11, r10
mov rsi, r15
nop dword [rax + rax]
movzx edx, byte [rsi]
lea r11, [r11 + 4]
movzx r8d, byte [rsi + 2]
mov eax, edx
movzx r9d, byte [rsi + 1]
lea rsi, [rsi + 3]
shr rax, 2
and edx, 3
shl edx, 4
movzx eax, byte [rax + r13]
mov byte [r11 - 4], al
mov eax, r9d
shr rax, 4
and r9d, 0xf
or rdx, rax
shl r9d, 2
movzx eax, byte [rdx + r13]
mov byte [r11 - 3], al
mov eax, r8d
shr rax, 6
and r8d, 0x3f
mov edx, r9d
or rdx, rax
movzx eax, byte [rdx + r13]
mov byte [r11 - 2], al
movzx eax, byte [r8 + r13]
mov byte [r11 - 1], al
sub r12, 1
jne 0x1400ef680
mov r12, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x50]
lea eax, [rdi + rdi*2]
mov rdi, qword [rsp + 0x58]
sub ebx, eax
sub ebx, 1
je 0x1400ef769
cmp ebx, 1
jne 0x1400ef7b0
movsxd rdx, ecx
inc ecx
movsxd rax, ebp
movzx r8d, byte [rax + r15]
movzx r9d, byte [rax + r15 + 1]
mov eax, r8d
shr rax, 2
and r8d, 3
shl r8d, 4
movzx eax, byte [rax + r13]
mov byte [rdx + r10], al
mov eax, r9d
shr rax, 4
and r9d, 0xf
or r8, rax
movsxd rdx, ecx
inc ecx
shl r9d, 2
movzx eax, byte [r8 + r13]
mov byte [rdx + r10], al
movzx eax, byte [r9 + r13]
movsxd rdx, ecx
mov byte [rdx + r10], al
jmp 0x1400ef7a4
movsxd rdx, ecx
inc ecx
movsxd rax, ebp
movzx r8d, byte [rax + r15]
mov eax, r8d
and r8d, 3
shr rax, 2
shl r8d, 4
movzx eax, byte [rax + r13]
mov byte [rdx + r10], al
movzx eax, byte [r8 + r13]
movsxd rdx, ecx
inc ecx
mov byte [rdx + r10], al
movsxd rax, ecx
mov byte [rax + r10], 0x3d
inc ecx
movsxd rax, ecx
inc ecx
mov byte [rax + r10], 0x3d
mov r13, qword [rsp + 0x20]
movsxd rax, ecx
mov byte [rax + r10], 0
mov rax, r10
mov dword [r14], ecx
add rsp, 0x28
pop r15
pop r14
pop rbp
pop rbx
ret
xor eax, eax
add rsp, 0x28
pop r15
pop r14
pop rbp
pop rbx
ret
Function at 0x1400f1d00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rsi, r8
mov edi, edx
mov rbx, rcx
test rcx, rcx
je 0x1400f1ec4
test edx, edx
je 0x1400f1ec4
mov qword [rax + 8], r14
mov eax, 0x23
mov word [rbp + 0x4b], ax
mov r14d, 0x28
mov qword [rbp - 0x19], 0x250024
mov dword [rbp - 0x11], 0x270026
mov dword [rbp - 0xd], 0x290028
mov dword [rbp - 9], 0x10000
mov dword [rbp - 5], 0x30002
mov dword [rbp - 1], 0x50004
mov dword [rbp + 3], 0x70006
mov qword [rbp + 7], 0x90008
mov qword [rbp + 0xf], 0x2a0000
mov dword [rbp + 0x17], 0xa0000
mov dword [rbp + 0x1b], 0xc000b
mov dword [rbp + 0x1f], 0xe000d
mov dword [rbp + 0x23], 0x10000f
mov dword [rbp + 0x27], 0x120011
mov dword [rbp + 0x2b], 0x140013
mov dword [rbp + 0x2f], 0x160015
mov dword [rbp + 0x33], 0x180017
mov dword [rbp + 0x37], 0x1a0019
mov dword [rbp + 0x3b], 0x1c001b
mov dword [rbp + 0x3f], 0x1e001d
mov dword [rbp + 0x43], 0x20001f
mov dword [rbp + 0x47], 0x220021
cmp edx, 2
jb 0x1400f1ebc
nop dword [rax]
movzx ecx, byte [rbx]
lea eax, [rcx - 0x28]
cmp edi, 3
jb 0x1400f1e7a
cmp ax, 0x32
jbe 0x1400f1e04
mov ecx, r14d
sub cx, r14w
movzx eax, cx
movzx ecx, byte [rbx + 1]
movzx r9d, word [rbp + rax*2 - 0x19]
lea eax, [rcx - 0x28]
cmp ax, 0x32
jbe 0x1400f1e21
mov ecx, r14d
sub cx, r14w
movzx eax, cx
movzx ecx, byte [rbx + 2]
movzx r8d, word [rbp + rax*2 - 0x19]
lea eax, [rcx - 0x28]
cmp ax, 0x32
jbe 0x1400f1e3e
mov ecx, r14d
sub cx, r14w
movzx edx, cx
imul ecx, r9d, 0x2b
add cx, r8w
movzx eax, cx
imul ecx, eax, 0x2b
add cx, word [rbp + rdx*2 - 0x19]
movzx edx, cx
mov rcx, rsi
call fcn.1400e3d70
cmp edi, 3
jbe 0x1400f1ebc
add edi, 0xfffffffd
add rbx, 3
cmp edi, 2
jae 0x1400f1df0
jmp 0x1400f1ebc
cmp al, 0x32
jbe 0x1400f1e82
movzx ecx, r14w
sub cx, r14w
movzx eax, cx
movzx ecx, byte [rbx + 1]
movzx r8d, word [rbp + rax*2 - 0x19]
lea eax, [rcx - 0x28]
cmp ax, 0x32
jbe 0x1400f1e9f
mov ecx, r14d
sub cx, r14w
movzx eax, r8b
movzx edx, cx
imul ecx, eax, 0x2b
add cl, byte [rbp + rdx*2 - 0x19]
movzx edx, cl
mov rcx, rsi
call fcn.1400e2990
mov r14, qword [rsp + 0xa0]
lea r11, [rsp + 0x90]
mov al, 1
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400f32d0
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
mov r9, r8
lea r8, [0x1402651c0]
jmp 0x1400f32e0

Function at 0x1400f36c0
Capabilities:
Encode data using base64

Disassembly:
mov r11, rsp
push rbx
push rsi
push r12
push r15
sub rsp, 0x158
mov rax, qword [0x1403721e8]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, r9
mov r15, r8
mov esi, edx
mov r12, rcx
test edx, edx
je 0x1400f3552
test rcx, rcx
je 0x1400f3552
lea ecx, [rdx*4 + 8]
mov qword [r11 - 0x28], rbp
mov eax, 0xaaaaaaab
mov qword [r11 - 0x30], rdi
mul ecx
mov qword [r11 - 0x38], r14
mov ecx, edx
xor edx, edx
shr ecx, 1
lea eax, [rcx + rcx]
div esi
lea edx, [rcx + 3]
mov rcx, rbx
add edx, eax
call fcn.1400d9b10
test al, al
je 0x1400f354e
mov eax, 0xaaaaaaab
xor ebp, ebp
mul esi
xor r10d, r10d
xor edi, edi
mov r14d, edx
shr r14d, 1
je 0x1400f3451
xor r11d, r11d
nop word [rax + rax]
movsx r8, byte [rbp + r12]
add r10d, 4
inc ebp
mov eax, r8d
shr rax, 2
and eax, 0x3f
movsx r9, byte [rbp + r12]
inc ebp
mov ecx, r9d
movzx eax, byte [rax + r15]
mov byte [rsp + r11 + 0x20], al
mov rax, r8
movsx edx, byte [rbp + r12]
and eax, 3
shl rax, 4
inc ebp
shr rcx, 4
and ecx, 0xf
or rcx, rax
movzx eax, byte [rcx + r15]
mov rcx, r9
mov byte [rsp + r11 + 0x21], al
and ecx, 0xf
mov eax, edx
shl rcx, 2
shr rax, 6
and edx, 0x3f
and eax, 3
or rcx, rax
movzx eax, byte [rcx + r15]
mov byte [rsp + r11 + 0x22], al
movzx eax, byte [rdx + r15]
mov byte [rsp + r11 + 0x23], al
add r11, 4
cmp r10d, 0x100
jl 0x1400f3429
mov r8d, r10d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400d5fa0
test al, al
je 0x1400f354e
xor r10d, r10d
xor r11d, r11d
inc edi
cmp edi, r14d
jb 0x1400f3380
test r10d, r10d
je 0x1400f3451
mov r8d, r10d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400d5fa0
test al, al
je 0x1400f354e
lea eax, [r14 + r14*2]
mov cl, 1
sub esi, eax
sub esi, 1
je 0x1400f34bf
cmp esi, 1
jne 0x1400f3515
movzx esi, byte [rbp + r12]
lea eax, [rbp + 1]
movzx edi, byte [rax + r12]
mov rcx, rbx
mov eax, esi
shr rax, 2
movzx edx, byte [rax + r15]
call fcn.1400d50d0
test al, al
je 0x1400f3513
and esi, 3
mov eax, edi
shr rax, 4
shl esi, 4
mov ecx, esi
or rcx, rax
movzx edx, byte [rcx + r15]
mov rcx, rbx
call fcn.1400d50d0
test al, al
je 0x1400f3513
and edi, 0xf
shl edi, 2
movzx edx, byte [rdi + r15]
jmp 0x1400f34f5
movzx edi, byte [rbp + r12]
mov rcx, rbx
mov eax, edi
shr rax, 2
movzx edx, byte [rax + r15]
call fcn.1400d50d0
test al, al
je 0x1400f3513
and edi, 3
mov rcx, rbx
shl edi, 4
movzx edx, byte [rdi + r15]
call fcn.1400d50d0
test al, al
je 0x1400f3513
mov dl, 0x3d
mov rcx, rbx
call fcn.1400d50d0
test al, al
je 0x1400f3513
mov dl, 0x3d
mov rcx, rbx
call fcn.1400d50d0
test al, al
je 0x1400f3513
mov cl, 1
jmp 0x1400f3515
xor cl, cl
movzx eax, cl
mov rdi, qword [rsp + 0x148]
mov rbp, qword [rsp + 0x150]
mov r14, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1402545b0
add rsp, 0x158
pop r15
pop r12
pop rsi
pop rbx
ret
xor al, al
jmp 0x1400f3518
mov al, 1
jmp 0x1400f3530
mov r9, r8
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
jmp 0x1400f32e0