Function at 0x1400331e0
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
mov rbx, qword [0x1400555a0]
mov rax, qword [rbx]
mov qword [rsp + 0x100], rcx
mov rbp, rdx
mov r12, r8
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140033468
pxor xmm0, xmm0
cmp r12, 1
mov qword [rsp + 0x30], rbp
lea rax, str.mode
lea rdi, str.file
movq xmm1, rax
movaps xmmword [rsp + 0x40], xmm0
lea rax, str.encoding
movaps xmmword [rsp + 0x50], xmm0
movq xmm2, rax
lea rsi, str.errors
lea rax, str.newline
movaps xmmword [rsp + 0x60], xmm0
movq xmm0, rdi
lea rdi, str.buffering
movq xmm3, rax
punpcklqdq xmm0, xmm1
lea rax, str.opener
mov qword [rsp + 0x38], r12
mov r13, qword [sym.imp.python310.dll_PyDict_SetItemString]
movaps xmmword [rsp + 0x70], xmm0
movq xmm0, rdi
movq xmm4, rax
lea rdi, str.closefd
punpcklqdq xmm0, xmm2
movaps xmmword [rsp + 0x80], xmm0
movq xmm0, rsi
mov esi, 1
sbb esi, 0xffffffff
xor eax, eax
punpcklqdq xmm0, xmm3
test rbp, rbp
cmove esi, eax
movaps xmmword [rsp + 0x90], xmm0
movq xmm0, rdi
xor r15d, r15d
punpcklqdq xmm0, xmm4
lea rdi, [rsp + 0x30]
movsxd rsi, esi
movaps xmmword [rsp + 0xa0], xmm0
mov rbx, rsi
mov r8, qword [rdi + rbx*8]
test r8, r8
je 0x14003331f
test r15, r15
je 0x1400333b0
lea r14, [rsp + 0x70]
mov rdx, qword [r14 + rbx*8]
add rbx, 1
mov rcx, r15
call r13
cmp ebx, 8
je 0x140033328
mov r8, qword [rdi + rbx*8]
test r8, r8
jne 0x140033303
add rbx, 1
cmp ebx, 8
jne 0x1400332ec
mov rcx, rsi
call fcn.1400220b0
mov rbx, rax
test rsi, rsi
je 0x140033350
add qword [rbp], 1
mov qword [rax + 0x18], rbp
cmp rsi, 2
jne 0x140033350
add qword [r12], 1
mov qword [rax + 0x20], r12
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x100]
mov r9, r15
mov r8, rbx
call fcn.1400135d0
mov rsi, rax
test r15, r15
je 0x140033380
sub qword [r15], 1
jne 0x140033380
mov rax, qword [r15 + 8]
mov rcx, r15
call qword [rax + 0x30]
sub qword [rbx], 1
jne 0x140033390
mov rax, qword [rbx + 8]
mov rcx, rbx
call qword [rax + 0x30]
mov rax, rsi
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x140055680]
mov rdx, qword [sym.imp.python310.dll__PyRuntime]
mov r14, qword [rax + 8]
mov rax, qword [r14 + 0x20]
add qword [rax], 1
mov rdx, qword [rdx + 0x1f0]
mov rcx, qword [rdx + 0x10]
mov edx, dword [rcx + 0x2c28]
test edx, edx
je 0x140033420
sub edx, 1
mov dword [rcx + 0x2c28], edx
movsxd rdx, edx
mov r15, qword [rcx + rdx*8 + 0x29a8]
mov qword [r15], 1
movq xmm0, rax
movhps xmm0, qword [r14 + 0x28]
mov qword [r15 + 0x10], 0
movups xmmword [r15 + 0x20], xmm0
jmp 0x1400332fe
mov rdx, qword [sym.imp.python310.dll_PyDict_Type]
mov qword [rsp + 0x28], r8
mov rcx, qword [rdx + 0x20]
call qword [sym.imp.python310.dll__PyObject_GC_Malloc]
mov rdx, qword [sym.imp.python310.dll_PyDict_Type]
mov r8, qword [rsp + 0x28]
mov r15, rax
test byte [rdx + 0xa9], 2
mov qword [rax + 8], rdx
je 0x140033456
add qword [rdx], 1
mov qword [r15], 1
mov rax, qword [r14 + 0x20]
jmp 0x1400333fa
mov rax, qword [0x140055610]
lea rdx, str.open
mov rcx, qword [rax]
call qword [sym.imp.python310.dll_PyDict_GetItemString]
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140033495
add qword [rax], 1
mov qword [rbx], rax
jmp 0x140033219
xor ecx, ecx
call qword [sym.imp.python310.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python310.dll_Py_Exit]
nop
nop dword [rax]