joyce8/EMBER2024-capa huggingface dataset:
Function at 0x888de0
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, [0x0089fbe0]
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 0x88ee90
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x88ef1b
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 0x88f940
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.0088f6b0
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.0088c300
mov rcx, rdi
mov rdx, rbx
call fcn.0088c280
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
Function at 0x88f9a0
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 0x88f9c0
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.00889700
lea rbx, [rsp + 0x170]
mov rcx, rbx
call fcn.00889390
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.008893b0
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.0088b630
mov rcx, rbx
mov rdx, rbx
call fcn.00889990
mov rcx, rbp
mov rdx, rsi
mov r8, rbx
call fcn.0088a130
lea rcx, [rsp + 0x80]
call fcn.00889390
lea rdi, [rsp + 0x110]
mov rcx, rdi
call fcn.00889370
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.008896e0
lea r14, [rsp + 0xe0]
mov rcx, r14
call fcn.00889390
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.00889540
mov rcx, rdi
mov rdx, r14
mov r8d, ebp
call fcn.00889540
lea rbp, [rsp + 0xb0]
mov rcx, rbp
mov rdx, r12
mov r8, r14
call fcn.0088b630
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call fcn.0088b630
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.008893b0
mov rcx, rdi
mov rdx, r12
mov r8, r14
call fcn.008893b0
mov rcx, r14
mov rdx, rbp
mov r8, rsi
call fcn.0088a130
mov rcx, rdi
mov rdx, rdi
mov r8, rbx
call fcn.0088a130
mov rcx, rbp
mov rdx, rbx
call fcn.00889c20
mov rcx, rbx
mov rdx, rsi
call fcn.00889c20
mov rcx, r12
mov rdx, r14
mov r8, rdi
call fcn.008893b0
mov rcx, rdi
mov rdx, r14
mov r8, rdi
call fcn.0088b630
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.0088a130
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.0088b630
mov rcx, rdi
mov rdx, rdi
call fcn.00889c20
mov rcx, r14
mov rdx, rbx
call fcn.0088ac70
mov rcx, r12
mov rdx, r12
call fcn.00889c20
mov rcx, rbp
mov rdx, rbp
mov r8, r14
call fcn.008893b0
mov rcx, r14
lea rdx, [rsp + 0x140]
mov r8, rdi
call fcn.0088a130
mov rcx, rdi
mov rdx, rbx
mov r8, rbp
call fcn.0088a130
add r13d, 0xffffffff
cmp r13d, 0xffffffff
jne 0x88fa90
lea rsi, [rsp + 0x80]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov r8d, r15d
call fcn.00889540
lea rdi, [rsp + 0x110]
lea rdx, [rsp + 0xe0]
mov rcx, rdi
mov r8d, r15d
call fcn.00889540
mov rcx, rdi
mov rdx, rdi
call fcn.00889990
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.0088a130
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.0088a9a0
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x6db2e4f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6db4f5e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6db2e678
mov rax, qword [0x6db4f5e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6db2e53c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6db2e5c5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6db2e520
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6db2e6ad
mov rax, qword [0x6db4f5e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6db4f5e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6db2e690
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6db2e5be
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6db2e620
add dword [0x6db4f5e4], 1
cmp edi, 8
jae 0x6db2e5f3
test dil, 4
jne 0x6db2e664
test edi, edi
je 0x6db2e5e8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6db2e67f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6db2e5e8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6db2e60c
jmp 0x6db2e5e8
add rsi, qword [0x6db4f5e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6db2e5be
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6db2e5e8
xor esi, esi
jmp 0x6db2e547
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6db2e5e8
mov rax, qword [0x6db4f5e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6db2ee00
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6db4f8c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6db4f8a0]
test rbx, rbx
je 0x6db2ee54
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6db2ee4b
test rsi, rsi
je 0x6db2ee4b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6db2ee30
lea rcx, [0x6db4f8c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6db2f090
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6db2f0a0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6db2f0b0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6db2f0f1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6db2f0e8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6db2f0f3
add rax, 0x28
cmp rax, r9
jne 0x6db2f0d4
xor eax, eax
ret

Function at 0x6db2f190
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6db4c1f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6db2f1fd
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6db2f1fd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6db2f1fd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6db2f1f4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6db2f1ff
add rax, 0x28
cmp rax, r9
jne 0x6db2f1e0
xor eax, eax
add rsp, 0x28
ret

Function at 0x6db2f300
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6db4c1f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6db2f320
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6db2f318
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6db2f37d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6db2f374
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6db2f384
add rax, 0x28
cmp rax, r9
jne 0x6db2f360
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6db2f3a0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6db4c1f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6db2f40e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6db2f40e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6db2f40e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6db2f40e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6db2f405
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6db2f415
add rcx, 0x28
cmp rcx, rax
jne 0x6db2f3f0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6db2f428
jmp 0x6db2f40e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6db2f436
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6db2f40e
test r9d, r9d
jg 0x6db2f420
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6db2f770
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140004ca0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x3a910]
mov eax, 0x3aa10
call fcn.1400113b0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x3a900], rax
xor ebx, ebx
mov dword [rsp + 0x68], 0x10001
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
or edx, 0xffffffff
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x6c], 0x1f40
mov dword [rsp + 0x70], 0x1f40
mov dword [rsp + 0x74], 0x80001
mov word [rsp + 0x78], bx
call qword [sym.imp.WINMM.dll_waveOutOpen]
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x3a980
call fcn.140008500
mov ecx, ebx
lea rdx, [rbp - 0x80]
nop
mov eax, ecx
lea rdx, [rdx + 1]
shr eax, cl
xor al, cl
inc ecx
mov byte [rdx - 1], al
cmp ecx, 0x3a980
jb 0x140004d30
mov rcx, qword [rsp + 0x30]
lea rax, [rbp - 0x80]
mov r8d, 0x30
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x40], 0x3a980
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
call qword [sym.imp.WINMM.dll_waveOutPrepareHeader]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov r8d, 0x30
call qword [sym.imp.WINMM.dll_waveOutWrite]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov r8d, 0x30
call qword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WINMM.dll_waveOutClose]
mov rcx, qword [rbp + 0x3a900]
xor rcx, rsp
call fcn.140007480
mov rbx, qword [rsp + 0x3aa20]
add rsp, 0x3aa10
pop rbp
ret
Function at 0x140005a90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x50b90]
mov eax, 0x50c90
call fcn.1400113b0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x50b80], rax
xor ebx, ebx
mov dword [rsp + 0x68], 0x10001
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
or edx, 0xffffffff
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x6c], 0x2b11
mov dword [rsp + 0x70], 0x2b11
mov dword [rsp + 0x74], 0x80001
mov word [rsp + 0x78], bx
call qword [sym.imp.WINMM.dll_waveOutOpen]
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x50bfe
call fcn.140008500
mov eax, ebx
lea r8, [rbp - 0x80]
nop
mov edx, eax
lea r8, [r8 + 1]
shr edx, 7
xor dl, al
add dl, al
inc eax
xor dl, 5
movzx ecx, dl
shl cl, 2
add dl, cl
mov byte [r8 - 1], dl
cmp eax, 0x50bfe
jb 0x140005b20
mov rcx, qword [rsp + 0x30]
lea rax, [rbp - 0x80]
mov r8d, 0x30
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x40], 0x50bfe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
call qword [sym.imp.WINMM.dll_waveOutPrepareHeader]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov r8d, 0x30
call qword [sym.imp.WINMM.dll_waveOutWrite]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov r8d, 0x30
call qword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WINMM.dll_waveOutClose]
mov rcx, qword [rbp + 0x50b80]
xor rcx, rsp
call fcn.140007480
mov rbx, qword [rsp + 0x50ca0]
add rsp, 0x50c90
pop rbp
ret
Function at 0x140005f30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0xa1790]
mov eax, 0xa1890
call fcn.1400113b0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xa1780], rax
xor ebx, ebx
mov dword [rsp + 0x68], 0x10001
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
or edx, 0xffffffff
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x6c], 0x5622
mov dword [rsp + 0x70], 0x5622
mov dword [rsp + 0x74], 0x80001
mov word [rsp + 0x78], bx
call qword [sym.imp.WINMM.dll_waveOutOpen]
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0xa17fc
call fcn.140008500
mov eax, ebx
lea r8, [rbp - 0x80]
nop
mov edx, eax
lea r8, [r8 + 1]
shr edx, 0xc
mov ecx, eax
and dl, 0xd
shr ecx, 0xa
xor dl, 2
and cl, 9
or dl, cl
movsx ecx, al
movsx edx, dl
inc eax
imul edx, ecx
mov byte [r8 - 1], dl
cmp eax, 0xa17fc
jb 0x140005fc0
mov rcx, qword [rsp + 0x30]
lea rax, [rbp - 0x80]
mov r8d, 0x30
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x40], 0xa17fc
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
call qword [sym.imp.WINMM.dll_waveOutPrepareHeader]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov r8d, 0x30
call qword [sym.imp.WINMM.dll_waveOutWrite]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov r8d, 0x30
call qword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WINMM.dll_waveOutClose]
mov rcx, qword [rbp + 0xa1780]
xor rcx, rsp
call fcn.140007480
mov rbx, qword [rsp + 0xa18a0]
add rsp, 0xa1890
pop rbp
ret
Function at 0x140009e3c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140009c10
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140009c10
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140009c10
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140009c10
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140009c10
cmp dword [rcx + 0x84], 0xe
jbe 0x140009c10
cmp dword [rcx + 0xf8], esi
je 0x140009c10
mov ecx, r14d
call fcn.140009d58
mov ecx, 2
call fcn.14000c5b0
nop
cmp byte [0x1400201a8], 0
jne 0x140009cda
mov r15d, 1
mov eax, r15d
xchg dword [0x14002019c], eax
test ebx, ebx
jne 0x140009c83
mov rdi, qword [section..data]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1400201a0]
cmp rcx, rax
je 0x140009c7a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140008bc0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1400201b8]
jmp 0x140009c8f
cmp ebx, r15d
jne 0x140009c95
lea rcx, [0x1400201d0]
call fcn.14000a34c
nop
test ebx, ebx
jne 0x140009cac
lea rdx, [0x140015418]
lea rcx, [0x1400153f8]
call fcn.140009ad0
lea rdx, [0x140015428]
lea rcx, [0x140015420]
call fcn.140009ad0
movzx eax, byte [0x1400201a8]
test esi, esi
cmove eax, r15d
mov byte [0x1400201a8], al
jmp 0x140009cda
mov ecx, 2
call fcn.14000c604
test esi, esi
jne 0x140009cf1
mov ecx, r14d
call fcn.140009d0c
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140009ba0
Function at 0x1400111ea
Capabilities:
Terminate process

Disassembly:
jmp 0x140013040
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011271
Capabilities:
Get local ipv4 addresses

Disassembly:
jmp 0x140011880
push rbp
push rdi
sub rsp, 0x278
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x62
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001d008]
xor rax, rbp
mov qword [rbp + 0x238], rax
lea rcx, [0x1400230b9]
call fcn.140011370
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0x1c0
lea rax, [rbp + 0x44]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 8]
xor r8d, r8d
mov edx, 0x10
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0x6f
jne 0x140011928
mov eax, dword [rbp + 0x44]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
lea rax, [rbp + 0x44]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 8]
xor r8d, r8d
mov edx, 0x10
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x140011a65
cmp qword [rbp + 8], 0
je 0x140011a63
mov rax, qword [rbp + 8]
mov rdx, qword [rax + 0x10]
lea rcx, str._tAdapter_name:__s_n
call fcn.140011190
mov rax, qword [rbp + 8]
mov rdx, qword [rax + 0x40]
lea rcx, str.Description:__wS_n
call fcn.140011190
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x140011a52
mov rax, qword [rbp + 0x68]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
movzx eax, word [rax]
cmp eax, 2
jne 0x1400119e7
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0xd8]
add rax, 4
mov r9d, 0x16
lea r8, [rbp + 0xa8]
mov rdx, rax
mov ecx, 2
call fcn.1400111ef
test rax, rax
je 0x1400119e5
lea rdx, [rbp + 0xa8]
lea rcx, str._tIPv4_Address:__s_n
call fcn.140011190
jmp 0x140011a41
mov rax, qword [rbp + 0x88]
movzx eax, word [rax]
cmp eax, 0x17
jne 0x140011a41
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
add rax, 8
mov r9d, 0x41
lea r8, [rbp + 0x100]
mov rdx, rax
mov ecx, 0x17
call fcn.1400111ef
test rax, rax
je 0x140011a41
lea rdx, [rbp + 0x100]
lea rcx, str._tIPv6_Address:__s_n
call fcn.140011190
mov rax, qword [rbp + 0x68]
mov rax, qword [rax + 8]
mov qword [rbp + 0x68], rax
jmp 0x140011971
mov rax, qword [rbp + 8]
mov rax, qword [rax + 8]
mov qword [rbp + 8], rax
jmp 0x140011932
jmp 0x140011a71
lea rcx, str._nThere_has_been_an_error_n
call fcn.140011190
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_free]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ad20]
call fcn.140011307
mov eax, edi
mov rcx, qword [rbp + 0x238]
xor rcx, rbp
call fcn.1400111a9
lea rsp, [rbp + 0x248]
pop rdi
pop rbp
ret
Function at 0x140729058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1407291df
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 0x140729089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14072906f
add dl, dl
jne 0x140729096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407290f6
xor eax, eax
add dl, dl
jne 0x1407290a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407291ad
add dl, dl
jne 0x1407290b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407290c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407290d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407290dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407290ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14072907e
mov eax, 1
add dl, dl
jne 0x140729106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140729113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407290fb
sub eax, ebx
mov ebx, 1
jne 0x14072914c
mov ecx, 1
add dl, dl
jne 0x14072912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14072913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140729123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14072907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140729168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140729175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14072915d
cmp eax, 0x7d00
jae 0x14072919b
cmp eax, 0x500
jb 0x140729196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14072907e
cmp eax, 0x7f
ja 0x14072919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14072907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407291d2
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 0x14072907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20