joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14017a210
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
sub rsp, 0x88
mov rax, qword [0x14029d038]
xor rax, rsp
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [r8]
mov rdi, rcx
lea rcx, [rsp + 0x20]
movups xmm1, xmmword [r8 + 0x10]
mov rbx, rdx
movaps xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [r8 + 0x20]
movaps xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [r8 + 0x30]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
call fcn.14017ad50
xor r11d, r11d
test rbx, rbx
je 0x14017a39f
mov qword [rsp + 0xa8], rbp
movabs rbp, 0xff000000ff00
mov qword [rsp + 0x80], rsi
mov esi, 0xffff0000
mov qword [rsp + 0x78], r14
movabs r14, 0xf000f000f000f0
mov qword [rsp + 0x70], r15
movabs r15, 0xffffffff00000000
nop dword [rax]
mov r10, qword [rsp + r11*8 + 0x40]
lea rdi, [rdi + 0x10]
mov r8, qword [rsp + r11*8 + 0x20]
mov rdx, r10
shl rdx, 0x20
and r10, r15
mov eax, r8d
inc r11
or rdx, rax
shr r8, 0x20
or r10, r8
mov rcx, rdx
shr rcx, 0x10
xor rcx, rdx
and rcx, rsi
mov rax, rcx
shl rax, 0x10
xor rax, rcx
xor rdx, rax
mov rcx, rdx
shr rcx, 8
xor rcx, rdx
and rcx, rbp
mov rax, rcx
shl rax, 8
xor rax, rcx
mov rcx, r10
xor rdx, rax
shr rcx, 0x10
xor rcx, r10
mov rax, rdx
shr rax, 4
and rcx, rsi
xor rax, rdx
and rax, r14
mov r9, rax
shl r9, 4
xor r9, rax
mov rax, rcx
shl rax, 0x10
xor r9, rdx
xor rax, rcx
mov qword [rdi - 0x10], r9
xor r10, rax
mov rcx, r10
shr rcx, 8
xor rcx, r10
and rcx, rbp
mov rax, rcx
shl rax, 8
xor rax, rcx
xor r10, rax
mov rcx, r10
shr rcx, 4
xor rcx, r10
and rcx, r14
mov rax, rcx
shl rax, 4
xor rax, rcx
xor rax, r10
mov qword [rdi - 8], rax
cmp r11, rbx
jb 0x14017a2b0
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140185930
add rsp, 0x88
pop rdi
pop rbx
ret
Function at 0x14017a640
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14029d038]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, rcx
mov dword [rcx + 0xf0], recv
lea rcx, [rbp + 7]
mov rbx, rdx
call fcn.140179dc0
movups xmm0, xmmword [rbp + 7]
lea rdx, [rbx + 0x10]
lea rcx, [rbp - 9]
movups xmmword [rdi], xmm0
call fcn.140179dc0
movdqu xmm6, xmmword [rbp - 9]
mov ebx, 2
lea r15, [0x140220768]
movabs rsi, 0xf000000000000
movups xmmword [rdi + 0x10], xmm6
add rdi, 0x20
xor r14d, r14d
lea r12d, [rbx + 0x2e]
lea r13d, [rbx + 0xe]
xorps xmm0, xmm0
mov qword [rbp - 0x41], r14
movdqu xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x49]
xorps xmm1, xmm1
mov qword [rbp - 0x21], r14
movdqa xmm0, xmm6
movdqu xmmword [rbp - 0x19], xmm1
psrldq xmm0, 8
movq qword [rbp - 0x29], xmm0
movq qword [rbp - 0x49], xmm6
call fcn.14017ad50
lea rcx, [rbp - 0x49]
call fcn.14017a880
lea rcx, [rbp - 0x49]
call fcn.14017ad50
mov rax, qword [rbp - 0x49]
mov rcx, rbx
mov qword [rbp - 9], rax
mov rax, qword [rbp - 0x29]
shr rcx, 1
mov qword [rbp - 1], rax
mov rax, r14
movzx r9d, byte [rcx + r15 - 1]
nop word [rax + rax]
mov rdx, qword [rbp + rax*8 - 9]
movzx ecx, al
shl cl, 2
mov r8, r9
shr r8, cl
mov rcx, rdx
shr rcx, 0x10
and r8d, 0xf
and rdx, rsi
or rcx, rdx
shr rcx, 0x24
xor r8, rcx
xor r8, qword [rbp + rax*8 + 7]
mov rcx, r8
shl rcx, 0x10
xor rcx, r8
shl rcx, 0x10
xor rcx, r8
shl rcx, 0x10
xor rcx, r8
mov qword [rbp + rax*8 + 7], rcx
inc rax
cmp rax, 2
jb 0x14017a740
movups xmm2, xmmword [rbp + 7]
movups xmmword [rdi], xmm2
cmp rbx, 0xe
je 0x14017a849
movq qword [rbp - 0x49], xmm2
lea rcx, [rbp - 0x49]
psrldq xmm2, 8
xorps xmm0, xmm0
xorps xmm1, xmm1
movq qword [rbp - 0x29], xmm2
mov qword [rbp - 0x41], r14
movdqu xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x21], r14
movdqu xmmword [rbp - 0x19], xmm1
call fcn.14017ad50
lea rcx, [rbp - 0x49]
call fcn.14017a880
lea rcx, [rbp - 0x49]
call fcn.14017ad50
mov rax, qword [rbp - 0x49]
movq xmm2, r12
mov qword [rbp - 9], rax
movq xmm0, r13
mov rax, qword [rbp - 0x29]
add rbx, 2
mov qword [rbp - 1], rax
mov eax, 0x20
movdqu xmm3, xmmword [rbp - 9]
psrlq xmm3, xmm2
xorps xmm3, xmm6
movdqa xmm6, xmm3
movdqa xmm1, xmm3
psllq xmm6, xmm0
movq xmm0, rax
xorps xmm6, xmm3
psllq xmm1, xmm0
psllq xmm3, xmm2
xorps xmm6, xmm1
xorps xmm6, xmm3
movups xmmword [rdi + 0x10], xmm6
add rdi, rax
cmp rbx, 0xe
jbe 0x14017a6d0
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140185930
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14017abe0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
xorps xmm0, xmm0
xor esi, esi
mov rbx, r8
mov rdi, rdx
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
test r8, r8
je 0x14017ad37
mov qword [rsp + 0x40], rbp
movabs rbp, 0xf000f000f000f0
mov qword [rsp + 0x48], r12
movabs r12, 0xffffffff00000000
mov qword [rsp + 0x50], r14
movabs r14, 0xff000000ff00
mov qword [rsp + 0x58], r15
mov r15d, 0xffff0000
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rdi]
mov r10, qword [rdi + 8]
lea rdi, [rdi + 0x10]
mov rax, rdx
shr rax, 4
xor rax, rdx
and rax, rbp
mov r8, rax
shl r8, 4
xor r8, rax
xor r8, rdx
mov rdx, r8
shr rdx, 8
xor rdx, r8
and rdx, r14
mov rax, rdx
shl rax, 8
xor rax, rdx
xor r8, rax
mov rax, r8
shr rax, 0x10
xor rax, r8
and rax, r15
mov r11, rax
shl r11, 0x10
xor r11, rax
mov rax, r10
shr rax, 4
xor r11, r8
xor rax, r10
and rax, rbp
mov r9, rax
shl r9, 4
xor r9, rax
xor r9, r10
mov rdx, r9
shr rdx, 8
xor rdx, r9
and rdx, r14
mov rax, rdx
shl rax, 8
xor rax, rdx
xor r9, rax
mov rax, r9
shr rax, 0x10
xor rax, r9
and rax, r15
mov r8, rax
shl r8, 0x10
xor r8, rax
mov eax, r11d
xor r8, r9
shr r11, 0x20
mov rdx, r8
and r8, r12
shl rdx, 0x20
or r11, r8
or rdx, rax
mov qword [rcx + rsi*8 + 0x20], r11
mov qword [rcx + rsi*8], rdx
inc rsi
cmp rsi, rbx
jb 0x14017ac50
mov r15, qword [rsp + 0x58]
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
jmp fcn.14017ad50

Function at 0x14017b920
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
xor r9b, r9b
xor ecx, ecx
mov r11, rdx
test r8, r8
je 0x14017b9f4
sub r10, rdx
cmp r8, 0x20
jb 0x14017b9ce
mov rdx, r8
lea rax, [r11 + 0x10]
and rdx, 0xffffffffffffffe0
xorps xmm3, xmm3
xorps xmm2, xmm2
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add rcx, 0x20
movdqu xmm1, xmmword [r10 + rax - 0x10]
lea rax, [rax + 0x20]
xorps xmm1, xmm0
orps xmm3, xmm1
movdqu xmm1, xmmword [r10 + rax - 0x20]
movdqu xmm0, xmmword [rax - 0x20]
xorps xmm1, xmm0
orps xmm2, xmm1
cmp rcx, rdx
jb 0x14017b960
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 2
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 1
orps xmm2, xmm0
movd r9d, xmm2
cmp rcx, r8
jae 0x14017b9f4
lea rax, [rcx + r11]
sub r8, rcx
nop word [rax + rax]
movzx ecx, byte [r10 + rax]
xor cl, byte [rax]
lea rax, [rax + 1]
or r9b, cl
sub r8, 1
jne 0x14017b9e0
movzx eax, r9b
ret
Function at 0x14017c760
Capabilities:
Encrypt data using curve25519

Disassembly:
movzx eax, byte [rcx + 0x1f]
and byte [rcx], 0xf8
and al, 0x3f
or al, 0x40
mov byte [rcx + 0x1f], al
ret
Function at 0x140185e18
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140185e62
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140185e62
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140185e62
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140185e62
cmp dword [rcx + 0x84], 0xe
jbe 0x140185e62
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140185e64
xor al, al
add rsp, 0x28
ret

Function at 0x1401869e0
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov ebp, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1400319e0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140186a3b
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x140186ab4
mov r8d, 1
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140001290
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x140186ac1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
je 0x140186ab4
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.140001290
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bp
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
jne 0x140186aa3
jmp 0x140186ab4
Function at 0x14018b3b7
Capabilities:
Link many functions at runtime

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14018b40c
mov rdi, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14018b40c
mov rsi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14018b40c
mov r14, rax
xor edi, edi
jmp 0x14018b490
lea rcx, [0x14021d920]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14018b4eb
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14018b4eb
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14018b4eb
mov rdi, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14018b4eb
mov rsi, rax
lea rcx, [rsp + 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x14018b4eb
mov r14, qword [rsp + 0x20]
mov ecx, 0x18
call fcn.1400543d3
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
xor eax, eax
lock cmpxchg qword [0x14029d250], rbx
je 0x14018b4de
mov rsi, rax
cmp qword [rbx], 0
je 0x14018b4c8
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x18
mov r8d, 8
mov rcx, rbx
call fcn.140001290
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_C:UsersAdministrator.cargo_registry_src_rsproxy.cn_0dccff568467c15bparking_lot_core_0.9.9_src_thread_parkerwindowsmod.rs
lea r8, [0x14021da88]
mov edx, 0x5b
call fcn.14018b13a
ud2
Function at 0x1400079c0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x1400079f0
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x1400079ef
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x1400079f5
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x1400079ef
mov eax, 0
jmp 0x1400079ef

Function at 0x140008070
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140008020
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140011680
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 fcn.14001a1c0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14001a1c0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x1400116f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1409eddd4]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x140011880
mov rax, qword [0x1409eddd8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14001173c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x1400117c5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x140011720
mov rcx, rdi
call fcn.140012250
test rax, rax
mov r12, rax
je 0x1400118d2
mov rax, qword [0x1409eddd8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.140012390
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1409eddd8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400118b5
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400117be
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140011830
add dword [0x1409eddd4], 1
cmp ebx, 8
jae 0x1400117f1
test bl, 4
jne 0x140011890
test ebx, ebx
je 0x1400117e6
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x1400118a4
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x1400117e6
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x14001180a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x1409eddd8]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400117be
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140011680
xor esi, esi
jmp 0x140011747
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x1400117e6
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x1400117e6
mov rax, qword [0x1409eddd8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.140011680
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.140011680
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x140011ea0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1409ede40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1409ede20]
test rbx, rbx
je 0x140011ef4
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 0x140011eeb
test rsi, rsi
je 0x140011eeb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140011ed0
lea rcx, [0x1409ede40]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140012250
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1409e6770]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x1400122bf
mov rcx, r9
call fcn.140012120
test eax, eax
je 0x1400122bf
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x1400122bd
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x1400122b4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400122bf
add rdx, 0x28
cmp rdx, r9
jne 0x1400122a0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x14001c740
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1409e14e0]
jmp 0x140013080

Function at 0x14001c750
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1409e14e0]
jmp 0x140013080
Function at 0x140991058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1409911df
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 0x140991089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14099106f
add dl, dl
jne 0x140991096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409910f6
xor eax, eax
add dl, dl
jne 0x1409910a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409911ad
add dl, dl
jne 0x1409910b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409910c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409910d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409910dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409910ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14099107e
mov eax, 1
add dl, dl
jne 0x140991106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140991113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409910fb
sub eax, ebx
mov ebx, 1
jne 0x14099114c
mov ecx, 1
add dl, dl
jne 0x14099112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14099113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140991123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14099107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140991168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140991175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14099115d
cmp eax, 0x7d00
jae 0x14099119b
cmp eax, 0x500
jb 0x140991196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14099107e
cmp eax, 0x7f
ja 0x14099119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14099107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409911d2
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 0x14099107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001304
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov qword [rsp + 0x58], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r14, rax
mov qword [rsp + 0x60], 0x3a3
mov rax, qword gs:[0x60]
mov r8, qword [rax + 0x18]
add r8, 0x10
mov r8, qword [r8]
mov rax, qword [r8 + 0x30]
movsxd rcx, dword [rax + 0x3c]
mov r9d, dword [rax + rcx + 0x88]
test r9, r9
je 0x140001339
mov edx, dword [rax + r9 + 0x18]
test rdx, rdx
je 0x140001339
mov edi, dword [rax + r9 + 0x20]
add rdi, rax
lea r10, [rax + 1]
mov ecx, dword [rdi + rdx*4 - 4]
dec rdx
mov bl, byte [rax + rcx]
test bl, bl
je 0x140001399
add rcx, r10
mov esi, 0x811c9dc5
movsx ebx, bl
xor ebx, esi
imul esi, ebx, 0x1000193
mov bl, byte [rcx]
inc rcx
test bl, bl
jne 0x14000137d
cmp esi, 0x3285501
je 0x1400013a0
test rdx, rdx
jne 0x140001367
jmp 0x140001339
mov ecx, dword [rax + r9 + 0x1c]
mov ebx, dword [rax + r9 + 0x24]
add rcx, rax
add rbx, rax
mov edx, edx
movzx edx, word [rbx + rdx*2]
mov ebx, dword [rcx + rdx*4]
add rbx, rax
xor edi, edi
mov edx, 0x3a3
xor ecx, ecx
mov r8d, 0x1000
mov r9d, 4
call rbx
lea rbx, [rsp + 0x70]
mov qword [rbx], rax
mov r8d, 0x3a2
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x6c]
mov dword [rax], edi
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
mov rcx, r14
mov rdx, rbx
mov r9d, 0x40
call fcn.1400015f7
mov rax, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
lea rbx, [rsp + 0x58]
mov rcx, rbx
mov edx, 0x1fffff
xor r8d, r8d
mov r9, r14
call fcn.14000155d
mov rcx, qword [rbx]
test rcx, rcx
je 0x140001468
call qword [sym.imp.KERNEL32.dll_GetThreadId]
lea rcx, str.Success__ThreadHandle_d_n
mov edx, eax
call fcn.14000148c
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call fcn.1400015aa
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140001de0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001e2a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001e2a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001e2a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001e2a
cmp dword [rcx + 0x84], 0xe
jbe 0x140001e2a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001e2c
xor al, al
add rsp, 0x28
ret
Function at 0x140045530
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x1400e3020]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x24], 0
lea rdx, [0x1400d8b88]
call fcn.140003ccc
mov dword [rsp + 0x24], 1
mov esi, 0x104
mov r8d, esi
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140009450
mov dword [rsp + 0x3c], 0x6b636954
mov dword [rsp + 0x38], 0x5f4f5353
mov word [rsp + 0x41], 0x74
mov byte [rsp + 0x40], 0x65
or r9, 0xffffffffffffffff
lea r8, str.c71b32ed69a94484aeba73f777647785
mov edx, esi
lea rcx, [rsp + 0x50]
call fcn.140012500
or r9, 0xffffffffffffffff
lea r8, [rsp + 0x38]
mov edx, esi
lea rcx, [rsp + 0x50]
call fcn.1400125d4
mov edx, esi
lea rcx, [rsp + 0x50]
call fcn.1400126c4
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140045648
mov dword [rsp + 0x31], 0x25783830
mov byte [rsp + 0x30], 0x25
mov word [rsp + 0x35], 0x73
mov dword [rsp + 0x20], 0x74745f
lea r9, [rsp + 0x20]
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400044a8
mov rax, rbx
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140006850
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000e53c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000e3a4