joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140c800b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140c80237
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 0x140c800e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c800c7
add dl, dl
jne 0x140c800ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c8014e
xor eax, eax
add dl, dl
jne 0x140c800fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c80205
add dl, dl
jne 0x140c8010e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c8011b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c80128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c80135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c80142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c800d6
mov eax, 1
add dl, dl
jne 0x140c8015e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c8016b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c80153
sub eax, ebx
mov ebx, 1
jne 0x140c801a4
mov ecx, 1
add dl, dl
jne 0x140c80186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c80193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c8017b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c800d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c801c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c801cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c801b5
cmp eax, 0x7d00
jae 0x140c801f3
cmp eax, 0x500
jb 0x140c801ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c800d6
cmp eax, 0x7f
ja 0x140c801f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c800d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c8022a
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 0x140c800d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
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]
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
fnstcw word [rbx + 0x54]
movabs al, byte [0xff557cdcff537bda]
push rbx
invalid
fdivr qword [rbp + rdx*2 - 1]
fstp xword [rbx + 0x54]
invalid
push rbx
invalid
fstp xword [rdx + 0x53]
invalid
push rsp
invalid
push rbx
invalid
push rsp
invalid
fidivr dword [rbx + 0x53]
invalid
fstp xword [rbx + 0x53]
invalid
Function at 0x140001200
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov rax, qword [rsp + 0x20]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140001229
xor eax, eax
jmp 0x14000127f
mov rax, qword [rsp]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x140001252
xor eax, eax
jmp 0x14000127f
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
mov eax, 1
add rsp, 0x18
ret
Function at 0x140001290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
xor eax, eax
mov word [rsp + 0x24], ax
jmp 0x140001313
movzx eax, word [rsp + 0x24]
inc ax
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
mov rcx, qword [rsp + 0x88]
cmp eax, dword [rcx + 0x18]
jae 0x1400014e1
movzx eax, word [rsp + 0x24]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
movzx eax, word [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x60]
call fcn.140001190
mov rcx, qword [rsp + 0x90]
cmp rax, qword [rcx + 8]
jne 0x1400014dc
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
xor eax, eax
mov word [rsp + 0x20], ax
xor eax, eax
cmp eax, 1
je 0x1400014dc
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
cmp eax, 0x4c
jne 0x1400014ca
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax + 1]
cmp eax, 0x8b
jne 0x1400014ca
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax + 2]
cmp eax, 0xd1
jne 0x1400014ca
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax + 3]
cmp eax, 0xb8
jne 0x1400014ca
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax + 6]
test eax, eax
jne 0x1400014ca
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax + 7]
test eax, eax
jne 0x1400014ca
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax + 5]
mov byte [rsp + 0x28], al
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax + 4]
mov byte [rsp + 0x29], al
movzx eax, byte [rsp + 0x28]
shl eax, 8
mov word [rsp + 0x2c], ax
movzx eax, byte [rsp + 0x29]
and eax, 0xff
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x2c]
movzx ecx, word [rsp + 0x30]
xor eax, ecx
mov word [rsp + 0x40], ax
movzx eax, word [rsp + 0x2c]
sar eax, 2
movzx ecx, word [rsp + 0x30]
shl ecx, 6
or eax, ecx
movzx ecx, word [rsp + 0x40]
sar ecx, 3
or eax, ecx
mov word [rsp + 0x44], ax
mov rax, qword [rsp + 0x90]
movzx ecx, word [rsp + 0x44]
mov word [rax + 0x10], cx
jmp 0x1400014dc
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
jmp 0x1400013a5
jmp 0x140001306
mov eax, 1
add rsp, 0x78
ret
Function at 0x140001dfc
Capabilities:
Parse pe header

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

Function at 0x140003f28
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140003d54
Function at 0x14000bdf0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000be18
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000be18
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001000
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push r13
sub rsp, 0x40
mov ecx, 3
xor edx, edx
call fcn.140001490
stmxcsr dword [rsp + 0x20]
or dword [rsp + 0x20], 0x8040
lea rcx, [rsp + 0x28]
ldmxcsr dword [rcx - 8]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, str.ERROR
xor ecx, ecx
mov r8, rdx
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x28]
cmp eax, dword [rsp + 0x30]
jne 0x14000106f
mov eax, dword [rsp + 0x2c]
cmp eax, dword [rsp + 0x34]
jne 0x14000106f
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001062
call fcn.140001100
mov ecx, 0xb
mov r13, qword [rax + 0x60]
call fcn.1400010f0
cmp eax, 0xa
je 0x1400010c8
mov rax, qword [r13 + 0x18]
mov rdx, qword [rax + 0x20]
mov rcx, qword [rdx]
lea rdx, [rsp + 0x20]
mov qword [rdx], 0
mov rcx, qword [rcx + 0x20]
call fcn.140001120
test eax, eax
je 0x1400010bc
cmp qword [rsp + 0x20], 0
je 0x1400010bc
xor eax, eax
add rsp, 0x40
pop r13
ret
mov eax, 1
add rsp, 0x40
pop r13
ret
mov ecx, 0x16
call fcn.1400010f0
cmp eax, 1
je 0x1400010b3
cmp eax, 2
jne 0x140001087
mov eax, 2
add rsp, 0x40
pop r13
ret

Function at 0x140001120
Capabilities:
Parse pe header

Disassembly:
movzx eax, word [rcx]
cmp eax, 0x5a4d
je 0x14000112d
xor eax, eax
ret
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14000114d
mov eax, dword [rax + rcx + 0x88]
add rcx, rax
mov qword [rdx], rcx
mov eax, 1
ret
xor eax, eax
ret
Function at 0x1400039f8
Capabilities:
Parse pe header

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

Function at 0x140005d9c
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140005c2f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005c2f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005c2f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005c2f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005c2f
cmp dword [rcx + 0x84], 0xe
jbe 0x140005c2f
cmp dword [rcx + 0xf8], 0
je 0x140005c2f
mov ecx, ebx
call fcn.140005cd0
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140005ac0
cmp dword [rbp + 0x20], 0
je 0x140005c7c
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140005c84
int3
xor r8d, r8d
xor edx, edx
jmp 0x140005bc8
Function at 0x140014c90
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140014cb8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140014cb8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140004907
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.1400123e0
mov r15, qword [0x14002048c]
cmp r15, 1
jne 0x1400049d6
push qword [0x14002057c]
pop rcx
call fcn.14000d5b4
mov r15, rax
and r15, r15
jle 0x14000496c
mov rcx, qword [0x14002057c]
call fcn.14000d5bc
mov rcx, qword [0x14002057c]
call fcn.14000d5d0
or rax, rax
je 0x14000496c
mov rbp, qword [0x140020584]
push qword [rbp + 0x10]
pop rcx
call fcn.14000da6c
jmp 0x140004949
push qword [0x14002056c]
pop rcx
call fcn.14000d5b4
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x1400049d6
push 5
push 0
push 1
push qword [0x14002056c]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009070
mov rcx, qword [0x14002056c]
call fcn.14000d5bc
mov rcx, qword [0x14002056c]
call fcn.14000d5d0
or rax, rax
je 0x1400049d6
mov rbp, qword [0x140020574]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x1400049b3
mov rax, 1
jmp 0x1400049e2
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006a58
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 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push rbx
invalid
cdq
movabs byte [0xb7b1fffeada5fffe], al
invalid
loopne case.0x14000727a.1
invalid
invalid
invalid
invalid
invalid
invalid
invalid
Function at 0x140009770
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
lea rsi, [0x14001f424]
lea rdi, [0x140030120]
mov rcx, qword [0x1400270a8]
movq xmm6, rdi
movq xmm0, rsi
punpcklqdq xmm6, xmm0
test rcx, rcx
je 0x1400097c7
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400097e8
mov rcx, qword [0x1400270a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140030108], 0
jne 0x140009800
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x1400270a8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1400097ba
mov edx, 0x414
lea r12, [rsp + 0x20]
mov qword [rsp + 0x20], 0
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [rsp + 0x28], 3
mov rcx, r12
mov ebx, 0x14
mov word [rsp + 0x40], dx
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400098b4
test al, 0x10
je 0x1400097d0
mov ecx, 0x64
call r14
mov eax, 0x414
mov qword [rsp + 0x50], rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rbp
sub ebx, 1
je 0x1400097d0
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x140009860
jmp 0x1400097d0
Function at 0x180d24058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.180d241df
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 0x180d24089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180d2406f
add dl, dl
jne 0x180d24096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180d240f6
xor eax, eax
add dl, dl
jne 0x180d240a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180d241ad
add dl, dl
jne 0x180d240b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180d240c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180d240d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180d240dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180d240ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180d2407e
mov eax, 1
add dl, dl
jne 0x180d24106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180d24113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180d240fb
sub eax, ebx
mov ebx, 1
jne 0x180d2414c
mov ecx, 1
add dl, dl
jne 0x180d2412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180d2413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180d24123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180d2407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180d24168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180d24175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180d2415d
cmp eax, 0x7d00
jae 0x180d2419b
cmp eax, 0x500
jb 0x180d24196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180d2407e
cmp eax, 0x7f
ja 0x180d2419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180d2407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180d241d2
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 0x180d2407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001430
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.1400016cc
test al, al
je 0x140001591
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.14000168c
mov bl, al
mov ecx, dword [0x14001b7fc]
cmp ecx, 1
je 0x14000159c
test ecx, ecx
jne 0x1400014bd
mov dword [0x14001b7fc], 1
lea rdx, [0x140014cb8]
lea rcx, [0x140014c88]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x14000149e
mov eax, 0xff
jmp 0x140001581
lea rdx, [0x140014c80]
lea rcx, [0x140014c18]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x14001b7fc], 2
jmp 0x1400014c5
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.140001850
call fcn.140001a34
mov rbx, rax
cmp qword [rax], 0
je 0x140001502
mov rcx, rax
call fcn.1400017b0
test al, al
je 0x140001502
movabs r10, 0x99012e4578d92870
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x140014c00]
call fcn.140001a44
mov rbx, rax
cmp qword [rax], 0
je 0x140001524
mov rcx, rax
call fcn.1400017b0
test al, al
je 0x140001524
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_wide_environment
mov rdi, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv
mov rbx, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call main
mov ebx, eax
call fcn.140001bc4
test al, al
je 0x1400015a6
test sil, sil
jne 0x14000155b
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.14000187c
mov eax, ebx
jmp 0x140001581
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.140001a64
nop
mov ecx, 7
call fcn.140001a64
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.1400af000
add rsp, 0x28
jmp 0x140001430

Function at 0x140001bc4
Capabilities:
Parse pe header

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