Function at 0x53de80
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 0x53e15c
mov esi, ecx
mov ecx, dword [edx + 0x20]
mov edi, edx
mov dword [esp + 0x30], ecx
test ecx, ecx
jne 0x53e4e8
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x28], ecx
test eax, eax
jne 0x53df98
mov dword [edx + 0x30], 1
test esi, esi
je 0x53e389
sub dword [esi], 1
je 0x53e398
mov eax, dword [edi + 0x28]
xor esi, esi
mov dword [edi + 0x20], 1
test eax, eax
je 0x53dee3
mov byte [eax + 0x40], 1
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x53e570
mov eax, dword [edi + 0x18]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x53dfd0
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 0x53e478
mov dword [esp + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, ebx
call fcn.0053da90
mov ebp, eax
test esi, esi
je 0x53e6ef
test ebp, ebp
je 0x53e3d8
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x18], eax
sub dword [esi], 1
jne 0x53e07a
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 0x53e08c
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 0x53e3d0
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 0x53e380
mov dword [edi + 0x20], 1
jmp 0x53dedf
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 0x53e07a
mov esi, dword [edi + 0x18]
test esi, esi
je 0x53e760
mov eax, dword [esi + 4]
cmp eax, 0x558200
je 0x53e168
cmp eax, dword [sym.imp.python38.dll_PyCoro_Type]
je 0x53e168
mov eax, esi
call fcn.004d9830
mov esi, eax
test eax, eax
je 0x53e1e0
mov edx, dword [edi + 0x18]
sub dword [edx], 1
jne 0x53e030
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 0x53e1f0
mov dword [esp + 4], edx
mov edx, esi
mov dword [esp], eax
mov eax, ebx
call fcn.0053da90
mov ebp, eax
test ebp, ebp
je 0x53e225
mov dword [edi + 0x18], esi
mov eax, dword [edi + 0x28]
mov dword [edi + 0x20], 0
test eax, eax
je 0x53df80
mov edx, dword [eax + 0xc]
mov byte [eax + 0x40], 0
test edx, edx
je 0x53df80
mov dword [eax + 0xc], 0
sub dword [edx], 1
jne 0x53e0b0
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 0x53df87
mov edx, dword [edi + 0x28]
mov dword [edi + 0x30], 2
test edx, edx
je 0x53e0e9
sub dword [edx], 1
mov dword [edx + 0x30], 0
jne 0x53e0e2
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 0x53e116
lea esi, [esi]
mov edx, dword [edi + esi*4 + 0x54]
sub dword [edx], 1
jne 0x53e460
mov eax, dword [edx + 4]
add esi, 1
mov dword [esp], edx
call dword [eax + 0x18]
cmp esi, dword [edi + 0x50]
jl 0x53e0f8
mov edx, dword [sym.imp.python38.dll_PyExc_StopIteration]
mov eax, dword [ebx + 0x34]
mov dword [edi + 0x50], 0
cmp dword [edx], eax
je 0x53e5ba
mov edx, dword [edi + 0x44]
test edx, edx
je 0x53e15c
cmp edx, dword [sym.imp.python38.dll__Py_NoneStruct]
je 0x53e147
mov eax, ebx
call fcn.004f97f0
mov edx, dword [edi + 0x44]
sub dword [edx], 1
jne 0x53e155
mov eax, dword [edx + 4]
mov dword [esp], edx
call dword [eax + 0x18]
mov dword [edi + 0x44], 0
xor ebp, ebp
jmp 0x53df87
mov eax, dword [edi + 0x2c]
test byte [eax + 0x1d], 1
jne 0x53e030
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 0x53e1b9
sub dword [eax], 1
je 0x53e3b0
test ebp, ebp
je 0x53e1c7
sub dword [ebp], 1
je 0x53e3c0
test esi, esi
je 0x53e1e0
sub dword [esi], 1
jne 0x53e1e0
mov eax, dword [esi + 4]
mov dword [esp], esi
call dword [eax + 0x18]
lea esi, [esi]
mov esi, dword [edi + 0x18]
jmp 0x53e030
mov eax, dword [esi + 4]
cmp eax, dword [sym.imp.python38.dll_PyGen_Type]
je 0x53e298
cmp eax, dword [sym.imp.python38.dll_PyCoro_Type]
je 0x53e298
mov eax, dword [eax + 0x70]
test eax, eax
je 0x53e2b0
mov dword [esp], esi
call eax
mov ebp, eax
test ebp, ebp
jne 0x53e077
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x53e370
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 0x53e360
mov ebp, dword [ecx + 4]
mov ebp, dword [ebp + 0x54]
test ebp, ebp
js 0x53e2f0
lea esi, [esi]
nop
sub dword [esi], 1
jne 0x53e26e
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 0x53e2e0
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 0x53dfe0
mov ecx, dword [sym.imp.python38.dll__Py_NoneStruct]
mov edx, esi
mov eax, ebx
call fcn.004d9bc0
mov ebp, eax
jmp 0x53e06f
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 [0x584178]
mov dword [esp + 4], eax
call dword [sym.imp.python38.dll_PyObject_CallMethodObjArgs]
mov ebp, eax
jmp 0x53e06f
mov dword [esp + 8], 0
jmp 0x53e283
test byte [ecx + 0x57], 0x40
je 0x53e260
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 0x53e738
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, ebx
call fcn.004ca6c0
cmp ebp, 1
jne 0x53e260
mov eax, ebx
call fcn.004d7e70
mov dword [edi + 0x44], eax
jmp 0x53e260
mov eax, dword [sym.imp.python38.dll__Py_NoneStruct]
add dword [eax], 1
mov dword [edi + 0x44], eax
jmp 0x53e260
mov edx, dword [eax + 4]
mov dword [esp], eax
call dword [edx + 0x18]
mov eax, dword [edi + 0x28]
jmp 0x53ded4
mov eax, dword [esi + 4]
mov dword [esp], esi
call dword [eax + 0x18]
jmp 0x53decf
mov edx, dword [eax + 4]
mov dword [esp], eax
call dword [edx + 0x18]
jmp 0x53e1b9
mov eax, dword [ebp + 4]
mov dword [esp], ebp
call dword [eax + 0x18]
jmp 0x53e1c7
mov dword [ebx + 0xc], eax
jmp 0x53dfb0
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x53e6df
mov eax, dword [sym.imp.python38.dll_PyExc_StopIteration]
mov ecx, dword [eax]
mov eax, ebx
call fcn.004ca740
test al, al
je 0x53e3ff
mov eax, ebx
call fcn.004d7e70
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 0x53e419
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 0x53e720
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 0x53dfe0
sub dword [esi], 1
jne 0x53dfe0
mov eax, dword [esi + 4]
mov dword [esp], esi
call dword [eax + 0x18]
jmp 0x53dfe0
add esi, 1
cmp esi, dword [edi + 0x50]
jl 0x53e0f8
jmp 0x53e116
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
cmp eax, dword [sym.imp.python38.dll_PyGen_Type]
je 0x53e587
cmp eax, dword [sym.imp.python38.dll_PyCoro_Type]
je 0x53e587
cmp esi, dword [sym.imp.python38.dll__Py_NoneStruct]
je 0x53e59f
mov eax, dword [0x584178]
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 0x53e3d8
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x18], eax
test esi, esi
je 0x53e07a
jmp 0x53df56
test esi, esi
je 0x53e4fa
sub dword [esi], 1
jne 0x53e4fa
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 0x53e53c
sub dword [eax], 1
jne 0x53e53c
mov edx, dword [eax + 4]
mov dword [esp], eax
call dword [edx + 0x18]
test edi, edi
je 0x53e54e
sub dword [edi], 1
jne 0x53e54e
mov eax, dword [edi + 4]
mov dword [esp], edi
call dword [eax + 0x18]
test esi, esi
je 0x53e15c
sub dword [esi], 1
jne 0x53e15c
mov eax, dword [esi + 4]
xor ebp, ebp
mov dword [esp], esi
call dword [eax + 0x18]
jmp 0x53df87
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov dword [esp], eax
mov eax, ebx
call fcn.004ca6c0
jmp 0x53deef
mov ecx, dword [sym.imp.python38.dll__Py_NoneStruct]
mov edx, dword [esp + 0x2c]
mov eax, ebx
call fcn.004d9bc0
mov ebp, eax
jmp 0x53e4c7
mov eax, dword [eax + 0x70]
test eax, eax
je 0x53e4a3
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
call eax
mov ebp, eax
jmp 0x53df47
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 0x53e60d
test eax, eax
je 0x53e60d
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.004fa410
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.004ca860
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.004faec0
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 0x53e6a8
mov eax, dword [edx + 4]
mov dword [esp], edx
call dword [eax + 0x18]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x53e6be
sub dword [eax], 1
jne 0x53e6be
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.004ca6c0
jmp 0x53df87
test eax, eax
jne 0x53e714
mov eax, dword [sym.imp.python38.dll__Py_NoneStruct]
add dword [eax], 1
mov dword [edi + 0x44], eax
jmp 0x53e3ff
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x53e6db
mov eax, dword [sym.imp.python38.dll_PyExc_StopIteration]
mov ecx, dword [eax]
mov eax, ebx
call fcn.004ca740
test al, al
jne 0x53e3f5
test ebp, ebp
je 0x53e3d8
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x18], eax
jmp 0x53e07a
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], ebx
call edx
mov ebp, eax
jmp 0x53e43d
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.004ca6c0
jmp 0x53e260
mov edx, dword [edi + 0x28]
xor eax, eax
mov dword [edi + 0x20], eax
mov eax, edx
test edx, edx
je 0x53e78e
mov byte [edx + 0x40], 0
mov edx, dword [edx + 0xc]
xor ebp, ebp
test edx, edx
jne 0x53e09b
mov eax, dword [esp + 0x28]
mov edx, dword [edi + 0x28]
mov dword [ebx + 0xc], eax
jmp 0x53e0c2
mov eax, dword [esp + 0x28]
mov dword [ebx + 0xc], eax
jmp 0x53e0c2