Function at 0x14004c040
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.python37.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 0x14004c1b0
mov rax, qword [rsi + 8]
mov r8d, dword [rax + 0xa8]
test r8d, r8d
js 0x14004c150
mov rax, qword [rdi + 8]
cmp rax, qword [sym.imp.python37.dll_PyCoro_Type]
je 0x14004c230
cmp rax, qword [sym.imp.python37.dll_PyGen_Type]
je 0x14004c230
lea rdx, [0x1400a3000]
cmp rax, rdx
je 0x14004c2d0
lea rdx, [0x1400a2c40]
cmp rax, rdx
je 0x14004c2f0
lea rdx, [0x1400a2a20]
cmp rax, rdx
je 0x14004c260
mov rax, qword [0x1400aff00]
mov rcx, rdi
mov rdx, qword [rax + 0x248]
call qword [sym.imp.python37.dll_PyObject_GetAttr]
mov rsi, rax
test rax, rax
je 0x14004c288
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.python37.dll_PyObject_CallFunctionObjArgs]
sub qword [rsi], 1
mov rdi, rax
je 0x14004c250
mov rcx, rbx
call fcn.140004d90
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 0x14004c092
pxor xmm0, xmm0
mov r13, qword [rcx + 0x58]
mov r14, qword [rcx + 0x60]
mov r15, qword [rcx + 0x68]
movups xmmword [rcx + 0x58], xmm0
mov qword [rcx + 0x68], 0
mov rcx, rsi
call qword [sym.imp.python37.dll_PyObject_IsSubclass]
mov r12d, eax
cmp eax, 0xffffffff
je 0x14004c410
mov r9, r15
mov r8, r14
mov rdx, r13
mov rcx, rbp
call fcn.140004b50
cmp r12d, 1
jne 0x14004c092
nop dword [rax]
mov r12, qword [0x1400aff00]
mov rcx, rdi
mov rdx, qword [r12 + 0x250]
call qword [sym.imp.python37.dll_PyObject_GetAttr]
mov rsi, rax
test rax, rax
je 0x14004c308
xor r8d, r8d
mov rdx, qword [r12]
mov rcx, rax
call qword [sym.imp.python37.dll_PyObject_Call]
sub qword [rsi], 1
mov rdi, rax
jne 0x14004c1f7
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [rax + 0x30]
test rdi, rdi
je 0x14004c2c0
sub qword [rdi], 1
jne 0x14004c210
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.140004b50
jmp 0x14004c135
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.140045b40
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x14004c12d
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.14004b900
mov rdi, qword [rbp + 0x58]
mov rax, qword [sym.imp.python37.dll_PyExc_AttributeError]
mov rsi, qword [rdi + 8]
mov rdx, qword [rax]
test byte [rsi + 0xab], 0x40
cmove rsi, rdi
cmp rdx, rsi
je 0x14004c210
mov rax, qword [rsi + 8]
mov eax, dword [rax + 0xa8]
test eax, eax
js 0x14004c360
mov rcx, rbx
xor edi, edi
call fcn.140004d90
jmp 0x14004c135
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.14004d1c0
mov r9, rbx
mov r8d, 1
mov rdx, rdi
jmp 0x14004c26d
mov r12, qword [rbp + 0x58]
test r12, r12
je 0x14004c210
mov rsi, qword [r12 + 8]
mov rax, qword [sym.imp.python37.dll_PyExc_AttributeError]
test byte [rsi + 0xab], 0x40
mov rdx, qword [rax]
cmove rsi, r12
cmp rdx, rsi
je 0x14004c210
mov rax, qword [rsi + 8]
mov r15, qword [sym.imp.python37.dll_PyErr_WriteUnraisable]
mov ecx, dword [rax + 0xa8]
test ecx, ecx
js 0x14004c3ba
mov rcx, rdi
call r15
jmp 0x14004c210
test byte [rsi + 0xab], 0x40
je 0x14004c2c0
pxor xmm0, xmm0
mov r13, qword [rbp + 0x60]
mov r14, qword [rbp + 0x68]
mov rcx, rsi
mov qword [rbp + 0x68], 0
movups xmmword [rbp + 0x58], xmm0
call qword [sym.imp.python37.dll_PyObject_IsSubclass]
mov r12d, eax
cmp eax, 0xffffffff
je 0x14004c42f
mov r9, r14
mov r8, r13
mov rdx, rdi
mov rcx, rbp
call fcn.140004b50
cmp r12d, 1
je 0x14004c210
jmp 0x14004c2c0
test byte [rsi + 0xab], 0x40
je 0x14004c34d
pxor xmm0, xmm0
mov r13, qword [rbp + 0x60]
mov r14, qword [rbp + 0x68]
mov rcx, rsi
mov qword [rbp + 0x68], 0
movups xmmword [rbp + 0x58], xmm0
call qword [sym.imp.python37.dll_PyObject_IsSubclass]
cmp eax, 0xffffffff
je 0x14004c44e
mov r9, r14
mov r8, r13
mov rdx, r12
mov rcx, rbp
mov dword [rsp + 0x3c], eax
call fcn.140004b50
mov eax, dword [rsp + 0x3c]
cmp eax, 1
je 0x14004c210
jmp 0x14004c34d
mov rcx, rsi
call qword [sym.imp.python37.dll_PyErr_WriteUnraisable]
mov r9, r15
mov r8, r14
mov rdx, r13
mov rcx, rbp
call fcn.140004b50
jmp 0x14004c092
mov rcx, rsi
call qword [sym.imp.python37.dll_PyErr_WriteUnraisable]
mov r9, r14
mov r8, r13
mov rdx, rdi
mov rcx, rbp
call fcn.140004b50
jmp 0x14004c2c0
mov rcx, rsi
call r15
mov r9, r14
mov r8, r13
mov rdx, r12
mov rcx, rbp
call fcn.140004b50
jmp 0x14004c34d