joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003b320
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14003b32d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003b33d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14003b325
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14003b355
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14003b342
sub eax, 3
jb 0x14003b36f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14003b3a6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14003b396
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14003b394
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14003b383
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14003b2e2
jmp 0x14003b32d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x22e00
mov dl, reloc.COMCTL32.dll_InitCommonControls
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14003b3f2
cmp rsi, rcx
jae 0x14003b3fa
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14003b3d9
cmp al, 0x8f
ja 0x14003b3d9
cmp byte [rsi - 2], 0xf
je 0x14003b3df
sub al, 0xe8
cmp al, 1
ja 0x14003b3c3
cmp rsi, rcx
jae 0x14003b3fa
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14003b3c9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14003b3fa
lodsb al, byte [rsi]
jmp 0x14003b3d9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x39000]
mov eax, dword [rdi]
or eax, eax
je 0x14003b463
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x41b70]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14003b407
jns 0x14003b43c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14003b446
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14003b45d
mov qword [rbx], rax
add rbx, 8
jmp 0x14003b427
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x18f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14003b4bb
sub rsp, 0xffffffffffffff80
jmp 0x140023590
Function at 0x140001810
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.14000c390
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.14000c390
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x140001880
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x140011474]
mov r12, rcx
test ebx, ebx
jle 0x1400019b0
mov rax, qword [0x140011478]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x1400018cc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140001953
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x1400018b0
mov rcx, r12
call fcn.140002220
mov rsi, rax
test rax, rax
je 0x1400019d2
mov rax, qword [0x140011478]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.140002350
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x140011478]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400019b7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000194c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001960
add dword [0x140011474], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x140011478]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000194c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001810
nop dword [rax]
xor ebx, ebx
jmp 0x1400018d7
mov rax, qword [0x140011478]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001810
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140001810
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001e90
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1400114e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400114c0]
test rbx, rbx
je 0x140001ee4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x140001edb
test r12, r12
je 0x140001edb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001ec0
lea rcx, [0x1400114e0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002220
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000e5c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002240
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002248
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002240
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140002295
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000228c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002240
add rax, 0x28
cmp rax, r9
jne 0x140002278
xor eax, eax
ret

Function at 0x1400022a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000e5c0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400022c0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400022c8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400022c0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x140002350
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000e5c0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140002370
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x140002378
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x140003b40
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x14000e640]
mov rax, qword [rsi]
test rax, rax
je 0x140003bd0
cmp qword [rax + 0x30], 0
jne 0x140003bf0
lea rbx, [0x14000df48]
mov qword [rax + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
mov rax, qword [rsi]
test rax, rax
je 0x140003ba0
cmp qword [rax + 0x30], 0
jne 0x140003bc0
lea rdx, [0x14000df48]
mov qword [rax + 0x30], rdx
mov rax, rdx
cmp dword [rax], 0xffffffff
je 0x14000c650
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140008a40
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x140003b82
test rax, rax
jne 0x140003bc0
call fcn.140008a40
nop dword [rax]
mov rax, qword [rax + 0x30]
jmp 0x140003b90
call fcn.140008a40
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x140003b60
test rax, rax
jne 0x140003bf0
call fcn.140008a40
nop dword [rax]
mov rbx, qword [rax + 0x30]
jmp 0x140003b6b
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
mov rax, qword [pe_dos_header]
ud2
Function at 0x140004720
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rsi, qword [0x14000e640]
mov rax, qword [rsi]
test rax, rax
je 0x140004910
cmp qword [rax + 0x28], 0
jne 0x1400048f8
lea rcx, [0x140011598]
cmp dword [rcx], 1
mov qword [rax + 0x28], rcx
je 0x140004905
call fcn.140003d30
mov rax, qword [rsi]
test rax, rax
je 0x1400047a0
cmp qword [rax + 0x30], 0
jne 0x1400047c0
lea rdx, [0x14000df48]
mov qword [rax + 0x30], rdx
mov rax, rdx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
je 0x1400047d4
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.140008a40
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x140004770
test rax, rax
jne 0x1400047c0
call fcn.140008a40
nop dword [rax]
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
jne 0x14000478e
call fcn.140003870
cmp qword [0x140013050], 0
mov rbx, rax
je 0x14000478e
test rax, rax
je 0x14000478e
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.14000a8e0
cmp eax, 1
je 0x14000497d
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r12, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, r12
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x14000c656
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
mov rax, qword [rsi]
test rax, rax
je 0x140004958
cmp qword [rax + 0x30], 0
je 0x140004940
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14000c656
mov r12, rbx
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x14000475c
mov rax, qword [rsi]
jmp 0x140004769
call fcn.140008a40
cmp qword [rax + 0x28], 0
mov rax, qword [rsi]
je 0x140004748
test rax, rax
jne 0x1400048f8
call fcn.140008a40
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x14000475c
jmp 0x140004761
lea rdx, [0x14000df48]
mov qword [rax + 0x30], rdx
mov rax, rdx
jmp 0x1400048ce
call fcn.140008a40
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x140004940
test rax, rax
jne 0x1400048ca
call fcn.140008a40
jmp 0x1400048ca
call fcn.140003c00
nop word cs:[rax + rax]
nop dword [rax]
mov rax, qword [0x14000e640]
mov rdx, qword [rax]
lea rax, [0x1400115a8]
mov qword [rdx + 0x10], rax
ret
Function at 0x140008a40
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x140011680]
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 0x140008a63
lea rax, [0x140011688]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x1a]
jmp 0x140008aab
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x140008aa8
lea rax, [0x1400116c0]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x19]
jmp 0x140008adb
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x140008ad8
xor ecx, ecx
mov byte [0x1400116d9], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x1400116e2], rdx
lea r8, [0x140011680]
lea rbx, [0x1400116da]
mov qword [0x1400116f2], rdx
mov qword [0x140011702], rdx
mov qword [0x140011712], rdx
xor edx, edx
mov qword [0x1400116da], rax
mov qword [0x1400116ea], rax
mov qword [0x1400116fa], rax
mov qword [0x14001170a], rax
mov byte [0x14001171a], 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 0x140008cb6
lea rcx, [0x1400116c0]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x140008c01
lea rsi, [0x1400115c0]
lea r8, [0x14001171a]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x140008bad
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x140008ba0
lea rcx, [0x1400116c0]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x140008ca3
lea rcx, [0x140008950]
mov qword [0x1400115c0], 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 [0x1400115c0]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x5b
lea rdx, [0x1400116c0]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x14001171a]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x140008cd6
nop dword [rax]
cmp byte [rax], 0x41
jne 0x140008c53
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x140008c40
mov rax, rdx
mov qword [0x1400115c0], rax
lea rsi, [0x1400115c0]
jmp 0x140008c79
cmp rdx, rsi
je 0x140008bdf
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x140008c70
cmp rdx, rsi
je 0x140008bdf
mov qword [rdx + 8], rsi
lea rcx, [0x140008950]
call sub.msvcrt.dll__onexit
jmp 0x140008bdf
lea rcx, str.failed_to_add_string_to_atom_table_n
call fcn.1400088c0
xor eax, eax
jmp 0x140008bf8
lea rcx, str.failed_to_to_lock_creation_mutex_n
call fcn.1400088c0
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.1400088c0
xor eax, eax
jmp 0x140008c5f
Function at 0x140912058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1409121df
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 0x140912089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14091206f
add dl, dl
jne 0x140912096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409120f6
xor eax, eax
add dl, dl
jne 0x1409120a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409121ad
add dl, dl
jne 0x1409120b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409120c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409120d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409120dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409120ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14091207e
mov eax, 1
add dl, dl
jne 0x140912106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140912113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409120fb
sub eax, ebx
mov ebx, 1
jne 0x14091214c
mov ecx, 1
add dl, dl
jne 0x14091212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14091213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140912123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14091207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140912168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140912175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14091215d
cmp eax, 0x7d00
jae 0x14091219b
cmp eax, 0x500
jb 0x140912196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14091207e
cmp eax, 0x7f
ja 0x14091219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14091207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409121d2
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 0x14091207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001040
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov edx, 0x47
lea rcx, [entry0]
mov al, byte [rcx + rdx]
xor al, 0xfa
add al, 0xb1
xor al, 0xef
mov byte [rcx + rdx], al
inc rdx
cmp rdx, 0x2d9
jl 0x140001068
or al, 0x5c
jmp 0x180ed0eaa
Function at 0x1400056c0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x290
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1419761c8]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rsi, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
jne 0x1400057b8
mov qword [rsp + 0x40], 2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
lea rax, [0x1402b84e0]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.140025fb0
mov rbx, rax
or edi, 0xffffffff
mov r8d, edi
lea rdx, [0x1402b8660]
lea rcx, [rsp + 0x28]
call fcn.140004290
nop
mov rdx, rax
mov rcx, qword [rbx]
call fcn.14003ffd0
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x140005780
cmp eax, edi
je 0x14000578e
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x14000578e
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
mov rcx, qword [rbx]
cmp byte [rcx + 0x20], 0
je 0x14000579f
mov dl, 0x20
call fcn.140040050
nop
lea rcx, [rsp + 0x38]
call fcn.1400380f0
lea rax, [0x140187f70]
mov qword [rsi], rax
jmp 0x1400058a0
xor eax, eax
mov qword [rsp + 0x68], rax
or edi, 0xffffffff
mov r8d, edi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call fcn.1400042e0
nop
mov rax, qword [rsp + 0x68]
cmp dword [rax], 1
ja 0x1400057e6
cmp qword [rax + 0x10], 0x18
je 0x1400057fd
mov edx, dword [rax + 4]
inc edx
xor r8d, r8d
lea rcx, [rsp + 0x68]
call fcn.1400342b0
mov rax, qword [rsp + 0x68]
movsxd r8, dword [rax + 4]
mov rdx, qword [rax + 0x10]
lea rbx, [rdx + r8*2]
add rbx, rax
cmp dword [rax], 1
ja 0x140005817
cmp rdx, 0x18
je 0x14000582d
lea edx, [r8 + 1]
xor r8d, r8d
lea rcx, [rsp + 0x68]
call fcn.1400342b0
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax + 0x10]
add rdx, rax
cmp rdx, rbx
je 0x140005863
nop dword [rax]
sub rbx, 2
cmp rdx, rbx
je 0x140005863
movzx eax, word [rdx]
mov word [rsp + 0x20], ax
movzx ecx, word [rbx]
mov word [rdx], cx
mov word [rbx], ax
add rdx, 2
cmp rdx, rbx
jne 0x140005840
mov r8d, edi
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.1400042e0
nop
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x140005892
cmp eax, 0xffffffff
je 0x1400058a0
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1400058a0
mov rcx, qword [rsp + 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
mov rax, rsi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1401202c0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000ab70
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1419761c8]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000ac03
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000abfa
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000abe4
add rax, 2
test ecx, ecx
jne 0x14000abd0
mov rcx, rbx
test edx, edx
je 0x14000ac26
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000abc0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401202c0
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x14000ac05
Function at 0x14000c2e0
Capabilities:
Contain obfuscated stackstrings
Enumerate process modules

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf80]
mov eax, 0x1080
call fcn.140120d90
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x10b0], rbx
mov qword [rsp + 0x10c0], rsi
mov qword [rsp + 0x10c8], rdi
mov rax, qword [0x1419761c8]
xor rax, rsp
mov qword [rbp + 0xf78], rax
mov rdi, rdx
mov dword [rsp + 0x20], 0x360033
mov dword [rsp + 0x24], 0x740030
mov dword [rsp + 0x28], 0x610072
mov dword [rsp + 0x2c], 0x2e0079
mov dword [rsp + 0x30], 0x780065
mov dword [rsp + 0x34], reloc.WS2_32.dll_WSAAsyncSelect
xor esi, esi
lea rcx, [rsp + 0x20]
call fcn.14000ab70
mov ebx, eax
test eax, eax
je 0x14000c48f
lea r8, [rsp + 0x40]
mov edx, 0x1000
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x14000c48f
mov edx, dword [rsp + 0x40]
shr edx, 2
mov ecx, esi
test edx, edx
je 0x14000c48f
mov eax, ecx
cmp dword [rsp + rax*4 + 0x60], ebx
je 0x14000c3bb
inc ecx
cmp ecx, edx
jb 0x14000c3a8
jmp 0x14000c48f
cmp qword [rdi + 0x10], rsi
je 0x14000c48f
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov r8, rdi
lea rdx, [rsp + 0x48]
call fcn.14000b200
nop
call fcn.14000b330
mov dword [rbp + 0xf60], 0x73006c
mov dword [rbp + 0xf64], 0x730061
mov dword [rbp + 0xf68], 0x2e0073
mov dword [rbp + 0xf6c], 0x780065
mov dword [rbp + 0xf70], reloc.WS2_32.dll_WSAAsyncSelect
lea rdx, [rbp + 0xf60]
call fcn.14000ad60
test eax, eax
je 0x14000c438
lea r8, [rsp + 0x48]
mov edx, eax
call fcn.14000b4a0
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000c48f
mov rax, qword [rsp + 0x58]
sub rax, rcx
cmp rax, 0x1000
jb 0x14000c48a
test cl, 0x1f
je 0x14000c45d
call fcn.140124968
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14000c46c
call fcn.140124968
int3
sub rcx, rax
cmp rcx, 8
jae 0x14000c47b
call fcn.140124968
int3
cmp rcx, 0x27
jbe 0x14000c487
call fcn.140124968
int3
mov rcx, rax
call fcn.14011dbc0
mov rcx, qword [rbp + 0xf78]
xor rcx, rsp
call fcn.1401202c0
lea r11, [rsp + 0x1080]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret