Function at 0x14004b960
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 0x14004bad0
mov rax, qword [rsi + 8]
mov r8d, dword [rax + 0xa8]
test r8d, r8d
js 0x14004ba70
mov rax, qword [rdi + 8]
cmp rax, qword [sym.imp.python311.dll_PyCoro_Type]
je 0x14004bb50
cmp rax, qword [sym.imp.python311.dll_PyGen_Type]
je 0x14004bb50
cmp rax, qword [0x140089630]
je 0x14004bbf0
cmp rax, qword [0x1400895e0]
mov r9, rbx
mov r8d, 1
mov rdx, rdi
je 0x14004bb8a
cmp rax, qword [0x1400895d0]
je 0x14004bb80
mov rax, qword [0x140089aa0]
mov rcx, rdi
mov rdx, qword [rax + 0x248]
call qword [sym.imp.python311.dll_PyObject_GetAttr]
mov rsi, rax
test rax, rax
je 0x14004bba8
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 0x14004bb70
mov rcx, rbx
call fcn.14003f520
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 0x14004b9b2
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 0x14004bd10
mov r9, r15
mov r8, r14
mov rdx, r13
mov rcx, rbp
call fcn.1400018f0
cmp r12d, 1
jne 0x14004b9b2
nop dword [rax]
mov r12, qword [0x140089aa0]
mov rcx, rdi
mov rdx, qword [r12 + 0x250]
call qword [sym.imp.python311.dll_PyObject_GetAttr]
mov rsi, rax
test rax, rax
je 0x14004bc10
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 0x14004bb17
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [rax + 0x30]
test rdi, rdi
je 0x14004bbe0
sub qword [rdi], 1
jne 0x14004bb30
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.1400018f0
jmp 0x14004ba58
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.140066b10
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x14004ba50
mov rdx, qword [rdi + 0x10]
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.14004abe0
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 0x14004bb30
mov rax, qword [rsi + 8]
mov eax, dword [rax + 0xa8]
test eax, eax
js 0x14004bc60
mov rcx, rbx
xor edi, edi
call fcn.14003f520
jmp 0x14004ba58
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.14004b260
mov r12, qword [rbp + 0x60]
test r12, r12
je 0x14004bb30
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 0x14004bb30
mov rax, qword [rsi + 8]
mov r15, qword [sym.imp.python311.dll_PyErr_WriteUnraisable]
mov ecx, dword [rax + 0xa8]
test ecx, ecx
js 0x14004bcba
mov rcx, rdi
call r15
jmp 0x14004bb30
test byte [rsi + 0xab], 0x40
je 0x14004bbe0
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 0x14004bd2f
mov r9, r14
mov r8, r13
mov rdx, rdi
mov rcx, rbp
call fcn.1400018f0
cmp r12d, 1
je 0x14004bb30
jmp 0x14004bbe0
test byte [rsi + 0xab], 0x40
je 0x14004bc55
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 0x14004bd4e
mov r9, r14
mov r8, r13
mov rdx, r12
mov rcx, rbp
mov dword [rsp + 0x3c], eax
call fcn.1400018f0
mov eax, dword [rsp + 0x3c]
cmp eax, 1
je 0x14004bb30
jmp 0x14004bc55
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.1400018f0
jmp 0x14004b9b2
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.1400018f0
jmp 0x14004bbe0
mov rcx, rsi
call r15
mov r9, r14
mov r8, r13
mov rdx, r12
mov rcx, rbp
call fcn.1400018f0
jmp 0x14004bc55