joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140030300
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140015b9c
test al, al
je 0x140030337
mov rcx, qword [rcx]
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rdi]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rsi, qword [rdi + 0x38]
and qword [rdi + 0x38], 0
test rsi, rsi
je 0x14003038d
mov rcx, qword [rsi + 0x18]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 8]
test al, al
je 0x14003036d
lea rcx, [rsi + 8]
call fcn.14002ee44
mov rcx, qword [rsi]
test rcx, rcx
je 0x14003036d
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rcx, [rsi + 8]
call fcn.14002ee44
mov rcx, qword [rsi + 8]
mov edx, 0x18
call fcn.140006078
mov rcx, rsi
call qword [sym.imp.mozglue.dll_free]
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x14003039c
call qword [sym.imp.mozglue.dll_free]
mov rsi, qword [rdi + 0x38]
test rsi, rsi
je 0x1400303ed
mov rcx, qword [rsi + 0x18]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 8]
test al, al
je 0x1400303cd
lea rcx, [rsi + 8]
call fcn.14002ee44
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400303cd
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rcx, [rsi + 8]
call fcn.14002ee44
mov rcx, qword [rsi + 8]
mov edx, 0x18
call fcn.140006078
mov rcx, rsi
call qword [sym.imp.mozglue.dll_free]
lea rcx, [rdi + 0x28]
call fcn.140001760
lea rcx, [rdi + 0x20]
call fcn.140001760
lea rcx, [rdi + 0x18]
call fcn.140001760
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140015a74
Function at 0x140031c24
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x260
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rbx, rcx
call fcn.140031b84
xor r15d, r15d
test al, al
je 0x140031c70
mov eax, 0x1126
jmp 0x140031e07
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x30], r15
mov rcx, rbx
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r15w
call fcn.140031aa4
lea rcx, [rsp + 0x20]
mov r14b, al
call fcn.140032408
lea rdx, [rsp + 0x20]
mov bl, al
lea rcx, [rsp + 0x20]
call fcn.1400319c4
or rdi, 0xffffffffffffffff
mov sil, al
test bl, bl
jne 0x140031ce9
test al, al
jne 0x140031ccb
test r14b, r14b
jne 0x140031ccb
lea ebx, [rdi + 0x7c]
jmp 0x140031dfb
lea r8, str.._
mov r9, rdi
inc r9
cmp word [r8 + r9*2], r15w
jne 0x140031cd5
lea rcx, [rsp + 0x20]
call fcn.14001b794
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
mov r8d, 0x104
lea rdx, [rsp + 0x40]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
jne 0x140031d25
neg sil
mov ebx, 0x7b
sbb eax, eax
and eax, 0x10ab
add ebx, eax
jmp 0x140031dfb
lea rax, [rsp + 0x40]
inc rdi
cmp word [rax + rdi*2], r15w
jne 0x140031d2a
dec rdi
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
lea rdx, [rsp + 0x40]
mov r8, rdi
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
mov ebx, 0x7b
test eax, eax
jne 0x140031dfb
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140031d95
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 1]
cmp ecx, 2
jbe 0x140031d9b
cmp eax, ebx
je 0x140031d9b
mov ebx, eax
jmp 0x140031dfb
bt eax, 0xa
jb 0x140031df8
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
mov r9, qword [rsp + 0x30]
cmovae rcx, qword [rsp + 0x20]
mov rdx, r9
call fcn.14001006c
lea rcx, [rsp + 0x20]
cmp rax, r9
ja 0x140031ddb
cmp qword [rsp + 0x38], 8
mov qword [rsp + 0x30], rax
cmovae rcx, qword [rsp + 0x20]
mov word [rcx + rax*2], r15w
jmp 0x140031de6
sub rax, r9
mov rdx, rax
call fcn.140013214
cmp qword [rsp + 0x30], rdi
ja 0x140031d63
mov ebx, 0x1126
jmp 0x140031dfb
mov ebx, r15d
lea rcx, [rsp + 0x20]
call fcn.140004cb0
mov eax, ebx
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140005a70
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140032460
Capabilities:
Allocate or change rwx memory

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], r9
push rsi
push rdi
push r14
sub rsp, 0x40
mov r9d, 8
lea rax, [r11 + 0x20]
mov rbp, r8
mov qword [r11 - 0x38], rax
mov rdi, rdx
mov rsi, rcx
lea r14d, [r9 + 8]
mov r8d, r14d
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
xor ebx, ebx
test eax, eax
je 0x1400324ee
lea rax, [rsp + 0x30]
mov r9, r14
mov r8, rbp
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400324ca
cmp qword [rsp + 0x30], r14
jne 0x1400324ca
mov bl, 1
mov r9d, dword [rsp + 0x78]
lea rax, [rsp + 0x78]
mov r8, r14
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
neg eax
sbb al, al
and al, bl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x1400328c8
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov qword [rcx + 0x18], r9
mov dword [rcx + 8], eax
lea r9, [rcx + 8]
mov qword [rcx + 0x20], rax
mov r11, r8
mov eax, dword [rsp + 0x50]
mov rbx, rcx
mov qword [rcx], rdx
mov edx, eax
mov qword [rcx + 0x10], r8
mov r8d, 0x40
mov dword [rcx + 0x28], eax
mov byte [rcx + 0x2c], 1
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140033c04
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, str.MOZ_ENABLE_HANDLE_VERIFIER
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140033c25
call fcn.140033870
test al, al
jne 0x140033c43
mov rcx, qword [0x1400421c0]
test rcx, rcx
jne 0x140033c3d
call fcn.140002bd0
mov rcx, qword [0x1400421c0]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp qword [sym.firefox.exe_g_shared_section], 0
jne 0x140033c96
call fcn.14001e468
mov rbx, rax
test rax, rax
je 0x140033c96
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx]
test eax, eax
jne 0x140033c96
mov rax, qword [rbx]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rsp + 0x30]
mov dl, 1
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140033c91
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, rbx
jmp 0x140033c98
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x140033ca0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rcx, str.MOZ_ENABLE_HANDLE_VERIFIER
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor edi, edi
test rax, rax
je 0x140033cc7
call fcn.140033870
test al, al
jne 0x140033ce5
mov rcx, qword [0x1400421c0]
test rcx, rcx
jne 0x140033cdf
call fcn.140002bd0
mov rcx, qword [0x1400421c0]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp qword [sym.firefox.exe_g_shared_section], rdi
je 0x140033d3b
mov rbx, qword [0x140042fb0]
test rbx, rbx
jne 0x140033d28
lea rbx, [0x140042c58]
mov dword [0x140042c60], edi
mov byte [0x140042c64], 1
lea rax, [0x140037168]
mov qword [0x140042c58], rax
mov qword [0x140042fb0], rbx
test rbx, rbx
je 0x140033d3b
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
test eax, eax
cmovne rbx, rdi
mov rax, rbx
jmp 0x140033d3d
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140034198
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov dword [0], 0x311
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 3
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140009110
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x1400091a0
jmp 0x14000918f
jae 0x140009260
cmp r8, 0x201
jae 0x1400091a0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x1400091f8
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x1400091cf
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.140020b60
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140009221
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400092c8
mov r8d, r14d
cmp r15, r8
jne 0x140009180
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400092eb
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14000918f
jmp 0x1400091a0
cmp rsi, r8
jb 0x140009305
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.14000bb30
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x1400092b1
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.1400064d0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x140009299
jmp 0x1400092b1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_cc66ad468955717ab92600c770da8c1601a4ff33library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.1400217d0
jmp 0x14000931a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140021bc0
ud2
Function at 0x140010b80
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x140024570]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x140010bc4
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140010c2a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140010c61
test eax, eax
js 0x140010c3b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140010c54
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x20], 0
lea rdx, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
lea rsi, [rsp + 0x78]
lea r9, [rsp + 0x50]
mov r8d, 1
mov rcx, rsi
call fcn.140006980
lea rcx, [rsp + 0x58]
mov rdx, rsi
call fcn.14000b7e0
mov rcx, rax
call fcn.140006f40
mov ecx, 7
int 0x29
ud2
Function at 0x14001e8c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14001e93a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14001e930
cmp r11, r10
ja 0x14001e9d3
cmp r10, rdx
ja 0x14001e9e7
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14001e932
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14001e910
jmp 0x14001e9a7
ja 0x14001e93a
mov r11, r10
cmp rax, r8
jne 0x14001e8e2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001e9ab
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14001e980
mov r8, r10
sub ecx, r9d
jns 0x14001e99e
jmp 0x14001e9ad
cmp r10, rdx
je 0x14001e9b9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001e9ad
xor al, 1
cmp r8, rdx
jne 0x14001e960
jmp 0x14001e9ad
xor eax, eax
jmp 0x14001e9ad
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuelibrarycore_src_nummod.rsfrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400217d0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140021c30
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140021bc0
ud2

Function at 0x1400205cc
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push r13
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor r12d, r12d
xor eax, eax
lock cmpxchg qword [0x100004758], rdi
je 0x1000024a2
cmp rax, rdi
jne 0x100002495
mov edi, 1
mov r12d, edi
jmp 0x1000024a7
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100002479
mov edi, 1
mov eax, dword [0x100004750]
cmp eax, edi
jne 0x1000024bd
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x10000251a
mov eax, dword [0x100004750]
test eax, eax
jne 0x100002514
mov dword [0x100004750], edi
lea r13, [0x100001290]
lea rsi, [0x100001278]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
cmp rsi, r13
jae 0x100002506
test eax, eax
jne 0x100002506
mov rcx, qword [rsi]
test rcx, rcx
je 0x1000024fb
call rcx
mov dword [rsp + 0x20], eax
add rsi, 8
mov qword [rsp + 0x28], rsi
jmp 0x1000024e4
test eax, eax
je 0x10000251a
mov eax, 0xff
jmp 0x1000025ec
mov dword [0x100004184], edi
mov eax, dword [0x100004750]
cmp eax, edi
jne 0x100002541
lea rdx, [0x100001270]
lea rcx, [0x100001260]
call sub.msvcrt.dll__initterm
mov dword [0x100004750], 2
test r12d, r12d
jne 0x10000254f
xor eax, eax
xchg qword [0x100004758], rax
cmp qword [0x100004760], 0
je 0x100002578
lea rcx, [0x100004760]
call fcn.10000284c
test eax, eax
je 0x100002578
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100004760]
mov r8, qword [0x100004168]
mov rdx, qword [0x100004170]
mov ecx, dword [0x100004160]
call fcn.100001b54
mov dword [0x100004180], eax
cmp dword [0x100004164], 0
jne 0x1000025a8
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x100004184], 0
jne 0x1000025bd
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100004180]
jmp 0x1000025ec
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
add rsp, 0x30
pop r13
ret
sub rsp, 0x28
call fcn.100134000
add rsp, 0x28
jmp 0x100002454
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call [rbx]
invalid
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
invalid
invalid
Function at 0x140a5c552
Capabilities:
Execute anti-debugging instructions

Disassembly:
movabs rsi, 0x140000000
jmp 0x140a5c690
mov r12w, 0xf156
pop r12w
lea rsp, [rsp + 6]
jmp 0x140a5c592
clc
jmp 0x140a5c56f
lea rsp, [rsp + 6]
jmp 0x140a5c592
jae 0x140a5c53c
mov r12w, 0xf156
pop r12w
jmp 0x140a5c555
mov di, 0x136d
mov r9d, dword [rsp]
mov r15b, 0x29
jmp 0x140a5c5dd
add ebx, 0x306be48e
lea r15, [rdx + r9]
xchg r15w, ax
jmp 0x140a5c57c
lea rbp, [r9*4]
call fcn.140a5c5c7
mov rdi, qword [rsp + 6]
mov r11w, word [rsp + 5]
not edx
jmp 0x140a5c6fc
lea rsp, [rsp + 0x10]
sub ebx, 0xeaae540
pushfq
jmp 0x140a5c6b2
not r8
xchg edx, r15d
mov r10w, 0x3879
lea r10, [r10 + r10]
rdtsc
jmp 0x140a5c64c
call fcn.140a5c675
lea rdx, [r14 + r15]
sbb r15, 0xffffffffdc033e25
jbe 0x140a5c7d6
ja 0x140a5c792
sub ch, byte [rcx - 0x7054a7c7]
jmp 0x140a5c6b2
lea r10, [r12 + 0x2ef86013]
xchg r12, r11
dec r9b
jno 0x140a5c68b
jo 0x140a5b24f
sub rsp, 0xa
lea rsp, [rsp + 2]
ror ebx, 0
jmp 0x140a5c662
add rbx, qword [r13 + riz]
jmp 0x140a5c7b0
mov ax, 0xdd69
not r12b
or r10w, 0xef96
je 0x140a5c760
jne 0x140a5c760
out 0x74, al
adc ebp, esi
mov ecx, 0x68c9fe97
mov ecx, dword [rdi]
mov esp, 0xeb8741ec
bsf ebp, esp
xchg r11d, ebp
jmp 0x140a5c7dc
bswap rdx
mov r15d, 0x1d18ba4a
setne r12b
mov r11w, di
call fcn.140a5cfe1
and eax, 0xfd9a0485
or al, 0x2a
xor eax, 0xb34021b1
xor byte [rax], 0x33
sub cl, byte [rdi]
mov esp, 0xeb8741ec
bsf ebp, esp
xchg r11d, ebp
add rbx, rsi
setle r8b
jmp 0x140a5c776

Function at 0x140a5c5c7
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea rsp, [rsp + 8]
neg ebx
mov r9, qword [rsp]
call fcn.140a5c600
loop 0x140a5c5f7
insb byte [rdi], dx
jg 0x140a5c623
mov edi, dword [rsp + 6]

Function at 0x140a5c600
Capabilities:
Execute anti-debugging instructions

Disassembly:
bsf rdi, r13
jmp 0x140a5c620
not edx
sub rsp, 0xa
lea rsp, [rsp + 2]
jmp 0x140a5c705
jo 0x140a5c5ea
mov rdi, qword [rsp + 6]
mov r11w, word [rsp + 5]
jmp 0x140a5c606

Function at 0x140c66c70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
call fcn.140c6501b
mov rax, qword [rax + riz]
jmp 0x140c66c52
mov rax, qword gs:[0x60]
mov rax, qword [rax + riz + 0x18]
mov rax, qword [rax + riz + 0x30]
jmp 0x140c66c27
mov rax, qword [rax + riz + 0x10]
push rax
jmp 0x140c65016
lea rsp, [rsp + 1]
lea rsp, [rsp + 8]
jmp 0x140c66c3d
Function at 0x180001248
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov r11, qword [0x1800277e0]
add r11, 2
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x18], r11
mov r8b, byte [r11 - 1]
mov dl, byte [r11 - 2]
mov bl, r8b
mov cl, byte [r11]
mov al, dl
shr al, 7
mov r9b, cl
movzx eax, al
add r9b, r9b
imul eax, eax, 0x1b
add bl, bl
mov byte [rsp + 0x90], dl
add dl, dl
mov byte [rsp + 0x88], cl
mov byte [rsp + 0x80], r8b
xor dl, al
mov dword [rsp + 4], eax
mov al, dl
mov sil, dl
shr al, 7
add sil, sil
movzx eax, al
imul eax, eax, 0x1b
xor sil, al
mov dword [rsp], eax
mov al, r8b
shr al, 7
movzx eax, al
imul r15d, eax, 0x1b
xor bl, r15b
mov al, bl
mov r10b, bl
shr al, 7
add r10b, r10b
movzx eax, al
imul eax, eax, 0x1b
xor r10b, al
mov dword [rsp + 0xc], eax
mov al, cl
mov cl, byte [r11 + 1]
shr al, 7
add cl, cl
movzx eax, al
imul r12d, eax, 0x1b
xor r9b, r12b
mov dword [rsp + 8], r12d
mov al, r9b
mov r8b, r9b
shr al, 7
xor r9b, dl
movzx eax, al
add r8b, r8b
imul ebp, eax, 0x1b
mov al, byte [r11 + 1]
shr al, 7
movzx eax, al
imul eax, eax, 0x1b
xor r8b, bpl
xor cl, al
mov dword [rsp + 0x10], eax
mov al, cl
mov r13b, cl
shr al, 7
add r13b, r13b
movzx eax, al
imul r14d, eax, 0x1b
xor r13b, r14b
xor r9b, r13b
mov al, r13b
shr al, 7
xor r9b, r8b
movzx eax, al
xor r9b, r10b
imul edi, eax, 0x1b
xor r9b, sil
mov al, r8b
mov byte [rsp + 0x98], r9b
shr al, 7
movzx eax, al
imul r11d, eax, 0x1b
mov al, r10b
shr al, 7
xor r13b, cl
movzx eax, al
xor r13b, r8b
imul r9d, eax, 0x1b
xor r13b, r10b
mov r12, qword [rsp + 0x18]
xor r13b, bl
mov bl, byte [rsp + 0x88]
xor r13b, sil
mov rcx, qword [rsp + 0x18]
mov al, sil
shr al, 7
mov sil, byte [rsp + 0x80]
mov r8d, dword [rsp + 0xc]
mov r10b, byte [rcx + 1]
movzx eax, al
imul edx, eax, 0x1b
mov al, byte [rsp + 0x98]
xor al, byte [rsp + 0x80]
xor al, byte [rsp + 0x90]
add al, al
xor al, dl
xor al, r9b
xor al, r11b
xor al, dil
xor al, bpl
xor al, r15b
xor al, byte [rsp]
xor al, byte [rsp + 4]
xor al, byte [r12 + 1]
xor al, byte [rsp + 0x88]
xor al, byte [rsp + 0x80]
mov byte [r12 - 2], al
mov al, r13b
mov r12d, dword [rsp + 8]
xor al, bl
xor al, sil
xor r13b, r10b
add al, al
xor al, dl
xor al, r9b
xor al, r11b
xor al, dil
xor al, r14b
xor al, r12b
xor al, r8b
xor al, r15b
mov r15b, byte [rsp + 0x90]
xor r13b, r15b
xor al, r10b
add r13b, r13b
xor al, bl
xor r13b, dl
xor al, r15b
mov byte [rcx - 1], al
xor r13b, r9b
mov eax, dword [rsp + 0x10]
xor r13b, r11b
mov cl, byte [rsp + 0x98]
xor r13b, dil
xor cl, r10b
xor r13b, r14b
xor cl, bl
xor r13b, al
add cl, cl
xor r13b, r8b
xor cl, dl
xor cl, r9b
xor cl, r11b
xor cl, dil
xor cl, al
xor cl, bpl
mov rbp, qword [rsp + 0x18]
xor cl, r12b
xor cl, byte [rsp]
xor cl, r10b
xor cl, sil
xor cl, r15b
xor r13b, byte [rsp + 4]
mov byte [rbp], cl
xor r13b, bl
mov r11, rbp
xor r13b, sil
add r11, 4
xor r13b, r15b
mov qword [rsp + 0x18], r11
sub qword [rsp + 0x20], 1
mov byte [rbp + 1], r13b
jne 0x180001272
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret