joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140146210
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1a8
mov rax, qword [0x1401ad1c0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x180], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionNetworkCards
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1401463e9
mov dword [rsp + 0x60], Ordinal_266
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x188], eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x70]
mov edx, dword [rsp + 0x188]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ecx, dword [rsp + 0x48]
add ecx, 1
mov dword [rsp + 0x48], ecx
test eax, eax
jne 0x1401463dc
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1401463c4
mov dword [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, [0x1401be810]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x60]
add eax, 1
mov eax, eax
mov rcx, rax
call sub.MSVCR110.dll_malloc
mov qword [rsp + 0x180], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.ServiceName
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x44], eax
cmp qword [rsp + 0x180], 0
je 0x1401463b7
mov rdx, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x1b0]
call sub.MSVCR110.dll_strcpy
mov rcx, qword [rsp + 0x180]
call fcn.14007bfb0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x60], Ordinal_266
jmp 0x140146280
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1401463f0
mov eax, 0xffffff01
jmp 0x1401463f2
xor eax, eax
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14006b6a0
add rsp, 0x1a8
ret
Function at 0x1401468b0
Capabilities:
Check mutex on windows

Disassembly:
push rdi
sub rsp, 0x160
mov rax, qword [0x1401ad1c0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov qword [rsp + 0x148], 0
mov dword [rsp + 0x140], 0
cmp dword [0x1401d08b0], 0
jne 0x140146a10
call sub.MSVCR110.dll__getpid
mov r9d, eax
lea r8, str.IPHelperMutex
lea rdx, str._s__d
lea rcx, [rsp + 0x30]
call sub.MSVCR110.dll_sprintf
lea r8, [rsp + 0x30]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rsp + 0x148], rax
cmp qword [rsp + 0x148], 0
jne 0x140146956
xor eax, eax
jmp 0x140146a17
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140146976
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x1401d08b0], 0
jne 0x1401469f4
lea rcx, str.iphlpapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1401d08b8], rax
cmp qword [0x1401d08b8], 0
jne 0x1401469aa
mov dword [rsp + 0x140], 0xfffffffe
jmp 0x1401469ea
lea rdx, str.GetNetworkParams
mov rcx, qword [0x1401d08b8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401d08a0], rax
cmp qword [0x1401d08a0], 0
je 0x1401469ea
lea rdx, str.GetAdaptersInfo
mov rcx, qword [0x1401d08b8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401d08a8], rax
mov dword [0x1401d08b0], 1
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x140]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14006b6a0
add rsp, 0x160
pop rdi
ret
Function at 0x140151d30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1401ad1c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x28], WSAGetLastError
mov byte [rsp + 0x29], 0xb0
mov byte [rsp + 0x2a], 0x4b
mov byte [rsp + 0x2b], 0xa0
mov byte [rsp + 0x2c], 0xad
mov byte [rsp + 0x2d], 0xef
mov byte [rsp + 0x2e], reloc.WSOCK32.dll_WSAStartup
mov byte [rsp + 0x2f], 0x4e
mov byte [rsp + 0x30], 0xa3
mov byte [rsp + 0x31], gethostbyaddr
mov byte [rsp + 0x32], 0x90
mov byte [rsp + 0x33], 0xd2
mov byte [rsp + 0x34], 0xb0
mov byte [rsp + 0x35], 0x45
mov byte [rsp + 0x36], 0xa2
mov byte [rsp + 0x37], 0x75
mov byte [rsp + 0x38], 0x85
mov byte [rsp + 0x39], 0xe8
mov byte [rsp + 0x3a], 0xa3
mov byte [rsp + 0x3b], 0xfb
mov byte [rsp + 0x3c], 0x7b
mov byte [rsp + 0x3d], 0xd4
mov byte [rsp + 0x3e], 0x81
mov byte [rsp + 0x3f], reloc.WSOCK32.dll_getservbyport
mov byte [rsp + 0x40], 0xd6
mov byte [rsp + 0x41], 0xf5
mov byte [rsp + 0x42], 0xdc
mov byte [rsp + 0x43], 0xa4
mov byte [rsp + 0x44], 0xba
mov byte [rsp + 0x45], 0x4c
mov byte [rsp + 0x46], 0xf8
mov byte [rsp + 0x47], 0xb9
mov byte [rsp + 0x48], 0xe9
mov byte [rsp + 0x49], 0x83
mov byte [rsp + 0x4a], 0x8a
mov byte [rsp + 0x4b], 0x7f
mov byte [rsp + 0x4c], 0xa6
mov byte [rsp + 0x4d], 0x18
mov byte [rsp + 0x4e], 0xac
mov byte [rsp + 0x4f], reloc.WSOCK32.dll_socket
mov byte [rsp + 0x50], 0xb9
mov byte [rsp + 0x51], 0x88
mov byte [rsp + 0x52], reloc.COMCTL32.dll_InitCommonControls
mov byte [rsp + 0x53], 0xaa
mov byte [rsp + 0x54], 0x7a
mov byte [rsp + 0x55], 0x47
mov byte [rsp + 0x56], 0xf3
mov byte [rsp + 0x57], 0x76
mov byte [rsp + 0x58], reloc.WSOCK32.dll_getservbyname
mov byte [rsp + 0x59], reloc.WSOCK32.dll_WSACleanup
mov byte [rsp + 0x5a], 2
mov byte [rsp + 0x5b], 0xa
mov byte [rsp + 0x5c], 0x1d
mov byte [rsp + 0x5d], 0x3a
mov byte [rsp + 0x5e], 0x9c
mov byte [rsp + 0x5f], 0x69
mov dword [rsp + 0x64], reloc.WSOCK32.dll_getservbyport
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x90]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x64]
ja 0x140151eb8
mov eax, dword [rsp + 0x88]
movsxd rcx, dword [rsp + 0x90]
lea rcx, [rsp + rcx + 0x28]
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0x80]
call sub.MSVCR110.dll_memcpy
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14006b6a0
add rsp, 0x78
ret
Function at 0x140156f60
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r8d, 0x60
xor edx, edx
mov rcx, qword [rsp + 0x30]
call sub.MSVCR110.dll_memset
mov rax, qword [rsp + 0x30]
mov dword [rax], 0x67452301
mov rax, qword [rsp + 0x30]
mov dword [rax + 4], 0xefcdab89
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 0x98badcfe
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xc], 0x10325476
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x10], 0xc3d2e1f0
xor eax, eax
add rsp, 0x28
ret
Function at 0x10007840
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
push rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov r12, 8
mov qword [rbp - 0x60], 9
mov qword [rbp - 0x70], 0xa
mov r11, r12
sub r11, 8
sub ebx, 8
mov dword [rbp - 0x38], r11d
movabs r11, 0x35e1
mov qword [rbp - 0xb0], r11
mov r13, qword [rbp - 0xb0]
mov esi, 0x7f5
movabs r11, 0xbff
add r13, r11
mov dword [rbp - 0x38], 0xd8a1e44b
lea rsi, [rsi + 0x74c1]
movabs r11, 0
mov qword [rbp - 0x68], r11
add r13, qword [rbp - 0x68]
lea rsi, [rsi + 0x41b4a]
mov rbx, r12
sub rbx, 8
mov dword [rbp - 0x44], 0x1cc7
movabs r11, 0x100152fd
add r13, r11
mov r11d, dword [rbp - 0x38]
sub r11d, 1
mov dword [rbp - 0x38], r11d
mov r11d, dword [rbp - 0x44]
sub r13, r11
mov rax, 0x1b
mov r10, qword [rbp - 0x60]
cqo
idiv r10
mov r11d, dword [rbp - 0x44]
mov r15, rax
add r15, r11
jmp 0x10007967
mov r11d, r15d
mov r11b, byte [r13 + r11]
mov byte [rbp - 0x31], r11b
movzx r11d, byte [rbp - 0x31]
mov eax, ebx
mov ecx, 6
mov eax, eax
mov edx, 0xaaaaaaab
mul edx
shr edx, 2
mov eax, edx
mov dword [rbp - 0xe0], eax
mov r10d, dword [rbp - 0x38]
movsxd r9, dword [rbp - 0xe0]
add r9d, r10d
movzx r10d, r9b
xor r11d, r10d
mov byte [rbp - 0x31], r11b
mov r11d, r15d
mov r10b, byte [rbp - 0x31]
mov byte [r13 + r11], r10b
lea r15, [r15 + 1]
mov r11d, dword [rbp - 0x44]
mov r10d, esi
add r10d, r11d
cmp r15d, r10d
jb 0x10007912
mov qword [rbp - 0x50], 0x100198dd
lea rbx, [rbx + 1]
mov qword [rbp - 0x40], 0x10096000
or dword [rax], edx
mov r11, qword [rbp - 0x40]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x40], r11
mov r11, qword [rbp - 0x50]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x50], r11
mov r11d, ebx
mov r10, qword [rbp - 0x60]
sub r10, 3
cmp r11, r10
ja 0x100079b7
jmp 0x100078f6
mov qword [rbp - 0x88], 0x100560dd
mov qword [rbp - 0x90], 0x101da000
mov r11, r12
add r11, qword [rbp - 0x70]
mov r14, r11
sub r14, 0x12
cmp r14d, 0x3af30
jb 0x100079e6
jmp 0x100079ff
mov r11d, r14d
mov r10, qword [rbp - 0x40]
mov r9, qword [rbp - 0x50]
mov r9b, byte [r9 + r11]
mov byte [r10 + r11], r9b
lea r14, [r14 + 1]
jmp 0x100079db
mov r11, qword [rbp - 0x88]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x88], r11
mov r11, qword [rbp - 0x90]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x90], r11
mov r11, qword [rbp - 0x60]
add r11, r12
sub r11, 0x11
mov dword [rbp - 0x74], r11d
Function at 0x100078a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
push rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov r12, 8
mov qword [rbp - 0x60], 9
mov qword [rbp - 0x70], 0xa
mov r11, r12
sub r11, 8
sub ebx, 8
mov dword [rbp - 0x38], r11d
movabs r11, 0x35e1
mov qword [rbp - 0xb0], r11
mov r13, qword [rbp - 0xb0]
mov esi, 0x7f5
movabs r11, 0xbff
add r13, r11
mov dword [rbp - 0x38], 0xd8a1e44b
lea rsi, [rsi + 0x74c1]
movabs r11, 0
mov qword [rbp - 0x68], r11
add r13, qword [rbp - 0x68]
lea rsi, [rsi + 0x41b4a]
mov rbx, r12
sub rbx, 8
mov dword [rbp - 0x44], 0x1cc7
movabs r11, 0x100152fd
add r13, r11
mov r11d, dword [rbp - 0x38]
sub r11d, 1
mov dword [rbp - 0x38], r11d
mov r11d, dword [rbp - 0x44]
sub r13, r11
mov rax, 0x1b
mov r10, qword [rbp - 0x60]
cqo
idiv r10
mov r11d, dword [rbp - 0x44]
mov r15, rax
add r15, r11
jmp 0x10007967
mov r11d, r15d
mov r11b, byte [r13 + r11]
mov byte [rbp - 0x31], r11b
movzx r11d, byte [rbp - 0x31]
mov eax, ebx
mov ecx, 6
mov eax, eax
mov edx, 0xaaaaaaab
mul edx
shr edx, 2
mov eax, edx
mov dword [rbp - 0xe0], eax
mov r10d, dword [rbp - 0x38]
movsxd r9, dword [rbp - 0xe0]
add r9d, r10d
movzx r10d, r9b
xor r11d, r10d
mov byte [rbp - 0x31], r11b
mov r11d, r15d
mov r10b, byte [rbp - 0x31]
mov byte [r13 + r11], r10b
lea r15, [r15 + 1]
mov r11d, dword [rbp - 0x44]
mov r10d, esi
add r10d, r11d
cmp r15d, r10d
jb 0x10007912
mov qword [rbp - 0x50], 0x100198dd
lea rbx, [rbx + 1]
mov qword [rbp - 0x40], 0x10096000
or dword [rax], edx
mov r11, qword [rbp - 0x40]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x40], r11
mov r11, qword [rbp - 0x50]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x50], r11
mov r11d, ebx
mov r10, qword [rbp - 0x60]
sub r10, 3
cmp r11, r10
ja 0x100079b7
jmp 0x100078f6
mov qword [rbp - 0x88], 0x100560dd
mov qword [rbp - 0x90], 0x101da000
mov r11, r12
add r11, qword [rbp - 0x70]
mov r14, r11
sub r14, 0x12
cmp r14d, 0x3af30
jb 0x100079e6
jmp 0x100079ff
mov r11d, r14d
mov r10, qword [rbp - 0x40]
mov r9, qword [rbp - 0x50]
mov r9b, byte [r9 + r11]
mov byte [r10 + r11], r9b
lea r14, [r14 + 1]
jmp 0x100079db
mov r11, qword [rbp - 0x88]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x88], r11
mov r11, qword [rbp - 0x90]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x90], r11
mov r11, qword [rbp - 0x60]
add r11, r12
sub r11, 0x11
mov dword [rbp - 0x74], r11d
Function at 0x10007920
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
push rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov r12, 8
mov qword [rbp - 0x60], 9
mov qword [rbp - 0x70], 0xa
mov r11, r12
sub r11, 8
sub ebx, 8
mov dword [rbp - 0x38], r11d
movabs r11, 0x35e1
mov qword [rbp - 0xb0], r11
mov r13, qword [rbp - 0xb0]
mov esi, 0x7f5
movabs r11, 0xbff
add r13, r11
mov dword [rbp - 0x38], 0xd8a1e44b
lea rsi, [rsi + 0x74c1]
movabs r11, 0
mov qword [rbp - 0x68], r11
add r13, qword [rbp - 0x68]
lea rsi, [rsi + 0x41b4a]
mov rbx, r12
sub rbx, 8
mov dword [rbp - 0x44], 0x1cc7
movabs r11, 0x100152fd
add r13, r11
mov r11d, dword [rbp - 0x38]
sub r11d, 1
mov dword [rbp - 0x38], r11d
mov r11d, dword [rbp - 0x44]
sub r13, r11
mov rax, 0x1b
mov r10, qword [rbp - 0x60]
cqo
idiv r10
mov r11d, dword [rbp - 0x44]
mov r15, rax
add r15, r11
jmp 0x10007967
mov r11d, r15d
mov r11b, byte [r13 + r11]
mov byte [rbp - 0x31], r11b
movzx r11d, byte [rbp - 0x31]
mov eax, ebx
mov ecx, 6
mov eax, eax
mov edx, 0xaaaaaaab
mul edx
shr edx, 2
mov eax, edx
mov dword [rbp - 0xe0], eax
mov r10d, dword [rbp - 0x38]
movsxd r9, dword [rbp - 0xe0]
add r9d, r10d
movzx r10d, r9b
xor r11d, r10d
mov byte [rbp - 0x31], r11b
mov r11d, r15d
mov r10b, byte [rbp - 0x31]
mov byte [r13 + r11], r10b
lea r15, [r15 + 1]
mov r11d, dword [rbp - 0x44]
mov r10d, esi
add r10d, r11d
cmp r15d, r10d
jb 0x10007912
mov qword [rbp - 0x50], 0x100198dd
lea rbx, [rbx + 1]
mov qword [rbp - 0x40], 0x10096000
or dword [rax], edx
mov r11, qword [rbp - 0x40]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x40], r11
mov r11, qword [rbp - 0x50]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x50], r11
mov r11d, ebx
mov r10, qword [rbp - 0x60]
sub r10, 3
cmp r11, r10
ja 0x100079b7
jmp 0x100078f6
mov qword [rbp - 0x88], 0x100560dd
mov qword [rbp - 0x90], 0x101da000
mov r11, r12
add r11, qword [rbp - 0x70]
mov r14, r11
sub r14, 0x12
cmp r14d, 0x3af30
jb 0x100079e6
jmp 0x100079ff
mov r11d, r14d
mov r10, qword [rbp - 0x40]
mov r9, qword [rbp - 0x50]
mov r9b, byte [r9 + r11]
mov byte [r10 + r11], r9b
lea r14, [r14 + 1]
jmp 0x100079db
mov r11, qword [rbp - 0x88]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x88], r11
mov r11, qword [rbp - 0x90]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x90], r11
mov r11, qword [rbp - 0x60]
add r11, r12
sub r11, 0x11
mov dword [rbp - 0x74], r11d
Function at 0x10007970
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
push rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov r12, 8
mov qword [rbp - 0x60], 9
mov qword [rbp - 0x70], 0xa
mov r11, r12
sub r11, 8
sub ebx, 8
mov dword [rbp - 0x38], r11d
movabs r11, 0x35e1
mov qword [rbp - 0xb0], r11
mov r13, qword [rbp - 0xb0]
mov esi, 0x7f5
movabs r11, 0xbff
add r13, r11
mov dword [rbp - 0x38], 0xd8a1e44b
lea rsi, [rsi + 0x74c1]
movabs r11, 0
mov qword [rbp - 0x68], r11
add r13, qword [rbp - 0x68]
lea rsi, [rsi + 0x41b4a]
mov rbx, r12
sub rbx, 8
mov dword [rbp - 0x44], 0x1cc7
movabs r11, 0x100152fd
add r13, r11
mov r11d, dword [rbp - 0x38]
sub r11d, 1
mov dword [rbp - 0x38], r11d
mov r11d, dword [rbp - 0x44]
sub r13, r11
mov rax, 0x1b
mov r10, qword [rbp - 0x60]
cqo
idiv r10
mov r11d, dword [rbp - 0x44]
mov r15, rax
add r15, r11
jmp 0x10007967
mov r11d, r15d
mov r11b, byte [r13 + r11]
mov byte [rbp - 0x31], r11b
movzx r11d, byte [rbp - 0x31]
mov eax, ebx
mov ecx, 6
mov eax, eax
mov edx, 0xaaaaaaab
mul edx
shr edx, 2
mov eax, edx
mov dword [rbp - 0xe0], eax
mov r10d, dword [rbp - 0x38]
movsxd r9, dword [rbp - 0xe0]
add r9d, r10d
movzx r10d, r9b
xor r11d, r10d
mov byte [rbp - 0x31], r11b
mov r11d, r15d
mov r10b, byte [rbp - 0x31]
mov byte [r13 + r11], r10b
lea r15, [r15 + 1]
mov r11d, dword [rbp - 0x44]
mov r10d, esi
add r10d, r11d
cmp r15d, r10d
jb 0x10007912
mov qword [rbp - 0x50], 0x100198dd
lea rbx, [rbx + 1]
mov qword [rbp - 0x40], 0x10096000
or dword [rax], edx
mov r11, qword [rbp - 0x40]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x40], r11
mov r11, qword [rbp - 0x50]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x50], r11
mov r11d, ebx
mov r10, qword [rbp - 0x60]
sub r10, 3
cmp r11, r10
ja 0x100079b7
jmp 0x100078f6
mov qword [rbp - 0x88], 0x100560dd
mov qword [rbp - 0x90], 0x101da000
mov r11, r12
add r11, qword [rbp - 0x70]
mov r14, r11
sub r14, 0x12
cmp r14d, 0x3af30
jb 0x100079e6
jmp 0x100079ff
mov r11d, r14d
mov r10, qword [rbp - 0x40]
mov r9, qword [rbp - 0x50]
mov r9b, byte [r9 + r11]
mov byte [r10 + r11], r9b
lea r14, [r14 + 1]
jmp 0x100079db
mov r11, qword [rbp - 0x88]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x88], r11
mov r11, qword [rbp - 0x90]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x90], r11
mov r11, qword [rbp - 0x60]
add r11, r12
sub r11, 0x11
mov dword [rbp - 0x74], r11d
Function at 0x10007988
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
push rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov r12, 8
mov qword [rbp - 0x60], 9
mov qword [rbp - 0x70], 0xa
mov r11, r12
sub r11, 8
sub ebx, 8
mov dword [rbp - 0x38], r11d
movabs r11, 0x35e1
mov qword [rbp - 0xb0], r11
mov r13, qword [rbp - 0xb0]
mov esi, 0x7f5
movabs r11, 0xbff
add r13, r11
mov dword [rbp - 0x38], 0xd8a1e44b
lea rsi, [rsi + 0x74c1]
movabs r11, 0
mov qword [rbp - 0x68], r11
add r13, qword [rbp - 0x68]
lea rsi, [rsi + 0x41b4a]
mov rbx, r12
sub rbx, 8
mov dword [rbp - 0x44], 0x1cc7
movabs r11, 0x100152fd
add r13, r11
mov r11d, dword [rbp - 0x38]
sub r11d, 1
mov dword [rbp - 0x38], r11d
mov r11d, dword [rbp - 0x44]
sub r13, r11
mov rax, 0x1b
mov r10, qword [rbp - 0x60]
cqo
idiv r10
mov r11d, dword [rbp - 0x44]
mov r15, rax
add r15, r11
jmp 0x10007967
mov r11d, r15d
mov r11b, byte [r13 + r11]
mov byte [rbp - 0x31], r11b
movzx r11d, byte [rbp - 0x31]
mov eax, ebx
mov ecx, 6
mov eax, eax
mov edx, 0xaaaaaaab
mul edx
shr edx, 2
mov eax, edx
mov dword [rbp - 0xe0], eax
mov r10d, dword [rbp - 0x38]
movsxd r9, dword [rbp - 0xe0]
add r9d, r10d
movzx r10d, r9b
xor r11d, r10d
mov byte [rbp - 0x31], r11b
mov r11d, r15d
mov r10b, byte [rbp - 0x31]
mov byte [r13 + r11], r10b
lea r15, [r15 + 1]
mov r11d, dword [rbp - 0x44]
mov r10d, esi
add r10d, r11d
cmp r15d, r10d
jb 0x10007912
mov qword [rbp - 0x50], 0x100198dd
lea rbx, [rbx + 1]
mov qword [rbp - 0x40], 0x10096000
or dword [rax], edx
mov r11, qword [rbp - 0x40]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x40], r11
mov r11, qword [rbp - 0x50]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x50], r11
mov r11d, ebx
mov r10, qword [rbp - 0x60]
sub r10, 3
cmp r11, r10
ja 0x100079b7
jmp 0x100078f6
mov qword [rbp - 0x88], 0x100560dd
mov qword [rbp - 0x90], 0x101da000
mov r11, r12
add r11, qword [rbp - 0x70]
mov r14, r11
sub r14, 0x12
cmp r14d, 0x3af30
jb 0x100079e6
jmp 0x100079ff
mov r11d, r14d
mov r10, qword [rbp - 0x40]
mov r9, qword [rbp - 0x50]
mov r9b, byte [r9 + r11]
mov byte [r10 + r11], r9b
lea r14, [r14 + 1]
jmp 0x100079db
mov r11, qword [rbp - 0x88]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x88], r11
mov r11, qword [rbp - 0x90]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x90], r11
mov r11, qword [rbp - 0x60]
add r11, r12
sub r11, 0x11
mov dword [rbp - 0x74], r11d
Function at 0x10007990
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
push rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov r12, 8
mov qword [rbp - 0x60], 9
mov qword [rbp - 0x70], 0xa
mov r11, r12
sub r11, 8
sub ebx, 8
mov dword [rbp - 0x38], r11d
movabs r11, 0x35e1
mov qword [rbp - 0xb0], r11
mov r13, qword [rbp - 0xb0]
mov esi, 0x7f5
movabs r11, 0xbff
add r13, r11
mov dword [rbp - 0x38], 0xd8a1e44b
lea rsi, [rsi + 0x74c1]
movabs r11, 0
mov qword [rbp - 0x68], r11
add r13, qword [rbp - 0x68]
lea rsi, [rsi + 0x41b4a]
mov rbx, r12
sub rbx, 8
mov dword [rbp - 0x44], 0x1cc7
movabs r11, 0x100152fd
add r13, r11
mov r11d, dword [rbp - 0x38]
sub r11d, 1
mov dword [rbp - 0x38], r11d
mov r11d, dword [rbp - 0x44]
sub r13, r11
mov rax, 0x1b
mov r10, qword [rbp - 0x60]
cqo
idiv r10
mov r11d, dword [rbp - 0x44]
mov r15, rax
add r15, r11
jmp 0x10007967
mov r11d, r15d
mov r11b, byte [r13 + r11]
mov byte [rbp - 0x31], r11b
movzx r11d, byte [rbp - 0x31]
mov eax, ebx
mov ecx, 6
mov eax, eax
mov edx, 0xaaaaaaab
mul edx
shr edx, 2
mov eax, edx
mov dword [rbp - 0xe0], eax
mov r10d, dword [rbp - 0x38]
movsxd r9, dword [rbp - 0xe0]
add r9d, r10d
movzx r10d, r9b
xor r11d, r10d
mov byte [rbp - 0x31], r11b
mov r11d, r15d
mov r10b, byte [rbp - 0x31]
mov byte [r13 + r11], r10b
lea r15, [r15 + 1]
mov r11d, dword [rbp - 0x44]
mov r10d, esi
add r10d, r11d
cmp r15d, r10d
jb 0x10007912
mov qword [rbp - 0x50], 0x100198dd
lea rbx, [rbx + 1]
mov qword [rbp - 0x40], 0x10096000
or dword [rax], edx
mov r11, qword [rbp - 0x40]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x40], r11
mov r11, qword [rbp - 0x50]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x50], r11
mov r11d, ebx
mov r10, qword [rbp - 0x60]
sub r10, 3
cmp r11, r10
ja 0x100079b7
jmp 0x100078f6
mov qword [rbp - 0x88], 0x100560dd
mov qword [rbp - 0x90], 0x101da000
mov r11, r12
add r11, qword [rbp - 0x70]
mov r14, r11
sub r14, 0x12
cmp r14d, 0x3af30
jb 0x100079e6
jmp 0x100079ff
mov r11d, r14d
mov r10, qword [rbp - 0x40]
mov r9, qword [rbp - 0x50]
mov r9b, byte [r9 + r11]
mov byte [r10 + r11], r9b
lea r14, [r14 + 1]
jmp 0x100079db
mov r11, qword [rbp - 0x88]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x88], r11
mov r11, qword [rbp - 0x90]
add r11, qword [rbp - 0x68]
mov qword [rbp - 0x90], r11
mov r11, qword [rbp - 0x60]
add r11, r12
sub r11, 0x11
mov dword [rbp - 0x74], r11d
Function at 0x1408b0058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1408b01df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1408b0089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408b006f
add dl, dl
jne 0x1408b0096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408b00f6
xor eax, eax
add dl, dl
jne 0x1408b00a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408b01ad
add dl, dl
jne 0x1408b00b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408b00c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408b00d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408b00dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408b00ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1408b007e
mov eax, 1
add dl, dl
jne 0x1408b0106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408b0113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408b00fb
sub eax, ebx
mov ebx, 1
jne 0x1408b014c
mov ecx, 1
add dl, dl
jne 0x1408b012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408b013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408b0123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408b007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1408b0168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408b0175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408b015d
cmp eax, 0x7d00
jae 0x1408b019b
cmp eax, 0x500
jb 0x1408b0196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408b007e
cmp eax, 0x7f
ja 0x1408b019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408b007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408b01d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1408b007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20