joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400072d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
je 0x14000731f
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000731f
bt eax, 0xa
jae 0x14000731f
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000730f
test al, 0x10
je 0x14000730f
mov rcx, rdi
call fcn.14003112c
jmp 0x140007317
mov rcx, rdi
call fcn.140030ea0
test eax, eax
jne 0x1400073a4
mov ecx, 0x18
call fcn.14002e7f0
mov rbx, rax
test rax, rax
je 0x1400073a4
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
test rdi, rdi
je 0x14000736d
xor edx, edx
mov r8d, 0x1000
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_LoadLibraryExA]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rbx + 8], eax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8, rbx
lea rdx, [fcn.1400072d0]
mov ecx, 4
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleExA]
test eax, eax
jne 0x14000738d
mov qword [rbx], 0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rbx + 8], eax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x140007850
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
je 0x14000789f
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000789f
bt eax, 0xa
jae 0x14000789f
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000788f
test al, 0x10
je 0x14000788f
mov rcx, rdi
call fcn.14003112c
jmp 0x140007897
mov rcx, rdi
call fcn.140030ea0
test eax, eax
jne 0x140007924
mov ecx, 0x18
call fcn.14002e7f0
mov rbx, rax
test rax, rax
je 0x140007924
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
test rdi, rdi
je 0x1400078ed
xor edx, edx
mov r8d, 0x1000
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_LoadLibraryExA]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rbx + 8], eax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8, rbx
lea rdx, [fcn.140007850]
mov ecx, 4
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleExA]
test eax, eax
jne 0x14000790d
mov qword [rbx], 0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rbx + 8], eax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140007e80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
je 0x140007ecf
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140007ecf
bt eax, 0xa
jae 0x140007ecf
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140007ebf
test al, 0x10
je 0x140007ebf
mov rcx, rdi
call fcn.14003112c
jmp 0x140007ec7
mov rcx, rdi
call fcn.140030ea0
test eax, eax
jne 0x140007f54
mov ecx, 0x18
call fcn.14002e7f0
mov rbx, rax
test rax, rax
je 0x140007f54
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
test rdi, rdi
je 0x140007f1d
xor edx, edx
mov r8d, 0x1000
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_LoadLibraryExA]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rbx + 8], eax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8, rbx
lea rdx, [fcn.140007e80]
mov ecx, 4
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleExA]
test eax, eax
jne 0x140007f3d
mov qword [rbx], 0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rbx + 8], eax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140007f70
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14007a0f8]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor r12d, r12d
mov qword [r11 - 0x40], 0xffffffffffffffff
mov dword [r11 - 0x48], r12d
mov r14, rdx
mov dword [r11 - 0x34], r12d
mov r15, rcx
test rcx, rcx
je 0x140008147
test rdx, rdx
je 0x140008147
mov r8d, 0x101
mov qword [r11 + 0x18], rbx
lea rdx, [0x1400661f4]
lea rcx, [r11 - 0x48]
call qword [sym.imp.SETUPAPI.DLL_CM_Get_Device_ID_List_SizeA]
mov ebx, eax
test eax, eax
jne 0x14000813b
mov ebx, dword [rsp + 0x40]
mov qword [rsp + 0xa8], rbp
call qword [sym.imp.KERNEL32.DLL_GetProcessHeap]
mov r8d, ebx
lea edx, [r12 + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov rbp, rax
test rax, rax
jne 0x14000800f
lea ebx, [rax + 2]
jmp 0x140008133
mov r8d, dword [rsp + 0x40]
lea rcx, [0x1400661f4]
mov r9d, 0x101
mov rdx, rbp
call qword [sym.imp.SETUPAPI.DLL_CM_Get_Device_ID_ListA]
mov ebx, eax
test eax, eax
jne 0x14000811f
lea ebx, [rax + 0x25]
mov qword [rsp + 0x68], rsi
mov esi, dword [rsp + 0x40]
mov qword [rsp + 0x60], rdi
mov rdi, rbp
cmp byte [rbp], r12b
je 0x140008115
xor r9d, r9d
mov dword [rsp + 0x50], r12d
mov r8, rdi
lea rdx, [0x14007a0d8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SETUPAPI.DLL_CM_Get_Device_Interface_List_SizeA]
mov ebx, eax
test eax, eax
jne 0x14000807c
cmp dword [rsp + 0x50], 1
ja 0x140008095
mov edx, esi
mov rcx, rdi
call fcn.14002f470
inc rax
add rdi, rax
sub esi, eax
cmp byte [rdi], r12b
jne 0x140008052
jmp 0x1400080a8
xor r8d, r8d
lea rcx, [rsp + 0x54]
mov rdx, rdi
call qword [sym.imp.SETUPAPI.DLL_CM_Locate_DevNodeA]
mov ebx, eax
test ebx, ebx
jne 0x140008115
mov ecx, dword [rsp + 0x54]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], r12d
lea r9d, [rbx + 1]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x20019
call qword [sym.imp.SETUPAPI.DLL_CM_Open_DevNode_Key]
mov ebx, eax
test eax, eax
jne 0x140008115
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea r9d, [rbx + 2]
mov qword [rsp + 0x28], r15
lea r8, str.InstallDir
xor edx, edx
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x50], r14d
call qword [sym.imp.ADVAPI32.DLL_RegGetValueA]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_HeapFree]
mov rbp, qword [rsp + 0xa8]
mov eax, ebx
mov rbx, qword [rsp + 0xa0]
jmp 0x14000814c
mov eax, 3
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140008600
add rsp, 0x70
pop r15
pop r14
pop r12
ret
Function at 0x140008170
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x14007a0f8]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x14000836c
test rdx, rdx
je 0x14000836c
test r8, r8
je 0x14000836c
xor edx, edx
mov qword [rsp + 0x2c8], rbp
mov r8d, 0x104
lea rcx, [rsp + 0x60]
call fcn.140009970
lea rdx, [0x1400661e4]
mov rcx, rbx
call fcn.1400324a0
test rax, rax
jne 0x14000834a
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.140007f70
lea rbp, [0x1400661d8]
test eax, eax
jne 0x1400082bc
lea rdx, [0x1400661e4]
mov rcx, rbx
call fcn.1400324a0
test rax, rax
jne 0x140008317
xor edx, edx
lea rcx, [rsp + 0x170]
mov r8d, 0x104
call fcn.140009970
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rbx
lea r8, str._s_s_s
mov qword [rsp + 0x20], rbp
lea rdx, [rsp + 0x170]
mov ecx, 0x104
call fcn.140008390
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400082a6
bt eax, 0xa
jae 0x1400082a6
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140008295
test al, 0x10
je 0x140008295
lea rcx, [rsp + 0x170]
call fcn.14003112c
jmp 0x1400082a2
lea rcx, [rsp + 0x170]
call fcn.140030ea0
test eax, eax
jne 0x1400082bc
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x170]
call fcn.140035478
test eax, eax
je 0x140008317
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
cmp eax, 0x104
jae 0x140008345
lfence
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.14002f470
cmp rax, 0x104
jne 0x1400082f7
mov byte [rsp + 0x163], 0
jmp 0x140008317
lfence
mov r9, 0xffffffffffffffff
lea r8, str.IntelIPF
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.14002e8d4
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x60]
lea r8, str._s_s_s
mov qword [rsp + 0x20], rbp
mov rdx, rdi
mov rcx, rsi
call fcn.140008390
mov rbp, qword [rsp + 0x2c8]
mov rax, rdi
jmp 0x14000836e
mov byte [rsp + 0x60], 0
mov r9, 0xffffffffffffffff
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.14002ea8c
mov rbp, qword [rsp + 0x2c8]
mov rax, rdi
jmp 0x14000836e
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140008600
add rsp, 0x290
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400317f4
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 0x1400315e3
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x1400315e3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400315e3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400315e3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400315e3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400315e3
cmp dword [rcx + 0xf8], 0
je 0x1400315e3
mov ecx, ebx
call fcn.140031714
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.14003135c
cmp dword [rbp + 0x20], 0
je 0x140031630
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140031638
int3
xor r8d, r8d
xor edx, edx
jmp 0x14003157c

Function at 0x140043100
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x140043120
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.14003c67c
or eax, 0xffffffff
jmp 0x140043122
xor eax, eax
add rsp, 0x28
ret

Function at 0x140043130
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
jne 0x140043150
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.14003c67c
or eax, 0xffffffff
jmp 0x140043152
xor eax, eax
add rsp, 0x28
ret
Function at 0x1800046e0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xa0
xor ebp, ebp
lea r8, [0x18000c3a0]
mov rdx, rcx
lea rcx, [rsp + 0x78]
call fcn.180004e60
nop
lea r8, str.Preventing_Startup
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.180004ff0
mov rbx, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 3
jb 0x180004769
lea rsi, [rcx + 3]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp rdx, 7
jbe 0x18000474d
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, 6
lea rdx, [0x18000c370]
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rsi*2], bp
jmp 0x180004789
mov qword [rsp + 0x20], 3
lea r9, [0x18000c370]
mov edx, 3
mov rcx, rbx
call fcn.1800053e0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rdx, qword [rsp + 0x30]
mov r9d, 0x10
lea r8, [0x18000c358]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x180004825
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004820
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004820
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000702c
movdqa xmm0, xmmword [0x18000c4d0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bp
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x18000487d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004878
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004878
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000702c
movdqa xmm0, xmmword [0x18000c4d0]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], bp
mov rdx, qword [rsp + 0x90]
cmp rdx, 7
jbe 0x1800048d8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800048d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800048d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000702c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
Function at 0x180006988
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1800069c2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800069c7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180006a10
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180009300]
cmp byte [rcx + rax], 0
je 0x180006a10
dec r8
sub rdx, 1
jne 0x1800069f6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140131adc
Capabilities:
Access peb ldr_data
Execute anti-debugging instructions
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
je 0x140131b12
add r8d, 0x4e81911
call 0x140130ea4
call rcx
jne 0x1401325f6
jp 0x140131710
push r13
rcl ebp, 0x8e
jge 0x140131ba1
cmp r8d, 0xe4f4ca06
or esi, 0xe7fec3c
movabs r9, 0x6c610a000003a6e9
pushfq
call rcx
mov r11d, 0x6b896dc7
lea r12d, [rbx - 0xd527]
lea ebp, [rdi + 0x4281]
ret
adc al, 0x49

Function at 0x1401355b0
Capabilities:
Execute syscall

Disassembly:
adc byte [rbp + 0x22840fc0], r8b
add dword [rax], eax
add byte [rbx - 0x2ffcb729], cl
mov qword [rsp + 0x20], r9
xchg r8, r10
mov qword [rsp + 0x18], r10
xchg r10, r8
mov dword [rsp + 0x10], edx
xchg rdi, rcx
jmp 0x1401355ec
xchg r12, rax
jmp 0x140135616
mov dword [rsp + 8], 0
mov rax, qword [rsp + 0x30]
xchg r12, rax
mov qword [rsp + 0x10], r12
jmp 0x1401355cc
mov qword [rsp + 8], rdi
xchg rdi, rcx
sub rsp, 0x28
lea rax, [0x140135790]
mov qword [rsp + 0x18], rax
jmp 0x1401355d3
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
jmp 0x14013563b
jae 0x140135780
mov byte [rsp], 0
mov dword [rsp + 4], 0
jmp 0x14013564f
add rcx, rax
xchg rcx, rax
mov rcx, rax
xchg rcx, rax
cmp qword [rsp + 0x10], rax
jmp 0x140135624
jmp 0x14013565e
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 4], eax
jae 0x1401356dc
mov eax, dword [rsp + 4]
jmp 0x1401356a9
xchg rsi, rax
mov rsi, rcx
xchg rsi, rax
jmp 0x140135681
cmp qword [rsp + 0x10], rax
jae 0x1401356d7
mov byte [rsp], 1
jmp 0x1401356dc
cmp qword [rsp + 0x10], rax
jb 0x1401356d7
mov eax, dword [rsp + 4]
jmp 0x1401356bd
xchg r9, rcx
mov r9, qword [rsp + 0x40]
xchg rcx, r9
mov rax, qword [rcx + rax*8]
jmp 0x140135695
mov ecx, dword [rsp + 4]
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rdx + rcx*4]
mov rdx, qword [rsp + 0x40]
add rcx, qword [rdx + rax*8]
jmp 0x140135675
jmp 0x140135654
movzx eax, byte [rsp]
test eax, eax
je 0x1401356ed
jmp 0x140135609
xor edx, edx
mov eax, dword [rsp + 8]
mov ecx, 0x20
div ecx
mov eax, edx
mov eax, eax
mov rcx, qword [rsp + 0x18]
jmp 0x14013570d
jmp 0x140135609
movzx eax, byte [rcx + rax]
xchg rsi, rcx
mov rsi, qword [rsp + 0x10]
je 0x140135733
jne 0x140135733
jae 0x140134b93
int3
jmp 0x140135755
xchg rsi, rcx
movzx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
xchg rdx, rcx
mov rdx, qword [rsp + 0x10]
xchg rcx, rdx
jmp 0x14013576f
mov byte [rcx], al
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
jmp 0x140135708
add rsp, 0x28
ret
Function at 0x1405be058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405be1df
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 0x1405be089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405be06f
add dl, dl
jne 0x1405be096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405be0f6
xor eax, eax
add dl, dl
jne 0x1405be0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405be1ad
add dl, dl
jne 0x1405be0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405be0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405be0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405be0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405be0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405be07e
mov eax, 1
add dl, dl
jne 0x1405be106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405be113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405be0fb
sub eax, ebx
mov ebx, 1
jne 0x1405be14c
mov ecx, 1
add dl, dl
jne 0x1405be12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405be13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405be123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405be07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405be168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405be175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405be15d
cmp eax, 0x7d00
jae 0x1405be19b
cmp eax, 0x500
jb 0x1405be196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405be07e
cmp eax, 0x7f
ja 0x1405be19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405be07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405be1d2
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 0x1405be07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400114a1
Capabilities:
Terminate process

Disassembly:
jmp 0x14001f120
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]
nop
add rsp, 0x28
ret
Function at 0x1400115ff
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001fc50
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001fc70
xor al, al
jmp 0x14001fcf1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001fc83
xor al, al
jmp 0x14001fcf1
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 0x14001fcad
xor al, al
jmp 0x14001fcf1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001fcc1
xor al, al
jmp 0x14001fcf1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001fcd3
xor al, al
jmp 0x14001fcf1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001fcef
xor al, al
jmp 0x14001fcf1
mov al, 1
add rsp, 0x38
ret
Function at 0x14001184d
Capabilities:
Enumerate processes

Disassembly:
jmp 0x14001c220
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x428
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x448]
mov rax, qword [0x14002c040]
xor rax, rbp
mov qword [rbp + 0x3f8], rax
lea rcx, [0x140033295]
call fcn.14001187a
nop
mov dword [rbp + 0x10], 0x238
lea rax, [rbp + 0x14]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
xor edx, edx
mov ecx, 2
call fcn.1400113d9
mov qword [rbp + 0x268], rax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.140011528
test eax, eax
je 0x14001c2e6
lea rdx, [rbp + 0x3c]
mov rcx, qword [rbp + 0x420]
call fcn.1400112a8
movzx eax, al
test eax, eax
je 0x14001c2d2
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 0x18]
jmp 0x14001c2f9
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.14001178a
test eax, eax
jne 0x14001c2a8
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, 0xffffffff
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140027d90]
call fcn.140011730
mov rax, rdi
mov rcx, qword [rbp + 0x3f8]
xor rcx, rbp
call fcn.1400113fc
lea rsp, [rbp + 0x408]
pop rdi
pop rbp
ret

Function at 0x14001d580
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400118b1
movzx eax, al
test eax, eax
jne 0x14001d5a0
mov ecx, 7
call fcn.140011744
nop
mov byte [rsp + 0x20], 0
call fcn.140011780
mov byte [rsp + 0x21], al
cmp dword [0x14002c540], 1
jne 0x14001d5c4
mov ecx, 7
call fcn.140011744
nop
jmp 0x14001d61c
cmp dword [0x14002c540], 0
jne 0x14001d617
mov dword [0x14002c540], 1
lea rdx, [0x140026770]
lea rcx, [0x140026440]
call fcn.1400113d4
test eax, eax
je 0x14001d5f8
mov eax, 0xff
jmp 0x14001d721
lea rdx, [0x140026330]
lea rcx, [section..rdata]
call fcn.140011767
mov dword [0x14002c540], 2
jmp 0x14001d61c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011726
call fcn.140011631
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001d679
mov rcx, qword [rsp + 0x30]
call fcn.14001131b
movzx eax, al
test eax, eax
je 0x14001d679
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140034020]
nop
call fcn.140011695
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001d6ad
mov rcx, qword [rsp + 0x38]
call fcn.14001131b
movzx eax, al
test eax, eax
je 0x14001d6ad
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011843
nop
call fcn.14001d7d0
mov dword [rsp + 0x28], eax
call fcn.1400115ff
movzx eax, al
test eax, eax
jne 0x14001d6cc
mov ecx, dword [rsp + 0x28]
call fcn.1400110a5
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001d6db
call fcn.140011866
nop
xor edx, edx
mov cl, 1
call fcn.1400112da
mov eax, dword [rsp + 0x28]
jmp 0x14001d721
add rsp, 0x68
ret