joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180004028
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x288
mov rbx, rdx
xor r8d, r8d
mov edx, r8d
cmp word [rbx], r8w
je 0x180004060
mov rax, rbx
lea rax, [rax + 2]
inc edx
cmp word [rax], r8w
jne 0x180004054
mov eax, edx
mov ecx, 0x2a
add rax, rax
mov qword [rsp + 0x2b8], rax
lea rbp, [rax + rbx]
mov word [rbp], cx
lea rcx, [0x1800104a0]
sub rax, rcx
lea rdx, [rax + rbx]
lea rcx, [rcx + 2]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
test ax, ax
jne 0x180004088
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x250
call sub.ntdll.dll_memset
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1800041a1
mov rdi, qword [rsp + 0x2d0]
xor r8d, r8d
movzx ecx, word [rsp + 0x5c]
cmp cx, 0x2e
jne 0x1800040fa
movzx edx, word [rsp + 0x5e]
test dx, dx
je 0x18000417f
cmp dx, cx
jne 0x1800040fa
cmp word [rsp + 0x60], r8w
je 0x18000417f
mov word [rbp], cx
test cx, cx
je 0x18000412c
mov rax, qword [rsp + 0x2b8]
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x5c]
sub rax, rdx
lea rdx, [rax + rbx]
lea rcx, [rcx + 2]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
test ax, ax
jne 0x18000411c
test byte [rsp + 0x30], 0x10
je 0x180004169
lea rdx, [0x1800104b4]
mov rcx, rbp
call fcn.18000cad0
mov r9d, dword [rsp + 0x2c8]
mov r8, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x2b0]
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call fcn.180004028
jmp 0x180004176
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call fcn.1800041b0
cmp dword [rdi + 0x10], 0x3e8
je 0x180004198
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
xor r8d, r8d
test eax, eax
jne 0x1800040d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
add rsp, 0x288
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180004454
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rdi, rdx
mov ebx, 1
lea r8, [rbp + 0x20]
lea edx, [rbx + 1]
xor esi, esi
mov rcx, rdi
mov dword [rbp + 0x20], esi
call qword [sym.imp.msi.dll_MsiOpenProductW]
test eax, eax
jne 0x180004538
mov ecx, dword [rbp + 0x20]
lea r8, [rbp + 0x38]
lea rdx, str.SELECT__Type__FROM__CustomAction__WHERE__CustomAction_._Action_ValidatePID
mov dword [rbp + 0x38], esi
call qword [sym.imp.msi.dll_MsiEnumClientsA]
test eax, eax
jne 0x18000452b
mov ecx, ebx
call qword [sym.imp.msi.dll_MsiDatabaseExportA]
mov dword [rbp + 0x30], eax
test eax, eax
je 0x180004522
mov ecx, dword [rbp + 0x38]
mov edx, eax
call qword [sym.imp.msi.dll_MsiViewModify]
mov ecx, dword [rbp + 0x38]
lea rdx, [rbp + 0x30]
call qword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jne 0x180004519
mov ecx, dword [rbp + 0x30]
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x40]
mov edx, ebx
mov word [rbp - 0x40], si
mov dword [rbp - 0x50], 0x20
call qword [sym.imp.msi.dll_MsiRecordSetStreamA]
test eax, eax
jne 0x180004510
cmp word [rbp - 0x40], 0x32
jne 0x180004510
movzx eax, word [rbp - 0x3e]
neg ax
sbb ecx, ecx
and ebx, ecx
mov ecx, dword [rbp + 0x38]
call qword [sym.imp.msi.dll_MsiViewGetErrorW]
mov ecx, dword [rbp + 0x30]
call qword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov ecx, dword [rbp + 0x38]
call qword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov ecx, dword [rbp + 0x20]
call qword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
test ebx, ebx
je 0x1800045ab
mov rcx, qword [0x180013580]
xor edx, edx
lea r8d, [rdx + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, rax
test rax, rax
je 0x18000456e
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
lea rax, [0x1800107c0]
mov qword [rcx + 0x18], rsi
mov dword [rcx + 0x20], esi
mov qword [rcx], rax
jmp 0x180004571
mov rcx, rsi
mov rdx, qword [rbp + 0x40]
mov rax, qword [rdx + 8]
test rax, rax
je 0x180004584
mov qword [rax + 0x10], rcx
jmp 0x180004587
mov qword [rdx], rcx
mov rax, qword [rdx + 8]
mov qword [rcx + 0x10], rsi
mov qword [rcx + 8], rax
inc dword [rdx + 0x10]
mov qword [rdx + 8], rcx
add rcx, 0x18
cmp qword [rcx], rdi
je 0x1800045ab
mov rdx, rdi
call fcn.18000cd90
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000483c
Capabilities:
Clear file content
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov dword [rax + 0x20], r9d
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1788]
mov eax, 0x1860
call sub.ntdll.dll___chkstk
sub rsp, rax
mov r12, r8
mov r15, rdx
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [rbp + 0x17a8]
mov dword [rbp + 0x17a8], eax
call qword [sym.imp.ntdll.dll_RtlRandom]
mov rcx, qword [0x180013580]
mov ebx, eax
mov eax, 0x80808081
mul ebx
shr edx, 7
imul edx, edx, 0xff
sub ebx, edx
xor edx, edx
inc ebx
mov r8d, ebx
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r13d, r13d
mov rdi, rax
test ebx, ebx
je 0x1800048cf
mov r8d, esi
mov dl, 1
mov rcx, rax
call sub.ntdll.dll_memset
test rdi, rdi
je 0x180004a54
lea rax, [rbp + 0x17a8]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rax, qword [r14 + 8]
mov edx, ebx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1800063f0
mov rsi, qword [rsp + 0x50]
mov rdx, qword [r14 + 8]
mov rcx, qword [r14]
lea rax, [rsp + 0x44]
mov r8, r12
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
call fcn.180001554
test eax, eax
je 0x180004a30
lea r9, [rbp + 0xf60]
lea rdx, [rbp + 0x760]
mov rcx, r15
call fcn.18000cf7c
movzx r9d, word [rbp + 0x760]
mov word [rsp + 0x60], r9w
test r9w, r9w
je 0x180004981
mov rcx, r13
lea rcx, [rcx + 2]
movzx eax, word [rbp + rcx + 0x760]
mov word [rsp + rcx + 0x60], ax
test ax, ax
jne 0x18000496b
lea rdx, [0x1800104b4]
lea rcx, [rsp + 0x60]
call fcn.18000cad0
lea rdx, [rbp + 0xf60]
lea rcx, [rsp + 0x60]
call fcn.18000cad0
lea rdx, [0x1800104a8]
lea rcx, [rsp + 0x60]
call fcn.18000cad0
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180004a1c
mov r8d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov rcx, rax
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, qword [rsp + 0x48]
mov rcx, qword [0x180013580]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x180013580]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x180013580]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0x1860]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x180007814
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3b8]
sub rsp, 0x480
xor ebx, ebx
mov rdi, rcx
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x24c
mov r14d, ebx
mov dword [rsp + 0x20], ebx
call sub.ntdll.dll_memset
mov r9d, ebx
lea rax, str..exe
lea rax, [rax + 2]
inc r9d
cmp word [rax], bx
jne 0x180007864
mov edx, 0x103
lea rcx, [rbp + 0x170]
sub edx, r9d
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1800079af
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlRandom]
mov rcx, rdi
movzx r13d, al
call qword [sym.imp.ntdll.dll_RtlRandom]
lea rdx, str..exe
movzx edi, al
lea rcx, [rbp + 0x170]
mov dword [rbp + 0x3d8], edi
call fcn.18000cad0
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x1800079af
mov r12d, edi
cmp r13d, edi
mov esi, ebx
cmova r12d, r13d
mov ecx, 4
cmp esi, r13d
je 0x1800078f8
cmp esi, edi
jne 0x180007949
cmp word [rsp + 0x4c], 0x2e
mov edi, ebx
je 0x18000790c
inc edi
cmp word [rsp + rdi*2 + 0x4c], 0x2e
jne 0x180007902
mov eax, ebx
test r14d, r14d
je 0x18000791b
lea eax, [rdi - 4]
cmp eax, edi
cmova eax, ebx
cmp edi, ecx
lea rdx, [rsp + 0x4c]
cmova edi, ecx
mov rcx, qword [rbp + 0x3c8]
lea rdx, [rdx + rax*2]
mov eax, r14d
lea r8d, [rdi + rdi]
lea rcx, [rcx + rax*2]
call fcn.18000cbb0
add r14d, edi
mov edi, dword [rbp + 0x3d8]
lea rdx, [rsp + 0x20]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180007979
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15, rax
inc esi
mov ecx, 4
cmp esi, r12d
jbe 0x1800078ef
mov rcx, qword [rbp + 0x3c8]
mov eax, r14d
mov word [rcx + rax*2], bx
mov rax, qword [rbp + 0x3d0]
mov rcx, r15
mov dword [rax], r14d
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
mov rbx, qword [rsp + 0x4c0]
add rsp, 0x480
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180008d54
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0xa0
xor ebx, ebx
mov rsi, rdx
lea rax, str.RPCSS
mov qword [r11 - 0x58], rbx
mov qword [r11 - 0x60], rbx
mov qword [r11 - 0x68], rax
mov qword [r11 - 0x70], rbx
mov qword [r11 - 0x78], rbx
mov qword [r11 - 0x80], rcx
lea ebp, [rbx + 1]
lea r8, str.Windows_Protection
lea rdx, str.spsrv
mov dword [rsp + 0x30], ebp
mov rcx, rsi
mov r9d, 0xf01ff
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rdi, rax
test rax, rax
je 0x180008e44
lea rax, str.This_Windows_service_enables_the_download__installation_and_enforcement_of_digital_licenses_for_Windows_and_Windows_applications._If_the_service_is_disabled__the_operating_system_and_licensed_applications_may_run_in_a_notification_mode.__It_is_strongly_recommended_that_you_not_disable_the_Software_Protection_service.
lea r8, [rsp + 0xd8]
mov edx, ebp
mov rcx, rdi
mov qword [rsp + 0xd8], rax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
je 0x180008e3b
lea rax, [rsp + 0xd0]
lea r8, [rsp + 0x70]
lea edx, [rbx + 2]
mov rcx, rdi
mov dword [rsp + 0xd4], 0xea60
mov dword [rsp + 0xd0], ebp
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbx
mov dword [rsp + 0x88], ebp
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
cmovne ebx, ebp
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000a06c
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0xc18]
sub rsp, 0xd00
mov rsi, rdx
lea rdx, [rbp + 0x1f0]
mov ecx, 0x104
mov ebx, r8d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp - 0x20]
lea rdx, [0x18001055c]
lea rcx, [rbp + 0x1f0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
movzx eax, word [rbp - 0x20]
xor r14d, r14d
lea r15d, [r14 + 1]
lea rcx, [rbp - 0x20]
mov r8d, r14d
mov edx, r14d
jmp 0x18000a0fa
cmp ax, 0x5c
je 0x18000a0e4
cmp ax, 0x2f
jne 0x18000a0ef
lea rcx, [rbp - 0x1e]
movsxd rax, r8d
lea rcx, [rcx + rax*2]
add r8d, r15d
add rdx, r15
movzx eax, word [rbp + rdx*2 - 0x20]
test ax, ax
jne 0x18000a0d8
lea rdx, [0x1800104a8]
call fcn.18000cad0
mov qword [rsp + 0x30], r14
lea rcx, [rbp - 0x20]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000a224
lea r9, [rbp + 0xc30]
mov r8d, ebx
mov rdx, rsi
mov rcx, rax
mov dword [rbp + 0xc30], r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, r14d
mov rcx, rdi
test eax, eax
cmovne ebx, r15d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x18000a224
lea r9, [rbp - 0x20]
lea r8, str.cmd__C___s_
lea rcx, [rbp + 0x400]
mov edx, 0x400
call fcn.18000cb8c
xor edx, edx
lea rcx, [rsp + 0x78]
lea r8d, [rdx + 0x60]
call sub.ntdll.dll_memset
xor eax, eax
lea rdx, [rbp + 0x400]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x1f0]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov dword [rsp + 0x28], 0xc000000
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x18000a224
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0xd00]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x18000ba28
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
lea rbp, [rsp - 0x330]
sub rsp, 0x430
movsxd rax, dword [rcx + 0x3c]
lea r8, [rcx + 0x18]
mov rdx, rcx
add r8, rax
mov ecx, dword [r8 + 0x38]
add rcx, rdx
mov qword [0x180013578], rcx
call fcn.180006610
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [0x180013580], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rbp + 0x340]
xor ebx, ebx
mov rcx, rax
mov dword [rbp + 0x340], ebx
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [rbp + 0x340], 1
jle 0x18000babe
mov rcx, qword [rax + 8]
mov edx, 0xfffd
movzx eax, word [rcx]
sub ax, 0x2d
test dx, ax
jne 0x18000babe
cmp word [rcx + 2], 0x6b
jne 0x18000babe
cmp word [rcx + 4], bx
jne 0x18000babe
call fcn.180008b64
jmp 0x18000bbc7
lea rdx, [rsp + 0x30]
mov r8d, 0x100
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, [rbp + 0x130]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x801a
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rax, [rsp + 0x30]
mov rcx, rbx
cmp word [rax], 0x5c
jne 0x18000bb03
mov rcx, rax
jmp 0x18000bb08
cmp word [rax], bx
je 0x18000bb0e
add rax, 2
jmp 0x18000baf8
test rcx, rcx
je 0x18000bb16
mov word [rcx], bx
lea rax, [rsp + 0x30]
mov rcx, rbx
cmp word [rax], 0x5c
jne 0x18000bb29
mov rcx, rax
jmp 0x18000bb2e
cmp word [rax], bx
je 0x18000bb34
add rax, 2
jmp 0x18000bb1e
test rcx, rcx
je 0x18000bb3c
mov word [rcx], bx
lea rdx, [rbp + 0x130]
lea rcx, [rsp + 0x30]
call fcn.18000cb24
test eax, eax
je 0x18000bbc2
lea rcx, [rbp + 0x130]
call fcn.18000b310
mov rax, qword [0x180013578]
lea r9, [rbp + 0x350]
mov ecx, dword [rax + 0x18]
mov r8d, 0x6c
add rcx, rax
lea rax, [rbp + 0x348]
mov qword [rsp + 0x20], rax
call fcn.180006240
mov r8, qword [rbp + 0x350]
mov rcx, qword [0x180013580]
mov ebx, dword [r8 + 4]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [rbx - 1]
cmp eax, 1
jbe 0x18000bbb9
lea eax, [rbx - 5]
cmp eax, 5
jbe 0x18000bbb9
call fcn.18000ac0c
jmp 0x18000bbc7
mov ecx, ebx
call fcn.18000afac
jmp 0x18000bbc7
call fcn.1800059ac
mov rbx, qword [rsp + 0x458]
add rsp, 0x430
pop rbp
ret

Function at 0x18000bbd8
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
movsxd rax, dword [rcx + 0x3c]
lea r8, [rcx + 0x18]
mov rdx, rcx
add r8, rax
mov ecx, dword [r8 + 0x38]
add rcx, rdx
mov qword [0x180013578], rcx
call fcn.180006610
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x180005ca8]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [0x180013580], rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18000bc37
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x38
ret
Function at 0x18000bc3c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rsi, dword [rdx + 0x3c]
mov r14, rdx
mov ebx, 0x40
add rsi, rdx
xor ecx, ecx
mov r8d, 0x3000
lea r12, [rsi + 0x18]
mov r9d, ebx
mov edx, dword [r12 + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x18000bdb8
mov r8d, ebx
mov rdx, r14
mov rcx, rax
call fcn.18000cbb0
movsxd rbx, dword [rdi + 0x3c]
movzx r8d, word [rsi + 0x14]
add rbx, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.18000cbb0
movzx r13d, word [rsi + 0x14]
movzx ebp, word [rsi + 6]
lea r15, [rbx + 0x18]
movzx ebx, word [rbx + 0x14]
add r13, r12
add rbx, r15
mov qword [rsp + 0x68], r15
test ebp, ebp
je 0x18000bd20
mov rsi, r13
mov r15d, ebp
sub rsi, rbx
lea rdx, [rsi + rbx]
mov r8d, 0x28
mov rcx, rbx
call fcn.18000cbb0
add rbx, 0x28
dec r15
jne 0x18000bcd8
mov r15, qword [rsp + 0x68]
test ebp, ebp
je 0x18000bd20
lea rbx, [r13 + 0x14]
mov rsi, rbp
mov edx, dword [rbx]
mov ecx, dword [rbx - 8]
mov r8d, dword [rbx - 4]
add rdx, r14
add rcx, rdi
call fcn.18000cbb0
lea rbx, [rbx + 0x28]
dec rsi
jne 0x18000bd03
mov r8, r15
mov rdx, rdi
mov rcx, rdi
call fcn.180006574
mov rcx, qword [0x180013578]
mov r8, r12
mov rdx, rdi
call fcn.180006610
lea rsi, [r15 + 0x70]
cmp dword [rsi], 0
je 0x18000bdb3
cmp dword [rsi + 4], 0
je 0x18000bdb3
mov ebx, dword [rsi]
lea r9, [0x1800110a8]
mov rdx, rsi
add rbx, rdi
mov rcx, rdi
mov r8, rbx
call fcn.1800066dc
mov rbp, qword [rsp + 0x60]
lea r9, str.aP_workmem_size
mov eax, eax
mov r8, rbx
mov rdx, rsi
add rax, rdi
mov rcx, rdi
mov qword [rbp + 8], rax
call fcn.1800066dc
lea r9, str.aP_max_packed_size
mov ecx, eax
mov r8, rbx
mov rdx, rsi
add rcx, rdi
mov qword [rbp + 0x10], rcx
mov rcx, rdi
call fcn.1800066dc
mov ecx, eax
add rcx, rdi
mov qword [rbp + 0x18], rcx
mov eax, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000ce8c
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
xor ebx, ebx
mov rsi, r8
mov r14, rdx
mov qword [rax - 0x18], rbx
mov dword [r8], ebx
mov qword [rdx], rbx
mov dword [rax - 0x20], 0x8000000
lea r8d, [rbx + 1]
xor r9d, r9d
mov edx, 0x80000000
mov dword [rax - 0x28], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x18000cee3
mov eax, 0x80004005
jmp 0x18000cf5d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsi], eax
cmp eax, 0xffffffff
jne 0x18000cf00
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18000cedc
test eax, eax
je 0x18000cef5
mov rcx, qword [0x180013580]
mov r8d, eax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, rdi
mov qword [r14], rax
test rax, rax
je 0x18000cef8
mov r8d, dword [rsi]
lea r9, [rsp + 0x58]
mov rdx, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18000cf52
mov r8, qword [r14]
mov rcx, qword [0x180013580]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, 0x80004005
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x18000d0e8
Capabilities:
Hash data with md5

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x90
and dword [rax - 0x54], 0
and dword [rax - 0x58], 0
mov rbx, r8
mov r8d, edx
mov rdx, rcx
lea rcx, [rax - 0x68]
mov dword [rax - 0x68], 0x67452301
mov dword [rax - 0x64], 0xefcdab89
mov dword [rax - 0x60], 0x98badcfe
mov dword [rax - 0x5c], 0x10325476
call fcn.18000df24
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.18000de88
mov eax, 1
movups xmm0, xmmword [rsp + 0x20]
movdqu xmmword [rbx], xmm0
add rsp, 0x90
pop rbx
ret

Function at 0x18000d214
Capabilities:
Hash data with crc32

Disassembly:
or r11d, 0xffffffff
mov r8d, r11d
jmp 0x18000d249
movsx r9d, byte [rcx]
add edx, r11d
mov r10d, 8
inc rcx
mov eax, r9d
xor eax, r8d
shr r8d, 1
test al, 1
je 0x18000d241
xor r8d, 0xedb88320
shr r9d, 1
dec r10
jne 0x18000d22d
test edx, edx
jne 0x18000d21d
mov eax, r8d
ret

Function at 0x18000d258
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, edx
mov ebx, edx
mov r10, rcx
shr r11, 2
and ebx, 3
test r11d, r11d
je 0x18000d2a0
cmp dword [rsp + 0x28], 0
mov edx, dword [r10]
lea eax, [r11 + r9]
movzx ecx, al
je 0x18000d28c
add edx, r11d
xor edx, r8d
rol edx, cl
jmp 0x18000d294
ror edx, cl
xor edx, r8d
sub edx, r11d
mov dword [r10], edx
add r10, 4
dec r11d
jne 0x18000d271
test ebx, ebx
je 0x18000d2ae
xor byte [r10], r8b
inc r10
dec ebx
jne 0x18000d2a4
mov rbx, qword [rsp + 8]
ret
Function at 0x18000f030
Capabilities:
Encode data using xor

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
mov r10d, dword [rdx + 4]
mov ebx, dword [rcx + 4]
mov edi, dword [rdx]
add r10d, dword [rcx]
mov esi, dword [rdx + 8]
add ebx, dword [rdx + 0xc]
mov r9, rcx
lea rbp, [rcx + 8]
mov r14d, 0x14
lea eax, [rbx*2 + 1]
lea r11d, [r10*2 + 1]
imul r11d, r10d
ror r11d, 5
imul eax, ebx
mov ecx, r11d
xor r11d, edi
mov edi, r10d
ror eax, 5
mov edx, eax
xor edx, esi
mov esi, ebx
ror edx, cl
mov ecx, eax
add edx, dword [rbp + 4]
ror r11d, cl
add r11d, dword [rbp]
mov r10d, edx
lea rbp, [rbp + 8]
mov ebx, r11d
dec r14
jne 0x18000f064
mov ecx, dword [r9 + 0xa8]
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
add ecx, edi
mov rdi, qword [rsp + 0x28]
mov dword [r8 + 4], edx
mov dword [r8], ecx
mov ecx, dword [r9 + 0xac]
mov dword [r8 + 0xc], r11d
add ecx, esi
mov rsi, qword [rsp + 0x20]
mov dword [r8 + 8], ecx
pop r14
ret

Function at 0x18000f0ec
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov ebx, dword [rdx]
mov edi, dword [rdx + 8]
mov r10d, dword [rdx + 4]
sub ebx, dword [rcx + 0xa8]
mov r11d, dword [rdx + 0xc]
sub edi, dword [rcx + 0xac]
mov r9, rcx
mov ebp, 0x13
lea rsi, [rcx + 0xa0]
mov eax, r11d
mov r11d, edi
mov edi, r10d
sub edi, dword [rsi + 4]
mov r10d, ebx
mov ebx, eax
sub ebx, dword [rsi]
lea edx, [r10*2 + 1]
lea eax, [r11*2 + 1]
imul edx, r10d
ror edx, 5
imul eax, r11d
mov ecx, edx
ror eax, 5
lea rsi, [rsi - 8]
rol edi, cl
mov ecx, eax
xor edi, eax
rol ebx, cl
xor ebx, edx
dec rbp
jns 0x18000f127
sub r10d, dword [r9]
sub r11d, dword [r9 + 4]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r8], ebx
mov rbx, qword [rsp + 8]
mov dword [r8 + 8], edi
mov rdi, qword [rsp + 0x20]
mov dword [r8 + 4], r10d
mov dword [r8 + 0xc], r11d
ret