joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000fb38
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x10], edx
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 0x10], 0
lea r8, [rbp - 0x10]
and qword [rbp - 0x20], 0
lea rdx, [0x14001b980]
mov rdi, rcx
call qword [sym.imp.SHELL32.dll_SHAssocEnumHandlersForProtocolByApplication]
test eax, eax
js 0x14000fc99
mov rcx, qword [rbp - 0x10]
lea r9, [rbp + 0x28]
and dword [rbp + 0x28], 0
lea r8, [rbp - 0x18]
and qword [rbp - 0x18], 0
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
js 0x14000fc85
cmp dword [rbp + 0x28], 0
je 0x14000fc8f
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
lea rdx, [0x14001b970]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x14000fc7b
mov rcx, qword [rbp - 0x20]
lea rdx, [rbp + 0x38]
and qword [rbp + 0x38], 0
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x14000fc71
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14000fc71
call fcn.140001f50
mov rcx, rdi
mov r8, rax
call fcn.140001f50
add r8, rax
lea rcx, [r8*2 + 8]
call fcn.14000c8ac
mov rbx, rax
test rax, rax
je 0x14000fc67
mov rdx, qword [rbp + 0x38]
mov rcx, rax
call fcn.140001ee0
lea rdx, [0x140027bb0]
call fcn.140001d68
mov rdx, rdi
mov rcx, rbx
call fcn.140001d68
and dword [rbp + 0x30], 0
lea rax, [rbp + 0x30]
mov dword [rsp + 0x28], 4
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionApplicationAssociationToasts
mov r9d, 4
mov qword [rsp + 0x20], rax
mov r8, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, rbx
call fcn.14000c8c8
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
cmp dword [rbp + 0x28], 0
jne 0x14000fb6c
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
add rsp, 0x50
pop rdi
pop rbx
pop rbp
ret

Function at 0x140011610
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140011638
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140011638
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14004b460]
mov dword [rax], 1
mov rax, qword [0x14004b470]
mov dword [rax], 1
mov rax, qword [0x14004b480]
mov dword [rax], 1
mov rax, qword [0x14004b410]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140017300
Capabilities:
Query environment variable

Disassembly:
push rsi
mov eax, 0x10078
push rbx
call fcn.14002f040
sub rsp, rax
xor eax, eax
mov rdx, rcx
lea rbx, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], cx
lea rsi, [rsp + 0x70]
mov rcx, rbx
call fcn.140026f10
mov rdx, rsi
mov r8d, 0x10000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x140017359
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add rsp, 0x10078
pop rbx
pop rsi
ret
Function at 0x14002dd20
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14003f4a0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14003f4a0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x14002e9f2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140053188]
test eax, eax
je 0x14002ea8a
lea rax, [0x140053160]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140053190]
mov qword [rbp - 8], rax
jmp 0x14002ea6e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14002ea62
cmp qword [rbp - 0x10], 0
je 0x14002ea62
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14002ea28
lea rax, [0x140053160]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14002ea8b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14002eb90
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14002ebb8
mov eax, 0
jmp 0x14002ec06
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14002ebe1
mov eax, 0
jmp 0x14002ec06
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14002ec01
mov eax, 0
jmp 0x14002ec06
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14002ec0c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14002ec8a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14002ec81
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14002ec81
mov rax, qword [rbp - 8]
jmp 0x14002ec9f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14002ec54
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14005fd08
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor esi, esi
mov qword [rbp - 0x10], rsi
mov dword [rbp + 0x30], esi
lea r8, [rbp + 0x30]
xor edx, edx
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x14005fd50
lea ebx, [rsi + 0xd]
jmp 0x14005fdbb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xea
jne 0x14005fdbb
mov word [rbp + 0x20], si
mov edx, dword [rbp + 0x30]
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.14003cffc
lea r8, [rbp + 0x30]
mov rdx, qword [rbp - 0x20]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x14005fdad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14005fdbb
mov rdx, qword [rbp - 0x20]
mov rcx, rdi
call fcn.1400033fc
mov ebx, esi
lea rcx, [rbp - 0x20]
call fcn.1400174fc
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400608e8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400bd0c0], eax
call fcn.140060b98
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400bd0c0], 0
jne case.default.0x14006093e
mov ecx, 1
call fcn.140060b98
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov bl, 0xc7
or rax, 0xffffffff9d6e6875
invalid
Function at 0x140a43730
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140a4373d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140a4374d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140a43735
lea eax, [rcx + 1]
jmp 0x140a4375b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140a4376e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140a43754
sub eax, 3
jb 0x140a4378e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140a437dd
sar eax, 1
movsxd rbp, eax
jb 0x140a437c4
jmp 0x140a4379c
add ebx, ebx
jne 0x140a4379a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140a437c4
inc ecx
add ebx, ebx
jne 0x140a437aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140a437c4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140a437bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140a437ac
add ecx, 2
jmp 0x140a437c9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140a436f2
jmp 0x140a4373d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0xa39000]
mov eax, dword [rdi]
or eax, eax
je 0x140a4383d
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xa43000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140a437ed
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140a43837
mov qword [rbx], rax
add rbx, 8
jmp 0x140a4380d
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140a43881
cmp al, 0xef
ja 0x140a43869
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140a43849
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x140a43858
mov eax, dword [rdi]
add rdi, 4
jmp 0x140a43858
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.140a43900], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.140a43900
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140a438f0
sub rsp, 0xffffffffffffff80
jmp 0x1400014f0
Function at 0x140138f50
Capabilities:
Terminate process

Disassembly:
and dword [rcx], ebx
invalid
cld
pop r11
jmp 0x140138f5d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140138f6d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140138f55
lea eax, [rcx + 1]
jmp 0x140138f7b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140138f8e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140138f74
sub eax, 3
jb 0x140138fae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140138ffd
sar eax, 1
movsxd rbp, eax
jb 0x140138fe4
jmp 0x140138fbc
add ebx, ebx
jne 0x140138fba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140138fe4
inc ecx
add ebx, ebx
jne 0x140138fca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140138fe4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140138fdd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140138fcc
add ecx, 2
jmp 0x140138fe9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140138f12
jmp 0x140138f5d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xde400
mov dl, 0x16
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140139049
cmp rsi, rcx
jae 0x140139051
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140139030
cmp al, 0x8f
ja 0x140139030
cmp byte [rsi - 2], 0xf
je 0x140139036
sub al, 0xe8
cmp al, 1
ja 0x14013901a
cmp rsi, rcx
jae 0x140139051
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140139020
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140139051
lodsb al, byte [rsi]
jmp 0x140139030
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x135000]
mov eax, dword [rdi]
or eax, eax
je 0x1401390ba
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x13c0d4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14013905e
jns 0x140139093
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14013909d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1401390b4
mov qword [rbx], rax
add rbx, 8
jmp 0x14013907e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x21f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140139112
sub rsp, 0xffffffffffffff80
jmp 0x1400cdb10
Function at 0x180002f44
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x180002f5b
cmp r8b, 0x90
je 0x180002f5b
cmp r8b, 0xcc
jne 0x180002f7d
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x180002f79
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x180002f7d
add edx, r10d
cmp edx, r9d
jb 0x180002f69
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x180011820
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180011848
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180011848
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1800bc8ea
Capabilities:
Encode data using xor

Disassembly:
and al, 0x10
popfq
lea rsp, [rsp + 0x30]
call fcn.1801ef087
invalid
movabs rcx, 0x24346d01359133a9
bswap rcx
and ecx, ecx
mov rcx, qword [rsp + 0x18]
mov rcx, qword [rcx]
lea rcx, [rcx + 0x662e2d33]
jne 0x18010eac6
cdq
in eax, 0xad
fnsave dword [rdi - 0x366df0bf]
sbb cl, al
and edx, dword [rcx - 0x6e]
in eax, 0x7b
movabs byte es:[0xd9d0cc1d31b9ef73], al
mov cl, 0x60
push rdi
sahf
mov dword [rbx - 0x4a4f5f0f], ebx
xchg ecx, eax
xor sil, r14b
stosb byte [rdi], al
jnp 0x1800bc8d3
std
jno 0x1800bc8dd
hlt
mov qword [rsp + 8], 0x21a65816
jo 0x1801537bd
or dword [rsp + 8], 0x15e11557
xchg qword [rsp + 0x20], rcx
call fcn.1801754c5
lea rbx, [rbx + 0x1b403bd]
jno 0x18019c761
call fcn.180125983
or byte [rdi], 1
adc eax, dword [0x18f7bda6f]
invalid

Function at 0x1800c5fea
Capabilities:
Encode data using xor

Disassembly:
add qword [rsp + 8], 0xffffffffffff069f
movabs rcx, 0x4a616584799352ec
neg cl
neg cl
mov cl, 0x14
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
call fcn.180110737
jno 0x180076ce2

Function at 0x1801016b8
Capabilities:
Encode data using xor

Disassembly:
lea rdi, [rdi + 0x503702bc]
call fcn.180080ecc
movabs r11, 0x27f73f9b7fbd7c58
mov rbp, qword [rsp + 0x38]
setae r11b
jl 0x1800a6a69
jbe 0x180100971
cmp qword [rsp + 0x40], r11
call fcn.1800ca146
cmp eax, 0x71a4022
js 0x1800e875b
sub esi, dword [rsi - 0x295d8e11]
movsq qword [rdi], qword [rsi]
movabs dword [0x813d3becb7b6289b], eax
xor cl, bh
sbb al, 0x4a
sub byte [rsi + 0x3d3becb7], dh
xor dword [rax], 0x4a1c41f9
nop
ficom word [rbx]
mov esi, 0x2fb1e47e
jle 0x1800e8740
in al, 0xb1
invalid
mov cl, 0x2f
movabs dword [0x70ffb6296fd1337e], eax
stc
xor dword [rcx - 0x270e803b], eax
jno 0x1800e874a
and r14d, dword [rsi - 0x24005fd9]
cmpsq qword [rsi], qword [rdi]
int1
mov dh, 0xf6
sti
jg 0x1800e875a
outsd dx, dword [rsi]
hlt
jge 0x18002d8aa
ja 0x1800e8710
lea rbx, [rbx + 0x7fa571c4]
call fcn.180104038

Function at 0x180153842
Capabilities:
Encode data using xor

Disassembly:
or eax, ebp
lodsd eax, dword [rsi]
push rdx
in eax, dx
dec dword [rbx + rcx*4 + 0x64]
mov r12, qword [rsp + 0x20]
mov qword [rsp + 0x20], rbx
push rdx
call fcn.180025e63
fmulp st(0)
jle 0x180153812
popfq
xchg esi, eax
mov bl, 0x2d
jl 0x1801538b5
push rdx
test dword [0x13016a35a], esi
invalid
add byte [rax], al
add byte [rbx], dl
invalid

Function at 0x180163b4a
Capabilities:
Encode data using xor

Disassembly:
lea rcx, [rcx + rcx + 0x32904199]
mov rcx, qword [rsp + 0x20]
xor cl, byte [rax - 0x75]
and al, 0x20
push qword [rsp + 0x28]
popfq
lea rsp, [rsp + 0x40]
call fcn.1802b9108
int 0xf0
push rdi
loopne 0x180163b51
call [rbp + 0x64]
loopne 0x180163bb6
push rax
xor dword [rax + riz*8 + 0x44], ebx
invalid
test byte [rdx + 0x6d], dl
jmp 0x17a5837dc
Function at 0x180196841
Capabilities:
Encode data using xor

Disassembly:
jl 0x180176a3a
and r9d, 0x6692034f
call fcn.1801022e6
call fcn.1800f2c8c
jl 0x18003848d
mov qword [rsp + 0x70], rax
call fcn.18010ffe9
Function at 0x10000bae0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x100011df8], rdi
je 0x10000bb40
cmp rax, rdi
jne 0x10000bb33
mov r12d, 1
jmp 0x10000bb40
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10000bb19
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bb55
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x10000bbbc
mov eax, dword [0x100011df0]
cmp eax, ebx
jne 0x10000bbb2
mov dword [0x100011df0], 1
lea r13, [0x100001448]
lea rdi, [0x100001430]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x10000bba4
cmp eax, ebx
jne 0x10000bba4
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x10000bb99
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x10000bb82
cmp eax, ebx
je 0x10000bbbc
mov eax, 0xff
jmp 0x10000bd04
mov dword [0x1000115d4], 1
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bbe4
lea rdx, [0x100001428]
lea rcx, [0x1000013f0]
call sub.msvcrt.dll__initterm
mov dword [0x100011df0], 2
cmp r12d, ebx
jne 0x10000bbf3
mov rax, rbx
xchg qword [0x100011df8], rax
cmp qword [0x100011e10], rbx
je 0x10000bc1b
lea rcx, [0x100011e10]
call fcn.10000c0cc
cmp eax, ebx
je 0x10000bc1b
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100011e10]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x10000bc31
mov eax, 0xff
jmp 0x10000bd04
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc4c
cmp edx, ebx
jne 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc62
cmp word [rcx], 0x20
ja 0x10000bc62
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc4c
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.100002d14
mov dword [0x1000115d0], eax
cmp dword [0x1000115b4], ebx
jne 0x10000bca0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1000115d4], ebx
jne 0x10000bcb4
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1000115d0]
jmp 0x10000bd04
cmp word [rcx], 0x22
jne 0x10000bcc9
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc3d
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.10017e000
add rsp, 0x28
jmp 0x10000bae0
Function at 0x1a50058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1a501df
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 0x1a50089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1a5006f
add dl, dl
jne 0x1a50096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1a500f6
xor eax, eax
add dl, dl
jne 0x1a500a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1a501ad
add dl, dl
jne 0x1a500b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a500c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a500d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a500dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1a500ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1a5007e
mov eax, 1
add dl, dl
jne 0x1a50106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a50113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1a500fb
sub eax, ebx
mov ebx, 1
jne 0x1a5014c
mov ecx, 1
add dl, dl
jne 0x1a5012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1a5013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1a50123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1a5007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1a50168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1a50175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1a5015d
cmp eax, 0x7d00
jae 0x1a5019b
cmp eax, 0x500
jb 0x1a50196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1a5007e
cmp eax, 0x7f
ja 0x1a5019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1a5007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1a501d2
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 0x1a5007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20