joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003c460
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
mov eax, 0x1038
call fcn.1800599c0
sub rsp, rax
mov rax, qword [0x1800824d0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov r8, rcx
lea r9, [rsp + 0x1048]
lea rcx, [rsp + 0x20]
mov edx, 0x800
call qword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.180042bb0
add rsp, 0x1038
ret

Function at 0x18003c890
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1800824d0]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x11c
call fcn.180045560
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18003c8ee
lea rcx, [rsp + 0x20]
call fcn.18001fc6c
test eax, eax
je 0x18003c8ee
cmp dword [rsp + 0x24], 6
lea rax, str.swvv64_win7.sys
je 0x18003c8f5
lea rax, str.swvv64.sys
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180042bb0
add rsp, 0x158
ret
Function at 0x18003c910
Capabilities:
Check if file exists
Create service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x1800824d0]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rcx, [rsp + 0x72]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x70], si
call fcn.180045560
call fcn.18003c890
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, esi
jne 0x18003c9ed
call fcn.18003c890
mov ebx, 0x104
cmp rax, rsi
je 0x18003c986
lea r8, [rsp + 0x70]
mov r9d, ebx
mov rdx, rax
xor ecx, ecx
call fcn.18001f958
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, esi
jne 0x18003c9ed
cmp word [0x180086bb0], si
je 0x18003c9c6
lea rdx, [0x180086bb0]
lea rcx, [rsp + 0x70]
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
call fcn.18003c890
lea rcx, [rsp + 0x70]
mov rdx, rax
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, esi
jne 0x18003c9ed
lea rdx, [rsp + 0x70]
lea rcx, str.sys_file_not_found:__s
call fcn.18003c460
xor eax, eax
jmp 0x18003cafe
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, esi
je 0x18003cadc
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov rbx, rax
cmp rax, rsi
je 0x18003cad8
lea rdx, str..sys
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, esi
jne 0x18003ca32
mov ebx, 1
jmp 0x18003ca4f
lea rdx, str..exe
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, esi
jne 0x18003cad8
mov ebx, 0x10
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
cmp rax, rsi
je 0x18003cadc
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rdx, str.swvv
mov dword [rsp + 0x30], 1
mov r9d, 0xf01ff
mov rcx, rdi
mov r8, rdx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
cmp rax, rsi
mov ebx, esi
setne bl
cmp rax, rsi
je 0x18003cacd
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x18003cade
mov ebx, esi
jmp 0x18003cae2
mov ebx, esi
cmp ebx, esi
jne 0x18003cafc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x70]
lea rcx, str.Install_service_failed:__s__error__d
mov r8d, eax
call fcn.18003c460
mov eax, ebx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180042bb0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x18003d988
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x1a0
mov rax, qword [0x1800824d0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbp, rcx
mov edi, edx
lea rcx, [rsp + 0x74]
xor r12d, r12d
xor edx, edx
mov r8d, 0x110
mov ebx, r12d
mov dword [rsp + 0x70], 0x114
call fcn.180045560
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [rsp + 0x74]
mov r13d, 0x8000
cmp rbp, r13
jne 0x18003d9f3
mov ebx, 0x100
jmp 0x18003da22
cmp rbp, 0x8004
jne 0x18003da03
mov ebx, 0x80
jmp 0x18003da22
cmp edx, 6
jb 0x18003da22
cmp dword [rsp + 0x78], 1
jb 0x18003da22
mov eax, ebx
mov ebx, 0x80
cmp rbp, 0x8003
cmove eax, ebx
mov ebx, eax
mov ecx, edi
mov esi, 1
shl esi, cl
cmp ebx, r12d
je 0x18003da6d
mov edi, r12d
bt esi, edi
jae 0x18003da62
xor r9d, r9d
lea eax, [rdi + 0x41]
lea r8, [rsp + 0x40]
lea edx, [r9 + 5]
mov ecx, ebx
mov byte [rsp + 0x41], 0x3a
mov byte [rsp + 0x40], al
mov byte [rsp + 0x42], 0x5c
mov byte [rsp + 0x43], r12b
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
inc edi
cmp edi, 0x1a
jl 0x18003da33
mov edx, dword [rsp + 0x74]
mov ebx, 2
cmp edx, 6
mov eax, 0x3e8
lea ecx, [rbx + 0x62]
mov dword [rsp + 0x54], esi
mov edi, 0x219
cmovae eax, ecx
lea rcx, [rsp + 0x60]
mov esi, 0xffff
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
lea r9, [rsp + 0x48]
mov rcx, rsi
mov r8, rbp
mov edx, edi
mov dword [rsp + 0x48], 0x14
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], r12d
mov word [rsp + 0x58], r12w
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
cmp dword [rsp + 0x74], 6
jae 0x18003daff
cmp rbp, r13
jne 0x18003daff
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x48]
mov r8, r13
mov qword [rsp + 0x30], rax
mov edx, edi
mov rcx, rsi
mov dword [rsp + 0x28], 0xc8
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.180042bb0
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1a0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18003e67c
Capabilities:
Check if file exists
Check os version

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x1b0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x1800824d0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov dword [rsp + 0x80], 0x11c
xor edx, edx
mov r8d, 0x118
lea rcx, [r11 - 0x134]
call fcn.180045560
lea rdi, str.swvv
mov rcx, rdi
call fcn.180021db4
xor ebx, ebx
cmp eax, ebx
je 0x18003e7ee
mov rcx, rdi
call fcn.180021f04
cmp eax, ebx
jne 0x18003e7ee
xor edx, edx
mov r8d, 0x11c
lea rcx, [rsp + 0x80]
call fcn.180045560
mov dword [rsp + 0x80], 0x11c
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, ebx
je 0x18003e7ee
lea rcx, [rsp + 0x80]
call fcn.18001fc6c
cmp eax, ebx
je 0x18003e7ee
cmp dword [rsp + 0x84], 6
jne 0x18003e7ee
mov r8, rdi
lea rdx, str.SYSTEMCurrentControlSetServices_s
lea rcx, [rsp + 0x50]
call fcn.18002132c
nop
lea r8, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r8, qword [rsp + 0x58]
lea r9, str.ImagePath
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x28]
call fcn.18002182c
cmp qword [rsp + 0x40], rbx
je 0x18003e7b7
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
lea rdx, str.swvv64_win7.sys
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp rax, rbx
jne 0x18003e7b7
mov rcx, rdi
call fcn.180021e70
cmp qword [rsp + 0x48], 8
jb 0x18003e7c9
mov rcx, qword [rsp + 0x30]
call fcn.180043070
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x30], bx
cmp qword [rsp + 0x70], 8
jb 0x18003e7ee
mov rcx, qword [rsp + 0x58]
call fcn.180043070
mov rcx, rdi
call fcn.180021db4
cmp eax, ebx
je 0x18003e830
mov rcx, rdi
call fcn.180021d04
cmp eax, ebx
je 0x18003e80d
mov eax, 1
jmp 0x18003e84c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x18003e828
cmp eax, 3
je 0x18003e828
cmp eax, 0x241
je 0x18003e828
xor eax, eax
jmp 0x18003e84c
mov rcx, rdi
call fcn.180021e70
call fcn.18003c910
cmp eax, ebx
je 0x18003e84a
mov rcx, rdi
call fcn.180021d04
cmp eax, ebx
je 0x18003e84a
mov ebx, 1
mov eax, ebx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.180042bb0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1b0
pop rdi
ret
Function at 0x18003ebbc
Capabilities:
Check if file exists

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x580
mov rax, qword [0x1800824d0]
xor rax, rsp
mov qword [rsp + 0x570], rax
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
test rcx, rcx
je 0x18003ecfe
test rdx, rdx
je 0x18003ecfe
test r8d, r8d
je 0x18003ecfe
call fcn.18003e67c
test eax, eax
jne 0x18003ec10
mov eax, 2
jmp 0x18003ed03
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x50], 0
call fcn.180045560
lea r8, str.vsccreator.exe
lea rcx, [rsp + 0x50]
mov edx, 0x104
call fcn.18003c778
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x18003ec76
lea rdx, [rsp + 0x50]
lea rcx, str.vsccreator.exe
call fcn.18001fa20
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x18003ec76
mov eax, 0x65
jmp 0x18003ed03
lea rcx, [rsp + 0x161]
xor edx, edx
mov r8d, 0x40f
mov byte [rsp + 0x160], 0
call fcn.180045560
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x50]
lea r8, str.__s____s___s__d
lea rcx, [rsp + 0x160]
mov edx, 0x410
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.SHLWAPI.dll_wnsprintfA]
and dword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x160]
mov r9d, 0x2710
xor r8d, r8d
call fcn.18003c4d0
test eax, eax
jne 0x18003eceb
mov eax, 0x66
jmp 0x18003ed03
mov eax, dword [rsp + 0x40]
mov ecx, 0x67
cmp eax, 0x103
cmove eax, ecx
jmp 0x18003ed03
mov eax, 1
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.180042bb0
add rsp, 0x580
pop rdi
pop rsi
pop rbx
ret

Function at 0x180040344
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x80
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
lea r9, str..________.dirty
mov r8d, 1
mov rdx, rcx
lea rcx, [rax - 0x48]
call fcn.18001ecec
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsi]
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x40]
mov rdi, rax
mov qword [rsp + 0x28], rax
test rdi, rdi
je 0x18004039d
cmp rdi, rax
je 0x1800403a2
call fcn.180043018
cmp rbx, rsi
je 0x1800403fb
test rdi, rdi
jne 0x1800403b6
call fcn.180043018
xor r11d, r11d
jmp 0x1800403b9
mov r11, qword [rdi]
cmp rbx, qword [r11 + 0x30]
jne 0x1800403c4
call fcn.180043018
cmp qword [rbx + 0x38], 8
jb 0x1800403d1
mov rcx, qword [rbx + 0x20]
jmp 0x1800403d5
lea rcx, [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rsp + 0x28]
call fcn.180007d4c
mov rsi, qword [rsp + 0x70]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
jmp 0x180040393
lea rcx, [rsp + 0x40]
call fcn.180007e34
nop
mov rcx, qword [rsp + 0x40]
call fcn.180043070
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x180040918
Capabilities:
Check if file exists
Copy file
Get common file path
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1800824d0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, r8
mov rsi, rdx
lea rcx, [rsp + 0x52]
xor edi, edi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], di
call fcn.180045560
lea rcx, [rsp + 0x50]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, str.drivers
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x50]
call fcn.180040344
lea rcx, [rsp + 0x50]
mov rdx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
jne 0x1800409c3
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
neg eax
sbb edi, edi
not edi
and edi, 8
jmp 0x180040a4b
lea rcx, [rsp + 0x50]
mov rdx, rsi
call fcn.18001f764
cmp eax, edi
jne 0x180040a4b
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, edi
jne 0x180040a4b
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.180040304
cmp qword [rsp + 0x40], 8
lea rdx, [rsp + 0x28]
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, edi
je 0x180040a34
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
neg eax
sbb edi, edi
not edi
and edi, 8
jmp 0x180040a39
mov edi, 9
cmp qword [rsp + 0x40], 8
jb 0x180040a4b
mov rcx, qword [rsp + 0x28]
call fcn.180043070
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180042bb0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x180040cac
Capabilities:
Hash data using sha256

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xd0
mov rax, qword [0x1800824d0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
and dword [rsp + 0x70], 0
and dword [rsp + 0x20], 0
and qword [r11 - 0x60], 0
mov rbx, rcx
lea rcx, [rsp + 0x30]
mov dword [r11 - 0x58], 0x6a09e667
mov dword [r11 - 0x54], 0xbb67ae85
mov dword [r11 - 0x50], 0x3c6ef372
mov dword [r11 - 0x4c], 0xa54ff53a
mov dword [r11 - 0x48], 0x510e527f
mov dword [r11 - 0x44], 0x9b05688c
mov dword [r11 - 0x40], 0x1f83d9ab
mov dword [r11 - 0x3c], 0x5be0cd19
call fcn.180042860
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xa0]
call fcn.1800428c0
and qword [rbx + 0x18], 0
mov qword [rbx + 0x20], 0xf
lea rdx, [rsp + 0xa0]
mov r8d, 0x20
mov rcx, rbx
mov byte [rbx + 8], 0
call fcn.1800026f8
mov rax, rbx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180042bb0
add rsp, 0xd0
pop rbx
ret
Function at 0x18004136c
Capabilities:
Encrypt data using aes
Reference aes constants

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
xor eax, eax
xor esi, esi
mov rbp, r8
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov eax, dword [rcx + 0x10]
shl eax, 2
mov r10, rdx
mov rbx, rcx
cmp eax, esi
mov r9d, esi
jle 0x1800413da
mov eax, r9d
inc r9d
cdq
and edx, 3
add eax, edx
mov ecx, eax
and eax, 3
sub eax, edx
sar ecx, 2
movsxd rdx, eax
movsxd rax, ecx
lea rcx, [rbx + rax]
mov al, byte [r10]
inc r10
mov byte [rcx + rdx*4], al
mov eax, dword [rbx + 0x10]
shl eax, 2
cmp r9d, eax
jl 0x1800413a6
mov edx, dword [rbx + 0x18]
mov rcx, rbx
call fcn.1800414e0
mov edi, dword [rbx + 0x18]
lea r14, [0x180083f40]
jmp 0x180041435
mov r9, rsi
movzx edx, byte [r11 + r9]
mov ecx, edx
and edx, 0xf
shr ecx, 4
shl rcx, 4
add rcx, rdx
mov al, byte [rcx + r14]
mov byte [r11 + r9], al
inc r9
cmp r9, 4
jl 0x1800413f4
add r11, 4
sub r8, 1
jne 0x1800413f1
mov edx, edi
mov rcx, rbx
call fcn.1800414e0
mov rcx, rbx
call fcn.180041620
mov rcx, rbx
dec edi
call fcn.180041598
cmp edi, 1
mov r11, rbx
mov r8d, 4
jge 0x1800413f1
mov r9, rsi
movzx edx, byte [r11 + r9]
mov ecx, edx
and edx, 0xf
shr ecx, 4
shl rcx, 4
add rcx, rdx
mov al, byte [rcx + r14]
mov byte [r11 + r9], al
inc r9
cmp r9, 4
jl 0x180041450
add r11, 4
sub r8, 1
jne 0x18004144d
xor edx, edx
mov rcx, rbx
call fcn.1800414e0
mov eax, dword [rbx + 0x10]
shl eax, 2
cmp eax, esi
jle 0x1800414c4
mov eax, esi
inc esi
cdq
and edx, 3
add eax, edx
mov ecx, eax
and eax, 3
sub eax, edx
sar ecx, 2
movsxd rdx, eax
movsxd rax, ecx
lea rcx, [rbx + rax]
mov al, byte [rcx + rdx*4]
mov byte [rbp], al
mov eax, dword [rbx + 0x10]
inc rbp
shl eax, 2
cmp esi, eax
jl 0x180041493
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 0x1800414e0
Capabilities:
Encode data using xor

Disassembly:
movsxd rax, edx
mov r11d, 4
add rax, rax
mov r10, r11
lea rdx, [rcx + rax*8 + 0x3c]
xor r8d, r8d
mov r9, rdx
mov al, byte [r9]
add r9, r11
xor byte [rcx + r8], al
inc r8
cmp r8, r11
jl 0x1800414fa
inc rdx
add rcx, r11
sub r10, 1
jne 0x1800414f4
repz ret
Function at 0x1800423cc
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x60
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x1800824d0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r12, rdx
mov rbx, rcx
and dword [rsp + 0x20], 0
xor esi, esi
xor eax, eax
or r14, 0xffffffffffffffff
mov rcx, r14
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov r13, rcx
mov qword [r11 - 0x38], 0xf
mov qword [r11 - 0x40], rax
mov byte [rsp + 0x38], al
je 0x1800425be
lea rdi, [0x18006a660]
movsx rax, byte [r12 + rsi]
mov cl, byte [rax + rdi]
inc rsi
cmp rsi, r13
jae 0x180042452
cmp cl, r14b
je 0x18004243d
cmp cl, r14b
je 0x1800425be
movsx rax, byte [r12 + rsi]
mov bpl, byte [rax + rdi]
inc rsi
cmp rsi, r13
jae 0x180042471
cmp bpl, r14b
je 0x18004245b
cmp bpl, r14b
je 0x1800425be
mov r8b, bpl
sar r8b, 4
and r8b, 3
shl cl, 2
or r8b, cl
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.180017c08
jmp 0x1800424a3
lea rdi, [0x18006a660]
mov al, byte [r12 + rsi]
inc rsi
cmp al, 0x3d
je 0x180042582
movsx rax, al
mov dil, byte [rax + rdi]
cmp rsi, r13
jae 0x1800424c4
cmp dil, r14b
je 0x18004249c
cmp dil, r14b
je 0x1800425be
mov r8b, dil
sar r8b, 2
and r8b, 0xf
shl bpl, 4
or r8b, bpl
mov ebp, 1
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.180017c08
lea rdx, [0x18006a660]
mov al, byte [r12 + rsi]
add rsi, rbp
cmp al, 0x3d
je 0x180042546
movsx rax, al
mov cl, byte [rax + rdx]
cmp rsi, r13
jae 0x180042514
cmp cl, r14b
je 0x1800424f8
cmp cl, r14b
je 0x1800425be
shl dil, 6
or dil, cl
mov r8b, dil
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.180017c08
cmp rsi, r13
lea rdi, [0x18006a660]
jb 0x18004243d
jmp 0x1800425be
mov qword [rbx + 0x20], 0xf
and qword [rbx + 0x18], 0
mov byte [rbx + 8], 0
mov r9, r14
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180002398
nop
cmp qword [rsp + 0x50], 0x10
jb 0x18004257d
mov rcx, qword [rsp + 0x38]
call fcn.180043070
mov rax, rbx
jmp 0x1800425f8
mov qword [rbx + 0x20], 0xf
and qword [rbx + 0x18], 0
mov byte [rbx + 8], 0
mov r9, r14
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180002398
nop
cmp qword [rsp + 0x50], 0x10
jb 0x1800425b9
mov rcx, qword [rsp + 0x38]
call fcn.180043070
mov rax, rbx
jmp 0x1800425f8
mov qword [rbx + 0x20], 0xf
and qword [rbx + 0x18], 0
mov byte [rbx + 8], 0
mov r9, r14
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180002398
nop
cmp qword [rsp + 0x50], 0x10
jb 0x1800425f5
mov rcx, qword [rsp + 0x38]
call fcn.180043070
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180042bb0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x180042684
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov r9, rcx
lea r8, [rsp + 0x10]
mov r10d, 0x10
lea rcx, [rdx + 1]
movzx eax, byte [rcx]
movzx edx, byte [rcx - 1]
add rcx, 4
shl edx, 8
or edx, eax
movzx eax, byte [rcx - 3]
shl edx, 8
or edx, eax
movzx eax, byte [rcx - 2]
shl edx, 8
or edx, eax
mov dword [r8], edx
add r8, 4
sub r10, 1
jne 0x1800426ad
lea r10, [rsp + 0x48]
mov r11d, 0x30
mov ecx, dword [r10 - 0x34]
mov edx, dword [r10]
add r10, 4
mov r8d, ecx
mov eax, ecx
shr ecx, 3
rol r8d, 0xe
ror eax, 7
xor r8d, eax
mov eax, edx
xor r8d, ecx
mov ecx, edx
shr edx, 0xa
rol ecx, 0xf
rol eax, 0xd
xor ecx, eax
xor ecx, edx
add r8d, ecx
add r8d, dword [r10 - 0x3c]
add r8d, dword [r10 - 0x18]
sub r11, 1
mov dword [r10 + 4], r8d
jne 0x1800426e7
mov edi, dword [r9 + 0x5c]
mov r14d, dword [r9 + 0x50]
mov r10d, dword [r9 + 0x54]
mov r11d, dword [r9 + 0x58]
mov r15d, dword [r9 + 0x60]
mov ebx, dword [r9 + 0x64]
mov ebp, dword [r9 + 0x6c]
mov dword [rsp + 0x150], edi
mov edi, dword [r9 + 0x68]
mov esi, dword [rsp + 0x150]
xor r12d, r12d
lea r13d, [r12 + 0x40]
mov eax, r15d
mov r8d, r15d
mov ecx, r15d
ror r8d, 0xb
rol eax, 7
not ecx
xor r8d, eax
and ecx, edi
mov eax, r15d
ror eax, 6
mov edx, r14d
xor r8d, eax
mov eax, ebx
and eax, r15d
xor ecx, eax
lea rax, [0x18006a510]
add r8d, ecx
mov ecx, r10d
add r8d, dword [r12 + rax]
xor ecx, r14d
mov eax, r14d
add r8d, dword [rsp + r12 + 0x10]
and ecx, r11d
add r12, 4
add r8d, ebp
ror edx, 0xd
rol eax, 0xa
xor edx, eax
mov eax, r14d
mov ebp, edi
ror eax, 2
mov edi, ebx
mov ebx, r15d
xor edx, eax
mov eax, r10d
lea r15d, [r8 + rsi]
and eax, r14d
mov esi, r11d
mov r11d, r10d
xor ecx, eax
mov r10d, r14d
add edx, ecx
sub r13, 1
lea r14d, [rdx + r8]
jne 0x180042763
mov eax, dword [r9 + 0x50]
add eax, r14d
mov dword [r9 + 0x50], eax
mov eax, r10d
add eax, dword [r9 + 0x54]
mov dword [r9 + 0x54], eax
mov eax, r11d
add eax, dword [r9 + 0x58]
mov dword [r9 + 0x58], eax
mov eax, dword [r9 + 0x5c]
add eax, esi
mov dword [r9 + 0x5c], eax
mov eax, dword [r9 + 0x60]
add eax, r15d
mov dword [r9 + 0x60], eax
mov eax, ebx
mov rbx, qword [rsp + 0x158]
add eax, dword [r9 + 0x64]
mov dword [r9 + 0x64], eax
mov eax, edi
add eax, dword [r9 + 0x68]
mov dword [r9 + 0x68], eax
mov eax, ebp
add eax, dword [r9 + 0x6c]
mov dword [r9 + 0x6c], eax
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800453c7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1800824d0]
jne 0x180042bca
rol rcx, 0x10
test cx, 0xffff
jne 0x180042bc6
repz ret
ror rcx, 0x10
jmp 0x180045320
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180085450]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x180085548]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1800453a5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x180085450]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1800453c7
mov rax, qword [rsp + 0x88]
mov qword [0x180085548], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1800854e8], rax
mov rax, qword [0x180085548]
mov qword [0x1800853c0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1800854d0], rax
mov dword [0x1800853b0], 0xc0000409
mov dword [0x1800853b4], 1
mov rax, qword [0x1800824d0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1800824d8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180085448], eax
mov ecx, 1
call fcn.18004553c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180064ab8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180085448], 0
jne 0x18004544e
mov ecx, 1
call fcn.18004553c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x18004652c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1800463a0