joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180020f1c
Capabilities:
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rsi, rcx
test rcx, rcx
je 0x180020fb9
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x180020fb9
lea r8d, [rdi + 0x10]
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
jne 0x180020f74
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor ebx, ebx
test rbx, rbx
je 0x180020f9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x180020f98
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x180020f9d
mov edi, 1
test rsi, rsi
je 0x180020fab
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x180020fb9
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, edi
add rsp, 0x20
pop rdi
ret

Function at 0x180021088
Capabilities:
Delete service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rcx
test rcx, rcx
je 0x18002110a
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x18002110a
mov r8d, 0x10000
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x1800210de
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor ebx, ebx
test rbx, rbx
je 0x1800210ee
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov esi, eax
test rdi, rdi
je 0x1800210fc
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x18002110a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18002111c
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor edi, edi
mov rsi, rcx
test rcx, rcx
je 0x1800211c6
lea r8d, [rdi + 4]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x1800211c6
lea r8d, [rdi + 4]
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
jne 0x180021172
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor ebx, ebx
test rbx, rbx
je 0x1800211aa
and dword [rsp + 0x20], edi
xor edx, edx
lea rcx, [rsp + 0x24]
lea r8d, [rdx + 0x18]
call fcn.18003e8c0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1800211aa
cmp dword [rsp + 0x24], 4
mov eax, 1
cmove edi, eax
test rsi, rsi
je 0x1800211b8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x1800211c6
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov eax, edi
add rsp, 0x40
pop rdi
ret
Function at 0x1800211d8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x180071080]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor esi, esi
mov rdi, rdx
lea r8, [rsp + 0x20]
lea edx, [rsi + 0x23]
xor ecx, ecx
mov qword [rsp + 0x20], rsi
mov ebx, esi
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, esi
jl 0x18002125e
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], si
call fcn.18003e8c0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, esi
je 0x18002125e
lea rdx, [rsp + 0x30]
mov r8d, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ebx, [rsi + 1]
mov rcx, qword [rsp + 0x20]
cmp rcx, rsi
je 0x18002126e
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18003c160
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180038040
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x180071080]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
lea r9, str.attachCachePath
lea r8, str.SoftwareWOW6432Nodeprojonepodlp_rptcache_
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x38]
call fcn.180020d88
nop
xor edi, edi
cmp qword [rsp + 0x50], rdi
jbe 0x180038100
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov r8d, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
jne 0x1800380ce
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, edi
je 0x1800380e4
mov rcx, rbx
call fcn.180020760
nop
cmp qword [rsp + 0x58], 8
jb 0x1800380f6
mov rcx, qword [rsp + 0x40]
call fcn.18003c784
mov eax, 1
jmp 0x1800381df
mov word [rsp + 0x60], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.18003e8c0
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov ecx, 0x23
call fcn.1800211d8
cmp eax, edi
jne 0x180038149
cmp qword [rsp + 0x58], 8
jb 0x180038142
mov rcx, qword [rsp + 0x40]
call fcn.18003c784
xor eax, eax
jmp 0x1800381df
lea rdx, str.PodlpRptCache
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
jne 0x180038177
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, edi
je 0x180038190
lea rcx, [rsp + 0x60]
call fcn.180020760
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x60]
lea r8, str.attachCachePath
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_rptcache_
mov rcx, 0xffffffff80000002
call fcn.180020d08
nop
cmp qword [rsp + 0x58], 8
jb 0x1800381da
mov rcx, qword [rsp + 0x40]
call fcn.18003c784
mov eax, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.18003c160
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret
Function at 0x180038db0
Capabilities:
Check if file exists
Delete file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x180
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov rax, qword [0x180071080]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov esi, r9d
mov rbx, r8
mov r12, rdx
mov rbp, rcx
xor edi, edi
cmp r8, rdi
je 0x180038e21
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
je 0x180038e1e
mov rcx, rbx
call fcn.18001ec94
cmp rax, 0xc800000
jbe 0x180038e21
cmp esi, edi
je 0x180038e19
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, rdi
jmp 0x180038e21
mov rbx, rdi
mov rdx, r12
lea rcx, [rsp + 0xa0]
call fcn.18002991c
nop
mov r9d, esi
mov r8, rbx
lea rdx, [rsp + 0xa0]
mov rcx, rbp
call fcn.180038200
cmp eax, edi
jne 0x180038e51
jmp 0x180038fbf
mov word [rsp + 0xf0], di
xor edx, edx
lea r8d, [rdx + 0x7e]
lea rcx, [rsp + 0xf2]
call fcn.18003e8c0
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov r11d, dword [0x180076560]
mov ebx, r11d
inc r11d
mov dword [0x180076560], r11d
call fcn.18001fc58
movzx ecx, word [rsp + 0x6c]
movzx edx, word [rsp + 0x6a]
movzx r8d, word [rsp + 0x68]
movzx r10d, word [rsp + 0x66]
movzx r11d, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea r8, str._04d__02d__02d__02d:_02d:_02d__d__08x
mov edx, 0x40
lea rcx, [rsp + 0xf0]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xa0]
call fcn.18002b430
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.180009450
cmp qword [rax + 0x20], 8
jb 0x180038f1b
mov r9, qword [rax + 8]
jmp 0x180038f1f
lea r9, [rax + 8]
mov dword [rsp + 0x20], edi
lea r8, [rsp + 0xf0]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_rptcachependings_
mov rcx, 0xffffffff80000002
call fcn.180020d08
mov ebx, eax
cmp qword [rsp + 0x90], 8
jb 0x180038f55
mov rcx, qword [rsp + 0x78]
call fcn.18003c784
mov qword [rsp + 0x90], 7
mov qword [rsp + 0x88], rdi
mov word [rsp + 0x78], di
cmp qword [rsp + 0xe8], 0x10
jb 0x180038f86
mov rcx, qword [rsp + 0xd0]
call fcn.18003c784
cmp ebx, edi
je 0x180038f98
lea rcx, str.GlobalD36B0A68_AE78_4fa2_BD9C_05FD95224F52
call fcn.180037f28
jmp 0x180038fbd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [rsp + 0xf0]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_rptcachependings_
lea rcx, str.CachedReport_write_register_failed:__s._s__d
call fcn.18001cee8
nop
mov edi, ebx
lea rcx, [rsp + 0xa0]
call fcn.180029ac8
mov eax, edi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.18003c160
add rsp, 0x180
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18003935c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x180071080]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
xor edi, edi
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x20], edi
mov word [rsp + 0x30], di
call fcn.18003e8c0
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, str.Logsignored
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov qword [rbx + 0x18], rdi
or rcx, 0xffffffffffffffff
mov qword [rbx + 0x20], 7
mov word [rbx + 8], di
xor eax, eax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x30]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.180005ca0
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18003c160
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret

Function at 0x180039414
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x280
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x180071080]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, r8
mov esi, edx
mov rbx, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov word [rsp + 0x60], bp
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.18003e8c0
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp esi, 1
jne 0x18003948e
lea rdx, str.projonepodlp
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x1800394a5
cmp esi, 2
jne 0x1800394f2
lea rdx, str.projonepotcm
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp rdi, rbp
je 0x1800394b8
mov rdx, rdi
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], rbp
mov word [rbx + 8], bp
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.180005ca0
mov rax, rbx
jmp 0x180039598
cmp esi, ebp
jne 0x180039573
xor r8d, r8d
lea edx, [r8 + 2]
lea rcx, [rsp + 0x30]
call fcn.180039414
nop
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, ebp
je 0x18003954b
mov r8, rdi
mov edx, 2
mov rcx, rbx
call fcn.180039414
nop
cmp qword [rsp + 0x50], 8
jb 0x180039546
mov rcx, qword [rsp + 0x38]
call fcn.18003c784
mov rax, rbx
jmp 0x180039598
mov r8, rdi
mov edx, 1
mov rcx, rbx
call fcn.180039414
nop
cmp qword [rsp + 0x50], 8
jb 0x18003956e
mov rcx, qword [rsp + 0x38]
call fcn.18003c784
mov rax, rbx
jmp 0x180039598
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], rbp
mov word [rbx + 8], bp
xor r8d, r8d
lea rdx, [0x18005c418]
mov rcx, rbx
call fcn.180005ca0
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.18003c160
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x180039cb8
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.1800517b0
sub rsp, rax
mov rax, qword [0x180071080]
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.18003c160
add rsp, 0x1038
ret

Function at 0x180039e2c
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rdx, rcx
lea r9, str..________.dirty
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.18001e938
mov r11, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x20]
mov rbx, qword [r11]
mov rsi, qword [rsp + 0x50]
test rdi, rdi
je 0x180039e73
cmp rdi, qword [rsp + 0x20]
je 0x180039e78
call fcn.18003c72c
cmp rbx, rsi
je 0x180039f08
test rdi, rdi
jne 0x180039e90
call fcn.18003c72c
xor r11d, r11d
jmp 0x180039e93
mov r11, qword [rdi]
cmp rbx, qword [r11 + 0x30]
jne 0x180039e9e
call fcn.18003c72c
cmp qword [rbx + 0x38], 8
jb 0x180039eab
mov rcx, qword [rbx + 0x20]
jmp 0x180039eaf
lea rcx, [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test rdi, rdi
jne 0x180039ebf
call fcn.18003c72c
cmp byte [rbx + 0x41], 0
je 0x180039ecc
call fcn.18003c72c
jmp 0x180039e62
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x41], 0
jne 0x180039ee7
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x41], 0
je 0x180039ed6
jmp 0x180039e62
mov rax, qword [rbx + 8]
jmp 0x180039efa
cmp rbx, qword [rax + 0x10]
jne 0x180039f00
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x41], 0
je 0x180039eed
mov rbx, rax
jmp 0x180039e62
lea rcx, [rsp + 0x20]
call fcn.180004130
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x18003a5f8
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 [0x180071080]
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.18003e8c0
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.180039e2c
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 0x18003a6a3
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 0x18003a72b
lea rcx, [rsp + 0x50]
mov rdx, rsi
call fcn.18001f60c
cmp eax, edi
jne 0x18003a72b
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, edi
jne 0x18003a72b
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.180039dec
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 0x18003a714
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 0x18003a719
mov edi, 9
cmp qword [rsp + 0x40], 8
jb 0x18003a72b
mov rcx, qword [rsp + 0x28]
call fcn.18003c784
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.18003c160
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18003ac34
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 0x18003aca2
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 0x18003ac6e
mov edx, dword [rbx + 0x18]
mov rcx, rbx
call fcn.18003ada8
mov edi, dword [rbx + 0x18]
lea r14, [0x180072f40]
jmp 0x18003acfd
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 0x18003acbc
add r11, 4
sub r8, 1
jne 0x18003acb9
mov edx, edi
mov rcx, rbx
call fcn.18003ada8
mov rcx, rbx
call fcn.18003aee8
mov rcx, rbx
dec edi
call fcn.18003ae60
cmp edi, 1
mov r11, rbx
mov r8d, 4
jge 0x18003acb9
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 0x18003ad18
add r11, 4
sub r8, 1
jne 0x18003ad15
xor edx, edx
mov rcx, rbx
call fcn.18003ada8
mov eax, dword [rbx + 0x10]
shl eax, 2
cmp eax, esi
jle 0x18003ad8c
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 0x18003ad5b
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 0x18003ada8
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 0x18003adc2
inc rdx
add rcx, r11
sub r10, 1
jne 0x18003adbc
repz ret
Function at 0x18003bd38
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 [0x180071080]
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 0x18003bf2a
lea rdi, [0x18005e480]
movsx rax, byte [r12 + rsi]
mov cl, byte [rax + rdi]
inc rsi
cmp rsi, r13
jae 0x18003bdbe
cmp cl, r14b
je 0x18003bda9
cmp cl, r14b
je 0x18003bf2a
movsx rax, byte [r12 + rsi]
mov bpl, byte [rax + rdi]
inc rsi
cmp rsi, r13
jae 0x18003bddd
cmp bpl, r14b
je 0x18003bdc7
cmp bpl, r14b
je 0x18003bf2a
mov r8b, bpl
sar r8b, 4
and r8b, 3
shl cl, 2
or r8b, cl
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.180021834
jmp 0x18003be0f
lea rdi, [0x18005e480]
mov al, byte [r12 + rsi]
inc rsi
cmp al, 0x3d
je 0x18003beee
movsx rax, al
mov dil, byte [rax + rdi]
cmp rsi, r13
jae 0x18003be30
cmp dil, r14b
je 0x18003be08
cmp dil, r14b
je 0x18003bf2a
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.180021834
lea rdx, [0x18005e480]
mov al, byte [r12 + rsi]
add rsi, rbp
cmp al, 0x3d
je 0x18003beb2
movsx rax, al
mov cl, byte [rax + rdx]
cmp rsi, r13
jae 0x18003be80
cmp cl, r14b
je 0x18003be64
cmp cl, r14b
je 0x18003bf2a
shl dil, 6
or dil, cl
mov r8b, dil
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.180021834
cmp rsi, r13
lea rdi, [0x18005e480]
jb 0x18003bda9
jmp 0x18003bf2a
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.180004810
nop
cmp qword [rsp + 0x50], 0x10
jb 0x18003bee9
mov rcx, qword [rsp + 0x38]
call fcn.18003c784
mov rax, rbx
jmp 0x18003bf64
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.180004810
nop
cmp qword [rsp + 0x50], 0x10
jb 0x18003bf25
mov rcx, qword [rsp + 0x38]
call fcn.18003c784
mov rax, rbx
jmp 0x18003bf64
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.180004810
nop
cmp qword [rsp + 0x50], 0x10
jb 0x18003bf61
mov rcx, qword [rsp + 0x38]
call fcn.18003c784
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18003c160
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 0x18003d727
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180071080]
jne 0x18003c17a
rol rcx, 0x10
test cx, 0xffff
jne 0x18003c176
repz ret
ror rcx, 0x10
jmp 0x18003d680
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180074430]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x180074528]
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 0x18003d705
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, [0x180074430]
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 0x18003d727
mov rax, qword [rsp + 0x88]
mov qword [0x180074528], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1800744c8], rax
mov rax, qword [0x180074528]
mov qword [0x1800743a0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1800744b0], rax
mov dword [0x180074390], 0xc0000409
mov dword [0x180074394], 1
mov rax, qword [0x180071080]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180071088]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180074428], eax
mov ecx, 1
call fcn.18003e8a4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1800599f8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180074428], 0
jne 0x18003d7ae
mov ecx, 1
call fcn.18003e8a4
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 0x18003e67c
Capabilities:
Terminate process

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