joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47f3e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47f4aa
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.004032e0
xorps xmm15, xmm15
mov r14, qword [0x005eb370]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47f48f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004a0fc0]
xor ebx, ebx
mov rcx, rdx
call fcn.0044b840
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.0047f9c0
inc rbx
cmp rcx, rbx
jae 0x47f47e
mov edi, 1
lea rsi, [0x004a0fc0]
call fcn.0044b920
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004def88]
lea rsi, [0x004de8f8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463de0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0047f3e0

Function at 0x48e6a0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48eddf
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x48e6cd
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x48e951
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x48e97d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004e0460]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004a0ec0]
lea rbx, [0x004deee0]
call fcn.00436360
inc rax
cmp rax, r8
jge 0x48e9a2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x48e9d7
lea rdi, [0x004a0f40]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x48e6c3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x48e9bb
jmp 0x48e990
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00463de0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.0048e6a0

Function at 0x48ef80
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x48ef97
inc rax
cmp rax, 4
jge 0x48efaf
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x48ef94
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x48efc0
inc rax
cmp rax, 4
jge 0x48efce
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x48eff7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x48efdb
jmp 0x48efbd
Function at 0x14000c390
Capabilities:
Check for debugger via api
Check for peb ntglobalflag flag

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x14000c4a9
xor ebx, ebx
mov dword [rsp + 0x48], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x14000c3d0
cmp dword [rsp + 0x48], ebx
jne 0x14000c48f
mov qword [rsp + 0x48], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 8
mov qword [rsp + 0x20], rbx
mov rcx, rax
lea r8, [rsp + 0x48]
mov edx, 0x1e
call qword [0x140075a28]
test eax, eax
jne 0x14000c408
cmp qword [rsp + 0x48], rbx
jne 0x14000c49c
call fcn.14000c4f0
test al, al
jne 0x14000c4a9
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rcx, dword [rax + 0x3c]
mov edx, dword [rcx + rax + 0xd8]
cmp dword [rdx + rax + 0xc], ebx
jne 0x14000c4a9
mov rax, qword gs:[0x60]
mov rdi, qword [rax + 0x30]
call fcn.14000c2b0
test eax, eax
mov edx, 0x70
mov ebx, 0x14
cmovne ebx, edx
call fcn.14000c2b0
test eax, eax
mov ecx, 0x18
mov edx, 0x74
cmovne ecx, edx
test dword [rbx + rdi], 0xfffffffd
jne 0x14000c4a9
cmp dword [rcx + rdi], 0
jne 0x14000c4a9
mov rax, qword gs:[0x60]
test byte [rax + 0xbc], 0x70
jne 0x14000c4a9
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea rcx, str.Sorry__you_cant_use_debuggers_with_this_program.
call fcn.14000c4c0
int3
lea rcx, str.Sorry__you_cant_use_debuggers_with_this_program.
call fcn.14000c4c0
int3
lea rcx, str.Sorry__you_cant_use_debuggers_with_this_program.
call fcn.14000c4c0
int3
Function at 0x14000c4f0
Capabilities:
Enumerate pe sections
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x140071500]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, 0xffffffffffffffff
mov qword [rsp + 0x58], rsi
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov r14d, ebx
mov qword [rsp + 0x48], rbx
xor r15b, r15b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd r8, dword [rax + 0x3c]
add r8, rax
movzx eax, word [r8 + 0x14]
lea r9, [r8 + 0x18]
add r9, rax
mov edx, ebx
mov dword [rsp + 0x40], ebx
lea r10, [0x1400533c4]
movzx eax, word [r8 + 6]
cmp edx, eax
jge 0x14000c59e
movsxd rax, edx
lea rcx, [rax + rax*4]
lea rdi, [r9 + rcx*8]
mov rax, rbx
nop dword [rax + rax]
movzx ecx, byte [rdi + rax]
inc rax
cmp cl, byte [r10 + rax - 1]
jne 0x14000c596
cmp rax, 7
jne 0x14000c580
jmp 0x14000c5a1
inc edx
mov dword [rsp + 0x40], edx
jmp 0x14000c564
mov rdi, rbx
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x14000c66b
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r12d, 1
mov r8d, r12d
mov edx, 0x80000000
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
je 0x14000c66b
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14000c66b
mov ecx, dword [rdi + 0x10]
add ecx, dword [rdi + 0x14]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14000c66b
movsxd rcx, dword [rax + 0x3c]
mov edx, dword [rcx + rax + 0xd8]
sub edx, dword [rdi + 0xc]
add edx, dword [rdi + 0x14]
movzx r15d, r15b
cmp dword [rdx + rax + 0xc], 0
cmovne r15d, r12d
test r14, r14
je 0x14000c679
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test rbx, rbx
je 0x14000c687
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rsi, 0xffffffffffffffff
je 0x14000c696
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, r15b
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140030800
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x14000ca10
Capabilities:
Terminate process
Terminate thread

Disassembly:
push rbp
sub rsp, 0x30
mov ebp, 1
xor r9d, r9d
mov edx, ebp
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
xor r8d, r8d
mov qword [0x140073810], rax
test rax, rax
jne 0x14000ca4f
mov edx, 8
mov ecx, ebp
call fcn.14000d100
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov qword [rsp + 0x48], rbx
xor edx, edx
mov qword [rsp + 0x50], rsi
mov ecx, 4
mov qword [rsp + 0x58], rdi
call fcn.14000d100
mov rax, qword [0x140073810]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov rax, qword [0x140075a18]
xor r8d, r8d
mov ecx, 2
mov qword [rsp + 0x28], rax
mov byte [0x1400737e0], bpl
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov esi, eax
cmp eax, 0xffffffff
jne 0x14000cabc
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, str.SvcInit___WaitForMultipleObjects
call fcn.14002f440
mov rcx, qword [0x140075a18]
lea rdx, [rsp + 0x40]
xor edi, edi
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x14000cae9
mov eax, dword [rsp + 0x40]
cmp eax, 0x103
je 0x14000cae9
test eax, eax
je 0x14000cb1f
mov ebx, ebp
jmp 0x14000cb1f
call sub.python312.dll_PyErr_SetInterrupt
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x140075a18]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x14000cb1f
mov eax, dword [rsp + 0x40]
cmp eax, 0x103
je 0x14000cb1f
test eax, eax
cmovne ebx, ebp
test esi, esi
mov ecx, ebp
cmovne edi, ebx
xor r8d, r8d
mov edx, edi
call fcn.14000d100
mov rcx, qword [0x140075a18]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x14000cdf0
Capabilities:
Create thread
Set current directory
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 2
lea r9, [0x140075a18]
mov rcx, rax
mov dword [rsp + 0x28], 1
mov r8, rdi
mov dword [rsp + 0x20], 0
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor r9d, r9d
mov qword [rsp + 0x28], 0
lea r8, [0x14000d010]
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x14000ce89
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, str.service_thread_creation
call fcn.14002f440
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp byte [0x1400737e0], 0
jne 0x14000cea6
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x1400737e0], 0
je 0x14000ce92
cmp byte [0x14006e6a0], 0
je 0x14000cebf
xor ecx, ecx
call fcn.14002c1e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
jmp 0x14000d4a0
push rbx
sub rsp, 0x20
call qword [sym.imp.python312.dll_PyThreadState_Get]
xor r8d, r8d
lea rdx, str.__main__
mov rcx, rax
mov rbx, rax
call fcn.14000d170
mov rcx, rbx
call fcn.14000d240
mov ecx, eax
call qword [sym.imp.python312.dll_Py_Exit]
int3

Function at 0x14000cf30
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x870
mov rax, qword [0x140071500]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov rdi, rcx
lea rsi, str.otis_bridge_guardian
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x14000cfe4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, rdi
lea r8, str._s_failed_with__d
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov edx, 0x800
call fcn.14000c870
xor ecx, ecx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov edx, 1
mov qword [rsp + 0x38], rax
mov r9d, 0xc0020001
mov dword [rsp + 0x30], ecx
mov word [rsp + 0x28], 2
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140030800
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002c3c0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x10090
call fcn.1400308c0
sub rsp, rax
mov rax, qword [0x140071500]
xor rax, rsp
mov qword [rsp + 0x10080], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor ebp, ebp
mov rsi, rcx
mov word [rsp + 0x80], bp
mov edi, 0x28
mov word [rsp + 0x30], bp
test al, al
je 0x14002c482
nop dword [rax]
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.140041a24
cmp rax, 1
jne 0x14002c4de
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x14002c45f
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x14002c453
cmp rcx, 1
jb 0x14002c4de
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14002c420
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x14002c4b3
lea rcx, [rsp + 0x80]
call fcn.140044524
jmp 0x14002c4b5
xor eax, eax
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.140030800
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140034050
int3
Function at 0x140030330
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x140071500]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor r14d, r14d
mov rbp, rdx
mov word [rsp + 0x30], r14w
mov rsi, rcx
mov edi, 0x28
test al, al
je 0x1400303e1
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], r14b
lea rcx, [rsp + 0x24]
call fcn.140041a24
cmp rax, 1
jne 0x140030417
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r14w
je 0x1400303bd
add rax, 2
dec rcx
cmp word [rax], r14w
jne 0x1400303b0
cmp rcx, 1
jb 0x140030417
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], r14w
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x140030380
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140030800
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.140034050
int3
Function at 0x140030540
Capabilities:
Set environment variable

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0xb0
mov rax, qword [0x140071500]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, qword [0x140073f40]
mov rbx, r8
mov rdi, rdx
mov r15, rcx
test rax, rax
jne 0x140030590
lea rcx, [0x1400530ec]
call qword [sym.imp.python312.dll_PyImport_ImportModule]
mov qword [0x140073f40], rax
test rax, rax
je 0x14003076d
mov qword [rsp + 0xa8], rbp
lea rdx, str.environ
mov qword [rsp + 0xa0], rsi
mov rcx, rax
mov qword [rsp + 0x98], r12
mov qword [rsp + 0x90], r14
call qword [sym.imp.python312.dll_PyObject_GetAttrString]
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.python312.dll_PyUnicode_FromString]
mov r14, rax
test rbx, rbx
je 0x140030637
mov rdx, rbx
mov rcx, rdi
call fcn.140030330
mov rdx, 0xffffffffffffffff
mov rcx, rbx
call qword [sym.imp.python312.dll_PyUnicode_FromWideChar]
mov rdx, r14
mov rcx, rbp
mov r8, rax
mov rbx, rax
call qword [sym.imp.python312.dll_PyObject_SetItem]
test eax, eax
je 0x14003061c
mov ecx, 1
call qword [sym.imp.python312.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python312.dll_Py_Exit]
int3
cmp dword [rbx], 0
jl 0x140030700
sub qword [rbx], 1
jne 0x140030700
mov rcx, rbx
jmp 0x1400306fa
movzx eax, byte [rdi]
lea rbx, [rsp + 0x30]
xor r12d, r12d
mov esi, 0x28
mov word [rsp + 0x30], r12w
test al, al
je 0x1400306c5
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], r12b
lea rcx, [rsp + 0x24]
call fcn.140041a24
cmp rax, 1
jne 0x140030767
mov rcx, rsi
mov rax, rbx
cmp word [rbx], r12w
je 0x14003069d
nop word [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r12w
jne 0x140030690
cmp rcx, 1
jb 0x140030767
movzx ecx, word [rsp + 0x24]
inc rdi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], r12w
dec rsi
movzx eax, byte [rdi]
test al, al
jne 0x140030651
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.python312.dll_PyObject_DelItem]
test eax, eax
je 0x140030700
mov rcx, qword [r15 + 0x60]
mov qword [r15 + 0x60], r12
test rcx, rcx
je 0x140030700
cmp dword [rcx], r12d
jl 0x140030700
sub qword [rcx], 1
jne 0x140030700
call qword [sym.imp.python312.dll__Py_Dealloc]
cmp dword [r14], 0
jl 0x140030715
sub qword [r14], 1
jne 0x140030715
mov rcx, r14
call qword [sym.imp.python312.dll__Py_Dealloc]
cmp dword [rbp], 0
jl 0x14003072b
sub qword [rbp], 1
jne 0x14003072b
mov rcx, rbp
call qword [sym.imp.python312.dll__Py_Dealloc]
mov r12, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xa8]
mov r14, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140030800
add rsp, 0xb0
pop r15
pop rdi
pop rbx
ret
call fcn.140034050
int3
call fcn.140034050
int3
Function at 0x1400312f8
Capabilities:
Parse pe header

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

Function at 0x1400393b4
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140039423
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140039423
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140039423
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140039423
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140039423
cmp dword [rcx + 0x84], 0xe
jbe 0x140039423
cmp dword [rcx + 0xf8], 0
je 0x140039423
mov ecx, ebx
call fcn.1400394d4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400392b0
nop
cmp dword [rbp + 0x20], 0
je 0x140039471
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003947c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400393b4

Function at 0x1400395b8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140039423
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140039423
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140039423
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140039423
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140039423
cmp dword [rcx + 0x84], 0xe
jbe 0x140039423
cmp dword [rcx + 0xf8], 0
je 0x140039423
mov ecx, ebx
call fcn.1400394d4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400392b0
nop
cmp dword [rbp + 0x20], 0
je 0x140039471
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003947c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400393b4
Function at 0x140049260
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400492e7
mov rsi, rbx
cmp word [rax], bp
je 0x1400492a6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140049290
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14004928c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400455bc
mov rdi, rax
test rax, rax
je 0x1400492d4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14004ef20
mov rbp, rdi
xor ecx, ecx
call fcn.140044a74
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14004c698
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14004c6ae
mov al, 1
jmp 0x14004c70e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14004c6bf
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14004c70c
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400495a8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004c70c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14004c70c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14004c70c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14004c70e
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14004ed70
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14004ed98
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14004ed98
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400bbba0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400bbbb0]
mov dword [rax], 1
mov rax, qword [0x1400bbbc0]
mov dword [rax], 1
mov rax, qword [0x1400bbb40]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400bbb90]
mov dword [0x1400e3020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400bbc80]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400bbc60]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400baf80]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001550
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x98
mov rax, qword [0x1400b64a0]
mov qword [rsp + 0x20], rax
lea rax, str.runas
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x50], r8d
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x58], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
add rsp, 0x98
ret

Function at 0x1400015d0
Capabilities:
Capture network configuration via ipconfig
Execute command
Set registry value

Disassembly:
sub rsp, 0x28
lea rcx, str.echo__echo_off_c:windowswimn32.bat
call sym.system
lea rcx, str.echo_break_off__c:windowswimn32.bat
call sym.system
lea rcx, str.echo_ipconfig_release_all__c:windowswimn32.bat
call sym.system
lea rcx, str.echo_end__c_windowswimn32.bat
call sym.system
lea rcx, str.reg_add_hkey_local_machinesoftwaremicrosoftwindowscurrentversionrun_v
call sym.system
lea rcx, str.windowsapi_t_reg_sz_d_c:windowswimn32.bat_f
call sym.system
lea rcx, str.reg_add_hkey_current_usersoftwaremicrosoftwindowscurrentversionrun_v
call sym.system
lea rcx, str.controlexit_t_reg_sz_d_c:windowswimn32.bat_f
add rsp, 0x28
jmp sym.system