joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027430
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 [0x1402c8b58]
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 + 0x2a8]
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x78], rax
lea rdx, [rcx + 0x3930]
mov r8d, 4
mov rcx, rbp
call fcn.14000c030
mov rcx, r14
call fcn.1400409a0
xor r12d, r12d
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x20], r12
mov r9d, dword [r13 + 0xf2c]
mov r8d, dword [r13 + 0xf28]
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.1400c6b90
nop
mov rcx, r13
call fcn.14001a9a0
mov byte [r13 + 0x20b0], 1
call sub.KERNEL32.dll_GetTickCount
mov dword [rsp + 0x70], eax
mov qword [rsp + 0x88], r12
xor edx, edx
mov r8d, 0x188
lea rcx, [rsp + 0x90]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x80]
call fcn.1400c72d0
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.14007ce90
nop
mov dword [rsp + 0xd4], r12d
lea rbx, [r13 + 0x1820]
mov rcx, rdi
call fcn.140009df0
mov rdi, rax
mov rcx, rbp
call fcn.140009df0
mov rdx, rax
mov rbp, qword [rsp + 0x78]
mov qword [rsp + 0x60], rbp
lea rax, [rsp + 0x90]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rbx
mov byte [rsp + 0x38], r12b
mov byte [rsp + 0x30], r15b
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r13
lea r9, [r13 + 0x1ea8]
lea r8, [r13 + 0x36f8]
mov rcx, r13
call fcn.140083600
movzx ebx, al
mov eax, dword [rsp + 0xd4]
mov dword [r13 + 0xff4], eax
movzx eax, byte [rsp + 0xc3]
mov byte [r13 + 0x15db], al
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [rsp + 0x70]
cmp eax, ecx
jb 0x1400275de
sub eax, ecx
mov r8d, eax
lea rdx, str.totalElapsedMs
mov rcx, rbp
call fcn.140053ac0
mov rdx, rbp
test bl, bl
je 0x140027621
lea rcx, [rsp + 0x80]
call fcn.1400c7100
lea rcx, [r13 + 0xbf0]
mov r8, qword [r13 + 0x1bf0]
lea rdx, str.ContentLength
call fcn.140053a50
cmp dword [r13 + 0x1be8], 0x190
cmovl r12d, ebx
movzx ebx, r12b
jmp 0x14002762e
lea rcx, [r13 + 0x36f8]
call fcn.1400c55f0
nop
lea rcx, [rsp + 0x90]
call fcn.14007cf30
nop
lea rcx, [rsp + 0x80]
call fcn.1400c6be0
movzx eax, bl
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1401e12d0
add rsp, 0x238
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400311d0
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.14004fd50
Function at 0x1400428c0
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 r14, r8
mov rdi, rdx
mov rbx, rcx
cmp esi, dword [r8 + 0x10]
jne 0x14004291e
test esi, esi
jne 0x140042911
xor r9d, r9d
mov dword [rcx + 0x10], r9d
cmp byte [rcx + 0x19], r9b
je 0x1400429e5
mov qword [rcx + 0x20], r9
mov al, 1
mov dword [rcx + 0x14], r9d
mov byte [rcx + 0x19], r9b
jmp 0x140042920
cmp byte [rcx + 0x18], 0xdb
je 0x14004293b
xor ecx, ecx
call fcn.14000c920
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 0x140042997
mov ecx, esi
call fcn.140012c10
mov rbp, rax
test rax, rax
je 0x14004291e
mov eax, dword [rbx + 0x10]
test eax, eax
je 0x140042978
cmp qword [rbx + 0x20], 0
je 0x140042978
cmp eax, esi
jbe 0x140042968
xor ecx, ecx
call fcn.14000c920
mov r8d, dword [rbx + 0x10]
mov rcx, rbp
mov rdx, qword [rbx + 0x20]
call sub.VCRUNTIME140.dll_memcpy
cmp byte [rbx + 0x19], 0
jne 0x14004298c
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14004298c
call fcn.1401e12f0
mov qword [rbx + 0x20], rbp
mov dword [rbx + 0x14], esi
mov byte [rbx + 0x19], 0
mov eax, dword [rdi + 0x10]
mov ecx, dword [rbx + 0x14]
mov dword [rbx + 0x10], eax
cmp eax, ecx
jbe 0x1400429a7
mov dword [rbx + 0x10], ecx
cmp qword [rbx + 0x20], 0
je 0x14004291e
xor r9d, r9d
cmp dword [rdi + 0x10], r9d
jbe 0x1400429e5
nop dword [rax + rax]
mov rax, qword [rdi + 0x20]
mov rcx, qword [r14 + 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 0x1400429c0
mov al, 1
jmp 0x140042920
Function at 0x140045d70
Capabilities:
Get file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x318
mov rax, qword [0x1402c8b58]
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.14000a450
test al, al
je 0x140045dcc
test rbx, rbx
je 0x140045dc5
mov rax, qword [rbx]
lea rdx, str.GetAttributes:_filename_is_empty
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x140045ea7
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.140006660
nop
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.140007370
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rsp + 0x20]
call fcn.14000abb0
lea rcx, [rsp + 0x20]
call fcn.1400094f0
test eax, eax
jle 0x140045e72
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x190]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x190]
call fcn.140006660
nop
mov r8, rbx
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x20]
call fcn.140046270
lea rcx, [rsp + 0x190]
call fcn.14000a200
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rdi], eax
lea rcx, [rsp + 0x190]
call fcn.1400066c0
jmp 0x140045e87
lea rcx, [rsp + 0x20]
call fcn.14000a200
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rdi], eax
cmp dword [rdi], 0xffffffff
jne 0x140045e97
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
cmp dword [rdi], 0xffffffff
setne bl
lea rcx, [rsp + 0x20]
call fcn.1400066c0
movzx eax, bl
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1401e12d0
add rsp, 0x318
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140046e00
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x310
mov rax, qword [0x1402c8b58]
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.140006660
nop
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140007370
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rsp + 0x20]
call fcn.14000abb0
lea rcx, [rsp + 0x20]
call fcn.1400094f0
test eax, eax
jle 0x140046ecd
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x190]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x190]
call fcn.140006660
nop
xor r8d, r8d
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x20]
call fcn.140046270
lea rcx, [rsp + 0x190]
call fcn.14000a200
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
lea rcx, [rsp + 0x190]
call fcn.1400066c0
jmp 0x140046ee4
lea rcx, [rsp + 0x20]
call fcn.14000a200
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
test ebx, ebx
jne 0x140046f24
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140046ef9
mov bl, 1
jmp 0x140046f27
test rdi, rdi
je 0x140046f22
mov rax, qword [rdi]
mov r8b, 1
lea rdx, str.createDirWin32
mov rcx, rdi
call qword [rax + 0x48]
mov rcx, rdi
call fcn.140054450
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x50]
test ebx, ebx
setne bl
lea rcx, [rsp + 0x20]
call fcn.1400066c0
movzx eax, bl
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1401e12d0
mov rbx, qword [rsp + 0x330]
add rsp, 0x310
pop rdi
ret
Function at 0x140047050
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.1401e1980
sub rsp, rax
mov rax, qword [0x1402c8b58]
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.140006660
nop
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140007370
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rsp + 0x30]
call fcn.14000abb0
lea rcx, [rsp + 0x30]
call fcn.1400094f0
cmp eax, 0x104
jle 0x1400471e9
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0xa0]
call fcn.140006660
nop
lea rcx, [rbp + 0xa0]
call fcn.14000c0a0
lea rcx, [rsp + 0x30]
call fcn.14000a200
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 0x14004713e
lea rdx, [rbp + 0x380]
call fcn.14000b750
mov bl, 1
jmp 0x14004714a
lea rdx, [rsp + 0x30]
call fcn.140007d70
xor bl, bl
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x210]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x210]
call fcn.140006660
nop
test bl, bl
je 0x140047182
lea rdx, [0x1401f0088]
lea rcx, [rbp + 0x210]
call fcn.140007200
lea rcx, [rbp + 0xa0]
call fcn.140009df0
mov rdx, rax
lea rcx, [rbp + 0x210]
call fcn.140007200
lea rcx, [rbp + 0x210]
call fcn.14000a200
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
test eax, eax
jne 0x1400471c9
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.1400066c0
nop
lea rcx, [rbp + 0xa0]
call fcn.1400066c0
jmp 0x14004723d
lea rcx, [rsp + 0x30]
call fcn.14000a200
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
test eax, eax
jne 0x140047238
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test rdi, rdi
je 0x14004722d
mov edx, eax
mov rcx, rdi
call fcn.140054940
lea r8, [rsp + 0x30]
lea rdx, str.failedToDeleteFilepath
mov rcx, rdi
call fcn.1400540b0
mov ecx, 1
cmp esi, 2
cmove ebx, ecx
test ebx, ebx
setne bl
lea rcx, [rsp + 0x30]
call fcn.1400066c0
movzx eax, bl
mov rcx, qword [rbp + 0x1390]
xor rcx, rsp
call fcn.1401e12d0
mov rbx, qword [rsp + 0x14d0]
add rsp, 0x14a0
pop rdi
pop rsi
pop rbp
ret

Function at 0x140047770
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x1850
call fcn.1401e1980
sub rsp, rax
mov rax, qword [0x1402c8b58]
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 0x1400477ca
lea rdx, [rsp + 0x20]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000b000
jmp 0x1400477da
lea rdx, [rsp + 0x830]
mov rcx, rbx
call fcn.14000b750
mov rcx, qword [rsp + 0x1840]
xor rcx, rsp
call fcn.1401e12d0
add rsp, 0x1850
pop rbx
ret
Function at 0x140047810
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 [0x1402c8b58]
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.140006660
nop
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.140006660
nop
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.140007370
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140007370
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rbp + 0x90]
call fcn.14000abb0
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rsp + 0x20]
call fcn.14000abb0
lea rcx, [rbp + 0x90]
call fcn.14000a450
test al, al
je 0x140047908
lea rcx, [rsp + 0x20]
call fcn.14000a450
test al, al
je 0x140047908
lea rcx, [rsp + 0x20]
call fcn.14000a200
mov rbx, rax
lea rcx, [rbp + 0x90]
call fcn.14000a200
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
jmp 0x1400479b9
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x370]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x370]
call fcn.140006660
nop
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x200]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x200]
call fcn.140006660
nop
xor r8d, r8d
lea rdx, [rbp + 0x370]
lea rcx, [rbp + 0x90]
call fcn.140046270
xor r8d, r8d
lea rdx, [rbp + 0x200]
lea rcx, [rsp + 0x20]
call fcn.140046270
lea rcx, [rbp + 0x200]
call fcn.14000a200
mov rbx, rax
lea rcx, [rbp + 0x370]
call fcn.14000a200
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
lea rcx, [rbp + 0x200]
call fcn.1400066c0
nop
lea rcx, [rbp + 0x370]
call fcn.1400066c0
test bl, bl
jne 0x1400479cb
test rsi, rsi
je 0x1400479cb
mov rcx, rsi
call fcn.140054450
nop
lea rcx, [rsp + 0x20]
call fcn.1400066c0
nop
lea rcx, [rbp + 0x90]
call fcn.1400066c0
movzx eax, bl
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.1401e12d0
mov rbx, qword [rsp + 0x628]
add rsp, 0x5f0
pop rdi
pop rsi
pop rbp
ret
jmp 0x140047810
Function at 0x140047a10
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 [0x1402c8b58]
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.140006660
nop
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.140006660
nop
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.140007370
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140007370
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rbp + 0x90]
call fcn.14000abb0
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rsp + 0x20]
call fcn.14000abb0
lea rcx, [rbp + 0x90]
call fcn.14000a450
test al, al
je 0x140047908
lea rcx, [rsp + 0x20]
call fcn.14000a450
test al, al
je 0x140047908
lea rcx, [rsp + 0x20]
call fcn.14000a200
mov rbx, rax
lea rcx, [rbp + 0x90]
call fcn.14000a200
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
jmp 0x1400479b9
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x370]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x370]
call fcn.140006660
nop
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x200]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x200]
call fcn.140006660
nop
xor r8d, r8d
lea rdx, [rbp + 0x370]
lea rcx, [rbp + 0x90]
call fcn.140046270
xor r8d, r8d
lea rdx, [rbp + 0x200]
lea rcx, [rsp + 0x20]
call fcn.140046270
lea rcx, [rbp + 0x200]
call fcn.14000a200
mov rbx, rax
lea rcx, [rbp + 0x370]
call fcn.14000a200
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
lea rcx, [rbp + 0x200]
call fcn.1400066c0
nop
lea rcx, [rbp + 0x370]
call fcn.1400066c0
test bl, bl
jne 0x1400479cb
test rsi, rsi
je 0x1400479cb
mov rcx, rsi
call fcn.140054450
nop
lea rcx, [rsp + 0x20]
call fcn.1400066c0
nop
lea rcx, [rbp + 0x90]
call fcn.1400066c0
movzx eax, bl
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.1401e12d0
mov rbx, qword [rsp + 0x628]
add rsp, 0x5f0
pop rdi
pop rsi
pop rbp
ret
jmp 0x140047810
Function at 0x140047ff0
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x1a0
mov rax, qword [0x1402c8b58]
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.140006660
nop
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14000b530
lea rcx, [rsp + 0x20]
call fcn.14000a200
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea rcx, [rsp + 0x20]
call fcn.1400066c0
mov eax, ebx
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401e12d0
add rsp, 0x1a0
pop rbx
ret

Function at 0x140048080
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x1402c8b58]
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.140006660
nop
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14000b530
lea rcx, [rsp + 0x20]
call fcn.14000a200
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
lea rcx, [rsp + 0x20]
call fcn.1400066c0
movzx eax, bl
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401e12d0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret
Function at 0x14004bde0
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 0x14004bfce
xor ebp, ebp
mov dword [r9], ebp
test ebx, ebx
je 0x14004bfce
test rdx, rdx
je 0x14004bfce
lea ecx, [r8 + r8*4]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea ecx, [rdx + 4]
mov dword [r9], ecx
call fcn.140012c10
mov r10, rax
test rax, rax
je 0x14004bfce
mov qword [rsp + 0x58], rdi
mov eax, 0xaaaaaaab
mul ebx
mov qword [rsp + 0x20], r13
mov ecx, ebp
mov edi, edx
lea r13, [0x1401f1250]
shr edi, 1
je 0x14004bef8
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 0x14004be80
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 0x14004bf69
cmp ebx, 1
jne 0x14004bfb0
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 0x14004bfa4
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 0x14004e650
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 0x14004e80e
test edx, edx
je 0x14004e80e
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 0x14004e806
nop dword [rax]
movzx ecx, byte [rbx]
lea eax, [rcx - 0x28]
cmp edi, 3
jb 0x14004e7c7
cmp ax, 0x32
jbe 0x14004e754
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 0x14004e771
mov ecx, r14d
sub cx, r14w
movzx eax, cx
movzx ecx, byte [rbx + 2]
movzx edx, word [rbp + rax*2 - 0x19]
lea eax, [rcx - 0x28]
cmp ax, 0x32
jbe 0x14004e78d
mov ecx, r14d
sub cx, r14w
movzx r8d, cx
imul ecx, r9d, 0x2b
add cx, dx
movzx eax, cx
mov rcx, rsi
imul edx, eax, 0x2b
add dx, word [rbp + r8*2 - 0x19]
call fcn.140040190
cmp edi, 3
jbe 0x14004e806
add edi, 0xfffffffd
add rbx, 3
cmp edi, 2
jae 0x14004e740
jmp 0x14004e806
cmp ax, 0x32
jbe 0x14004e7d1
movzx ecx, r14w
sub cx, r14w
movzx eax, cx
movzx ecx, byte [rbx + 1]
movzx edx, word [rbp + rax*2 - 0x19]
lea eax, [rcx - 0x28]
cmp ax, 0x32
jbe 0x14004e7ed
mov ecx, r14d
movzx eax, dl
sub cx, r14w
movzx ecx, cx
imul edx, eax, 0x2b
add dl, byte [rbp + rcx*2 - 0x19]
mov rcx, rsi
call fcn.14003ed50
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 0x14004fd50
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
mov r9, r8
lea r8, [0x1401f0ec0]
jmp 0x14004fd60
mov r11, rsp
push rbx
push rsi
push r12
push r15
sub rsp, 0x158
mov rax, qword [0x1402c8b58]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, r9
mov r15, r8
mov esi, edx
mov r12, rcx
test edx, edx
je 0x14004ffcc
test rcx, rcx
je 0x14004ffcc
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.140035d80
test al, al
je 0x14004ffc8
mov eax, 0xaaaaaaab
xor ebp, ebp
mul esi
xor r9d, r9d
xor edi, edi
mov r14d, edx
shr r14d, 1
je 0x14004fecb
xor r10d, r10d
nop word [rax + rax]
movsx r8d, byte [rbp + r12]
add r9d, 4
inc ebp
mov eax, r8d
shr rax, 2
and r8d, 3
and eax, 0x3f
shl r8, 4
movsx edx, byte [rbp + r12]
inc ebp
movzx eax, byte [rax + r15]
mov byte [rsp + r10 + 0x20], al
mov eax, edx
movsx ecx, byte [rbp + r12]
and edx, 0xf
shr rax, 4
inc ebp
and eax, 0xf
shl rdx, 2
or r8, rax
movzx eax, byte [r8 + r15]
mov byte [rsp + r10 + 0x21], al
mov eax, ecx
shr rax, 6
and ecx, 0x3f
and eax, 3
or rdx, rax
movzx eax, byte [rdx + r15]
mov byte [rsp + r10 + 0x22], al
movzx eax, byte [rcx + r15]
mov byte [rsp + r10 + 0x23], al
add r10, 4
cmp r9d, 0x100
jl 0x14004fea3
mov r8d, r9d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140032210
test al, al
je 0x14004ffc8
xor r9d, r9d
xor r10d, r10d
inc edi
cmp edi, r14d
jb 0x14004fe00
test r9d, r9d
je 0x14004fecb
mov r8d, r9d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140032210
test al, al
je 0x14004ffc8
lea eax, [r14 + r14*2]
mov cl, 1
sub esi, eax
sub esi, 1
je 0x14004ff39
cmp esi, 1
jne 0x14004ff8f
movzx esi, byte [rbp + r12]
lea eax, [rbp + 1]
movzx edi, byte [rax + r12]
mov edx, esi
shr rdx, 2
mov rcx, rbx
movzx edx, byte [rdx + r15]
call fcn.140031340
test al, al
je 0x14004ff8d
and esi, 3
mov eax, edi
shr rax, 4
mov rcx, rbx
shl esi, 4
mov edx, esi
or rdx, rax
movzx edx, byte [rdx + r15]
call fcn.140031340
test al, al
je 0x14004ff8d
and edi, 0xf
shl edi, 2
movzx edx, byte [rdi + r15]
jmp 0x14004ff6f
movzx edi, byte [rbp + r12]
mov rcx, rbx
mov edx, edi
shr rdx, 2
movzx edx, byte [rdx + r15]
call fcn.140031340
test al, al
je 0x14004ff8d
and edi, 3
mov rcx, rbx
shl edi, 4
movzx edx, byte [rdi + r15]
call fcn.140031340
test al, al
je 0x14004ff8d
mov dl, 0x3d
mov rcx, rbx
call fcn.140031340
test al, al
je 0x14004ff8d
mov dl, 0x3d
mov rcx, rbx
call fcn.140031340
test al, al
je 0x14004ff8d
mov cl, 1
jmp 0x14004ff8f
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.1401e12d0
add rsp, 0x158
pop r15
pop r12
pop rsi
pop rbx
ret
xor al, al
jmp 0x14004ff92
mov al, 1
jmp 0x14004ffaa