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

Disassembly:
cld
pop r11
jmp 0x9e63fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x9e640d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x9e63f5
lea eax, [rcx + 1]
jmp 0x9e641b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x9e642e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x9e6414
sub eax, 3
jb 0x9e644e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x9e649d
sar eax, 1
movsxd rbp, eax
jb 0x9e6484
jmp 0x9e645c
add ebx, ebx
jne 0x9e645a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x9e6484
inc ecx
add ebx, ebx
jne 0x9e646a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x9e6484
call r11
adc ecx, ecx
add ebx, ebx
jne 0x9e647d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x9e646c
add ecx, 2
jmp 0x9e6489
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.009e63b2
jmp 0x9e63fd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x288e00
mov dl, 0x53
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x9e64e9
cmp rsi, rcx
jae 0x9e64f1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x9e64d0
cmp al, 0x8f
ja 0x9e64d0
cmp byte [rsi - 2], 0xf
je 0x9e64d6
sub al, 0xe8
cmp al, 1
ja 0x9e64ba
cmp rsi, rcx
jae 0x9e64f1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x9e64c0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x9e64f1
lodsb al, byte [rsi]
jmp 0x9e64d0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x5de000]
mov eax, dword [rdi]
or eax, eax
je 0x9e654e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x5e6000]
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 0x9e64fe
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 0x9e6548
mov qword [rbx], rax
add rbx, 8
jmp 0x9e651e
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 0x9e6592
cmp al, 0xef
ja 0x9e657a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x9e655a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x9e6569
mov eax, dword [rdi]
add rdi, 4
jmp 0x9e6569
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x9e65e6
sub rsp, 0xffffffffffffff80
jmp 0x468920
Function at 0x1400056a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x14000579b
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x1400057a3
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x1400057da
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x1400057b0
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x140005805
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x14000582b
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x140005810
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000b0b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14002d008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000b0f5
xor al, al
jmp 0x14000b142
cmp word [rbx], 0
je 0x14000b10d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000b100
cmp word [rsp + 0x30], 0
je 0x14000b13b
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000b163
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000b120
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000c390
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.140010628
int3
Function at 0x14000b220
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
movzx eax, cl
mov rcx, qword [0x14002dac0]
test rcx, rcx
je 0x14000b291
test al, al
je 0x14000b266
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
test eax, eax
jne 0x14000b25f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_send_CTRL_C_to_child_process.
call fcn.14000bb10
mov rcx, qword [0x14002dac0]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b284
mov rcx, qword [0x14002dac0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002dac0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002dacd], 0
je 0x14000b389
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x1400222f8]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140032340]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
nop dword [rax + rax]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b36a
test al, 0x10
je 0x14000b36a
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b310
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000b4a0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14000c330
sub rsp, rax
mov rax, qword [0x14002d008]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002dac8]
lea rsi, [0x140034340]
mov rdi, rcx
test r11d, r11d
jne 0x14000b519
mov r8d, 0x1000
lea rdx, str._HOME_
lea rcx, [rsp + 0x20]
call fcn.14000b610
test al, al
je 0x14000b5f9
lea rcx, [rsp + 0x20]
call fcn.140014aa8
movsxd r11, dword [0x14002dac8]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002dac8], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000b554
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000b544
add rax, 2
test ecx, ecx
jne 0x14000b530
test edx, edx
je 0x14000b577
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000b524
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000b560
cmp rax, 2
jne 0x14000b57b
cmp word [rdi + 2], 0x3a
jne 0x14000b57b
mov al, 1
jmp 0x14000b5d8
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000b5a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000b5cd
mov bl, 1
cmp dword [0x14002dac8], 0x400
jge 0x14000b5cd
mov rcx, rdi
call fcn.140014aa8
movsxd rdx, dword [0x14002dac8]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002dac8], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000c390
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str._HOME_
call fcn.14000b9f0
int3
Function at 0x14000cc64
Capabilities:
Parse pe header

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

Function at 0x14001061c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001047b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001047b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001047b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001047b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001047b
cmp dword [rcx + 0x84], 0xe
jbe 0x14001047b
cmp dword [rcx + 0xf8], 0
je 0x14001047b
mov ecx, ebx
call fcn.140010538
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140010308
nop
cmp dword [rbp + 0x20], 0
je 0x1400104c9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400104d4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14001040c
Function at 0x140019910
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140019997
mov rsi, rbx
cmp word [rax], bp
je 0x140019956
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140019940
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14001993c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140014f24
mov rdi, rax
test rax, rax
je 0x140019984
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000cf90
mov rbp, rdi
xor ecx, ecx
call fcn.140014ee8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180001270
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], dl
push rbp
lea rbp, [rsp - 0x4b0]
sub rsp, 0x5b0
mov r8, qword [0x18000a4d8]
lea rcx, [rbp + 0xa0]
mov eax, 0x104
nop dword [rax]
mov byte [rcx], 0
lea rcx, [rcx + 1]
sub rax, 1
jne 0x1800012a0
mov byte [rsp + 0x20], al
xor ebx, ebx
mov dword [rsp + 0x24], 0x6422fb6
mov dword [rsp + 0x28], 0x6732f95
mov eax, dword [rsp + 0x24]
movzx eax, byte [rsp + 0x20]
test al, al
jne 0x1800012f6
mov ecx, ebx
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rsp + rcx*4 + 0x24]
xor eax, 0x6732f95
mov dword [rsp + rcx*4 + 0x24], eax
inc rcx
cmp rcx, 2
jb 0x1800012e0
mov byte [rsp + 0x2c], bl
mov dword [rsp + 0x30], 0x2cbc5441
mov dword [rsp + 0x34], 0x2cbb5410
mov dword [rsp + 0x38], 0x2cbc544f
mov dword [rsp + 0x3c], 0x2c995410
mov eax, dword [rsp + 0x30]
movzx eax, byte [rsp + 0x2c]
test al, al
jne 0x180001346
mov rcx, rbx
nop word [rax + rax]
mov eax, dword [rsp + rcx*4 + 0x30]
xor eax, 0x2c995463
mov dword [rsp + rcx*4 + 0x30], eax
inc rcx
cmp rcx, 4
jb 0x180001330
lea r9, [rsp + 0x24]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov r8, qword [0x18000a4e0]
mov dword [rbp + 0x4c8], 0x100
test r8, r8
jne 0x180001389
lea edx, [r8 + 2]
xor ecx, ecx
mov r8d, 0xb9d41c39
call fcn.180004030
mov r8, rax
jmp 0x1800013b7
mov r8, qword [r8 + 0x730]
test r8, r8
jne 0x1800013b7
lea edx, [r8 + 2]
xor ecx, ecx
mov r8d, 0xb9d41c39
call fcn.180004030
mov r8, rax
mov rax, qword [0x18000a4e0]
mov qword [rax + 0x730], r8
lea rdx, [rbp + 0x4c8]
lea rcx, [rbp + 0x2b0]
call r8
lea r8, [rbp - 0x60]
call fcn.1800034c0
mov byte [rsp + 0x40], bl
mov dword [rsp + 0x44], 0x744ddf41
mov dword [rsp + 0x48], 0x745cdf5d
mov dword [rsp + 0x4c], 0x7454df5f
mov dword [rsp + 0x50], 0x740adf00
mov dword [rsp + 0x54], 0x745ddf1d
mov dword [rsp + 0x58], 0x745ddf4b
mov dword [rsp + 0x5c], 0x7438df33
mov eax, dword [rsp + 0x44]
movzx eax, byte [rsp + 0x40]
test al, al
jne 0x180001436
nop word [rax + rax]
mov eax, dword [rsp + rbx*4 + 0x44]
xor eax, 0x7438df33
mov dword [rsp + rbx*4 + 0x44], eax
inc rbx
cmp rbx, 7
jb 0x180001420
lea rax, [rsp + 0x44]
mov dword [rbp - 0x70], 1
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x60]
lea rax, [rbp + 0xa0]
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0x2b0]
mov qword [rbp - 0x78], rax
call fcn.180003c20
test eax, eax
js 0x1800014a0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.1800038c0
mov rcx, qword [rsp + 0x68]
mov ebx, eax
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rsp + 0x60]
mov r8, qword [rcx]
call qword [r8 + 0x10]
test ebx, ebx
je 0x1800014fd
mov rcx, qword [0x18000a4e0]
test rcx, rcx
jne 0x1800014d0
lea edx, [rcx + 1]
mov r8d, 0x1297812c
call fcn.180004030
mov rcx, rax
call rcx
mov rbx, qword [rsp + 0x5c0]
add rsp, 0x5b0
pop rbp
ret
mov rcx, qword [rcx + 0x628]
test rcx, rcx
jne 0x1800014fb
lea edx, [rcx + 1]
mov r8d, 0x1297812c
call fcn.180004030
mov rcx, rax
mov rax, qword [0x18000a4e0]
mov qword [rax + 0x628], rcx
call rcx
mov rbx, qword [rsp + 0x5c0]
add rsp, 0x5b0
pop rbp
ret
Function at 0x180001da0
Capabilities:
Encode data using xor

Disassembly:
mov r9, rdx
mov r10, rcx
mov al, 0xff
test rdx, rdx
je 0x180001e82
movzx r8d, byte [r10]
lea r10, [r10 + 2]
xor al, r8b
movzx r8d, al
add r8b, r8b
movzx edx, r8b
movzx ecx, dl
xor cl, 0x31
test al, al
movzx r8d, cl
cmovns r8d, edx
movzx eax, r8b
add al, al
movzx ecx, al
movzx eax, cl
xor al, 0x31
movzx edx, al
test r8b, r8b
cmovns edx, ecx
movzx eax, dl
add al, al
movzx ecx, al
movzx eax, cl
xor al, 0x31
movzx r8d, al
test dl, dl
cmovns r8d, ecx
movzx eax, r8b
add al, al
movzx ecx, al
movzx eax, cl
xor al, 0x31
movzx edx, al
test r8b, r8b
cmovns edx, ecx
movzx eax, dl
add al, al
movzx ecx, al
movzx eax, cl
xor al, 0x31
movzx r8d, al
test dl, dl
cmovns r8d, ecx
movzx eax, r8b
add al, al
movzx ecx, al
movzx eax, cl
xor al, 0x31
movzx edx, al
test r8b, r8b
cmovns edx, ecx
movzx eax, dl
add al, al
movzx ecx, al
movzx eax, cl
xor al, 0x31
movzx r8d, al
test dl, dl
cmovns r8d, ecx
movzx eax, r8b
add al, al
movzx ecx, al
movzx eax, cl
xor al, 0x31
test r8b, r8b
movzx eax, al
cmovns eax, ecx
sub r9, 1
jne 0x180001db1
ror al, 3
ret
Function at 0x180002b40
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov eax, dword [0x180008004]
mov r8, rdx
test eax, eax
jne 0x180002b56
rdtsc
shl rdx, 0x20
or rax, rdx
imul ecx, eax, 0x343fd
add ecx, 0x269ec3
mov eax, ecx
shr eax, 0x10
test al, 1
je 0x180002c0d
test ecx, ecx
jne 0x180002b7e
rdtsc
shl rdx, 0x20
or rax, rdx
mov ecx, eax
imul eax, ecx, 0x343fd
lea r9, [0x180000000]
add eax, 0x269ec3
mov dword [0x180008004], eax
shr eax, 0x10
movzx ecx, al
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea eax, [rdx + rdx*4]
sub ecx, eax
movsxd rax, ecx
movsx eax, byte [rax + r9 + 0x90fc]
mov word [r8], ax
mov eax, dword [0x180008004]
test eax, eax
jne 0x180002bce
rdtsc
shl rdx, 0x20
or rax, rdx
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x180008004], eax
shr eax, 0x10
movzx ecx, al
mov eax, 0x86186187
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
imul eax, eax, 0x15
sub ecx, eax
movsxd rax, ecx
movzx ecx, byte [rax + r9 + 0x9108]
jmp 0x180002ca7
test ecx, ecx
jne 0x180002c1d
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
imul eax, ecx, 0x343fd
lea r9, [0x180000000]
add eax, 0x269ec3
mov dword [0x180008004], eax
shr eax, 0x10
movzx ecx, al
mov eax, 0x86186187
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
imul eax, eax, 0x15
sub ecx, eax
movsxd rax, ecx
movsx eax, byte [rax + r9 + 0x9108]
mov word [r8], ax
mov eax, dword [0x180008004]
test eax, eax
jne 0x180002c75
rdtsc
shl rdx, 0x20
or rax, rdx
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x180008004], eax
shr eax, 0x10
movzx ecx, al
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea eax, [rdx + rdx*4]
sub ecx, eax
movsxd rax, ecx
movzx ecx, byte [rax + r9 + 0x90fc]
movsx eax, cl
mov word [r8 + 2], ax
xor eax, eax
mov word [r8 + 4], ax
mov eax, 2
ret
Function at 0x1800034c0
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov eax, dword [0x180008004]
xor esi, esi
mov rbx, r8
mov edi, esi
test eax, eax
jne 0x1800034e9
rdtsc
shl rdx, 0x20
or rax, rdx
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x180008004], eax
jne 0x180003505
rdtsc
shl rdx, 0x20
or rax, rdx
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x180008004], eax
jne 0x180003521
rdtsc
shl rdx, 0x20
or rax, rdx
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x180008004], eax
jne 0x18000353d
rdtsc
shl rdx, 0x20
or rax, rdx
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x180008004], eax
jne 0x180003559
rdtsc
shl rdx, 0x20
or rax, rdx
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x180008004], eax
jne 0x180003575
rdtsc
shl rdx, 0x20
or rax, rdx
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x180008004], eax
jne 0x180003591
rdtsc
shl rdx, 0x20
or rax, rdx
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x180008004], eax
jne 0x1800035ad
rdtsc
shl rdx, 0x20
or rax, rdx
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x180008004], eax
jne 0x1800035c9
rdtsc
shl rdx, 0x20
or rax, rdx
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x180008004], eax
jne 0x1800035e5
rdtsc
shl rdx, 0x20
or rax, rdx
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x180008004], eax
jne 0x180003601
rdtsc
shl rdx, 0x20
or rax, rdx
imul ecx, eax, 0x343fd
add ecx, 0x269ec3
mov eax, ecx
mov dword [0x180008004], ecx
shr eax, 0x10
test al, 1
je 0x180003684
mov r10, rsi
test ecx, ecx
jne 0x18000362f
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
imul eax, ecx, 0x343fd
add eax, 0x269ec3
mov dword [0x180008004], eax
shr eax, 0x10
movzx ecx, al
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [rdx + rdx*2]
sub ecx, eax
add ecx, 3
je 0x180003672
mov r11d, ecx
nop dword [rax]
lea rdx, [rbx + r10*2]
call fcn.180002b40
add r10, rax
sub r11, 1
jne 0x180003660
mov eax, 0x5f
lea rdi, [r10 + 1]
mov word [rbx + r10*2], ax
mov word [rbx + rdi*2], si
lea r9, [rsp + 0x40]
mov r8d, 1
mov dl, 0xa
call fcn.1800027f0
mov ecx, dword [rsp + 0x4c]
mov r11d, ecx
movzx r9d, word [rsp + 0x4a]
mov eax, ecx
movzx r10d, word [rsp + 0x48]
and r11d, 0xff0000
shr eax, 0x10
or r11d, eax
movzx r8d, r9b
mov eax, ecx
movzx edx, r10b
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shl r8d, 8
shl eax, 8
lea rcx, [rbx + rdi*2]
shr r9d, 8
or r8d, r9d
shl edx, 8
movzx r9d, word [rsp + 0x44]
shr r11d, 8
or r11d, eax
shr r10d, 8
movzx eax, word [rsp + 0x46]
or edx, r10d
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], r8d
mov r8d, dword [rsp + 0x40]
mov dword [rsp + 0x28], edx
lea rdx, str._0.8X__0.4X__0.4X__0.4X__0.4X_0.8X
mov dword [rsp + 0x20], eax
call fcn.180002760
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
cdqe
add rax, rdi
add rsp, 0x50
pop rdi
ret
Function at 0x180003740
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x58
mov rax, qword [rcx]
lea rdx, [rbp + 0x20]
xor ebx, ebx
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x30], rbx
call qword [rax + 0x48]
test eax, eax
js 0x1800038b4
mov rcx, qword [rbp + 0x20]
lea r8, [rbp + 0x28]
lea edx, [rbx + 1]
mov qword [rsp + 0x50], rdi
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rbp + 0x20]
mov edi, eax
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test edi, edi
js 0x1800038ad
mov rcx, qword [rbp + 0x28]
lea r8, [rbp + 0x18]
lea rdx, [0x1800091b8]
mov rax, qword [rcx]
call qword [rax]
mov rcx, qword [rbp + 0x28]
mov edi, eax
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test edi, edi
js 0x1800038a3
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1800038a7
mov rax, qword [rcx]
lea rdx, str.TimeTrigger
call qword [rax + 0x48]
mov edi, eax
test eax, eax
js 0x1800038a3
mov rcx, qword [rbp + 0x18]
lea rdx, [rbp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x50]
test eax, eax
js 0x18000381a
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x18000381a
mov rax, qword [rcx]
lea rdx, str.PT1H
call qword [rax + 0x40]
mov rcx, qword [rbp + 0x18]
mov rdx, qword [rbp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rax, qword [rbp + 0x18]
mov rcx, qword [rax]
mov byte [rbp - 0x38], bl
mov dword [rbp - 0x34], 0x11e25d16
mov dword [rbp - 0x30], 0x11e05d15
mov r8, qword [rcx + 0x78]
mov dword [rbp - 0x2c], 0x11e25d09
mov dword [rbp - 0x28], 0x11ff5d15
mov dword [rbp - 0x24], 0x11e35d14
mov dword [rbp - 0x20], 0x11e35d70
mov dword [rbp - 0x1c], 0x11e85d16
mov dword [rbp - 0x18], 0x11e25d14
mov dword [rbp - 0x14], 0x11e25d1e
mov dword [rbp - 0x10], 0x11d25d14
mov eax, dword [rbp - 0x34]
movzx eax, byte [rbp - 0x38]
test al, al
jne 0x180003896
nop dword [rax]
mov eax, dword [rbp + rbx*4 - 0x34]
xor eax, 0x11d25d24
mov dword [rbp + rbx*4 - 0x34], eax
inc rbx
cmp rbx, 0xa
jb 0x180003880
mov rcx, qword [rbp + 0x18]
lea rdx, [rbp - 0x34]
call r8
mov edi, eax
mov rcx, qword [rbp + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, edi
mov rdi, qword [rsp + 0x50]
add rsp, 0x58
pop rbx
pop rbp
ret