joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003bf0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140007b30]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003c10
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003c18
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003c10
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140003c6d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003c64
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003c10
add rax, 0x28
cmp rax, r9
jne 0x140003c50
xor eax, eax
ret

Function at 0x140003c70
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140007b30]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140003c8f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003c98
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140003c8f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140003d30
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140007b30]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140003d4f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003d58
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140008188
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x14000d868], rdi
je 0x1400081e8
cmp rax, rdi
jne 0x1400081db
mov r12d, 1
jmp 0x1400081e8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400081c1
mov eax, dword [0x14000d860]
cmp eax, 1
jne 0x1400081fd
lea ecx, [rax + 0x1e]
call fcn.140141000
jmp 0x140008264
mov eax, dword [0x14000d860]
cmp eax, ebx
jne 0x14000825a
mov dword [0x14000d860], 1
lea r13, [0x140001548]
lea rdi, [0x140001530]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x14000824c
cmp eax, ebx
jne 0x14000824c
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x140008241
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000822a
cmp eax, ebx
je 0x140008264
mov eax, 0xff
jmp 0x1400083ac
mov dword [0x14000b554], 1
mov eax, dword [0x14000d860]
cmp eax, 1
jne 0x14000828c
lea rdx, [0x140001528]
lea rcx, [0x1400014b8]
call sub.msvcrt.dll__initterm
mov dword [0x14000d860], 2
cmp r12d, ebx
jne 0x14000829b
mov rax, rbx
xchg qword [0x14000d868], rax
cmp qword [0x14000d870], rbx
je 0x1400082c3
lea rcx, [0x14000d870]
call fcn.14000862c
cmp eax, ebx
je 0x1400082c3
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x14000d870]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x1400082d9
mov eax, 0xff
jmp 0x1400083ac
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x14000835e
cmp word [rcx], bx
je 0x1400082f4
cmp edx, ebx
jne 0x14000835e
cmp word [rcx], bx
je 0x14000830a
cmp word [rcx], 0x20
ja 0x14000830a
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400082f4
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140003b3c
mov dword [0x14000b550], eax
cmp dword [0x14000b534], ebx
jne 0x140008348
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000b554], ebx
jne 0x14000835c
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000b550]
jmp 0x1400083ac
cmp word [rcx], 0x22
jne 0x140008371
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400082e5
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.1400087ec
add rsp, 0x28
jmp 0x140008188
Function at 0x140008f70
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm6
lea rbx, [0x14001f30a]
lea rax, [0x1400320a0]
mov rcx, qword [0x1400340a8]
movq xmm6, rax
movq xmm0, rbx
punpcklqdq xmm6, xmm0
test rcx, rcx
je 0x140008fdf
call qword [sym.imp.KERNEL32.dll_GetProcessId]
xor ecx, ecx
mov edx, eax
call qword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
test eax, eax
je 0x140009048
mov rcx, qword [0x1400340a8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1400340a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400340a0], 0
jne 0x140009000
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
ret
mov eax, 0x414
mov dword [rsp + 0x48], 3
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 0
mov word [rsp + 0x60], ax
mov dword [rsp + 0x64], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], rbx
movaps xmmword [rsp + 0x50], xmm6
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
jmp 0x140008fe8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 0x400
xor edx, edx
mov qword [rsp + 0x30], 0
mov r8d, eax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0
mov ecx, 0x1300
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
lea rcx, str.Failed_to_send_CTRL_C_to_child_process.
call sub.msvcrt.dll_puts
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_puts
jmp 0x140008fc0
Function at 0x140010610
Capabilities:
Read file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rbp, qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov r13, qword [sym.imp.KERNEL32.dll_ReadFile]
xor r14d, r14d
movdqa xmm6, xmmword [0x1400202e0]
lea r12, [0x1400340f0]
mov rsi, rdx
mov rdx, qword [0x140034100]
mov rdi, rcx
mov r8, qword [0x1400340f8]
sub r8, rdx
jne 0x1400106cb
mov rcx, qword [0x1400340e0]
mov rdx, qword [0x1400340d8]
cmp rcx, rdx
setb al
or r14b, al
je 0x140010718
mov rcx, qword [0x1400340c8]
movups xmmword [0x1400340f8], xmm6
call fcn.14000f390
mov r8, rax
mov rax, qword [0x140034100]
cmp qword [0x1400340f8], rax
sete r14b
cmp r8, 0xffffffffffffff88
ja 0x1400107ab
mov qword [0x1400340f8], rax
xor edx, edx
mov r8, qword [0x1400340f8]
mov qword [0x140034100], 0
sub r8, rdx
je 0x14001065c
cmp r8, rsi
mov rbx, r8
mov rcx, rdi
cmova rbx, rsi
add rdx, qword [r12]
mov r8, rbx
add rdi, rbx
call sub.msvcrt.dll_memcpy
mov rdx, qword [0x140034100]
add rdx, rbx
mov qword [0x140034100], rdx
sub rsi, rbx
jne 0x140010650
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
cmp rcx, rdx
jne 0x1400107ab
mov rbx, qword [0x1400340c0]
mov rcx, qword [0x1400340b8]
xor r8d, r8d
xor edx, edx
mov r9d, 1
call rbp
mov eax, eax
sub rbx, rax
je 0x14001079f
mov r8d, ebx
cmp rbx, 0x20002
jbe 0x14001075a
mov r8d, 0x20003
mov ebx, 0x20003
mov qword [rsp + 0x20], 0
mov rdx, qword [0x1400340d0]
lea r9, [rsp + 0x3c]
mov rcx, qword [0x1400340b8]
call r13
test eax, eax
je 0x1400107b0
mov eax, dword [rsp + 0x3c]
cmp rbx, rax
jne 0x1400107b0
add qword [0x1400340b0], rbx
mov qword [0x1400340e0], 0
mov qword [0x1400340d8], rbx
mov rdx, qword [0x140034100]
jmp 0x140010650
call fcn.140008f30
lea rcx, str.Error__couldnt_read_attached_data.
call fcn.140008ed0
nop
nop dword [rax]
Function at 0x140015a80
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.14001c980
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.14001c980
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x140016732
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400341e8]
test eax, eax
je 0x1400167ca
lea rax, [0x1400341c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400341f0]
mov qword [rbp - 8], rax
jmp 0x1400167ae
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 0x1400167a2
cmp qword [rbp - 0x10], 0
je 0x1400167a2
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 0x140016768
lea rax, [0x1400341c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400167cb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400168d0
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 0x1400168f8
mov eax, 0
jmp 0x140016946
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 0x140016921
mov eax, 0
jmp 0x140016946
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 0x140016941
mov eax, 0
jmp 0x140016946
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14001694c
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 0x1400169ca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400169c1
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 0x1400169c1
mov rax, qword [rbp - 8]
jmp 0x1400169df
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 0x140016994
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x15808f058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x15808f1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x15808f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x15808f06f
add dl, dl
jne 0x15808f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x15808f0f6
xor eax, eax
add dl, dl
jne 0x15808f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x15808f1ad
add dl, dl
jne 0x15808f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15808f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15808f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15808f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x15808f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x15808f07e
mov eax, 1
add dl, dl
jne 0x15808f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15808f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x15808f0fb
sub eax, ebx
mov ebx, 1
jne 0x15808f14c
mov ecx, 1
add dl, dl
jne 0x15808f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x15808f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x15808f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x15808f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x15808f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x15808f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x15808f15d
cmp eax, 0x7d00
jae 0x15808f19b
cmp eax, 0x500
jb 0x15808f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x15808f07e
cmp eax, 0x7f
ja 0x15808f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x15808f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x15808f1d2
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 0x15808f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140007560
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10088
call fcn.140027630
sub rsp, rax
mov rax, qword [0x14005dac8]
xor rax, rsp
mov qword [rsp + 0x10070], rax
xor eax, eax
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], ax
lea r8d, [rax + 0x28]
call fcn.1400228b0
mov r8d, 0x10000
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x1400075dd
lea rcx, [rsp + 0x70]
call fcn.14003686c
mov rcx, qword [rsp + 0x10070]
xor rcx, rsp
call fcn.140027600
add rsp, 0x10088
ret
xor eax, eax
mov rcx, qword [rsp + 0x10070]
xor rcx, rsp
call fcn.140027600
add rsp, 0x10088
ret

Function at 0x1400076c0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14005dac8]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rcx, [0x140043fe0]
call fcn.140007560
xor edi, edi
mov qword [0x14005f4d0], rax
lea rdx, [0x140043fe0]
mov word [rsp + 0x20], di
lea rcx, [rsp + 0x20]
lea r8d, [rdi + 0x28]
call fcn.1400228b0
lea rdx, [0x140043fe8]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rcx, str.PYTHONHOME
call fcn.140007560
mov cl, 1
mov qword [0x14005f4d8], rax
call fcn.140023b50
lea r8d, [rdi + 0x28]
mov word [rsp + 0x20], di
lea rdx, str.PYTHONHOME
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.1400228b0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov cl, 1
call fcn.140023b50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov rax, qword [sym.imp.python310.dll__Py_path_config]
mov dword [rax + 0x30], 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140027600
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x140007c00
Capabilities:
Set environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x14005dac8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, r8
mov rsi, rdx
mov rbp, rcx
call fcn.140015160
lea rdx, str.environ
mov rcx, rax
call qword [sym.imp.python310.dll_PyObject_GetAttrString]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.python310.dll_PyUnicode_FromString]
mov rdx, rsi
lea rcx, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov word [rsp + 0x20], ax
lea r8d, [rax + 0x28]
call fcn.1400228b0
lea rcx, [rsp + 0x20]
test r14, r14
je 0x140007cc3
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, 0xffffffffffffffff
mov rcx, r14
call sub.python310.dll_PyUnicode_FromWideChar
mov r8, rax
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.python310.dll_PyObject_SetItem]
test eax, eax
je 0x140007cb1
mov ecx, 1
call qword [sym.imp.python310.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python310.dll_Py_Exit]
int3
sub qword [rsi], 1
jne 0x140007ce3
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x140007ce3
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.python310.dll_PyObject_DelItem]
test eax, eax
je 0x140007ce3
mov rcx, rbp
call fcn.140007120
sub qword [rdi], 1
jne 0x140007cf3
mov rax, qword [rdi + 8]
mov rcx, rdi
call qword [rax + 0x30]
sub qword [rbx], 1
jne 0x140007d03
mov rax, qword [rbx + 8]
mov rcx, rbx
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140027600
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140022960
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r8, rcx
mov eax, 0xffffffff
test edx, edx
je 0x140022a24
mov r9d, edx
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [r8]
lea r8, [r8 + 1]
xor eax, edx
mov edx, eax
and dl, 1
neg dl
sbb ecx, ecx
shr eax, 1
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb eax, eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
sub r9, 1
jne 0x140022980
not eax
ret
Function at 0x14002ad34
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 0x14002abc7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002abc7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002abc7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002abc7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002abc7
cmp dword [rcx + 0x84], 0xe
jbe 0x14002abc7
cmp dword [rcx + 0xf8], 0
je 0x14002abc7
mov ecx, ebx
call fcn.14002ac68
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.14002aa58
cmp dword [rbp + 0x20], 0
je 0x14002ac14
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002ac1c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14002ab60
Function at 0x100001c30
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1000730b0]
jne 0x10002cda4
rol rcx, 0x10
test cx, 0xffff
jne 0x10002cda0
ret 0
ror rcx, 0x10
jmp 0x10005d490
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100074110]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x100074208]
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 0x10005d515
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, [0x100074110]
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 0x10005d537
mov rax, qword [rsp + 0x88]
mov qword [0x100074208], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1000741a8], rax
mov rax, qword [0x100074208]
mov qword [0x100074080], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100074190], rax
mov dword [0x100074070], 0xc0000409
mov dword [0x100074074], 1
mov rax, qword [0x1000730b0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1000730b8]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100064ad8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1000025e8
Capabilities:
Get graphical window text

Disassembly:
add dword [rdi + 0xc], 3
jmp 0x1000026e5
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x440
mov rax, qword [0x1000730b0]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rbx, rcx
add rcx, 0x20
mov rdi, r8
mov rbp, rdx
call qword [sym.imp.SHLWAPI.dll_SHStripMneumonicW]
mov r12d, dword [rbx + 0x428]
xor r13d, r13d
cmp r12d, 0xffffffff
je 0x100002734
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea r8, [rsp + 0x30]
mov r9d, 0x200
mov rcx, rax
mov edx, r12d
call qword [sym.imp.USER32.dll_LoadStringW]
cmp eax, r13d
je 0x10003149a
lea rdx, [rsp + 0x30]
jmp 0x100002663
mov rcx, qword [rbx + 0x18]
call fcn.100002458
call qword [sym.imp.UxTheme.dll_IsThemeActive]
cmp eax, r13d
je 0x10000270d
cmp dword [rbx], r13d
jne 0x10000a2b2
mov rcx, qword [rbx + 0x18]
lea rdx, [rsp + 0x30]
mov r8d, 0x200
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, r13d
jne 0x1000228ef
mov edx, dword [rbx + 0x14]
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SetTextColor]
mov edx, 1
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [rbx + 0x428]
mov r12d, eax
cmp ecx, 0x1f47
je 0x100022888
cmp ecx, 0x1f49
je 0x100001fc2
cmp ecx, 0x1f86
je 0x10000273d
lea rdx, [rbx + 0x20]
mov r9, rdi
or r8d, 0xffffffff
mov rcx, rbp
mov dword [rsp + 0x20], 0x25
call qword [sym.imp.USER32.dll_DrawTextW]
mov edx, r12d
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SetBkMode]
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.100001c30
mov rbx, qword [rsp + 0x488]
add rsp, 0x440
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rbx + 0x20]
jmp 0x100002663
add dword [rdi + 0xc], 0xfffffff9
jmp 0x1000026e5
mov r8d, dword [rbx + 0x10]
cmp r8d, r13d
je 0x10000a2c6
mov rdx, rdi
mov rcx, rbp
call fcn.10000a2f0
cmp dword [rbx], r13d
je 0x100002684
mov rcx, qword [rbx + 0x18]
lea rdx, [rbx + 0x20]
mov r8d, 0x200
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1000026a2
add dword [rdi + 0xc], 0xfffffffd
jmp 0x1000026e5
mov rcx, qword [rbx + 0x18]
lea rdx, [rbx + 0x20]
mov r8d, 0x200
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx + 0x18]
lea rdx, [0x100062c88]
call qword [sym.imp.USER32.dll_SetWindowTextW]
nop
jmp 0x1000026a2
mov word [rsp + 0x30], r13w
jmp 0x10000265c