joyce8/EMBER2024-capa huggingface dataset:
Function at 0x204134c30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0x98
mov rbx, r8
lea r12, [rsp + 0x70]
lea r13, [rsp + 0x60]
mov r14, rcx
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_FreeConsole]
call fcn.204113030
mov rdx, r12
mov rcx, r13
mov byte [rsp + 0x7c], 0
mov qword [0x204226090], rbx
mov rax, qword [0x2041f6e30]
mov rbx, qword [0x2041f6e10]
mov dword [rsp + 0x78], 0x41797261
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x6c], 0
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x68], 0x6c6c642e
call fcn.204113330
mov rcx, r14
call rax
movdqa xmm0, xmmword [str.GetCurrentProceskernel32]
mov rdx, r12
mov rcx, r13
mov r15, rax
mov eax, 0x73
mov byte [rsp + 0x6c], 0
movaps xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x80], ax
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x68], 0x6c6c642e
call fcn.204113330
call rax
mov edx, 0x7373
mov rcx, r13
mov byte [rsp + 0x7e], 0
mov r14, rax
mov rax, qword [0x2041f6e38]
mov word [rsp + 0x7c], dx
mov rdx, r12
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x65726464
mov byte [rsp + 0x6c], 0
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x68], 0x6c6c642e
call fcn.204113330
mov rdx, rsi
mov rcx, r15
lea rsi, [rsp + 0x54]
call rax
mov ecx, 0x79
mov rdx, r12
mov qword [rsp + 0x60], rbx
movdqa xmm0, xmmword [0x2041f6e40]
mov r15, rax
mov word [rsp + 0x80], cx
mov rcx, r13
mov dword [rsp + 0x68], 0x6c6c642e
movaps xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x6c], 0
mov qword [0x2042260a8], rax
call fcn.204113330
lea rdx, [rsp + 0x38]
mov rcx, r14
mov r9d, 0xc
mov qword [rsp + 0x20], rdx
lea r8, [0x204226098]
mov rdx, r15
call rax
mov r8d, 0xffffb848
mov rdx, r12
mov rcx, rsi
lea rax, [0x204134b40]
mov word [rsp + 0x70], r8w
mov r8d, 2
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x54], 0
mov dword [rsp + 0x5c], 0
mov byte [rsp + 0x72], 0
call fcn.204115e10
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x56]
mov r8d, 8
call fcn.204115e10
mov r9d, 0x50
lea rcx, [rsp + 0x5e]
mov rdx, r12
mov r8d, 1
mov word [rsp + 0x70], r9w
call fcn.204115e10
mov r10d, 0xc3
lea rcx, [rsp + 0x5f]
mov rdx, r12
mov r8d, 1
mov word [rsp + 0x70], r10w
call fcn.204115e10
mov rdx, r12
mov rcx, r13
mov byte [rsp + 0x6c], 0
movdqa xmm0, xmmword [str.WriteProcessMemoLoadLibrGetProcAReadProcessMemorC:WindowsSysWOW64_rundll32.exe]
mov r11d, 0x7972
mov r15, qword [0x2042260a8]
mov byte [rsp + 0x82], 0
mov word [rsp + 0x80], r11w
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x68], 0x6c6c642e
call fcn.204113330
lea rdx, [rsp + 0x40]
mov r8, rsi
mov rcx, r14
mov qword [rsp + 0x20], rdx
mov r9d, 0xc
mov rdx, r15
call rax
call fcn.204112c90
xor eax, eax
add rsp, 0x98
pop rbx
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x204135680
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rbx, qword [0x2041f7150]
mov rax, qword [str.GetFileSkernel32VirtualAReadFileCloseHanCreateFiPathAppeShlwapi.]
lea r15, [rsp + 0x40]
lea r14, [rsp + 0x50]
mov r12, rdx
mov rdi, r8
mov rdx, r15
mov rcx, r14
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x657a69
mov byte [rsp + 0x5c], 0
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], 0x6c6c642e
call fcn.204113330
xor edx, edx
mov rcx, r12
call rax
mov rdx, r14
mov rcx, r15
mov byte [rsp + 0x5c], 0
mov esi, eax
mov rax, qword [0x2041f7158]
mov byte [rsp + 0x4c], 0
mov dword [rsp + 0x58], 0x636f6c6c
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], 0x6c6c642e
call fcn.204113330
lea edx, [rsi + 1]
mov r9d, 0x40
xor ecx, ecx
mov r8d, 0x3000
call rax
mov rdx, r15
mov rcx, r14
mov byte [rsp + 0x48], 0
mov r13, rax
mov rax, qword [0x2041f7160]
mov byte [rsp + 0x5c], 0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x58], 0x6c6c642e
call fcn.204113330
lea r9, [rsp + 0x3c]
mov r8d, esi
mov rdx, r13
mov qword [rsp + 0x20], 0
mov rcx, r12
call rax
mov rax, qword [0x2041f7168]
mov rdx, r15
mov rcx, r14
mov dword [rsp + 0x48], 0x656c64
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x5c], 0
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], 0x6c6c642e
call fcn.204113330
mov rcx, r12
call rax
mov eax, dword [rsp + 0x3c]
mov qword [rdi], rax
mov rax, r13
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
push r13
push r12
push rbx
sub rsp, 0x60
mov rax, qword [0x2041f7170]
mov qword [rsp + 0x40], rax
mov r12, rcx
mov r13, rdx
lea rcx, [rsp + 0x50]
mov rax, qword [0x2041f7150]
lea rdx, [rsp + 0x40]
mov rbx, r8
mov dword [rsp + 0x48], 0x41656c
mov byte [rsp + 0x5c], 0
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x6c6c642e
call fcn.204113330
mov rcx, r13
xor r9d, r9d
mov edx, 0x80000000
mov qword [rsp + 0x30], 0
mov r8d, 1
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
call rax
mov r8, rbx
mov rcx, r12
mov rdx, rax
add rsp, 0x60
pop rbx
pop r12
pop r13
jmp 0x204135680
Function at 0x2041379b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
movzx r12d, byte [rcx + 0x40]
mov rbx, rcx
test r12b, r12b
je 0x2041379e0
mov eax, r12d
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov r15, qword [rcx + 0x48]
movzx edx, word [rcx + 0x50]
mov r8d, 0xa
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r13, rax
test rax, rax
je 0x204137a78
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
test rax, rax
je 0x204137a78
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x204137a78
mov rdx, r13
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov qword [rbx + 0x38], rsi
movsxd rsi, eax
lea rcx, [rsi + 1]
call sub.msvcrt.dll_malloc
mov r13, rax
test rax, rax
je 0x204137a67
mov r8, rsi
mov rdx, rdi
mov rcx, rax
mov r12d, 1
call sub.msvcrt.dll_memcpy
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov qword [rbx + 0x30], r13
mov byte [rbx + 0x40], r12b
jmp 0x2041379cc
xor r13d, r13d
jmp 0x204137a67
Function at 0x204144e80
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.204152c20
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.204152c20
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x2041457f2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2042261a8]
test eax, eax
je 0x20414588a
lea rax, [0x204226180]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2042261b0]
mov qword [rbp - 8], rax
jmp 0x20414586e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x204145862
cmp qword [rbp - 0x10], 0
je 0x204145862
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x204145828
lea rax, [0x204226180]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x20414588b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x204145990
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2041459b8
mov eax, 0
jmp 0x204145a06
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2041459e1
mov eax, 0
jmp 0x204145a06
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x204145a01
mov eax, 0
jmp 0x204145a06
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x204145a0c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x204145a8a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x204145a81
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x204145a81
mov rax, qword [rbp - 8]
jmp 0x204145a9f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x204145a54
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x204154e50
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 0x204154f62
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x204154f3a
add rax, 1
cmp rax, 0x6b
je 0x204154f57
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x204154f30
cmp edx, 0x6a
je 0x204154f57
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 0x204154f4b

Function at 0x204155300
Capabilities:
Allocate thread local storage

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x28
lea rsi, [0x204226d70]
mov rcx, rsi
call fcn.204154bc0
lea r13, [rax + 8]
mov r12, rax
mov rcx, r13
call fcn.2041543d0
mov ebx, dword [0x204226d70]
test ebx, ebx
jne 0x204155370
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x2041f1338], eax
cmp eax, 0xffffffff
je 0x2041effc6
mov dword [0x204226d70], 1
mov rcx, r13
call fcn.2041546f0
test r12, r12
je 0x2041553a2
mov rcx, r12
add rsp, 0x28
pop rbx
pop rsi
pop r12
pop r13
jmp fcn.204154f80
cmp ebx, 1
je 0x204155351
mov ecx, 2
call qword [fcn.204152c20]
mov r9d, ebx
mov r8, rsi
lea rdx, str._once__p_is__d_n
mov rcx, rax
call fcn.204154b90
mov rcx, r13
call fcn.2041546f0
test r12, r12
jne 0x20415535e
add rsp, 0x28
pop rbx
pop rsi
pop r12
pop r13
ret
call sub.msvcrt.dll_abort
nop
Function at 0x2041b4b00
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
jmp 0x2041b4b27
call rbp
cmp dword [rax], 4
jne 0x2041b4b44
mov rcx, rdi
call fcn.2041b4930
mov r8d, ebx
mov rdx, rsi
mov ecx, eax
call sub.msvcrt.dll__read
movsxd r12, eax
cmp eax, 0xffffffff
je 0x2041b4b20
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140001150
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r8d, dword [rsp + 0x20]
mov r9, rax
call fcn.140001b10
test eax, eax
jne 0x140001382
mov rax, qword [0x1400097f8]
mov qword [rsp + 0x40], rbx
test rax, rax
jne 0x1400011a8
mov rcx, qword [0x1400098c8]
lea rdx, [0x140006d70]
call fcn.1400036a0
mov qword [0x1400097f8], rax
lea rcx, [0x140006680]
mov qword [rsp + 0x30], rdi
call rax
mov rbx, rax
test rax, rax
je 0x1400012b0
mov rax, qword [0x1400097d0]
mov qword [rsp + 0x48], rsi
test rax, rax
jne 0x1400011ed
mov rcx, qword [0x1400098c8]
lea rdx, [0x140006ef8]
call fcn.1400036a0
mov qword [0x1400097d0], rax
xor r9d, r9d
lea rcx, str._MessageBox
xor r8d, r8d
xor edx, edx
call rax
mov rsi, qword [str._MessageBox]
mov rdi, rax
mov rax, qword [0x140009920]
test rax, rax
jne 0x14000122e
mov rcx, qword [0x1400098c8]
lea rdx, [0x140006ee0]
call fcn.1400036a0
mov qword [0x140009920], rax
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call rax
mov rax, qword [0x1400097d0]
test rax, rax
jne 0x14000125f
mov rcx, qword [0x1400098c8]
lea rdx, [0x140006ef8]
call fcn.1400036a0
mov qword [0x1400097d0], rax
xor r9d, r9d
lea rcx, str._SHGetSpecialFolderPath
xor r8d, r8d
xor edx, edx
call rax
mov rsi, qword [str._SHGetSpecialFolderPath]
mov rdi, rax
mov rax, qword [0x140009920]
test rax, rax
jne 0x1400012a0
mov rcx, qword [0x1400098c8]
lea rdx, [0x140006ee0]
call fcn.1400036a0
mov qword [0x140009920], rax
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call rax
mov rsi, qword [rsp + 0x48]
call fcn.1400013f0
lea rcx, [0x1400064d0]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14000134e
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdi, rax
mov rax, qword [0x140009878]
test rax, rax
jne 0x1400012fe
mov rcx, qword [0x1400098c8]
lea rdx, [0x140006a18]
call fcn.1400036a0
mov qword [0x140009878], rax
lea rdx, [0x1400064e0]
mov rcx, rdi
call rax
test eax, eax
je 0x14000134e
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdi, rax
mov rax, qword [0x1400099b0]
test rax, rax
jne 0x14000133f
mov rcx, qword [0x1400098c8]
lea rdx, [0x140006a30]
call fcn.1400036a0
mov qword [0x1400099b0], rax
xor r8d, r8d
lea rdx, [0x1400064e0]
mov rcx, rdi
call rax
mov rax, qword [0x1400097b8]
mov rdi, qword [rsp + 0x30]
test rax, rax
jne 0x140001379
mov rcx, qword [0x1400098c8]
lea rdx, [0x140006ab8]
call fcn.1400036a0
mov qword [0x1400097b8], rax
call rax
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x38
ret
Function at 0x1405ba058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405ba1df
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 0x1405ba089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405ba06f
add dl, dl
jne 0x1405ba096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405ba0f6
xor eax, eax
add dl, dl
jne 0x1405ba0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405ba1ad
add dl, dl
jne 0x1405ba0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405ba0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405ba0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405ba0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405ba0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405ba07e
mov eax, 1
add dl, dl
jne 0x1405ba106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405ba113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405ba0fb
sub eax, ebx
mov ebx, 1
jne 0x1405ba14c
mov ecx, 1
add dl, dl
jne 0x1405ba12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405ba13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405ba123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405ba07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405ba168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405ba175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405ba15d
cmp eax, 0x7d00
jae 0x1405ba19b
cmp eax, 0x500
jb 0x1405ba196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405ba07e
cmp eax, 0x7f
ja 0x1405ba19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405ba07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405ba1d2
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 0x1405ba07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002690
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x140008040]
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 0x140002723
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000271a
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 0x140002704
add rax, 2
test ecx, ecx
jne 0x1400026f0
mov rcx, rbx
test edx, edx
je 0x140002746
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400026e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400032e0
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140002725

Function at 0x140002750
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov esi, ecx
lea rdx, str.Suspended_all_threads_in_process_with_ID:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001260
mov rcx, rax
mov edx, esi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001490]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140002822
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x140002819
mov qword [rsp + 0x68], rbx
nop dword [rax]
cmp dword [rsp + 0x2c], esi
jne 0x140002802
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x140002802
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1400027d0
mov rbx, qword [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400032e0
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140002840
Capabilities:
Enumerate threads
Resume thread

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov esi, ecx
lea rdx, str.Resumed_all_threads_in_process_with_ID:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001260
mov rcx, rax
mov edx, esi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001490]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140002912
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x140002909
mov qword [rsp + 0x68], rbx
nop dword [rax]
cmp dword [rsp + 0x2c], esi
jne 0x1400028f2
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x1400028f2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1400028c0
mov rbx, qword [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400032e0
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140003d80
Capabilities:
Parse pe header

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