joyce8/EMBER2024-capa huggingface dataset:
Function at 0xcd8de0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
lea rax, [rdx + 0x10]
cmp r8d, 0x100
cmovne rax, rdx
lea r8, str.expand_32_byte_kexpand_16_byte_k
lea r9, [0x00cefbe0]
cmove r9, r8
mov edx, dword [rax]
mov dword [rcx + 0x20], edx
mov edx, dword [rax + 4]
mov dword [rcx + 0x24], edx
mov edx, dword [rax + 8]
mov dword [rcx + 0x28], edx
mov eax, dword [rax + 0xc]
mov dword [rcx + 0x2c], eax
mov dword [rcx], 0x61707865
mov rax, qword [r9 + 4]
mov qword [rcx + 4], rax
mov eax, dword [r9 + 0xc]
mov dword [rcx + 0xc], eax
ret
Function at 0xcdee90
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0xcdef1b
mov qword [rcx + 0x48], 0
mov qword [rcx], 0
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx + 8], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 0x10], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x18], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x20], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x28], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x30], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x38], rax
mov eax, 1
ret
Function at 0xcdf940
Capabilities:
Encrypt data using curve25519

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, rdx
mov rdi, rcx
mov edx, 0x20
mov rcx, r8
mov r8, rsi
call fcn.00cdf6b0
and byte [rsi], 0xf8
mov al, byte [rsi + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [rsi + 0x1f], al
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov rdx, rsi
call fcn.00cdc300
mov rcx, rdi
mov rdx, rbx
call fcn.00cdc280
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
Function at 0xcdf9a0
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov qword [rsp + 0x28], rcx
xor eax, eax
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
mov byte [rsp + rax + 0x30], cl
add rax, 1
cmp rax, 0x20
jne 0xcdf9c0
and byte [rsp + 0x30], 0xf8
mov al, byte [rsp + 0x4f]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x4f], al
lea rbp, [rsp + 0x140]
mov rcx, rbp
call fcn.00cd9700
lea rbx, [rsp + 0x170]
mov rcx, rbx
call fcn.00cd9390
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.00cd93b0
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.00cdb630
mov rcx, rbx
mov rdx, rbx
call fcn.00cd9990
mov rcx, rbp
mov rdx, rsi
mov r8, rbx
call fcn.00cda130
lea rcx, [rsp + 0x80]
call fcn.00cd9390
lea rdi, [rsp + 0x110]
mov rcx, rdi
call fcn.00cd9370
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.00cd96e0
lea r14, [rsp + 0xe0]
mov rcx, r14
call fcn.00cd9390
mov r13d, 0xfe
xor r15d, r15d
nop word cs:[rax + rax]
nop
mov ebp, r15d
mov eax, r13d
shr rax, 3
movzx r15d, byte [rsp + rax + 0x30]
mov ecx, r13d
and cl, 7
shr r15d, cl
and r15d, 1
xor ebp, r15d
lea rsi, [rsp + 0x80]
mov rcx, rsi
lea r12, [rsp + 0x50]
mov rdx, r12
mov r8d, ebp
call fcn.00cd9540
mov rcx, rdi
mov rdx, r14
mov r8d, ebp
call fcn.00cd9540
lea rbp, [rsp + 0xb0]
mov rcx, rbp
mov rdx, r12
mov r8, r14
call fcn.00cdb630
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call fcn.00cdb630
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.00cd93b0
mov rcx, rdi
mov rdx, r12
mov r8, r14
call fcn.00cd93b0
mov rcx, r14
mov rdx, rbp
mov r8, rsi
call fcn.00cda130
mov rcx, rdi
mov rdx, rdi
mov r8, rbx
call fcn.00cda130
mov rcx, rbp
mov rdx, rbx
call fcn.00cd9c20
mov rcx, rbx
mov rdx, rsi
call fcn.00cd9c20
mov rcx, r12
mov rdx, r14
mov r8, rdi
call fcn.00cd93b0
mov rcx, rdi
mov rdx, r14
mov r8, rdi
call fcn.00cdb630
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.00cda130
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.00cdb630
mov rcx, rdi
mov rdx, rdi
call fcn.00cd9c20
mov rcx, r14
mov rdx, rbx
call fcn.00cdac70
mov rcx, r12
mov rdx, r12
call fcn.00cd9c20
mov rcx, rbp
mov rdx, rbp
mov r8, r14
call fcn.00cd93b0
mov rcx, r14
lea rdx, [rsp + 0x140]
mov r8, rdi
call fcn.00cda130
mov rcx, rdi
mov rdx, rbx
mov r8, rbp
call fcn.00cda130
add r13d, 0xffffffff
cmp r13d, 0xffffffff
jne 0xcdfa90
lea rsi, [rsp + 0x80]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov r8d, r15d
call fcn.00cd9540
lea rdi, [rsp + 0x110]
lea rdx, [rsp + 0xe0]
mov rcx, rdi
mov r8d, r15d
call fcn.00cd9540
mov rcx, rdi
mov rdx, rdi
call fcn.00cd9990
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.00cda130
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.00cda9a0
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x18000652c
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
sub rsp, 0x60
mov rbp, rsp
mov rax, qword gs:[0x60]
add rax, 0x18
mov qword [rbp], rax
mov rax, qword [rbp]
mov rax, qword [rax]
add rax, 0x10
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x50]
mov qword [rbp + 0x10], rax
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rbp + 0x10]
movabs rdx, 0x4e00520045004b
cmp qword [rcx + rax], rdx
jne 0x180006593
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x30]
jmp 0x180006597
jmp 0x180006555
lea rsp, [rbp + 0x60]
pop rbp
ret

Function at 0x180006608
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp], 0
jmp 0x180006634
mov rax, qword [rbp]
inc rax
mov qword [rbp], rax
mov rax, qword [rbp + 0x68]
cmp qword [rbp], rax
jae 0x18000668d
xor edx, edx
mov rax, qword [rbp]
mov ecx, 8
div rcx
mov rax, rdx
shl rax, 3
movzx ecx, al
mov rax, qword [rbp + 0x70]
shr rax, cl
and rax, 0xff
movsx eax, al
mov rcx, qword [rbp]
mov rdx, qword [rbp + 0x60]
add rdx, rcx
mov rcx, rdx
movsx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rbp]
mov rdx, qword [rbp + 0x60]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x180006629
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x40100a
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x401350
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
mov rdi, rsp
movabs rcx, 0x40
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov rax, qword [0x0048e070]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0xd0], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.00401163
nop
cmp dword [rsp + 0x118], 0
je 0x40157e
cmp dword [rsp + 0x120], 0
je 0x40157e
cmp dword [rsp + 0x128], 0
je 0x40157e
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x68], 0
mov eax, 0x44
sub eax, dword [rsp + 0x118]
mov r8, qword [0x00479c00]
movzx edx, ax
lea rcx, [rsp + 0x28]
call fcn.0040113b
mov dword [rsp + 0x64], eax
mov eax, 0x5e
sub eax, dword [rsp + 0x120]
mov r8, qword [0x00479c00]
movzx edx, ax
lea rcx, [rsp + 0x28]
call fcn.0040113b
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x64], 0
jl 0x401454
cmp dword [rsp + 0x68], 0
jge 0x401490
lea rdx, [0x00478f10]
mov rcx, qword [rsp + 0x110]
call fcn.00401163
mov eax, dword [rsp + 0xd0]
or eax, 1
mov dword [rsp + 0xd0], eax
lea rcx, [rsp + 0x28]
call fcn.004010b9
mov rax, qword [rsp + 0x110]
jmp 0x4015b5
mov eax, 0x34
sub eax, dword [rsp + 0x128]
mov word [rsp + 0x78], ax
mov eax, 0x70
sub eax, dword [rsp + 0x128]
mov word [rsp + 0x7a], ax
mov eax, 0x76
sub eax, dword [rsp + 0x128]
mov word [rsp + 0x7c], ax
mov eax, 0x6d
sub eax, dword [rsp + 0x128]
mov word [rsp + 0x7e], ax
mov word [rsp + 0x80], 0
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x68]
sub ecx, eax
mov eax, ecx
sub eax, 1
cdqe
mov ecx, dword [rsp + 0x64]
add ecx, 1
movsxd rcx, ecx
mov r9, rax
mov r8, rcx
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x28]
call fcn.0040105f
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xe8]
call fcn.004010fa
mov rdx, rax
mov rcx, qword [rsp + 0x110]
call fcn.00401055
mov eax, dword [rsp + 0xd0]
or eax, 1
mov dword [rsp + 0xd0], eax
lea rcx, [rsp + 0xa0]
call fcn.004010b9
nop
lea rcx, [rsp + 0x28]
call fcn.004010b9
mov rax, qword [rsp + 0x110]
jmp 0x4015b5
lea rdx, [0x00478f14]
mov rcx, qword [rsp + 0x110]
call fcn.00401163
mov eax, dword [rsp + 0xd0]
or eax, 1
mov dword [rsp + 0xd0], eax
lea rcx, [rsp + 0x28]
call fcn.004010b9
mov rax, qword [rsp + 0x110]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x00478fd0]
call fcn.00406010
mov rax, rdi
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.00405ff0
add rsp, 0x100
pop rdi
ret
Function at 0x401350
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x401350
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
mov rdi, rsp
movabs rcx, 0x40
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov rax, qword [0x0048e070]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0xd0], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.00401163
nop
cmp dword [rsp + 0x118], 0
je 0x40157e
cmp dword [rsp + 0x120], 0
je 0x40157e
cmp dword [rsp + 0x128], 0
je 0x40157e
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x68], 0
mov eax, 0x44
sub eax, dword [rsp + 0x118]
mov r8, qword [0x00479c00]
movzx edx, ax
lea rcx, [rsp + 0x28]
call fcn.0040113b
mov dword [rsp + 0x64], eax
mov eax, 0x5e
sub eax, dword [rsp + 0x120]
mov r8, qword [0x00479c00]
movzx edx, ax
lea rcx, [rsp + 0x28]
call fcn.0040113b
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x64], 0
jl 0x401454
cmp dword [rsp + 0x68], 0
jge 0x401490
lea rdx, [0x00478f10]
mov rcx, qword [rsp + 0x110]
call fcn.00401163
mov eax, dword [rsp + 0xd0]
or eax, 1
mov dword [rsp + 0xd0], eax
lea rcx, [rsp + 0x28]
call fcn.004010b9
mov rax, qword [rsp + 0x110]
jmp 0x4015b5
mov eax, 0x34
sub eax, dword [rsp + 0x128]
mov word [rsp + 0x78], ax
mov eax, 0x70
sub eax, dword [rsp + 0x128]
mov word [rsp + 0x7a], ax
mov eax, 0x76
sub eax, dword [rsp + 0x128]
mov word [rsp + 0x7c], ax
mov eax, 0x6d
sub eax, dword [rsp + 0x128]
mov word [rsp + 0x7e], ax
mov word [rsp + 0x80], 0
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x68]
sub ecx, eax
mov eax, ecx
sub eax, 1
cdqe
mov ecx, dword [rsp + 0x64]
add ecx, 1
movsxd rcx, ecx
mov r9, rax
mov r8, rcx
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x28]
call fcn.0040105f
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xe8]
call fcn.004010fa
mov rdx, rax
mov rcx, qword [rsp + 0x110]
call fcn.00401055
mov eax, dword [rsp + 0xd0]
or eax, 1
mov dword [rsp + 0xd0], eax
lea rcx, [rsp + 0xa0]
call fcn.004010b9
nop
lea rcx, [rsp + 0x28]
call fcn.004010b9
mov rax, qword [rsp + 0x110]
jmp 0x4015b5
lea rdx, [0x00478f14]
mov rcx, qword [rsp + 0x110]
call fcn.00401163
mov eax, dword [rsp + 0xd0]
or eax, 1
mov dword [rsp + 0xd0], eax
lea rcx, [rsp + 0x28]
call fcn.004010b9
mov rax, qword [rsp + 0x110]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x00478fd0]
call fcn.00406010
mov rax, rdi
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.00405ff0
add rsp, 0x100
pop rdi
ret
Function at 0x40cc47
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x0048e070]
jne 0x40600a
rol rcx, 0x10
test cx, 0xffff
jne 0x406006
repz ret
ror rcx, 0x10
jmp 0x40cba0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x0048fff0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x004900e8]
mov qword [rsp + 0x58], rax
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 0x40cc25
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, [0x0048fff0]
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 0x40cc47
mov rax, qword [rsp + 0x88]
mov qword [0x004900e8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x00490088], rax
mov rax, qword [0x004900e8]
mov qword [0x0048ff60], rax
mov rax, qword [rsp + 0x90]
mov qword [0x00490070], rax
mov dword [0x0048ff50], 0xc0000409
mov dword [0x0048ff54], 1
mov rax, qword [0x0048e070]
mov qword [rsp + 0x68], rax
mov rax, qword [0x0048e078]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x0048ffe8], eax
mov ecx, 1
call fcn.004146a0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x0047b278]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x0048ffe8], 0
jne 0x40ccce
mov ecx, 1
call fcn.004146a0
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 0x180001180
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
mov edx, dword [rsp + 0x10]
mov dword [rax + rcx], edx
mov rax, qword [rsp + 8]
mov dword [rax + 8], 1
jmp 0x1800011c1
mov rax, qword [rsp + 8]
mov eax, dword [rax + 8]
inc eax
mov rcx, qword [rsp + 8]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 8]
cmp dword [rax + 8], 0x270
jge 0x180001258
mov rax, qword [rsp + 8]
mov eax, dword [rax + 8]
dec eax
cdqe
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 8]
mov edx, dword [rdx + 8]
dec edx
movsxd rdx, edx
mov r8, qword [rsp + 8]
mov r8, qword [r8]
mov edx, dword [r8 + rdx*4]
shr edx, 0x1e
mov eax, dword [rcx + rax*4]
xor eax, edx
imul eax, eax, 0x6c078965
mov rcx, qword [rsp + 8]
add eax, dword [rcx + 8]
mov rcx, qword [rsp + 8]
movsxd rcx, dword [rcx + 8]
mov rdx, qword [rsp + 8]
mov rdx, qword [rdx]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 8]
movsxd rax, dword [rax + 8]
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 8]
movsxd rdx, dword [rdx + 8]
mov r8, qword [rsp + 8]
mov r8, qword [r8]
mov eax, dword [rcx + rax*4]
mov dword [r8 + rdx*4], eax
jmp 0x1800011af
mov rax, qword [rsp + 8]
mov ecx, dword [rsp + 0x10]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 8]
mov byte [rax + 0x20], 0
mov rax, qword [rsp + 8]
mov byte [rax + 0x21], 1
ret
Function at 0x18000ccf0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x18002b010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov eax, 8
imul rax, rax, 0
lea rcx, [0x18002b9f8]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x60], 0x48
mov byte [rsp + 0x61], 0xb8
mov byte [rsp + 0x62], 0xe9
mov byte [rsp + 0x63], 0xb7
mov byte [rsp + 0x64], 0xea
mov byte [rsp + 0x65], 0x53
mov byte [rsp + 0x66], 0x22
mov byte [rsp + 0x67], 0xe1
mov byte [rsp + 0x68], 0x46
mov byte [rsp + 0x69], 0x11
mov byte [rsp + 0x70], 0x48
mov byte [rsp + 0x71], 0xb8
mov byte [rsp + 0x72], 0x35
mov byte [rsp + 0x73], 0xc6
mov byte [rsp + 0x74], 0x3a
mov byte [rsp + 0x75], 0x63
mov byte [rsp + 0x76], 0xd
mov byte [rsp + 0x77], 0x6e
mov byte [rsp + 0x78], 0x98
mov byte [rsp + 0x79], 0x57
movabs rax, 0x8497a3aa05974df8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x24], 0
mov r8d, 0xa
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call fcn.18001ca20
test eax, eax
je 0x18000cdf1
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x18000cdc9
mov r8d, 0xa
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
call fcn.18001ca20
test eax, eax
je 0x18000ce19
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
jmp 0x18000cdf1
mov rax, qword [rsp + 0x28]
add rax, 0x11
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x50], 0x40
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x38]
lea r9, [rsp + 0x54]
mov r8d, dword [rsp + 0x50]
mov edx, eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rsp + 0x24], 0
mov byte [rsp + 0x20], 1
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
jmp 0x18000ce97
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
movzx eax, byte [rsp + 0x20]
inc al
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x30], rax
je 0x18000cef9
mov eax, dword [rsp + 0x24]
movzx eax, byte [rsp + rax + 0x80]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov byte [rcx], al
movzx eax, byte [rsp + 0x20]
movzx ecx, byte [rsp + 0x20]
imul eax, ecx
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov byte [rcx], al
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
and eax, 7
mov dword [rsp + 0x24], eax
jmp 0x18000ce7f
mov eax, dword [rsp + 0x38]
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x54]
mov edx, eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.18000e800
add rsp, 0x98
ret
Function at 0x18000dc00
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov dword [rsp + 8], 0
xor eax, eax
mov word [rsp], ax
xor eax, eax
mov word [rsp + 4], ax
mov qword [rsp + 0x10], 0
mov rax, qword [rsp + 0x48]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x18000dc86
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x20]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 6]
mov word [rsp + 4], ax
jmp 0x18000dcd2
mov rax, qword [rsp + 0x18]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x18000dcc8
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
mov word [rsp + 4], ax
jmp 0x18000dcd2
jmp 0x18000dd92
mov eax, 0x28
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
mov eax, dword [rcx + rax + 0x14]
cmp dword [rsp + 0x40], eax
jae 0x18000dcfc
mov eax, dword [rsp + 0x40]
mov dword [rsp + 8], eax
jmp 0x18000dd92
xor eax, eax
mov word [rsp], ax
jmp 0x18000dd0f
movzx eax, word [rsp]
inc ax
mov word [rsp], ax
movzx eax, word [rsp]
movzx ecx, word [rsp + 4]
cmp eax, ecx
jge 0x18000dd92
movzx eax, word [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x10]
mov eax, dword [rcx + rax + 0xc]
cmp dword [rsp + 0x40], eax
jb 0x18000dd8d
movzx eax, word [rsp]
imul rax, rax, 0x28
movzx ecx, word [rsp]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x10]
mov eax, dword [rdx + rax + 0xc]
mov rdx, qword [rsp + 0x10]
add eax, dword [rdx + rcx + 0x10]
cmp dword [rsp + 0x40], eax
jae 0x18000dd8d
movzx eax, word [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x10]
mov eax, dword [rcx + rax + 0xc]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov eax, ecx
movzx ecx, word [rsp]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x10]
add eax, dword [rdx + rcx + 0x14]
mov dword [rsp + 8], eax
jmp 0x18000dd92
jmp 0x18000dd04
mov eax, dword [rsp + 8]
add rsp, 0x38
ret
Function at 0x18000dda0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x18000de36
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x78]
mov qword [rsp + 0x38], rax
jmp 0x18000de6d
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x18000de63
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x38], rax
jmp 0x18000de6d
jmp 0x18000dfd2
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
call fcn.18000dc00
mov eax, eax
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax + 0x20]
call fcn.18000dc00
mov eax, eax
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax + 0x1c]
call fcn.18000dc00
mov eax, eax
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax + 0x24]
call fcn.18000dc00
mov eax, eax
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x58], 0
je 0x18000dfd2
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
call fcn.18000dc00
mov eax, eax
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
lea rdx, str.RdvServiceMain
mov rcx, qword [rsp + 0x60]
call fcn.18000e550
test rax, rax
je 0x18000dfb1
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax + 0x1c]
call fcn.18000dc00
mov eax, eax
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax]
call fcn.18000dc00
mov dword [rsp + 0x40], eax
jmp 0x18000dfd2
mov rax, qword [rsp + 0x38]
add rax, 4
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
jmp 0x18000df08
mov eax, dword [rsp + 0x40]
add rsp, 0x78
ret