joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013e70
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x14002a790]
mov rax, qword [rsi]
test rax, rax
je 0x140013f00
cmp qword [rax + 0x30], 0
jne 0x140013f20
lea rbx, [0x140025468]
mov qword [rax + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
mov rax, qword [rsi]
test rax, rax
je 0x140013ed0
cmp qword [rax + 0x30], 0
jne 0x140013ef0
lea rdx, [0x140025468]
mov qword [rax + 0x30], rdx
mov rax, rdx
cmp dword [rax], 0xffffffff
je 0x1400242f0
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140018d70
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x140013eb2
test rax, rax
jne 0x140013ef0
call fcn.140018d70
nop dword [rax]
mov rax, qword [rax + 0x30]
jmp 0x140013ec0
call fcn.140018d70
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x140013e90
test rax, rax
jne 0x140013f20
call fcn.140018d70
nop dword [rax]
mov rbx, qword [rax + 0x30]
jmp 0x140013e9b
call sub.msvcrt.dll_abort
nop

Function at 0x140013f30
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov word [rsp + 0x88], ax
mov byte [rsp + 0x8a], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x140014042
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x14001401a
add rax, 1
cmp rax, 0x6b
je 0x140014037
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x140014010
cmp edx, 0x6a
je 0x140014037
lea eax, [rdx + 1]
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x14001402b
Function at 0x140018bf0
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140018c10
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x140018c58
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140018c04
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140018c45
Function at 0x140018d70
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x140031620]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x2c]
lea r9, [rsp + 0x30]
movzx eax, byte [rcx]
add rcx, 1
add rdx, 2
mov r8d, eax
and eax, 0xf
shr r8b, 4
add eax, 0x61
add r8d, 0x41
mov byte [rdx - 1], al
mov byte [rdx - 2], r8b
cmp rcx, r9
jne 0x140018d93
lea rax, [0x140031628]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x1a]
jmp 0x140018ddb
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x140018dd8
lea rax, [0x140031660]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x19]
jmp 0x140018e0b
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x140018e08
xor ecx, ecx
mov byte [0x140031679], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x140031682], rdx
lea r8, [0x140031620]
lea rbx, [0x14003167a]
mov qword [0x140031692], rdx
mov qword [0x1400316a2], rdx
mov qword [0x1400316b2], rdx
xor edx, edx
mov qword [0x14003167a], rax
mov qword [0x14003168a], rax
mov qword [0x14003169a], rax
mov qword [0x1400316aa], rax
mov byte [0x1400316ba], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140018fe6
lea rcx, [0x140031660]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x140018f31
lea rsi, [0x140031560]
lea r8, [0x1400316ba]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x140018edd
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x140018ed0
lea rcx, [0x140031660]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x140018fd3
lea rcx, [0x140018c80]
mov qword [0x140031560], rsi
call sub.msvcrt.dll__onexit
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x140031560]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x5b
lea rdx, [0x140031660]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x1400316ba]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x140019006
nop dword [rax]
cmp byte [rax], 0x41
jne 0x140018f83
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x140018f70
mov rax, rdx
mov qword [0x140031560], rax
lea rsi, [0x140031560]
jmp 0x140018fa9
cmp rdx, rsi
je 0x140018f0f
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x140018fa0
cmp rdx, rsi
je 0x140018f0f
mov qword [rdx + 8], rsi
lea rcx, [0x140018c80]
call sub.msvcrt.dll__onexit
jmp 0x140018f0f
lea rcx, str.failed_to_add_string_to_atom_table_n
call fcn.140018bf0
xor eax, eax
jmp 0x140018f28
lea rcx, str.failed_to_to_lock_creation_mutex_n
call fcn.140018bf0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, str.failed_to_get_string_from_atom_n
call fcn.140018bf0
xor eax, eax
jmp 0x140018f8f
Function at 0x140001af0
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x40
mov ecx, 0x18
call fcn.14000fd58
mov ecx, 0x14
mov rbx, rax
call fcn.14000fd58
mov dword [rsp + 0x38], 0xa
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
lea rcx, [0x14003fdc8]
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ecx, 0x10
call fcn.14000fd58
lea rdx, [0x14003fba8]
mov rbx, rax
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov r8d, dword [rsp + 0x58]
mov rcx, rbx
call fcn.140020594
mov rax, rbx
add rsp, 0x40
pop rbx
ret
Function at 0x140003210
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbp, rcx
mov rcx, qword [0x14005e410]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, qword [0x14005e410]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, qword [0x14005e410]
mov rdx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov qword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rbp
mov dword [rsp + 0x28], 2
mov edi, eax
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea r9, [rsp + 0x68]
mov r8d, edi
mov rdx, rsi
mov rcx, rax
mov rbx, rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140003530
Capabilities:
Create process on windows

Disassembly:
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x30], rbx
mov rax, qword [0x140050f70]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [0x14005e428], 0
je 0x14000355e
xor eax, eax
jmp 0x14000365e
mov rcx, qword [0x140057788]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x14005e428], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x14005e428]
test rcx, rcx
je 0x140003557
lea rdx, [0x14003fde8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000359a
xor ecx, ecx
call rax
lea rdx, [0x14003fdf8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x140003635
mov rbx, qword [0x140057780]
test rbx, rbx
je 0x140003612
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x1400035d4
xor eax, eax
jmp 0x140003612
lea r8d, [rax + rax]
cdqe
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400035f0
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400358e0
sub rsp, rcx
mov r9d, 3
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140003ef0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WinExec]
lea rdx, [0x14003fdf8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140003557
lea r9, [rbp]
xor r8d, r8d
mov edx, 0x40a
mov rcx, rax
mov dword [rbp + 8], 4
mov qword [rbp + 0x10], 0
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.14001fb20
mov rbx, qword [rbp + 0x30]
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x140004c80
Capabilities:
Hash data with md5

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x140050f70]
xor rax, rsp
mov qword [rsp + 0xb8], rax
xor eax, eax
mov rdx, rcx
or rcx, 0xffffffffffffffff
mov rdi, rdx
mov byte [r11 - 0x48], 0
mov dword [rsp + 0x20], 0x67452301
repne scasb al, byte [rdi]
mov qword [r11 - 0x47], rax
mov qword [r11 - 0x3f], rax
not rcx
mov qword [r11 - 0x37], rax
mov qword [r11 - 0x2f], rax
lea r8, [rcx - 1]
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x24], 0xefcdab89
mov dword [rsp + 0x28], 0x98badcfe
mov dword [rsp + 0x2c], 0x10325476
call fcn.140004210
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xa8]
call fcn.140004320
lea rsi, [rsp + 0xa8]
lea rbx, [rsp + 0x80]
mov ebp, 0x10
nop dword [rax]
movzx edi, byte [rsi]
lea rdx, [0x14003ffe8]
mov rcx, rbx
mov r8d, edi
call fcn.140020594
shl dil, 4
lea rcx, [rbx + 1]
lea rdx, [0x14003ffe8]
movzx r8d, dil
call fcn.140020594
add rbx, 2
inc rsi
sub rbp, 1
jne 0x140004d30
lea rcx, [rsp + 0x80]
mov rax, qword [rcx]
mov qword [0x14005e958], rax
mov rax, qword [rcx + 8]
mov qword [0x14005e960], rax
mov rax, qword [rcx + 0x10]
mov qword [0x14005e968], rax
mov rax, qword [rcx + 0x18]
mov qword [0x14005e970], rax
lea rax, [0x14005e958]
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14001fb20
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140005be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140005c13
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140005c57
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x140005c52
cmp rbx, r11
jae 0x140005c57
add edi, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x140005c40
cmp rbx, r11
jb 0x140005c5b
xor eax, eax
jmp 0x140005c67
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140013700
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.14001d5a4
mov rsi, rax
test rax, rax
je 0x14001377c
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x140013777
cmp dword [rbx], 0x40
jb 0x140013777
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x140013777
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x140013780
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001f928
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14001f9b1
movsxd rax, dword [0x14000003c]
lea rdi, [0x140000000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x14001f973
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x14001f9c1
mov ecx, 0x20b
cmp word [rax + 0x18], cx
je 0x14001f989
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x14001f9c1
cmp dword [rax + 0x84], 0xe
ja 0x14001f99d
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x14001f9c1
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xb0], ebx
jmp 0x14001f9c1
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
lea rdi, [0x140000000]
mov ecx, 1
call fcn.14002577c
test eax, eax
jne 0x14001f9f1
cmp dword [0x140056760], 1
jne 0x14001f9dd
call fcn.1400249fc
mov ecx, 0x1c
call fcn.1400247d4
mov ecx, 0xff
call fcn.14002078c
call fcn.1400256f8
test eax, eax
jne 0x14001fa1c
cmp dword [0x140056760], 1
jne 0x14001fa08
call fcn.1400249fc
mov ecx, 0x10
call fcn.1400247d4
mov ecx, 0xff
call fcn.14002078c
call fcn.1400253b0
nop
call fcn.1400250c0
test eax, eax
jns 0x14001fa35
mov ecx, 0x1b
call fcn.140020720
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x14005fbe8], rax
call fcn.14002502c
mov qword [0x140056758], rax
call fcn.140024f3c
test eax, eax
jns 0x14001fa60
mov ecx, 8
call fcn.140020720
call fcn.140024c6c
test eax, eax
jns 0x14001fa73
mov ecx, 9
call fcn.140020720
mov ecx, 1
call fcn.14002082c
test eax, eax
je 0x14001fa88
mov ecx, eax
call fcn.140020720
call fcn.140024c10
test byte [rsp + 0x6c], 1
movzx edx, word [rsp + 0x70]
mov r9d, 0xa
cmovne r9d, edx
mov r8, rax
xor edx, edx
mov rcx, rdi
call fcn.140001b80
mov edi, eax
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x14001fabf
mov ecx, eax
call fcn.140020a68
call fcn.140020a80
jmp 0x14001fae0
mov eax, edi
jmp 0x14001fae9
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.1400257c8
add rsp, 0x28
jmp 0x14001f928
Function at 0x140020a68
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14002807c
nop
cmp dword [0x1400567c0], 1
je 0x140020a14
mov dword [0x1400567bc], 1
mov byte [0x1400567b8], r12b
test ebx, ebx
jne 0x140020a00
mov rcx, qword [0x14005fbd0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400209ed
mov rcx, qword [0x14005fbc8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14002098c
call fcn.140025428
cmp qword [rdi], rax
jne 0x14002098c
jmp 0x140020972
cmp rdi, rsi
jb 0x1400209ed
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140025428
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14005fbd0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14005fbc8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400209cb
cmp r13, rax
je 0x1400209eb
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140020972
lea rdx, [0x14003a9c0]
lea rcx, [0x14003a9a8]
call fcn.1400207bc
lea rdx, [0x14003a9d0]
lea rcx, [0x14003a9c8]
call fcn.1400207bc
nop
test r12d, r12d
je 0x140020a23
mov ecx, 8
call fcn.140027f7c
test r12d, r12d
jne 0x140020a4e
mov dword [0x1400567c0], 1
lea ecx, [r12 + 8]
call fcn.140027f7c
mov ecx, r15d
call fcn.140020750
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400208dc

Function at 0x140020a74
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400208dc
Function at 0x140025923
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140050f70]
jne 0x14001fb3a
rol rcx, 0x10
test cx, 0xffff
jne 0x14001fb36
repz ret
ror rcx, 0x10
jmp 0x14002587c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140056db0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140056ea8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140025901
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140056db0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140025923
mov rax, qword [rsp + 0x88]
mov qword [0x140056ea8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140056e48], rax
mov rax, qword [0x140056ea8]
mov qword [0x140056d20], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140056e30], rax
mov dword [0x140056d10], 0xc0000409
mov dword [0x140056d14], 1
mov rax, qword [0x140050f70]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140050f78]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140056da8], eax
mov ecx, 1
call fcn.140025c30
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14003e4c0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140056da8], 0
jne 0x1400259aa
mov ecx, 1
call fcn.140025c30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140030aa4
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140025428
xor ebx, ebx
mov rdi, rax
cmp qword [0x140057648], rbx
jne 0x140030baa
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140030c7f
lea rdx, [0x14003e740]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140030c7f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14003e730]
mov rcx, rsi
mov qword [0x140057648], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14003e718]
mov rcx, rsi
mov qword [0x140057650], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140057658], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140057668], rax
test rax, rax
je 0x140030ba1
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140057660], rax
jmp 0x140030bb1
mov rax, qword [0x140057660]
jmp 0x140030bb8
mov rax, qword [0x140057660]
mov r11, qword [0x140057668]
cmp rax, rdi
je 0x140030c20
cmp r11, rdi
je 0x140030c20
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140057668]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140030c20
test rax, rax
je 0x140030c20
call rsi
test rax, rax
je 0x140030c1a
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140030c1a
test byte [rsp + 0x38], 1
jne 0x140030c20
bts ebp, 0x15
jmp 0x140030c5e
mov rcx, qword [0x140057650]
cmp rcx, rdi
je 0x140030c5e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140030c5e
call rax
mov rbx, rax
test rax, rax
je 0x140030c5e
mov rcx, qword [0x140057658]
cmp rcx, rdi
je 0x140030c5e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140030c5e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140057648]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140030c7f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140030c81
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14083a058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14083a1df
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 0x14083a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14083a06f
add dl, dl
jne 0x14083a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14083a0f6
xor eax, eax
add dl, dl
jne 0x14083a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14083a1ad
add dl, dl
jne 0x14083a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14083a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14083a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14083a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14083a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14083a07e
mov eax, 1
add dl, dl
jne 0x14083a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14083a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14083a0fb
sub eax, ebx
mov ebx, 1
jne 0x14083a14c
mov ecx, 1
add dl, dl
jne 0x14083a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14083a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14083a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14083a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14083a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14083a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14083a15d
cmp eax, 0x7d00
jae 0x14083a19b
cmp eax, 0x500
jb 0x14083a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14083a07e
cmp eax, 0x7f
ja 0x14083a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14083a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14083a1d2
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 0x14083a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20