joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800066e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov dword [rsp + 4], 0
mov dword [rsp + 8], 0
mov dword [rsp + 0xc], 0
jmp 0x180006711
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0xc], eax
jae 0x180006817
mov eax, dword [rsp + 4]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 4], eax
movsxd rax, dword [rsp + 4]
lea rcx, [0x1803a1b50]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 8]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 8], eax
movsxd rax, dword [rsp + 4]
lea rcx, [0x1803a1b50]
movzx eax, byte [rcx + rax]
mov byte [rsp], al
movsxd rax, dword [rsp + 8]
lea rcx, [0x1803a1b50]
movsxd rdx, dword [rsp + 4]
lea r8, [0x1803a1b50]
movzx eax, byte [rcx + rax]
mov byte [r8 + rdx], al
movsxd rax, dword [rsp + 8]
lea rcx, [0x1803a1b50]
movzx edx, byte [rsp]
mov byte [rcx + rax], dl
movsxd rax, dword [rsp + 4]
lea rcx, [0x1803a1b50]
movzx eax, byte [rcx + rax]
movsxd rcx, dword [rsp + 8]
lea rdx, [0x1803a1b50]
movzx ecx, byte [rdx + rcx]
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0xc]
movsxd rcx, dword [rsp + 0x10]
lea rdx, [0x1803a1b50]
movzx ecx, byte [rdx + rcx]
mov rdx, qword [rsp + 0x30]
movzx eax, byte [rdx + rax]
xor eax, ecx
mov ecx, dword [rsp + 0xc]
mov rdx, qword [rsp + 0x30]
mov byte [rdx + rcx], al
jmp 0x180006812
jmp 0x180006707
mov al, 1
add rsp, 0x28
ret

Function at 0x180007bb0
Capabilities:
Delete service

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180007c1a
mov r8d, 0xf01ff
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180007c0f
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add rsp, 0x38
ret
Function at 0x1800090e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x308
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x1803a0f20]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x30], 0xffffffffffffffff
mov dword [rsp + 0xb0], 0x238
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x48], eax
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x1800092f6
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x1800092eb
mov dword [rsp + 0x28], 1
lea rdx, [rsp + 0xdc]
lea rcx, [rsp + 0x40]
call fcn.180001920
nop
mov byte [rsp + 0x20], 0
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x310]
call fcn.18000b1b0
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
jmp 0x1800091bd
lea rcx, [rsp + 0x38]
call fcn.180007890
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x310]
call fcn.18000b520
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.180007810
movzx eax, al
test eax, eax
je 0x18000926c
lea rcx, [rsp + 0x38]
call fcn.180007850
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
call fcn.1800090a0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.180003110
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180007ae0
test eax, eax
jne 0x18000923c
mov dword [rsp + 0x24], 1
jmp 0x180009244
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x68]
call fcn.180001cb0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x180009267
mov byte [rsp + 0x20], 1
jmp 0x18000926c
jmp 0x1800091b3
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1800092c6
lea rcx, [rsp + 0x40]
call fcn.180003110
lea r8, [0x180108de0]
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.1800073c0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x310]
call fcn.18000b880
nop
lea rcx, [rsp + 0xa0]
call fcn.180007560
nop
lea rcx, [rsp + 0x40]
call fcn.180001cb0
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x180009174
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1800edae0
add rsp, 0x308
ret
Function at 0x180009700
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov rax, qword [0x1803a0f20]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov dword [rsp + 0x2c], 0
mov qword [rsp + 0x20], 0xffffffffffffffff
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0x238
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x1800097e4
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x1800097d9
lea rdx, [rsp + 0x6c]
mov rcx, qword [rsp + 0x2a0]
call fcn.1800f8484
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x1800097c5
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x401
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x30], rax
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x2c], 1
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x180009771
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1800edae0
add rsp, 0x298
ret

Function at 0x180009800
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov rax, qword [0x1803a0f20]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0xffffffffffffffff
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x50], 0x238
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1800098e4
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x1800098d9
lea rdx, [rsp + 0x7c]
mov rcx, qword [rsp + 0x2b0]
call fcn.1800f8484
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1800098c5
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x401
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x20], 1
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x180009871
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1800edae0
add rsp, 0x2a8
ret
Function at 0x180009960
Capabilities:
Stop service

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x1803a0f20]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x80]
call fcn.180009ad0
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180009a04
mov r8d, 0x20
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800099f9
lea r8, [rsp + 0x38]
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1800099ee
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
sub qword [rsp + 0x20], 2
add qword [rsp + 0x20], 2
mov rax, qword [rsp + 0x20]
cmp word [rax], 0
jne 0x180009a17
mov rax, qword [rsp + 0x20]
lea rcx, str..exe
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x80]
call fcn.180009700
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800edae0
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x18000c850
Capabilities:
Get system firmware table

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov byte [rsp + 0x20], 0x42
mov byte [rsp + 0x21], 0x4d
mov byte [rsp + 0x22], 0x53
mov byte [rsp + 0x23], 0x52
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x3c], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov ecx, eax
call fcn.1800f7530
mov qword [rsp + 0x50], rax
mov r9d, dword [rsp + 0x38]
mov r8, qword [rsp + 0x50]
xor edx, edx
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
add rax, 8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov byte [rsp + 0x40], al
cmp byte [rsp + 0x40], 0
je 0x18000c91a
cmp byte [rsp + 0x40], 2
je 0x18000c985
jmp 0x18000c9c6
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x30]
call fcn.180010220
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x60]
movzx edx, byte [rax + 4]
mov rcx, qword [rsp + 0x68]
call fcn.18000f220
mov r8, rax
mov edx, 0x20
mov rcx, qword [rsp + 0xa0]
call fcn.1800f85fc
mov rax, qword [rsp + 0x60]
movzx edx, byte [rax + 5]
mov rcx, qword [rsp + 0x68]
call fcn.18000f220
mov r8, rax
mov edx, 0x20
mov rcx, qword [rsp + 0xa8]
call fcn.1800f85fc
jmp 0x18000c9c6
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x30]
call fcn.180010220
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
movzx edx, byte [rax + 7]
mov rcx, qword [rsp + 0x78]
call fcn.18000f220
mov r8, rax
mov edx, 0x20
mov rcx, qword [rsp + 0xb0]
call fcn.1800f85fc
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 1]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 1]
or eax, ecx
test eax, eax
je 0x18000ca05
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x18000c9df
mov rax, qword [rsp + 0x28]
add rax, 2
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x28], rax
jb 0x18000ca24
jmp 0x18000ca33
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
jmp 0x18000c8f1
mov rcx, qword [rsp + 0x50]
call fcn.1800f7528
add rsp, 0x98
ret
Function at 0x18000ee40
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x6a0
mov rax, qword [0x1803a0f20]
xor rax, rsp
mov qword [rsp + 0x690], rax
lea rdx, [0x180108844]
lea rcx, [rsp + 0x58]
call fcn.180001920
xor eax, eax
mov word [rsp + 0x480], ax
lea rax, [rsp + 0x482]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x270], ax
lea rax, [rsp + 0x272]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x40], 0
mov rax, qword [0x180108888]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
mov eax, 2
imul rax, rax, 3
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0x208
jae 0x18000eef4
jmp 0x18000eef9
call fcn.1800edc38
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov word [rsp + rcx + 0x60], ax
mov dword [rsp + 0x38], 0x105
lea rax, [rsp + 0x270]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x6b0]
mov r8d, 0x105
lea rdx, [rsp + 0x480]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x58]
call fcn.180001cb0
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.1800edae0
add rsp, 0x6a0
pop rdi
ret
Function at 0x18000fc50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x230
mov rax, qword [0x1803a0f20]
xor rax, rsp
mov qword [rsp + 0x220], rax
call fcn.1800d26b0
test eax, eax
jge 0x18000fc7f
xor eax, eax
jmp 0x18000ff27
mov byte [rsp + 0x88], 0x90
mov byte [rsp + 0x89], 0x86
mov byte [rsp + 0x8a], 0xd5
mov byte [rsp + 0x8b], 0x44
mov byte [rsp + 0x8c], 0x57
mov byte [rsp + 0x8d], 0x92
mov byte [rsp + 0x8e], 0x70
mov byte [rsp + 0x8f], 0x5a
mov byte [rsp + 0x90], 0x17
mov byte [rsp + 0x91], 0x5d
mov byte [rsp + 0x92], 0x45
mov byte [rsp + 0x93], 0x3c
mov byte [rsp + 0x94], 0xcc
mov byte [rsp + 0x95], 0x9f
mov byte [rsp + 0x96], 0xaf
mov byte [rsp + 0x97], 0xab
mov byte [rsp + 0x98], 0xff
mov byte [rsp + 0x99], 0x73
mov byte [rsp + 0x9a], 0xf4
mov byte [rsp + 0x9b], 0xc9
mov byte [rsp + 0x9c], 0xaa
mov byte [rsp + 0x9d], 0x5e
mov byte [rsp + 0x9e], 3
mov byte [rsp + 0x9f], 2
mov byte [rsp + 0xa0], 0x16
mov byte [rsp + 0xa1], 0xea
mov byte [rsp + 0xa2], 0xf6
mov byte [rsp + 0xa3], 0x7b
mov byte [rsp + 0xa4], 0x22
mov byte [rsp + 0xa5], 0x6a
mov byte [rsp + 0xa6], 0xfe
mov byte [rsp + 0xa7], 0x99
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x81
mov r8, qword [rsp + 0x240]
mov edx, 0x40
lea rcx, [rsp + 0x1e0]
call fcn.1800d3540
mov byte [rsp + 0xb0], 0
lea rax, [rsp + 0xb1]
mov rdi, rax
xor eax, eax
mov ecx, 0x41
rep stosb byte [rdi], al
mov byte [rsp + 0x100], 0
lea rax, [rsp + 0x101]
mov rdi, rax
xor eax, eax
mov ecx, 0x41
rep stosb byte [rdi], al
mov byte [rsp + 0x150], 0
lea rax, [rsp + 0x151]
mov rdi, rax
xor eax, eax
mov ecx, 0x81
rep stosb byte [rdi], al
lea rcx, [rsp + 0xb0]
call sym.SegurazoEngine.dll_GetHardwareId
lea rcx, [rsp + 0x100]
call sym.SegurazoEngine.dll_GetSoftwareId
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax]
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0x50]
movzx ecx, byte [rsp + 0x40]
mov byte [rax], cl
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
cmp byte [rsp + 0x40], 0
jne 0x18000fe51
lea rax, [rsp + 0x150]
mov qword [rsp + 0x48], rax
dec qword [rsp + 0x48]
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x48]
cmp byte [rax], 0
jne 0x18000fe9c
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x100]
xor edx, edx
movzx edi, byte [rcx + rdx]
mov byte [rax + rdx], dil
inc rdx
test dil, dil
jne 0x18000feba
lea rax, [rsp + 0x150]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
cmp byte [rax + rcx], 0
jne 0x18000fee0
mov rax, qword [rsp + 0x58]
lea r9, [rsp + 0x88]
mov r8, rax
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x1e0]
call fcn.1800d29b0
test eax, eax
je 0x18000ff22
xor eax, eax
jmp 0x18000ff27
mov eax, 1
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1800edae0
add rsp, 0x230
pop rdi
ret
Function at 0x180012f40
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov qword [rax], 0
mov rax, qword [rsp + 8]
mov qword [rax + 8], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x6a09e667
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0xbb67ae85
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x3c6ef372
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0xa54ff53a
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x510e527f
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x9b05688c
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x1f83d9ab
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x5be0cd19
ret
Function at 0x180031530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x88]
mov eax, dword [rax + 0x24]
sub eax, ecx
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jg 0x180031608
mov dword [rsp + 0x30], 0
jmp 0x180031581
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x30], eax
jge 0x1800315a2
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x1800315a2
jmp 0x180031577
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x30], eax
jge 0x180031603
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x70]
call fcn.180084270
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1800315d1
mov eax, dword [rsp + 0x38]
jmp 0x1800316f5
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x90]
sub ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0x48], rax
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x78]
add rdx, rcx
mov rcx, rdx
mov rdi, rcx
xor eax, eax
mov rcx, qword [rsp + 0x48]
rep stosb byte [rdi], al
jmp 0x1800316f3
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x34], eax
jge 0x18003167b
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x90]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x88]
add edx, ecx
mov ecx, edx
movsxd rdx, dword [rsp + 0x34]
mov rdi, qword [rsp + 0x78]
add rdi, rdx
mov rdx, rdi
mov dword [rsp + 0x20], eax
mov r9d, ecx
mov r8, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
call fcn.180031530
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x180031670
mov eax, dword [rsp + 0x3c]
jmp 0x1800316f5
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x90], eax
movsxd rax, dword [rsp + 0x90]
movsxd rcx, dword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
add rcx, qword [rdx + 0x10]
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0x78]
call fcn.1800ef710
test eax, eax
je 0x1800316f3
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x70]
call fcn.180084270
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1800316ca
mov eax, dword [rsp + 0x40]
jmp 0x1800316f5
movsxd rax, dword [rsp + 0x90]
movsxd rcx, dword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
add rcx, qword [rdx + 0x10]
mov rdi, qword [rsp + 0x78]
mov rsi, rcx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
xor eax, eax
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x1800572f0
Capabilities:
Reference sql statements

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [0x180399a38]
mov r8, qword [rsp + 0x48]
lea rdx, str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqlite____AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
mov rcx, qword [rsp + 0x40]
call fcn.1800804a0
cmp dword [rsp + 0x50], 0
jne 0x180057356
mov r9, qword [rsp + 0x48]
lea r8, [0x180399b28]
lea rdx, str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqlite____AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
mov rcx, qword [rsp + 0x40]
call fcn.1800804a0
add rsp, 0x38
ret
Function at 0x1800927e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
mov qword [rax], 0
mov ecx, 0x28
call fcn.18007fa00
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x180092821
mov eax, 7
jmp 0x1800928eb
cmp dword [0x18039daa4], 0
je 0x180092838
mov ecx, 0xc8
call fcn.180074140
test eax, eax
je 0x180092848
mov rdi, qword [rsp + 0x30]
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
jmp 0x1800928b0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x30]
lea r8, [0x1800929a0]
xor edx, edx
xor ecx, ecx
call fcn.1800f8c50
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
jne 0x1800928b0
mov rdi, qword [rsp + 0x30]
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x10], 0
jne 0x1800928dc
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 8], eax
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x1800d2a80
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
lea r9, [rsp + 0x40]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor ecx, ecx
test eax, eax
sete cl
neg ecx
mov eax, ecx
add rsp, 0x28
ret

Function at 0x1800d2ab0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
lea r9, [rsp + 0x40]
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor ecx, ecx
test eax, eax
sete cl
neg ecx
mov eax, ecx
add rsp, 0x28
ret

Function at 0x1800d2ae0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
lea r9, [rsp + 0x40]
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor ecx, ecx
test eax, eax
sete cl
neg ecx
mov eax, ecx
add rsp, 0x28
ret

Function at 0x1800d2b30
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
mov qword [0x1803a22f8], rax
cmp rax, 0xf
ja 0x1800d2b55
call fcn.1800d2730
mov edx, 0x10
lea rcx, [0x1803a2300]
call fcn.1800d29c0
xor eax, eax
add rsp, 0x58
ret

Function at 0x1800d2df0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rcx
xor r9d, r9d
mov qword [rsp + 0x10], rdx
mov r10, r8
mov byte [rsp + 8], 0
test r8, r8
je 0x1800d2e3b
nop word [rax + rax]
mov rax, qword [rsp + 0x10]
movzx ecx, byte [rax + r9]
mov rax, qword [rsp + 0x18]
movzx r8d, byte [rax + r9]
inc r9
movzx eax, byte [rsp + 8]
xor r8d, ecx
or eax, r8d
mov byte [rsp + 8], al
cmp r9, r10
jb 0x1800d2e10
movzx eax, byte [rsp + 8]
dec eax
sar eax, 8
and eax, 1
dec eax
ret