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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push r15
sub rsp, 0x68
mov rax, qword [rdx + 0x10]
mov r15, rdx
mov rbx, rcx
mov dword [rsp + 0x98], 0
mov eax, dword [rax + 8]
shr eax, 6
and al, 1
cmp r9, qword [sym.imp.python37.dll__Py_NoneStruct]
mov dword [rsp + 0x30], eax
jne 0x1800e80a5
test r8, r8
jne 0x1800e80a5
cmp qword [rsp + 0xa0], r8
je 0x1800e80bc
mov rcx, qword [sym.imp.python37.dll_PyExc_KeyError]
lea rdx, [0x18013d8f0]
mov rcx, qword [rcx]
call qword [sym.imp.python37.dll_PyErr_SetString]
mov rax, qword [rbx + 8]
test dword [rax + 0xa8], 0x10000000
jne 0x1800e80ed
mov rcx, qword [sym.imp.python37.dll_PyExc_TypeError]
lea rdx, [0x18013d8c8]
mov rcx, qword [rcx]
call qword [sym.imp.python37.dll_PyErr_SetString]
xor eax, eax
add rsp, 0x68
pop r15
pop rbx
ret
mov r9, qword [rbx + 0x10]
mov qword [rsp + 0x40], r14
xor r14d, r14d
lea r10d, [r14 + 0x48]
nop dword [rax]
movsxd r8, r14d
cmp r8, r9
jge 0x1800e81d5
mov edx, dword [rbx + 0x20]
mov ecx, edx
mov eax, edx
and ecx, 0x1c
and eax, 0x20
cmp ecx, 4
jne 0x1800e8157
test eax, eax
je 0x1800e8142
test dl, 0x40
mov eax, 0x30
cmove rax, r10
add rax, rbx
inc r14
movzx ecx, byte [r8 + rax]
mov dword [rsp + 0x80], ecx
jmp 0x1800e8100
mov rax, qword [rbx + 0x48]
inc r14
movzx ecx, byte [r8 + rax]
mov dword [rsp + 0x80], ecx
jmp 0x1800e8100
cmp ecx, 8
jne 0x1800e8198
test eax, eax
je 0x1800e8180
test dl, 0x40
mov eax, 0x30
cmove rax, r10
add rax, rbx
inc r14
movzx ecx, word [rax + r8*2]
mov dword [rsp + 0x80], ecx
jmp 0x1800e8100
mov rax, qword [rbx + 0x48]
inc r14
movzx ecx, word [rax + r8*2]
mov dword [rsp + 0x80], ecx
jmp 0x1800e8100
test eax, eax
je 0x1800e81be
test dl, 0x40
mov eax, 0x30
cmove rax, r10
add rax, rbx
inc r14
mov ecx, dword [rax + r8*4]
mov dword [rsp + 0x80], ecx
jmp 0x1800e8100
mov rax, qword [rbx + 0x48]
inc r14
mov ecx, dword [rax + r8*4]
mov dword [rsp + 0x80], ecx
jmp 0x1800e8100
test r14, r14
jne 0x1800e81e9
mov r14, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x68
pop r15
pop rbx
ret
movabs rax, 0x555555555555555
mov qword [rsp + 0x60], rsi
cmp r14, rax
jbe 0x1800e8201
xor eax, eax
jmp 0x1800e820f
lea rcx, [r14 + r14*2]
shl rcx, 3
call qword [sym.imp.python37.dll_PyMem_Malloc]
mov rsi, qword [rsp + 0xa8]
mov qword [rsi], rax
test rax, rax
jne 0x1800e824a
mov rcx, qword [sym.imp.python37.dll_PyExc_MemoryError]
lea rdx, [0x18013d8b0]
mov rcx, qword [rcx]
call qword [sym.imp.python37.dll_PyErr_SetString]
mov rsi, qword [rsp + 0x60]
xor eax, eax
mov r14, qword [rsp + 0x40]
add rsp, 0x68
pop r15
pop rbx
ret
neg dword [rsp + 0xb0]
mov qword [rsp + 0x90], rbp
sbb eax, eax
mov qword [rsp + 0x58], rdi
and eax, 0x20000
mov qword [rsp + 0x48], r13
mov r13d, eax
mov qword [rsp + 0x50], r12
bts r13d, 0x14
cmp dword [rsp + 0xb8], 0
cmove r13d, eax
xor ebp, ebp
xor edi, edi
nop word [rax + rax]
mov rax, qword [rbx + 8]
test dword [rax + 0xa8], 0x10000000
je 0x1800e83a2
lea r8, [rsp + 0x80]
mov edx, ebp
mov rcx, rbx
call fcn.1800e8a20
test eax, eax
je 0x1800e83a2
mov r12d, dword [rsp + 0x80]
mov edx, r12d
mov rcx, qword [r15 + 0x10]
call fcn.1800059d0
mov edx, eax
mov r8d, r13d
mov rax, qword [rsi]
mov dword [rdi + rax], edx
mov rcx, qword [r15 + 0x10]
call fcn.1800069d0
test eax, eax
jne 0x1800e8397
mov rax, qword [r15 + 0x10]
xor ecx, ecx
mov r15, qword [rax + 0x78]
mov rax, qword [rsi]
mov dword [rax + rdi + 4], ecx
mov dword [rax + rdi + 0xc], ecx
cmp byte [rsp + 0x30], cl
je 0x1800e8361
mov ecx, dword [rsp + 0x98]
test ecx, ecx
je 0x1800e8361
mov r8d, dword [rax + rdi]
test r8d, r8d
je 0x1800e8361
mov edx, ecx
lea rax, [rsp + 0x38]
mov rcx, qword [rsp + 0x88]
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.180005b00
test eax, eax
jne 0x1800e8361
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsi]
add eax, 0x20
sar eax, 6
add rcx, rdi
add dword [rcx - 0x10], eax
mov eax, dword [rsp + 0x3c]
add eax, 0x20
sar eax, 6
add dword [rcx - 8], eax
mov eax, dword [r15 + 0x40]
inc ebp
mov rcx, qword [rsi]
add rcx, rdi
add rdi, 0x18
mov dword [rcx + 8], eax
mov dword [rcx + 0x10], 0
mov r15d, dword [rcx]
mov dword [rsp + 0x98], r15d
mov r15, qword [rsp + 0x88]
mov dword [rcx + 0x14], r12d
jmp 0x1800e8290
mov ecx, eax
call fcn.1800e8d70
xor eax, eax
jmp 0x1800e83a5
mov rax, r14
mov r12, qword [rsp + 0x50]
mov r13, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x40]
add rsp, 0x68
pop r15
pop rbx
ret