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

Disassembly:
mov r8, rdx
mov al, byte [rcx]
mov r9d, 0x50ed
xor al, 0xed
mov byte [r8], al
inc r8
movzx eax, word [rcx]
lea rcx, [rcx + 2]
cmp r9w, ax
jne 0x140003e4f
mov rax, rdx
ret

Function at 0x140006be0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
xor edi, edi
mov r14, r8
mov ebp, edx
mov r15, rcx
test edx, edx
je 0x140006ce0
xor r9d, r9d
lea esi, [rbx + 3]
xor r12d, r12d
lea r13, [0x14004b77e]
mov al, byte [r15]
dec ebp
mov byte [rsp + r9 + 0x68], al
inc r15
inc r9
inc ebx
cmp r9, rsi
jne 0x140006c65
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call fcn.14000700c
xor edx, edx
add edi, 4
movzx eax, byte [rsp + rdx + 0x70]
inc rdx
mov cl, byte [r13 + rax*2]
xor cl, 0xed
mov byte [r14 + r12], cl
inc r12
cmp rdx, 4
jl 0x140006c43
xor ebx, ebx
xor r9d, r9d
test ebp, ebp
jne 0x140006c18
test ebx, ebx
je 0x140006ce0
cmp ebx, esi
jge 0x140006c8a
mov eax, esi
lea rcx, [rsp + 0x68]
sub eax, ebx
xor edx, edx
movsxd r8, eax
movsxd rax, ebx
add rcx, rax
call sub.ntdll.dll_memset
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call fcn.14000700c
lea ecx, [rbx + 1]
movsxd r9, ecx
test ecx, ecx
jle 0x140006cc8
movsxd r8, edi
xor edx, edx
add r8, r14
add edi, ecx
movzx eax, byte [rsp + rdx + 0x70]
inc rdx
mov cl, byte [r13 + rax*2]
xor cl, 0xed
mov byte [r8], cl
inc r8
cmp rdx, r9
jl 0x140006cad
cmp ebx, esi
jge 0x140006ce0
movsxd rcx, edi
sub esi, ebx
add rcx, r14
movsxd r8, esi
mov dl, 0x3d
call sub.ntdll.dll_memset
add edi, esi
mov rbx, qword [rsp + 0x60]
mov eax, edi
movsxd rcx, edi
mov byte [rcx + r14], 0
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400071ac
Capabilities:
Encode data using xor

Disassembly:
mov r8, rdx
mov r9d, 0x50ed
sub r8, rcx
mov eax, r9d
xor ax, word [rcx]
mov word [r8 + rcx], ax
movzx eax, word [rcx]
lea rcx, [rcx + 2]
cmp r9w, ax
jne 0x1400071b8
mov rax, rdx
ret

Function at 0x1400071d4
Capabilities:
Encode data using xor

Disassembly:
mov r8, rdx
movsx eax, byte [rcx]
mov r9d, 0x50ed
xor ax, r9w
mov word [r8], ax
lea r8, [r8 + 2]
mov al, byte [rcx]
inc rcx
test al, al
jne 0x1400071d7
mov rax, rdx
ret

Function at 0x1400073d0
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov r10, rcx
test edx, edx
je 0x140007406
mov r9, rcx
mov rax, r9
lea rcx, [0x14004a5f0]
sub rax, r10
and eax, 0xf
mov cl, byte [rax + rcx]
xor cl, byte [r9]
xor cl, r8b
inc r8d
not cl
mov byte [r9], cl
inc r9
cmp r8d, edx
jb 0x1400073dd
ret
Function at 0x1400083f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
lea rdx, [0x14004ab0a]
mov rcx, qword [rcx]
xor r15d, r15d
mov bpl, r15b
call fcn.1400039f4
lea r13d, [r15 + 1]
mov rcx, rax
test rax, rax
jne 0x140008445
mov rcx, qword [rdi]
lea rdx, [0x14004ab1a]
call fcn.1400039f4
mov rcx, rax
mov bpl, r13b
test rcx, rcx
jne 0x14000844f
mov rsi, qword [rdi]
jmp 0x14000845b
movzx esi, bpl
add rsi, 7
lea rsi, [rcx + rsi*2]
lea rdx, [0x14004ab2c]
mov rcx, rsi
call fcn.1400039f4
mov rbx, rax
mov r12d, 0x50ed
test rax, rax
jne 0x1400084a4
lea rdx, [0x14004ab30]
mov rcx, rsi
call fcn.1400039f4
mov rbx, rax
test rax, rax
jne 0x1400084a4
mov rcx, qword [rdi]
call fcn.140003944
mov rbx, rax
mov word [rdi + 0x88], r12w
jmp 0x1400084c7
mov rcx, rbx
call fcn.1400039dc
cmp rax, 0x80
ja 0x14000862f
lea rdx, [rdi + 0x88]
mov rcx, rbx
call fcn.140003890
sub rbx, rsi
sar rbx, 1
lea rax, [rbx + 1]
cmp rax, 0x40
ja 0x14000862f
lea r14, [rdi + 8]
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call fcn.140008360
lea rdx, [0x14004ab34]
mov rcx, rsi
call fcn.1400039f4
mov bx, 0x30
test rax, rax
jne 0x140008540
lea rax, [0x14004ab40]
test bpl, bpl
lea rcx, [0x14004ab38]
cmove rcx, rax
lea rdx, [rdi + 0x188]
call fcn.140003890
neg bpl
sbb ax, ax
and ax, 0x16b
add ax, 0x50
mov word [rdi + 0x198], ax
jmp 0x1400085fb
lea r8, [rax + 2]
mov dl, r15b
mov eax, r12d
xor ax, word [r8]
cmp ax, bx
jb 0x14000862f
cmp ax, 0x39
ja 0x14000858f
movzx eax, word [r8]
movzx ecx, dl
add dl, r13b
mov word [rdi + rcx*2 + 0x188], ax
movzx eax, dl
add rax, r13
cmp rax, 8
ja 0x14000862f
add r8, 2
mov eax, r12d
xor ax, word [r8]
cmp ax, bx
jae 0x140008557
test dl, dl
je 0x14000862f
movzx r8d, dl
lea r10, [rdi + 0x186]
movzx r9d, r13w
movzx r11d, r15w
mov word [rdi + r8*2 + 0x188], r12w
lea r10, [r10 + r8*2]
mov word [rdi + 0x198], r15w
movzx eax, r9w
mov ecx, r12d
xor cx, word [r10]
lea r10, [r10 - 2]
sub cx, bx
movzx edx, cx
imul edx, eax
movzx eax, r9w
shl ax, 2
add r9w, ax
add r9w, r9w
add dx, r11w
mov word [rdi + 0x198], dx
movzx r11d, dx
sub r8, r13
jne 0x1400085bf
mov dl, r13b
jmp 0x140008616
movzx eax, cx
sub ax, bx
cmp ax, 9
jbe 0x140008612
cmp cx, 0x2e
jne 0x140008621
add r14, 2
mov ecx, r12d
xor cx, word [r14]
jne 0x140008600
jmp 0x140008624
mov dl, r15b
mov byte [rdi + 0x19a], dl
mov al, r13b
jmp 0x140008631
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000e724
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xb0
mov rsi, rcx
lea rdx, [rsp + 0x30]
xor ebx, ebx
lea rcx, [0x140060c00]
mov dword [rsp + 0x20], ebx
call fcn.140003890
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14000385c
lea rdx, [rsp + 0x30]
lea rcx, [0x140060c04]
call fcn.14000385c
mov rcx, qword [0x14008e930]
lea rdx, [rsp + 0x30]
call fcn.1400039f4
mov rdi, rax
test rax, rax
je 0x14000e85c
lea rcx, [rsp + 0x30]
call fcn.1400039dc
lea rdi, [rdi + rax*2]
mov eax, 0x50b6
cmp word [rdi], ax
jne 0x14000e85c
lea rdx, [0x140060c08]
mov rcx, rdi
call fcn.1400039f4
mov r8, rax
test rax, rax
je 0x14000e85c
sub rax, rdi
sar rax, 1
dec rax
cmp rax, 8
ja 0x14000e85c
xor r11d, r11d
lea r9, [rsp + 0x20]
sub r8, 2
cmp r8, rdi
je 0x14000e85c
xor r10d, r10d
lea ebp, [rbx + 0x30]
mov edx, 0x50ed
mov ecx, ebp
xor dx, word [r8]
mov ebx, 0x37
movzx eax, dx
sub ax, bp
cmp ax, 9
cmova ecx, ebx
sub dl, cl
movzx edx, dl
mov al, dl
shl al, 4
test r10d, r10d
movzx ecx, al
lea rax, [r9 + 1]
cmove ecx, edx
inc r11d
or byte [r9], cl
sub r8, 2
mov r10d, r11d
and r10d, 1
cmovne rax, r9
mov r9, rax
cmp r8, rdi
jne 0x14000e7f1
mov ebx, dword [rsp + 0x20]
test ebx, ebx
je 0x14000e85c
mov r8d, ebx
lea rcx, [0x140060c0c]
mov rdx, rsi
call fcn.14003ea04
lea r11, [rsp + 0xb0]
not ebx
mov rbp, qword [r11 + 0x18]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140029854
Capabilities:
Encode data using xor

Disassembly:
mov r8, rdx
sub r8, rcx
mov eax, 0x50ed
xor ax, word [rcx]
mov word [r8 + rcx], ax
movzx eax, word [rcx]
lea rcx, [rcx + 2]
test ax, ax
jne 0x14002985a
mov rax, rdx
ret
Function at 0x14003cfc4
Capabilities:
Parse pe header

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
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
mov r12d, 1
cmp qword [0x14008f348], r15
jne 0x14003d125
xor ecx, ecx
call fcn.140042d30
mov rcx, rax
mov rdi, rax
call fcn.14003dac4
test al, al
jne 0x14003d015
mov eax, r12d
jmp 0x14003d18e
mov eax, 0x5a4d
cmp word [rdi], ax
je 0x14003d029
mov eax, 2
jmp 0x14003d18e
cmp dword [rdi + 0x3c], 0x400
jl 0x14003d03c
mov eax, 3
jmp 0x14003d18e
movsxd rbx, dword [rdi + 0x3c]
add rbx, rdi
cmp dword [rbx], 0x4550
je 0x14003d055
mov eax, 4
jmp 0x14003d18e
mov qword [0x14008f348], r15
movzx r14d, r15w
movzx esi, word [rbx + 0x14]
add rsi, rbx
cmp r15w, word [rbx + 6]
jae 0x14003d143
movsx rax, r14w
lea rbp, [rax + rax*4]
mov eax, dword [rsi + rbp*8 + 0x3c]
test eax, 0x22000020
jne 0x14003d0ad
and eax, 0xc0000000
cmp eax, 0xc0000000
jne 0x14003d0ad
cmp dword [rsi + rbp*8 + 0x20], 0x10
jb 0x14003d0ad
mov eax, dword [rsi + rbp*8 + 0x24]
test eax, eax
je 0x14003d0ad
lea rcx, [rdi + rax]
call fcn.14003dac4
test al, al
jne 0x14003d0dc
movzx ecx, word [rbx + 6]
add r14w, r12w
movsx eax, r14w
cmp eax, ecx
jl 0x14003d072
mov rcx, qword [0x14008f348]
test rcx, rcx
je 0x14003d143
call fcn.14003dac4
test al, al
jne 0x14003d0f7
mov eax, 6
jmp 0x14003d18e
mov eax, dword [rsi + rbp*8 + 0x24]
mov ecx, dword [rsi + rbp*8 + 0x20]
add rax, rdi
add rcx, 0xfffffffffffffff0
add rcx, rax
mov qword [0x14008f348], rcx
jmp 0x14003d0c4
mov rdx, qword [0x14008f348]
lea rcx, [0x14008f338]
mov r8d, 0x10
call sub.ntdll.dll_memcpy
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov dword [0x14008f350], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x4000
call fcn.14003d1f0
test eax, eax
jne 0x14003d14a
mov eax, 7
jmp 0x14003d18e
mov eax, 5
jmp 0x14003d18e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, r12d
call fcn.14003d240
test eax, eax
jne 0x14003d166
mov eax, 8
jmp 0x14003d18e
mov rax, qword [0x14008f348]
movabs rcx, 0xebb3d7f5abce9b72
mov qword [rax], rcx
lea rcx, [0x14008f300]
mov rax, qword [0x14008f348]
mov qword [rax + 8], rcx
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14003eb90
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x250
lea rdx, [rsp + 0x40]
mov rbx, rcx
call fcn.1400071ac
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 7]
call fcn.140028d18
mov rdx, rax
lea rdi, [rsp + 0x40]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
cmp rdx, 0xffffffffffffffff
jne 0x14003ec12
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14003ec0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x14003ec0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x15
jne 0x14003ec2d
xor al, al
jmp 0x14003ec1c
mov rcx, rdx
call fcn.1400047c4
mov al, 1
mov rbx, qword [rsp + 0x260]
add rsp, 0x250
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
lea rcx, [0x1400767c8]
mov r8d, eax
call fcn.14003ff74
call fcn.140044080
int3

Function at 0x140040a58
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x50]
xor r9d, r9d
mov r8d, 0x2000
mov qword [rsp + 0x20], rax
mov rbx, rdx
xor edi, edi
call fcn.140040adc
test al, al
je 0x140040ac9
mov ecx, dword [rsp + 0x50]
test ecx, ecx
je 0x140040ac9
test cl, 1
jne 0x140040ac9
mov eax, ecx
mov edx, 0x50ed
shr rax, 1
movzx r9d, word [rbx + rax*2 - 2]
cmp r9w, dx
je 0x140040ac4
shr ecx, 1
je 0x140040ac4
mov r8d, ecx
movzx eax, r9w
xor ax, word [rbx]
xor ax, dx
mov word [rbx], ax
lea rbx, [rbx + 2]
sub r8, 1
jne 0x140040aad
mov dil, 1
jmp 0x140040ace
mov word [rbx], 0x50ed
mov rbx, qword [rsp + 0x40]
mov al, dil
add rsp, 0x30
pop rdi
ret
Function at 0x140042f28
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov rbx, rdx
mov rdi, rcx
mov edx, dword [rax + rcx + 0x88]
test edx, edx
je 0x14004302c
cmp dword [rax + rcx + 0x8c], 0
je 0x14004302c
call fcn.140044874
mov esi, eax
mov rcx, rdi
add rsi, rdi
mov edx, dword [rsi + 0x20]
call fcn.140044874
mov edx, dword [rsi + 0x24]
mov rcx, rdi
mov r13d, eax
add r13, rdi
call fcn.140044874
mov edx, dword [rsi + 0x1c]
mov rcx, rdi
mov r12d, eax
add r12, rdi
call fcn.140044874
mov r14d, eax
add r14, rdi
cmp rbx, 0x10000
jae 0x140042feb
mov edx, dword [rsi + 0x10]
cmp rbx, rdx
jb 0x14004303e
mov ecx, dword [rsi + 0x14]
add ecx, edx
cmp rbx, rcx
jae 0x14004303e
sub rbx, rdx
mov eax, dword [r14 + rbx*4]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor ebp, ebp
cmp dword [rsi + 0x18], ebp
jbe 0x14004303e
mov edx, dword [r13 + rbp*4]
mov rcx, rdi
call fcn.140044874
mov edx, eax
mov rcx, rbx
add rdx, rdi
call fcn.140006d00
test al, al
jne 0x140043019
inc ebp
cmp ebp, dword [rsi + 0x18]
jae 0x14004303e
jmp 0x140042ff2
movzx edx, word [r12 + rbp*2]
mov rcx, rdi
mov edx, dword [r14 + rdx*4]
call fcn.140044874
jmp 0x140042fce
lea rcx, [0x140076ae8]
call fcn.14003ff74
call fcn.140044080
int3
mov rdx, rbx
lea rcx, [0x140076b5e]
call fcn.14003ff74
call fcn.140044080
int3

Function at 0x140043054
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov rdi, rdx
lea rdx, [rsp + 0x20]
call fcn.1400071d4
lea rcx, [rsp + 0x20]
call fcn.140042dc0
mov rsi, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + rsi + 0x88]
test ecx, ecx
je 0x140043138
cmp dword [rax + rsi + 0x8c], 0
je 0x140043138
lea rbx, [rsi + rcx]
mov r15d, dword [rbx + 0x24]
mov r14d, dword [rbx + 0x1c]
add r15, rsi
add r14, rsi
cmp rdi, 0x10000
jae 0x140043103
mov edx, dword [rbx + 0x10]
cmp rdi, rdx
jb 0x14004314a
mov ecx, dword [rbx + 0x14]
add ecx, edx
cmp rdi, rcx
jae 0x14004314a
sub rdi, rdx
mov eax, dword [r14 + rdi*4]
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r12d, dword [rbx + 0x20]
xor ebp, ebp
add r12, rsi
cmp dword [rbx + 0x18], ebp
jbe 0x14004314a
mov edx, dword [r12 + rbp*4]
mov rcx, rdi
add rdx, rsi
call sub.ntdll.dll_strcmp
test eax, eax
je 0x14004312d
inc ebp
cmp ebp, dword [rbx + 0x18]
jae 0x14004314a
jmp 0x140043111
movzx eax, word [r15 + rbp*2]
mov eax, dword [r14 + rax*4]
jmp 0x1400430e2
lea rcx, [0x140076bc4]
call fcn.14003ff74
call fcn.140044080
int3
lea rcx, [0x140076c40]
call fcn.14003ff74
call fcn.140044080
int3
Function at 0x140043270
Capabilities:
Enumerate processes

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
push r14
push r15
sub rsp, 0x150
and dword [rcx], 0
xor edx, edx
mov r15, rcx
mov dword [rsp + 0x20], 0x130
xor r14d, r14d
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004336a
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140043384
lea rdx, [rsp + 0x20]
mov rcx, rbx
inc r14d
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400432cd
mov eax, r14d
imul rcx, rax, 0x130
call fcn.14003f888
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r12, rax
xor ebp, ebp
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x14004339e
mov eax, ebp
lea rsi, [rsp + 0x20]
imul rdi, rax, 0x130
inc ebp
mov ecx, 0x130
add rdi, r12
rep movsb byte [rdi], byte [rsi]
cmp ebp, r14d
jae 0x14004333a
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14004330a
mov rcx, rbx
call fcn.1400047c4
lea r11, [rsp + 0x150]
mov dword [r15], ebp
mov rbx, qword [r11 + 0x20]
mov rax, r12
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x140076906]
call fcn.14003ff74
call fcn.140044080
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x140076948]
call fcn.14003ff74
call fcn.140044080
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x14007698a]
call fcn.14003ff74
call fcn.140044080
int3
Function at 0x1401d4300
Capabilities:
Terminate process

Disassembly:
sbb al, 0xbe
insb byte [rdi], dx
ja 0x1400e3233
invalid
sbb byte [rdx], bl
pop rcx
sbb byte [rcx], al
nop
cmp bl, byte [rax + 0x31cae8ad]
rol bh, cl
invalid
cld
pop r11
jmp 0x1401d430d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1401d431d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1401d4305
lea eax, [rcx + 1]
jmp 0x1401d432b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1401d433e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1401d4324
sub eax, 3
jb 0x1401d435e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1401d43ad
sar eax, 1
movsxd rbp, eax
jb 0x1401d4394
jmp 0x1401d436c
add ebx, ebx
jne 0x1401d436a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401d4394
inc ecx
add ebx, ebx
jne 0x1401d437a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401d4394
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1401d438d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1401d437c
add ecx, 2
jmp 0x1401d4399
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1401d42c2
jmp 0x1401d430d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xf6e00
mov dl, 0x23
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1401d43f9
cmp rsi, rcx
jae 0x1401d4401
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1401d43e0
cmp al, 0x8f
ja 0x1401d43e0
cmp byte [rsi - 2], 0xf
je 0x1401d43e6
sub al, 0xe8
cmp al, 1
ja 0x1401d43ca
cmp rsi, rcx
jae 0x1401d4401
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1401d43d0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1401d4401
lodsb al, byte [rsi]
jmp 0x1401d43e0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1d0000]
mov eax, dword [rdi]
or eax, eax
je 0x1401d445e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1e0c00]
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 0x1401d440e
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 0x1401d4458
mov qword [rbx], rax
add rbx, 8
jmp 0x1401d442e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 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 0x1401d44b6
sub rsp, 0xffffffffffffff80
jmp 0x1400e3220
Function at 0x1417a6058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1417a61df
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 0x1417a6089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417a606f
add dl, dl
jne 0x1417a6096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417a60f6
xor eax, eax
add dl, dl
jne 0x1417a60a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417a61ad
add dl, dl
jne 0x1417a60b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417a60c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417a60d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417a60dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1417a60ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1417a607e
mov eax, 1
add dl, dl
jne 0x1417a6106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417a6113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417a60fb
sub eax, ebx
mov ebx, 1
jne 0x1417a614c
mov ecx, 1
add dl, dl
jne 0x1417a612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1417a613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417a6123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417a607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1417a6168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1417a6175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417a615d
cmp eax, 0x7d00
jae 0x1417a619b
cmp eax, 0x500
jb 0x1417a6196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417a607e
cmp eax, 0x7f
ja 0x1417a619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417a607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1417a61d2
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 0x1417a607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x101cb00
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x101cb0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x101cb1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x101cb05
lea eax, [rcx + 1]
jmp 0x101cb2b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x101cb3e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x101cb24
sub eax, 3
jb 0x101cb5e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x101cbad
sar eax, 1
movsxd rbp, eax
jb 0x101cb94
jmp 0x101cb6c
add ebx, ebx
jne 0x101cb6a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x101cb94
inc ecx
add ebx, ebx
jne 0x101cb7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x101cb94
call r11
adc ecx, ecx
add ebx, ebx
jne 0x101cb8d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x101cb7c
add ecx, 2
jmp 0x101cb99
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.0101cac2
jmp 0x101cb0d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xc0d000]
mov eax, dword [rdi]
or eax, eax
je 0x101cc09
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xc1c000]
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 0x101cbb9
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 0x101cc03
mov qword [rbx], rax
add rbx, 8
jmp 0x101cbd9
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 0x101cc4d
cmp al, 0xef
ja 0x101cc35
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x101cc15
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x101cc24
mov eax, dword [rdi]
add rdi, 4
jmp 0x101cc24
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 0x101cca1
sub rsp, 0xffffffffffffff80
jmp 0x4618e0