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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rax, qword [sym.imp.python312.dll_PyExc_GeneratorExit]
mov rsi, rdx
mov rdx, qword [r8]
mov rdi, rcx
mov rcx, qword [rax]
mov rbx, r8
mov rax, qword [rdx + 8]
test byte [rax + 0xab], 0x40
cmove rax, rdx
cmp rcx, rax
je 0x140024fc0
mov rdx, qword [rax + 8]
mov r11d, dword [rdx + 0xa8]
test r11d, r11d
js 0x140024f68
mov rax, qword [rsi + 8]
cmp rax, qword [sym.imp.python312.dll_PyCoro_Type]
je 0x140025068
cmp rax, qword [sym.imp.python312.dll_PyGen_Type]
je 0x140025068
cmp rax, qword [0x140067b60]
je 0x140025110
cmp rax, qword [0x140067b30]
mov r9, rbx
mov r8d, 1
mov rdx, rsi
je 0x14002508a
cmp rax, qword [0x140067b20]
je 0x140025080
mov rax, qword [0x140067fa0]
mov rcx, rsi
mov rdx, qword [rax + 0x268]
call qword [sym.imp.python312.dll_PyObject_GetAttr]
mov rsi, rax
test rax, rax
je 0x1400250c0
mov rdx, qword [rbx]
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.python312.dll_PyObject_CallFunctionObjArgs]
mov rdi, rax
mov rax, qword [rsi]
test eax, eax
js 0x140024f3c
sub rax, 1
mov qword [rsi], rax
jne 0x140024f3c
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [rax + 0x30]
mov rcx, qword [rbx]
mov rax, qword [rcx]
test eax, eax
js 0x140024f56
sub rax, 1
mov qword [rcx], rax
jne 0x140024f56
mov rax, qword [rcx + 8]
call qword [rax + 0x30]
mov rax, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
test byte [rax + 0xab], 0x40
je 0x140024e9c
mov rdx, qword [rax + 0x158]
test rdx, rdx
je 0x1400250a0
mov r8, qword [rdx + 0x10]
test r8, r8
jle 0x140024e9c
xor eax, eax
jmp 0x140024fad
add rax, 1
cmp r8, rax
je 0x140024e9c
cmp rcx, qword [rdx + rax*8 + 0x18]
jne 0x140024fa0
nop word cs:[rax + rax]
nop
mov r12, qword [0x140067fa0]
mov rcx, rsi
mov rdx, qword [r12 + 0x218]
call qword [sym.imp.python312.dll_PyObject_GetAttr]
mov rbp, rax
test rax, rax
je 0x1400251a0
mov rdx, qword [r12]
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.python312.dll_PyObject_Call]
mov rsi, rax
mov rax, qword [rbp]
test eax, eax
js 0x14002500d
sub rax, 1
mov qword [rbp], rax
je 0x140025200
test rsi, rsi
je 0x140025103
mov rax, qword [rsi]
test eax, eax
js 0x14002502a
sub rax, 1
mov qword [rsi], rax
je 0x140025210
mov rcx, qword [rdi + 0x60]
mov rax, qword [rbx]
mov qword [rdi + 0x60], rax
test rcx, rcx
je 0x140025051
mov rax, qword [rcx]
test eax, eax
js 0x140025051
sub rax, 1
mov qword [rcx], rax
jne 0x140025051
mov rax, qword [rcx + 8]
call qword [rax + 0x30]
xor edi, edi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14003fdb0
mov rdx, qword [rsi + 0x10]
mov r8d, 1
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.1400240b0
mov rax, qword [rax + 0x100]
test rax, rax
je 0x1400252c0
cmp rcx, rax
jne 0x1400250a0
jmp 0x140024fc0
mov rax, qword [sym.imp.python312.dll_PyExc_AttributeError]
mov rcx, qword [rdi + 0x60]
mov r8, qword [rax]
test rcx, rcx
je 0x14005bdb6
mov rdx, qword [rcx + 8]
mov rax, qword [rdx + 8]
test byte [rax + 0xab], 0x40
cmove rax, rdx
cmp r8, rax
je 0x140025170
mov r9, qword [rax + 8]
mov r9d, dword [r9 + 0xa8]
test r9d, r9d
js 0x140025130
mov rcx, qword [rbx]
jmp 0x14002503a
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.1400247d0
test byte [rax + 0xab], 0x40
je 0x140025103
mov r9, qword [rax + 0x158]
test r9, r9
je 0x14002522d
mov r10, qword [r9 + 0x10]
test r10, r10
jle 0x140025103
xor eax, eax
jmp 0x140025169
add rax, 1
cmp r10, rax
je 0x140025103
cmp r8, qword [r9 + rax*8 + 0x18]
jne 0x140025160
mov rax, qword [rbx]
mov qword [rdi + 0x60], rax
mov rax, qword [rcx]
test eax, eax
js 0x140025051
sub rax, 1
mov qword [rcx], rax
jne 0x140025051
call qword [rdx + 0x30]
xor edi, edi
jmp 0x140025053
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x14002521f
mov rdx, qword [rcx + 8]
test rdx, rdx
je 0x1400252a0
mov rax, qword [sym.imp.python312.dll_PyExc_AttributeError]
mov r8, qword [rax]
mov rax, qword [rdx + 8]
test byte [rax + 0xab], 0x40
cmove rax, rdx
cmp r8, rax
je 0x1400252a0
mov rdx, qword [rax + 8]
mov r10d, dword [rdx + 0xa8]
test r10d, r10d
js 0x140025250
mov rcx, rsi
call qword [sym.imp.python312.dll_PyErr_WriteUnraisable]
jmp 0x14002502a
mov rax, qword [rbp + 8]
mov rcx, rbp
call qword [rax + 0x30]
jmp 0x14002500d
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x14002502a
mov rax, qword [rbx]
mov qword [rdi + 0x60], rax
xor edi, edi
jmp 0x140025053
mov rax, qword [rax + 0x100]
test rax, rax
je 0x1400252d2
cmp r8, rax
jne 0x14002522d
jmp 0x140025170
test byte [rax + 0xab], 0x40
je 0x1400251e8
mov rdx, qword [rax + 0x158]
test rdx, rdx
je 0x1400252ac
mov r9, qword [rdx + 0x10]
test r9, r9
jle 0x1400251e8
xor eax, eax
jmp 0x14002528d
add rax, 1
cmp r9, rax
je 0x1400251e8
cmp r8, qword [rdx + rax*8 + 0x18]
jne 0x140025280
nop word cs:[rax + rax]
nop
mov rax, qword [rbx]
mov qword [rdi + 0x60], rax
jmp 0x14002503a
mov rax, qword [rax + 0x100]
test rax, rax
je 0x1400252e4
cmp r8, rax
jne 0x1400252ac
jmp 0x1400252a0
cmp rcx, qword [sym.imp.python312.dll_PyBaseObject_Type]
je 0x140024fc0
jmp 0x140024e9c
cmp r8, qword [sym.imp.python312.dll_PyBaseObject_Type]
je 0x140025170
jmp 0x140025103
cmp r8, qword [sym.imp.python312.dll_PyBaseObject_Type]
je 0x1400252a0
jmp 0x1400251e8
mov rax, qword [8]
ud2