Function at 0x140035080
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rax, qword [sym.imp.python311.dll_PyExc_GeneratorExit]
mov rdi, rdx
mov rdx, qword [rax]
mov rax, qword [r8]
mov rbp, rcx
mov rbx, r8
mov rsi, qword [rax + 8]
test byte [rsi + 0xab], 0x40
cmove rsi, rax
cmp rdx, rsi
je 0x1400351f0
mov rax, qword [rsi + 8]
mov r8d, dword [rax + 0xa8]
test r8d, r8d
js 0x140035190
mov rax, qword [rdi + 8]
cmp rax, qword [sym.imp.python311.dll_PyCoro_Type]
je 0x140035270
cmp rax, qword [sym.imp.python311.dll_PyGen_Type]
je 0x140035270
lea rdx, [0x140070520]
cmp rax, rdx
je 0x140035310
lea rdx, [0x14006fd00]
cmp rax, rdx
je 0x140035330
lea rdx, [0x14006fb60]
cmp rax, rdx
je 0x1400352a0
mov rax, qword [0x14007a1a0]
mov rcx, rdi
mov rdx, qword [rax + 0x248]
call qword [sym.imp.python311.dll_PyObject_GetAttr]
mov rsi, rax
test rax, rax
je 0x1400352c8
mov rdx, qword [rbx]
mov rcx, rax
mov qword [rsp + 0x20], 0
mov r9, qword [rbx + 0x10]
mov r8, qword [rbx + 8]
call qword [sym.imp.python311.dll_PyObject_CallFunctionObjArgs]
sub qword [rsi], 1
mov rdi, rax
je 0x140035290
mov rcx, rbx
call fcn.14002e130
mov rax, rdi
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test byte [rsi + 0xab], 0x40
je 0x1400350d2
pxor xmm0, xmm0
mov r13, qword [rcx + 0x60]
mov r14, qword [rcx + 0x68]
mov r15, qword [rcx + 0x70]
movups xmmword [rcx + 0x60], xmm0
mov qword [rcx + 0x70], 0
mov rcx, rsi
call qword [sym.imp.python311.dll_PyObject_IsSubclass]
mov r12d, eax
cmp eax, 0xffffffff
je 0x140035450
mov r9, r15
mov r8, r14
mov rdx, r13
mov rcx, rbp
call fcn.140001ae0
cmp r12d, 1
jne 0x1400350d2
nop dword [rax]
mov r12, qword [0x14007a1a0]
mov rcx, rdi
mov rdx, qword [r12 + 0x250]
call qword [sym.imp.python311.dll_PyObject_GetAttr]
mov rsi, rax
test rax, rax
je 0x140035348
xor r8d, r8d
mov rdx, qword [r12]
mov rcx, rax
call qword [sym.imp.python311.dll_PyObject_Call]
sub qword [rsi], 1
mov rdi, rax
jne 0x140035237
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [rax + 0x30]
test rdi, rdi
je 0x140035300
sub qword [rdi], 1
jne 0x140035250
mov rax, qword [rdi + 8]
mov rcx, rdi
call qword [rax + 0x30]
mov rdx, qword [rbx]
mov r9, qword [rbx + 0x10]
mov rcx, rbp
xor edi, edi
mov r8, qword [rbx + 8]
call fcn.140001ae0
jmp 0x140035175
mov r8, rbx
mov rdx, rdi
mov rcx, rbp
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400555d0
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x14003516d
mov rdx, qword [rdi + 0x10]
mov r9, rbx
mov r8d, 1
mov rcx, rbp
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.14003c3c0
mov rdi, qword [rbp + 0x60]
mov rax, qword [sym.imp.python311.dll_PyExc_AttributeError]
mov rsi, qword [rdi + 8]
mov rdx, qword [rax]
test byte [rsi + 0xab], 0x40
cmove rsi, rdi
cmp rdx, rsi
je 0x140035250
mov rax, qword [rsi + 8]
mov eax, dword [rax + 0xa8]
test eax, eax
js 0x1400353a0
mov rcx, rbx
xor edi, edi
call fcn.14002e130
jmp 0x140035175
mov r8, rbx
mov rdx, rdi
mov rcx, rbp
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400349c0
mov r9, rbx
mov r8d, 1
mov rdx, rdi
jmp 0x1400352ad
mov r12, qword [rbp + 0x60]
test r12, r12
je 0x140035250
mov rsi, qword [r12 + 8]
mov rax, qword [sym.imp.python311.dll_PyExc_AttributeError]
test byte [rsi + 0xab], 0x40
mov rdx, qword [rax]
cmove rsi, r12
cmp rdx, rsi
je 0x140035250
mov rax, qword [rsi + 8]
mov r15, qword [sym.imp.python311.dll_PyErr_WriteUnraisable]
mov ecx, dword [rax + 0xa8]
test ecx, ecx
js 0x1400353fa
mov rcx, rdi
call r15
jmp 0x140035250
test byte [rsi + 0xab], 0x40
je 0x140035300
pxor xmm0, xmm0
mov r13, qword [rbp + 0x68]
mov r14, qword [rbp + 0x70]
mov rcx, rsi
mov qword [rbp + 0x70], 0
movups xmmword [rbp + 0x60], xmm0
call qword [sym.imp.python311.dll_PyObject_IsSubclass]
mov r12d, eax
cmp eax, 0xffffffff
je 0x14003546f
mov r9, r14
mov r8, r13
mov rdx, rdi
mov rcx, rbp
call fcn.140001ae0
cmp r12d, 1
je 0x140035250
jmp 0x140035300
test byte [rsi + 0xab], 0x40
je 0x14003538d
pxor xmm0, xmm0
mov r13, qword [rbp + 0x68]
mov r14, qword [rbp + 0x70]
mov rcx, rsi
mov qword [rbp + 0x70], 0
movups xmmword [rbp + 0x60], xmm0
call qword [sym.imp.python311.dll_PyObject_IsSubclass]
cmp eax, 0xffffffff
je 0x14003548e
mov r9, r14
mov r8, r13
mov rdx, r12
mov rcx, rbp
mov dword [rsp + 0x3c], eax
call fcn.140001ae0
mov eax, dword [rsp + 0x3c]
cmp eax, 1
je 0x140035250
jmp 0x14003538d
mov rcx, rsi
call qword [sym.imp.python311.dll_PyErr_WriteUnraisable]
mov r9, r15
mov r8, r14
mov rdx, r13
mov rcx, rbp
call fcn.140001ae0
jmp 0x1400350d2
mov rcx, rsi
call qword [sym.imp.python311.dll_PyErr_WriteUnraisable]
mov r9, r14
mov r8, r13
mov rdx, rdi
mov rcx, rbp
call fcn.140001ae0
jmp 0x140035300
mov rcx, rsi
call r15
mov r9, r14
mov r8, r13
mov rdx, r12
mov rcx, rbp
call fcn.140001ae0
jmp 0x14003538d