Function at 0x1400482c0
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 [str._u_a_]
mov rax, qword [rbx]
mov rbp, rdx
mov qword [rsp + 0x20], rax
mov r12, r8
mov rdi, r9
mov qword [rsp + 0x100], rcx
test rax, rax
je 0x1400485a8
mov rax, qword [rsp + 0x120]
lea rbx, str.file
mov qword [rsp + 0x30], rbp
lea rsi, str.buffering
movq xmm0, rbx
lea rbx, str.errors
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x58], rax
lea rax, str.mode
mov qword [rsp + 0x50], 0
movq xmm1, rax
lea rax, str.encoding
punpcklqdq xmm0, xmm1
movq xmm2, rax
lea rax, str.newline
mov qword [rsp + 0x60], 0
movaps xmmword [rsp + 0x70], xmm0
movq xmm0, rsi
movq xmm3, rax
lea rsi, str.closefd
punpcklqdq xmm0, xmm2
lea rax, str.opener
mov qword [rsp + 0x68], 0
movaps xmmword [rsp + 0x80], xmm0
movq xmm0, rbx
movq xmm4, rax
punpcklqdq xmm0, xmm3
movaps xmmword [rsp + 0x90], xmm0
movq xmm0, rsi
punpcklqdq xmm0, xmm4
movaps xmmword [rsp + 0xa0], xmm0
test rbp, rbp
je 0x1400485d5
test r12, r12
je 0x1400485dc
cmp qword [rsp + 0x120], 1
mov ebx, 3
mov eax, 2
sbb ebx, 0xffffffff
test rdi, rdi
cmove ebx, eax
movsxd rbx, ebx
lea rsi, [rsp + 0x30]
xor r14d, r14d
mov r15, rbx
mov r8, qword [rsi + r15*8]
test r8, r8
je 0x140048441
test r14, r14
je 0x1400484f0
lea r13, [rsp + 0x70]
mov rdx, qword [r13 + r15*8]
add r15, 1
mov rcx, r14
call qword [sym.imp.python310.dll_PyDict_SetItemString]
cmp r15d, 8
je 0x14004844b
mov r8, qword [rsi + r15*8]
test r8, r8
jne 0x140048420
add r15, 1
cmp r15d, 8
jne 0x140048409
mov rcx, rbx
call fcn.140035c40
mov rsi, rax
test rbx, rbx
je 0x140048497
add qword [rbp], 1
mov qword [rax + 0x18], rbp
cmp rbx, 1
je 0x140048497
add qword [r12], 1
mov qword [rax + 0x20], r12
cmp rbx, 2
je 0x140048497
add qword [rdi], 1
mov qword [rax + 0x28], rdi
cmp rbx, 4
jne 0x140048497
mov rax, qword [rsp + 0x120]
add qword [rax], 1
mov qword [rsi + 0x30], rax
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x100]
mov r9, r14
mov r8, rsi
call fcn.140023610
mov rbx, rax
test r14, r14
je 0x1400484c7
sub qword [r14], 1
jne 0x1400484c7
mov rax, qword [r14 + 8]
mov rcx, r14
call qword [rax + 0x30]
sub qword [rsi], 1
jne 0x1400484d7
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [rax + 0x30]
mov rax, rbx
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x14006da30]
mov rcx, qword [sym.imp.python310.dll__PyRuntime]
mov r13, qword [rax + 8]
mov rax, qword [r13 + 0x20]
add qword [rax], 1
mov rcx, qword [rcx + 0x1f0]
mov r9, qword [rcx + 0x10]
mov ecx, dword [r9 + 0x2c28]
test ecx, ecx
je 0x140048560
sub ecx, 1
mov dword [r9 + 0x2c28], ecx
movsxd rcx, ecx
mov r14, qword [r9 + rcx*8 + 0x29a8]
mov qword [r14], 1
movq xmm0, rax
movhps xmm0, qword [r13 + 0x28]
mov qword [r14 + 0x10], 0
movups xmmword [r14 + 0x20], xmm0
jmp 0x14004841b
mov r11, qword [sym.imp.python310.dll_PyDict_Type]
mov qword [rsp + 0x28], r8
mov rcx, qword [r11 + 0x20]
call qword [sym.imp.python310.dll__PyObject_GC_Malloc]
mov r11, qword [sym.imp.python310.dll_PyDict_Type]
mov r8, qword [rsp + 0x28]
mov r14, rax
test byte [r11 + 0xa9], 2
mov qword [rax + 8], r11
je 0x140048597
add qword [r11], 1
mov qword [r14], 1
mov rax, qword [r13 + 0x20]
jmp 0x14004853c
mov rax, qword [str.0n_a_]
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 0x1400485e6
add qword [rax], 1
mov qword [rbx], rax
jmp 0x1400482fc
xor ebx, ebx
jmp 0x1400483fb
mov ebx, 1
jmp 0x1400483fb
xor ecx, ecx
call qword [sym.imp.python310.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python310.dll_Py_Exit]
nop
nop word [rax + rax]