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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x5c
mov eax, dword [edx + 0x30]
cmp eax, 2
je 0x6d52bc
mov esi, ecx
mov ecx, dword [edx + 0x20]
mov edi, edx
mov dword [esp + 0x30], ecx
test ecx, ecx
jne 0x6d5648
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x28], ecx
test eax, eax
jne 0x6d50f8
mov dword [edx + 0x30], 1
test esi, esi
je 0x6d54e9
sub dword [esi], 1
je 0x6d54f8
mov eax, dword [edi + 0x28]
xor esi, esi
mov dword [edi + 0x20], 1
test eax, eax
je 0x6d5043
mov byte [eax + 0x40], 1
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x6d56d0
mov eax, dword [edi + 0x18]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x6d5130
mov ecx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x38]
mov dword [edi + 0x18], 0
mov edx, dword [ebx + 0x3c]
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
test ecx, ecx
je 0x6d55d8
mov dword [esp + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, ebx
call fcn.006d4bf0
mov ebp, eax
test esi, esi
je 0x6d584f
test ebp, ebp
je 0x6d5538
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x18], eax
sub dword [esi], 1
jne 0x6d51da
mov eax, dword [esi + 4]
mov dword [esp], esi
call dword [eax + 0x18]
mov eax, dword [edi + 0x28]
mov dword [edi + 0x20], 0
test eax, eax
jne 0x6d51ec
lea esi, [esi]
mov eax, dword [esp + 0x28]
mov dword [ebx + 0xc], eax
add esp, 0x5c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, dword [esp + 0x28]
mov eax, dword [edx + 0x28]
test ebp, ebp
je 0x6d5530
add dword [ecx], 1
mov dword [ebx + 0xc], eax
mov dword [eax + 0xc], ecx
mov edx, dword [eax]
mov byte [eax + 0x40], 1
test edx, edx
je 0x6d54e0
mov dword [edi + 0x20], 1
jmp 0x6d503f
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [edi + 0x24]
mov ebp, eax
test ebp, ebp
jne 0x6d51da
mov esi, dword [edi + 0x18]
test esi, esi
je 0x6d58c0
mov eax, dword [esi + 4]
cmp eax, 0x6ef2a0
je 0x6d52c8
cmp eax, dword [sym.imp.python38.dll_PyCoro_Type]
je 0x6d52c8
mov eax, esi
call fcn.00670990
mov esi, eax
test eax, eax
je 0x6d5340
mov edx, dword [edi + 0x18]
sub dword [edx], 1
jne 0x6d5190
mov eax, dword [edx + 4]
mov dword [esp], edx
call dword [eax + 0x18]
nop
mov ecx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x38]
mov dword [edi + 0x18], 0
mov edx, dword [ebx + 0x3c]
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
test ecx, ecx
je 0x6d5350
mov dword [esp + 4], edx
mov edx, esi
mov dword [esp], eax
mov eax, ebx
call fcn.006d4bf0
mov ebp, eax
test ebp, ebp
je 0x6d5385
mov dword [edi + 0x18], esi
mov eax, dword [edi + 0x28]
mov dword [edi + 0x20], 0
test eax, eax
je 0x6d50e0
mov edx, dword [eax + 0xc]
mov byte [eax + 0x40], 0
test edx, edx
je 0x6d50e0
mov dword [eax + 0xc], 0
sub dword [edx], 1
jne 0x6d5210
mov eax, dword [edx + 4]
mov dword [esp], edx
call dword [eax + 0x18]
mov eax, dword [esp + 0x28]
mov dword [ebx + 0xc], eax
test ebp, ebp
jne 0x6d50e7
mov edx, dword [edi + 0x28]
mov dword [edi + 0x30], 2
test edx, edx
je 0x6d5249
sub dword [edx], 1
mov dword [edx + 0x30], 0
jne 0x6d5242
mov eax, dword [edx + 4]
mov dword [esp], edx
call dword [eax + 0x18]
mov dword [edi + 0x28], 0
mov edx, dword [edi + 0x50]
mov esi, dword [esp + 0x30]
test edx, edx
jle 0x6d5276
lea esi, [esi]
mov edx, dword [edi + esi*4 + 0x54]
sub dword [edx], 1
jne 0x6d55c0
mov eax, dword [edx + 4]
add esi, 1
mov dword [esp], edx
call dword [eax + 0x18]
cmp esi, dword [edi + 0x50]
jl 0x6d5258
mov edx, dword [sym.imp.python38.dll_PyExc_StopIteration]
mov eax, dword [ebx + 0x34]
mov dword [edi + 0x50], 0
cmp dword [edx], eax
je 0x6d571a
mov edx, dword [edi + 0x44]
test edx, edx
je 0x6d52bc
cmp edx, dword [sym.imp.python38.dll__Py_NoneStruct]
je 0x6d52a7
mov eax, ebx
call fcn.00690950
mov edx, dword [edi + 0x44]
sub dword [edx], 1
jne 0x6d52b5
mov eax, dword [edx + 4]
mov dword [esp], edx
call dword [eax + 0x18]
mov dword [edi + 0x44], 0
xor ebp, ebp
jmp 0x6d50e7
mov eax, dword [edi + 0x2c]
test byte [eax + 0x1d], 1
jne 0x6d5190
mov eax, dword [sym.imp.python38.dll_PyExc_TypeError]
mov edx, dword [eax]
mov dword [esp], str.cannot_yield_from_a_coroutine_object_in_a_non_coroutine_generator
mov dword [esp + 0x2c], edx
call dword [sym.imp.python38.dll_PyUnicode_FromString]
mov edx, dword [esp + 0x2c]
mov ebp, dword [ebx + 0x38]
mov ecx, eax
mov eax, dword [ebx + 0x34]
mov esi, dword [ebx + 0x3c]
mov dword [ebx + 0x34], edx
add dword [edx], 1
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], 0
test eax, eax
je 0x6d5319
sub dword [eax], 1
je 0x6d5510
test ebp, ebp
je 0x6d5327
sub dword [ebp], 1
je 0x6d5520
test esi, esi
je 0x6d5340
sub dword [esi], 1
jne 0x6d5340
mov eax, dword [esi + 4]
mov dword [esp], esi
call dword [eax + 0x18]
lea esi, [esi]
mov esi, dword [edi + 0x18]
jmp 0x6d5190
mov eax, dword [esi + 4]
cmp eax, dword [sym.imp.python38.dll_PyGen_Type]
je 0x6d53f8
cmp eax, dword [sym.imp.python38.dll_PyCoro_Type]
je 0x6d53f8
mov eax, dword [eax + 0x70]
test eax, eax
je 0x6d5410
mov dword [esp], esi
call eax
mov ebp, eax
test ebp, ebp
jne 0x6d51d7
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x6d54d0
mov ecx, dword [edx + 4]
mov eax, dword [sym.imp.python38.dll_PyExc_StopIteration]
test byte [ecx + 0x57], 0x40
mov eax, dword [eax]
cmove ecx, edx
cmp eax, ecx
je 0x6d54c0
mov ebp, dword [ecx + 4]
mov ebp, dword [ebp + 0x54]
test ebp, ebp
js 0x6d5450
lea esi, [esi]
nop
sub dword [esi], 1
jne 0x6d53ce
mov eax, dword [esi + 4]
mov dword [esp], esi
call dword [eax + 0x18]
mov eax, dword [edi + 0x44]
mov edx, dword [edi + 0x24]
test eax, eax
je 0x6d5440
mov dword [edi + 0x44], 0
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
call edx
mov ebp, eax
jmp 0x6d5140
mov ecx, dword [sym.imp.python38.dll__Py_NoneStruct]
mov edx, esi
mov eax, ebx
call fcn.00670d20
mov ebp, eax
jmp 0x6d51cf
mov eax, dword [sym.imp.python38.dll__Py_NoneStruct]
mov dword [esp + 0xc], 0
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [0x72617c]
mov dword [esp + 4], eax
call dword [sym.imp.python38.dll_PyObject_CallMethodObjArgs]
mov ebp, eax
jmp 0x6d51cf
mov dword [esp + 8], 0
jmp 0x6d53e3
test byte [ecx + 0x57], 0x40
je 0x6d53c0
mov dword [esp + 0x3c], edx
mov edx, dword [ebx + 0x38]
mov dword [ebx + 0x34], 0
mov dword [esp + 0x2c], edx
mov edx, dword [ebx + 0x3c]
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [esp + 0x34], edx
mov dword [esp], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 4], eax
call dword [sym.imp.python38.dll_PyObject_IsSubclass]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
cmp eax, 0xffffffff
mov ebp, eax
je 0x6d5898
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, ebx
call fcn.00661820
cmp ebp, 1
jne 0x6d53c0
mov eax, ebx
call fcn.0066efd0
mov dword [edi + 0x44], eax
jmp 0x6d53c0
mov eax, dword [sym.imp.python38.dll__Py_NoneStruct]
add dword [eax], 1
mov dword [edi + 0x44], eax
jmp 0x6d53c0
mov edx, dword [eax + 4]
mov dword [esp], eax
call dword [edx + 0x18]
mov eax, dword [edi + 0x28]
jmp 0x6d5034
mov eax, dword [esi + 4]
mov dword [esp], esi
call dword [eax + 0x18]
jmp 0x6d502f
mov edx, dword [eax + 4]
mov dword [esp], eax
call dword [edx + 0x18]
jmp 0x6d5319
mov eax, dword [ebp + 4]
mov dword [esp], ebp
call dword [eax + 0x18]
jmp 0x6d5327
mov dword [ebx + 0xc], eax
jmp 0x6d5110
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x6d583f
mov eax, dword [sym.imp.python38.dll_PyExc_StopIteration]
mov ecx, dword [eax]
mov eax, ebx
call fcn.006618a0
test al, al
je 0x6d555f
mov eax, ebx
call fcn.0066efd0
mov dword [edi + 0x44], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov dword [esp + 0x2c], eax
sub eax, 1
mov dword [ecx], eax
jne 0x6d5579
mov eax, dword [ecx + 4]
mov dword [esp], ecx
call dword [eax + 0x18]
mov eax, dword [edi + 0x44]
mov edx, dword [edi + 0x24]
test eax, eax
je 0x6d5880
mov dword [edi + 0x44], 0
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
call edx
mov ebp, eax
test esi, esi
je 0x6d5140
sub dword [esi], 1
jne 0x6d5140
mov eax, dword [esi + 4]
mov dword [esp], esi
call dword [eax + 0x18]
jmp 0x6d5140
add esi, 1
cmp esi, dword [edi + 0x50]
jl 0x6d5258
jmp 0x6d5276
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
cmp eax, dword [sym.imp.python38.dll_PyGen_Type]
je 0x6d56e7
cmp eax, dword [sym.imp.python38.dll_PyCoro_Type]
je 0x6d56e7
cmp esi, dword [sym.imp.python38.dll__Py_NoneStruct]
je 0x6d56ff
mov eax, dword [0x72617c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call dword [sym.imp.python38.dll_PyObject_CallMethodObjArgs]
mov ebp, eax
test ebp, ebp
je 0x6d5538
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x18], eax
test esi, esi
je 0x6d51da
jmp 0x6d50b6
test esi, esi
je 0x6d565a
sub dword [esi], 1
jne 0x6d565a
mov eax, dword [esi + 4]
mov dword [esp], esi
call dword [eax + 0x18]
mov eax, dword [sym.imp.python38.dll_PyExc_ValueError]
mov ebp, dword [eax]
mov dword [esp], str.generator_already_executing
call dword [sym.imp.python38.dll_PyUnicode_FromString]
mov edi, dword [ebx + 0x38]
mov esi, dword [ebx + 0x3c]
mov edx, eax
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x34], ebp
add dword [ebp], 1
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], 0
test eax, eax
je 0x6d569c
sub dword [eax], 1
jne 0x6d569c
mov edx, dword [eax + 4]
mov dword [esp], eax
call dword [edx + 0x18]
test edi, edi
je 0x6d56ae
sub dword [edi], 1
jne 0x6d56ae
mov eax, dword [edi + 4]
mov dword [esp], edi
call dword [eax + 0x18]
test esi, esi
je 0x6d52bc
sub dword [esi], 1
jne 0x6d52bc
mov eax, dword [esi + 4]
xor ebp, ebp
mov dword [esp], esi
call dword [eax + 0x18]
jmp 0x6d50e7
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov dword [esp], eax
mov eax, ebx
call fcn.00661820
jmp 0x6d504f
mov ecx, dword [sym.imp.python38.dll__Py_NoneStruct]
mov edx, dword [esp + 0x2c]
mov eax, ebx
call fcn.00670d20
mov ebp, eax
jmp 0x6d5627
mov eax, dword [eax + 0x70]
test eax, eax
je 0x6d5603
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
call eax
mov ebp, eax
jmp 0x6d50a7
mov edx, dword [ebx + 0x38]
mov dword [esp + 0x44], eax
mov dword [ebx + 0x34], 0
mov dword [esp + 0x48], edx
mov edx, dword [ebx + 0x3c]
mov dword [ebx + 0x38], 0
mov dword [esp + 0x4c], edx
mov dword [ebx + 0x3c], 0
cmp eax, dword [sym.imp.python38.dll__Py_NoneStruct]
je 0x6d576d
test eax, eax
je 0x6d576d
lea eax, [esp + 0x4c]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
call fcn.00691570
mov eax, dword [sym.imp.python38.dll_PyExc_RuntimeError]
mov esi, dword [eax]
mov dword [esp], str.generator_raised_StopIteration
call dword [sym.imp.python38.dll_PyUnicode_FromString]
mov ecx, eax
mov edx, esi
mov eax, ebx
call fcn.006619c0
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x34], 0
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 0x38]
mov dword [ebx + 0x38], 0
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0x3c], 0
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x48]
mov dword [esp], ebx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x78]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
call fcn.00692020
mov eax, dword [esp + 0x48]
add dword [eax], 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call dword [sym.imp.python38.dll_PyException_SetContext]
mov edx, dword [esp + 0x44]
sub dword [edx], 1
jne 0x6d5808
mov eax, dword [edx + 4]
mov dword [esp], edx
call dword [eax + 0x18]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x6d581e
sub dword [eax], 1
jne 0x6d581e
mov edx, dword [eax + 4]
mov dword [esp], eax
call dword [edx + 0x18]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
xor ebp, ebp
mov edx, dword [esp + 0x70]
mov dword [esp], eax
mov eax, ebx
call fcn.00661820
jmp 0x6d50e7
test eax, eax
jne 0x6d5874
mov eax, dword [sym.imp.python38.dll__Py_NoneStruct]
add dword [eax], 1
mov dword [edi + 0x44], eax
jmp 0x6d555f
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x6d583b
mov eax, dword [sym.imp.python38.dll_PyExc_StopIteration]
mov ecx, dword [eax]
mov eax, ebx
call fcn.006618a0
test al, al
jne 0x6d5555
test ebp, ebp
je 0x6d5538
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x18], eax
jmp 0x6d51da
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], ebx
call edx
mov ebp, eax
jmp 0x6d559d
mov dword [esp + 0x38], edx
mov dword [esp], ecx
call dword [sym.imp.python38.dll_PyErr_WriteUnraisable]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov dword [esp], eax
mov eax, ebx
call fcn.00661820
jmp 0x6d53c0
mov edx, dword [edi + 0x28]
xor eax, eax
mov dword [edi + 0x20], eax
mov eax, edx
test edx, edx
je 0x6d58ee
mov byte [edx + 0x40], 0
mov edx, dword [edx + 0xc]
xor ebp, ebp
test edx, edx
jne 0x6d51fb
mov eax, dword [esp + 0x28]
mov edx, dword [edi + 0x28]
mov dword [ebx + 0xc], eax
jmp 0x6d5222
mov eax, dword [esp + 0x28]
mov dword [ebx + 0xc], eax
jmp 0x6d5222