joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180081890
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1800c4b58], eax
je 0x1800818ab
mov eax, 0x10dd
jmp 0x1800819d0
mov rax, qword [0x1800c4b70]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180081955
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x180081920
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x180081920
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.1800804e0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.1800837d0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x1800818b7
mov qword [0x1800c4b70], 0
call fcn.180080f40
mov rax, qword [0x1800c4b68]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800819b9
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.1800837d0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x180081971
mov qword [0x1800c4b68], 0
mov dword [0x1800c4b58], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x180081f00
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x1800c4b5c], 0
je 0x180081f1d
mov eax, dword [0x1800c4b5c]
jmp 0x180081fe3
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x180081f30
xor eax, eax
jmp 0x180081fe3
mov ecx, 0x10
call fcn.1800837d8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180081f9e
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x180081f83
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.1800837d0
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x1800c4b5c], eax
mov qword [0x1800c4b60], 0
mov eax, dword [rsp + 0x20]
jmp 0x180081fe3
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x180081fb8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x180081f59
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x1800c4b68]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x1800c4b68], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x18008356c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800835f0
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180089a70]
cmp byte [rcx + rax], 0
je 0x1800835f0
dec r8
sub rdx, 1
jne 0x1800835d6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400648de
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400ecc30
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.1400ebc80
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400ecc67
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x14017b020]
jmp 0x1400ecc6d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x38
ret

Function at 0x1400652e3
Capabilities:
Add user account to group

Disassembly:
jmp 0x14006c76e
jmp qword [sym.imp.NETAPI32.dll_NetGroupAddUser]

Function at 0x140065590
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400ea870
mov rax, rcx
neg rcx
test rax, 7
je 0x1400ea88d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1400ea8e8
test al, 7
jne 0x1400ea880
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1400ea8a1
mov rdx, qword [rax - 8]
test dl, dl
je 0x1400ea912
test dh, dh
je 0x1400ea90c
shr rdx, 0x10
test dl, dl
je 0x1400ea906
test dh, dh
je 0x1400ea900
shr rdx, 0x10
test dl, dl
je 0x1400ea8fa
test dh, dh
je 0x1400ea8f4
shr edx, 0x10
test dl, dl
je 0x1400ea8ee
test dh, dh
jne 0x1400ea8a1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1400655c7
Capabilities:
Query environment variable

Disassembly:
jmp 0x140102b1c
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 esi, esi
mov rbx, rax
test rax, rax
je 0x140102bb9
mov rbp, rax
cmp word [rax], si
je 0x140102b65
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140102b4c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140102b48
sub rbp, rbx
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
add rbp, 2
mov r9d, 0x40
sar rbp, 1
add rbp, rbp
mov rcx, rbp
lea edx, [r9 - 0x3e]
call fcn.1400657c0
mov rdi, rax
test rax, rax
je 0x140102ba4
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call fcn.14006574d
mov rsi, rdi
mov edx, 2
xor ecx, ecx
call fcn.140064857
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400658bf
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140088170
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140087af0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400881af
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14017b020]
jmp 0x1400881b9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x140065a04
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400880a0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.140087a70
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400880e1
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14017b020]
jmp 0x1400880e7
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x140065a77
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400ecf00
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1400ebe80
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400ecf53
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
call qword [0x14017b020]
jmp 0x1400ecf75
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.140065315
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x48
ret

Function at 0x140065a81
Capabilities:
Terminate process

Disassembly:
jmp 0x14006dc00
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140065c66
Capabilities:
Print debug messages

Disassembly:
jmp 0x14011c7f0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x140169008]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x14011c816
jmp 0x14011c893
mov rcx, qword [rbp + 0x30]
call fcn.140065590
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14011c82f
jmp 0x14011c893
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14011c84c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14006487f
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.140064c3f
test eax, eax
jne 0x14011c893
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.140065743
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x140065ce8
Capabilities:
Add user account

Disassembly:
jmp 0x14006c768
jmp qword [sym.imp.NETAPI32.dll_NetUserAdd]

Function at 0x14006609e
Capabilities:
Parse pe header

Disassembly:
jmp 0x14006ef90
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14006efb0
xor al, al
jmp 0x14006f031
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14006efc3
xor al, al
jmp 0x14006f031
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14006efed
xor al, al
jmp 0x14006f031
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14006f001
xor al, al
jmp 0x14006f031
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14006f013
xor al, al
jmp 0x14006f031
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14006f02f
xor al, al
jmp 0x14006f031
mov al, 1
add rsp, 0x38
ret
Function at 0x140066508
Capabilities:
Terminate process

Disassembly:
jmp 0x1400eb050
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400eb07e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140066bfc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400665b7
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400eccf0
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1400ebd00
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400ecd25
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x14017b020]
jmp 0x1400ecd2f
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x38
ret

Function at 0x1400669e0
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400ecd50
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1400ebd40
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400ecd8f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x14017b020]
jmp 0x1400ecd9e
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret

Function at 0x140066c5b
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400faf60
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x140066cec
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400881e0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140087b30
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140088229
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14017b020]
jmp 0x140088238
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret
Function at 0x180008711
Capabilities:
Encode data using xor

Disassembly:
pop rcx
push rcx
push rsi
jno 0x180008645
or al, 0xf4
invalid
imul eax, dword [rcx - 0x56], 0x6a18ebb9
invalid
jrcxz 0x180008710
loope 0x18000874a
mov cl, 0x47
xchg esi, eax
jb 0x180008726
imul ecx, dword es:[rdx - 0x3c54322a], 0xfdbd5464
add ah, dh
invalid
int 0xab
ret
jb 0x1800086ae
jp 0x180008719
and dword [rdx], esp
mov ah, 0x4d
loopne 0x1800086c3
je 0x180008774
sbb bh, byte [rcx]
push 0xffffffff841df420
or al, 0x4e
insb byte [rdi], dx
or al, 0xb2
test al, 0x3c
and rax, 0xfffffffff8957a6d
mov dword [rdi], esp
xchg esi, eax
jno 0x18000874c
call [rbp + 0x586c1e55]
mov ecx, ebp
push 0x369afdc3
invalid
popfq
push rbp
invalid
test al, 0x2e
std
jmp 0x1fe14b325

Function at 0x18069e058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x18069e1df
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 0x18069e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18069e06f
add dl, dl
jne 0x18069e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18069e0f6
xor eax, eax
add dl, dl
jne 0x18069e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18069e1ad
add dl, dl
jne 0x18069e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18069e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18069e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18069e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x18069e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18069e07e
mov eax, 1
add dl, dl
jne 0x18069e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18069e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18069e0fb
sub eax, ebx
mov ebx, 1
jne 0x18069e14c
mov ecx, 1
add dl, dl
jne 0x18069e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18069e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18069e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18069e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x18069e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18069e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18069e15d
cmp eax, 0x7d00
jae 0x18069e19b
cmp eax, 0x500
jb 0x18069e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18069e07e
cmp eax, 0x7f
ja 0x18069e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18069e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x18069e1d2
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 0x18069e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140011357
Capabilities:
Terminate process

Disassembly:
jmp 0x1400172c0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011447
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018610
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140018630
xor al, al
jmp 0x1400186b1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018643
xor al, al
jmp 0x1400186b1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001866d
xor al, al
jmp 0x1400186b1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018681
xor al, al
jmp 0x1400186b1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018693
xor al, al
jmp 0x1400186b1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400186af
xor al, al
jmp 0x1400186b1
mov al, 1
add rsp, 0x38
ret
Function at 0x180621058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1806211df
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 0x180621089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18062106f
add dl, dl
jne 0x180621096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806210f6
xor eax, eax
add dl, dl
jne 0x1806210a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806211ad
add dl, dl
jne 0x1806210b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806210c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806210d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806210dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1806210ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18062107e
mov eax, 1
add dl, dl
jne 0x180621106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180621113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1806210fb
sub eax, ebx
mov ebx, 1
jne 0x18062114c
mov ecx, 1
add dl, dl
jne 0x18062112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18062113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180621123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18062107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180621168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180621175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18062115d
cmp eax, 0x7d00
jae 0x18062119b
cmp eax, 0x500
jb 0x180621196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18062107e
cmp eax, 0x7f
ja 0x18062119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18062107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1806211d2
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 0x18062107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x141d88058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141d881df
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 0x141d88089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d8806f
add dl, dl
jne 0x141d88096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d880f6
xor eax, eax
add dl, dl
jne 0x141d880a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d881ad
add dl, dl
jne 0x141d880b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d880c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d880d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d880dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141d880ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141d8807e
mov eax, 1
add dl, dl
jne 0x141d88106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d88113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d880fb
sub eax, ebx
mov ebx, 1
jne 0x141d8814c
mov ecx, 1
add dl, dl
jne 0x141d8812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141d8813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d88123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d8807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141d88168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141d88175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d8815d
cmp eax, 0x7d00
jae 0x141d8819b
cmp eax, 0x500
jb 0x141d88196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d8807e
cmp eax, 0x7f
ja 0x141d8819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d8807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141d881d2
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 0x141d8807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800012c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1800012f3
xor eax, eax
jmp 0x1800013cb
mov rax, qword [rsp + 0x18]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x180001320
xor eax, eax
jmp 0x1800013cb
mov rax, qword [rsp + 8]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 8]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x10], rax
mov dword [rsp], 0
jmp 0x180001349
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 8]
movzx eax, word [rax + 6]
cmp dword [rsp], eax
jge 0x1800013c9
movsxd rax, dword [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x10]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x180001385
inc rcx
test dl, dl
jne 0x180001372
xor eax, eax
jmp 0x18000138a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1800013c4
movsxd rax, dword [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x10]
mov eax, dword [rdx + rax + 8]
mov dword [rcx], eax
movsxd rax, dword [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x10]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
jmp 0x1800013cb
jmp 0x180001341
xor eax, eax
add rsp, 0x28
ret