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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [0x433040]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], ecx
xor ecx, ecx
push edi
mov edi, edx
mov dword [esp + 0x20], ecx
cmp dword [ebp + 8], ecx
jle 0x40f75b
nop
mov dword [esi], 0
mov ebx, edi
mov dl, byte [edi]
inc edi
movzx ecx, dl
mov byte [esp + 0x17], dl
lea eax, [ecx - 0x2e]
cmp eax, 0x49
ja case.0x40eda5.47
movzx eax, byte [eax + 0x40f83c]
jmp dword [eax*4 + 0x40f7c4]
mov eax, dword [edi]
lea edi, [ebx + 5]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.python37.dll_PyTuple_New]
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x40edd9
push eax
lea ecx, [esi + 0xc]
mov edx, edi
call fcn.0040ed50
add esp, 4
mov edi, eax
mov eax, dword [esi + 4]
mov ebx, dword [0x43cd9c]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x64]
mov dword [eax + 0x3c], 0x40e950
mov eax, dword [esi + 4]
mov dword [eax + 0x64], 0x40e9a0
jmp 0x40f6f0
mov eax, dword [edi]
lea edi, [ebx + 5]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.python37.dll_PyList_New]
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x40ee2f
mov ecx, dword [esi + 0xc]
mov edx, edi
push eax
call fcn.0040ed50
add esp, 4
mov edi, eax
mov eax, dword [esi + 4]
mov ebx, dword [0x43cdb8]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x64]
mov dword [eax + 0x3c], 0x40e870
mov eax, dword [esi + 4]
mov dword [eax + 0x64], 0x40e8c0
jmp 0x40f6f0
mov esi, dword [edi]
lea edi, [ebx + 5]
push esi
call dword [sym.imp.python37.dll__PyDict_NewPresized]
add esp, 4
mov ebx, eax
test esi, esi
jle 0x40ee99
nop dword [eax]
push 2
mov edx, edi
lea ecx, [esp + 0x34]
dec esi
call fcn.0040ed50
add esp, 4
mov edi, eax
push dword [esp + 0x34]
push dword [esp + 0x34]
push ebx
call dword [sym.imp.python37.dll_PyDict_SetItem]
add esp, 0xc
test esi, esi
jg 0x40ee70
mov eax, dword [ebx + 4]
mov esi, dword [0x43cda4]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x64]
mov dword [eax + 0x3c], 0x40eba0
mov eax, dword [ebx + 4]
mov dword [eax + 0x64], 0x40ec90
push ebx
push esi
mov dword [esp + 0x20], ecx
call dword [sym.imp.python37.dll_PyDict_GetItem]
add esp, 8
test eax, eax
je 0x40eed4
mov ebx, eax
jmp 0x40eee0
push ebx
push ebx
push esi
call dword [sym.imp.python37.dll_PyDict_SetItem]
add esp, 0xc
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
mov dword [eax + 0x3c], ecx
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x64], ecx
mov eax, ebx
mov dword [esi], ebx
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
mov esi, dword [edi]
lea edi, [ebx + 5]
cmp dl, 0x53
jne 0x40ef1b
push 0
call dword [sym.imp.python37.dll_PySet_New]
jmp 0x40ef59
test esi, esi
jne 0x40ef51
mov ebx, dword [0x43ce38]
test ebx, ebx
jne 0x40ef4c
push 0x42bca2
call dword [sym.imp.python37.dll_PyBytes_FromString]
mov ecx, dword [sym.imp.python37.dll_PyFrozenSet_Type]
add esp, 4
mov edx, eax
call fcn.0040dac0
mov ebx, eax
mov dword [0x43ce38], ebx
mov eax, dword [ebx + 4]
jmp 0x40ef97
push 0
call dword [sym.imp.python37.dll_PyFrozenSet_New]
add esp, 4
mov ebx, eax
test esi, esi
jle 0x40ef87
push 1
mov edx, edi
lea ecx, [esp + 0x30]
dec esi
call fcn.0040ed50
add esp, 4
mov edi, eax
push dword [esp + 0x2c]
push ebx
call dword [sym.imp.python37.dll_PySet_Add]
add esp, 8
test esi, esi
jg 0x40ef62
cmp byte [esp + 0x17], 0x53
mov eax, dword [ebx + 4]
mov esi, dword [0x43cdb0]
je 0x40ef9d
mov esi, dword [0x43cdb4]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x64]
mov dword [eax + 0x3c], 0x40ea30
mov eax, dword [ebx + 4]
mov dword [eax + 0x64], 0x40ead0
jmp 0x40eebd
mov eax, dword [edi]
lea edi, [ebx + 5]
push eax
call dword [sym.imp.python37.dll_PyLong_FromLong]
mov ebx, dword [0x43cda8]
add esp, 4
mov esi, eax
push esi
push ebx
call dword [sym.imp.python37.dll_PyDict_GetItem]
add esp, 8
test eax, eax
je 0x40efea
mov esi, eax
jmp 0x40f727
push esi
push esi
push ebx
call dword [sym.imp.python37.dll_PyDict_SetItem]
add esp, 0xc
jmp 0x40f727
mov eax, dword [edi + 4]
mov ecx, dword [edi]
lea edi, [ebx + 9]
push eax
push ecx
call dword [sym.imp.python37.dll_PyLong_FromLongLong]
mov ebx, dword [0x43cda8]
mov esi, eax
push esi
push ebx
call dword [sym.imp.python37.dll_PyDict_GetItem]
add esp, 0x10
test eax, eax
je 0x40efea
mov esi, eax
jmp 0x40f727
push 0
call dword [sym.imp.python37.dll_PyLong_FromLong]
mov esi, dword [ebx + 2]
add esp, 4
mov dword [esp + 0x1c], eax
mov al, byte [edi]
lea edi, [ebx + 2]
mov ebx, dword [sym.imp.python37.dll_PyLong_FromLong]
add edi, 4
push 0x40
mov byte [esp + 0x1b], al
mov dword [esp + 0x1c], esi
call ebx
add esp, 4
mov ecx, eax
mov dword [esp + 0x10], ecx
test esi, esi
jle 0x40f0b7
mov eax, dword [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.python37.dll_PyNumber_InPlaceLshift]
mov ecx, dword [edi + 4]
mov esi, eax
mov edx, dword [edi]
add edi, 8
push ecx
push edx
call dword [sym.imp.python37.dll_PyLong_FromUnsignedLongLong]
mov ebx, eax
push ebx
push esi
call dword [sym.imp.python37.dll_PyNumber_InPlaceAdd]
add esp, 0x18
mov dword [esp + 0x1c], eax
add dword [ebx], 0xffffffff
jne 0x40f0a6
mov eax, dword [ebx + 4]
push ebx
mov eax, dword [eax + 0x18]
call eax
mov eax, dword [esp + 0x20]
add esp, 4
sub dword [esp + 0x18], 1
mov ecx, dword [esp + 0x10]
jne 0x40f066
mov ebx, dword [sym.imp.python37.dll_PyLong_FromLong]
add dword [ecx], 0xffffffff
jne 0x40f0c8
mov eax, dword [ecx + 4]
push ecx
mov eax, dword [eax + 0x18]
call eax
add esp, 4
cmp byte [esp + 0x17], 0x2d
jne 0x40f0fb
push 0xffffffffffffffff
call ebx
add esp, 4
mov esi, eax
push esi
push dword [esp + 0x20]
call dword [sym.imp.python37.dll_PyNumber_InPlaceMultiply]
add esp, 8
mov ebx, eax
add dword [esi], 0xffffffff
jne 0x40f0ff
mov eax, dword [esi + 4]
push esi
mov eax, dword [eax + 0x18]
call eax
add esp, 4
jmp 0x40f0ff
mov ebx, dword [esp + 0x1c]
mov esi, dword [0x43cda8]
push ebx
push esi
call dword [sym.imp.python37.dll_PyDict_GetItem]
add esp, 8
test eax, eax
je 0x40f127
mov esi, dword [esp + 0xc]
mov ebx, eax
mov dword [esi], ebx
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
push ebx
push ebx
push esi
call dword [sym.imp.python37.dll_PyDict_SetItem]
mov esi, dword [esp + 0x18]
mov eax, ebx
add esp, 0xc
mov dword [esi], ebx
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
mov eax, dword [edi]
sub esp, 8
mov ecx, dword [edi + 4]
lea edi, [ebx + 9]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
movsd xmm0, qword [esp + 0x40]
movsd qword [esp], xmm0
call dword [sym.imp.python37.dll_PyFloat_FromDouble]
mov ebx, dword [0x43cdac]
mov esi, eax
push esi
push ebx
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x64]
mov dword [esp + 0x28], eax
mov dword [ecx + 0x64], 0x40eb70
call dword [sym.imp.python37.dll_PyDict_GetItem]
add esp, 0x10
jmp 0x40f6ff
mov eax, dword [edi]
sub esp, 0x10
mov ecx, dword [edi + 4]
lea edi, [ebx + 9]
mov dword [esp + 0x58], eax
mov eax, dword [edi]
mov dword [esp + 0x5c], ecx
mov ecx, dword [edi + 4]
add edi, 8
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
movsd xmm0, qword [esp + 0x50]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x58]
movsd qword [esp], xmm0
call dword [sym.imp.python37.dll_PyComplex_FromDoubles]
mov dword [esi], eax
add esp, 0x10
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
push 2
mov edx, edi
lea ecx, [esp + 0x58]
call fcn.0040ed50
mov ecx, dword [sym.imp.python37.dll_PyComplex_Type]
lea edx, [esp + 0x60]
mov edi, eax
add esp, 4
mov eax, dword [esp + 0x54]
test eax, eax
cmove eax, dword [0x43bd88]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x60], eax
call fcn.004014a0
mov dword [esi], eax
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x40f236
sub esi, ecx
push esi
push edi
call dword [sym.imp.python37.dll_PyBytes_FromStringAndSize]
inc esi
mov ebx, eax
add edi, esi
mov esi, dword [0x43cda0]
push ebx
push esi
call dword [sym.imp.python37.dll_PyDict_GetItem]
add esp, 0x10
test eax, eax
je 0x40f127
mov esi, dword [esp + 0xc]
mov ebx, eax
mov dword [esi], ebx
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
push 1
push edi
call dword [sym.imp.python37.dll_PyBytes_FromStringAndSize]
lea edi, [ebx + 2]
mov ebx, dword [0x43cda0]
jmp 0x40f011
push 1
push edi
call dword [sym.imp.python37.dll_PyUnicode_FromStringAndSize]
mov dword [esp + 0x2c], eax
lea edi, [ebx + 2]
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.python37.dll_PyUnicode_InternInPlace]
mov eax, dword [esp + 0x30]
add esp, 0xc
mov dword [esi], eax
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
mov esi, dword [edi]
lea edi, [ebx + 5]
push esi
push edi
call dword [sym.imp.python37.dll_PyBytes_FromStringAndSize]
jmp 0x40f248
mov esi, dword [edi]
lea edi, [ebx + 5]
push esi
push edi
call dword [sym.imp.python37.dll_PyByteArray_FromStringAndSize]
add edi, esi
add esp, 8
mov esi, dword [esp + 0xc]
mov dword [esi], eax
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x40f2f8
sub esi, ecx
push str.surrogatepass
push esi
push edi
call dword [sym.imp.python37.dll_PyUnicode_DecodeUTF8]
inc edi
mov dword [esp + 0x34], eax
add esp, 0xc
add edi, esi
cmp byte [esp + 0x17], 0x61
jne 0x40f331
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.python37.dll_PyUnicode_InternInPlace]
mov eax, dword [esp + 0x2c]
add esp, 4
mov esi, dword [esp + 0xc]
mov dword [esi], eax
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
mov esi, dword [edi]
lea edi, [ebx + 5]
push str.surrogatepass
push esi
push edi
call dword [sym.imp.python37.dll_PyUnicode_DecodeUTF8]
add edi, esi
add esp, 0xc
mov esi, dword [esp + 0xc]
mov dword [esi], eax
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
mov eax, dword [sym.imp.python37.dll__Py_NoneStruct]
mov dword [esi], eax
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
mov eax, dword [sym.imp.python37.dll__Py_TrueStruct]
mov dword [esi], eax
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
mov eax, dword [sym.imp.python37.dll__Py_FalseStruct]
mov dword [esi], eax
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
push 3
mov edx, edi
lea ecx, [esp + 0x68]
call fcn.0040ed50
add esp, 4
mov edi, eax
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call dword [sym.imp.python37.dll_PySlice_New]
mov dword [esi], eax
add esp, 0xc
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
push 3
mov edx, edi
lea ecx, [esp + 0x74]
call fcn.0040ed50
mov edx, dword [esp + 0x78]
add esp, 4
mov ecx, dword [esp + 0x70]
mov edi, eax
push dword [esp + 0x78]
call fcn.0040d020
mov dword [esi], eax
add esp, 4
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
mov al, byte [edi]
lea edi, [ebx + 2]
movzx eax, al
cmp eax, 6
ja case.default.0x40f418
jmp dword [eax*4 + 0x40f888]
mov eax, dword [sym.imp.python37.dll__Py_NoneStruct]
mov eax, dword [eax + 4]
mov dword [esi], eax
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
mov eax, dword [sym.imp.python37.dll_PyEllipsis_Type]
mov dword [esi], eax
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
mov eax, dword [sym.imp.python37.dll__Py_NotImplementedStruct]
mov eax, dword [eax + 4]
mov dword [esi], eax
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
mov eax, dword [sym.imp.python37.dll_PyFunction_Type]
mov dword [esi], eax
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
mov eax, dword [sym.imp.python37.dll_PyGen_Type]
mov dword [esi], eax
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
mov eax, dword [sym.imp.python37.dll_PyCFunction_Type]
mov dword [esi], eax
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
mov eax, dword [sym.imp.python37.dll_PyCode_Type]
mov dword [esi], eax
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
mov al, byte [edi]
lea edi, [ebx + 2]
movzx ecx, al
mov eax, ecx
sub eax, 0
je 0x40f4c2
sub eax, 1
jne 0x40f795
push 0x42fc1c
jmp 0x40f4c7
push str.Ellipsis
push dword [0x43beb4]
call dword [sym.imp.python37.dll_PyObject_GetAttrString]
mov dword [esi], eax
add esp, 8
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
mov ecx, edi
mov al, byte [edi]
inc edi
test al, al
jne 0x40f4e5
push ecx
jmp 0x40f4c7
mov ecx, edi
mov al, byte [edi]
inc edi
test al, al
jne 0x40f4f1
push ecx
jmp 0x40f4c7
mov al, byte [edi]
lea edi, [ebx + 2]
movzx eax, al
cmp eax, 5
ja case.0x40eda5.47
jmp dword [eax*4 + 0x40f8a4]
mov esi, dword [0x43ce28]
test esi, esi
jne 0x40f6d6
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
call dword [sym.imp.python37.dll_PyFloat_FromDouble]
mov esi, eax
add esp, 8
mov dword [0x43ce28], esi
jmp 0x40f6d6
mov esi, dword [0x43ce14]
test esi, esi
jne 0x40f6d6
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
call dword [sym.imp.python37.dll_PyFloat_FromDouble]
movsd xmm0, qword [0x4303f8]
movsd qword [esp], xmm0
sub esp, 8
mov dword [0x43ce14], eax
movsd xmm0, qword [eax + 8]
movsd qword [esp], xmm0
call fcn.00417867
mov esi, dword [0x43ce14]
jmp 0x40f6d0
mov esi, dword [0x43ce24]
test esi, esi
jne 0x40f6d6
movsd xmm0, qword [0x430400]
sub esp, 8
movsd qword [esp], xmm0
call dword [sym.imp.python37.dll_PyFloat_FromDouble]
movsd xmm0, qword [0x4303e8]
movsd qword [esp], xmm0
sub esp, 8
mov dword [0x43ce24], eax
movsd xmm0, qword [eax + 8]
movsd qword [esp], xmm0
call fcn.00417867
mov esi, dword [0x43ce24]
jmp 0x40f6d0
mov esi, dword [0x43ce1c]
test esi, esi
jne 0x40f6d6
movsd xmm0, qword [0x430400]
sub esp, 8
movsd qword [esp], xmm0
call dword [sym.imp.python37.dll_PyFloat_FromDouble]
movsd xmm0, qword [0x4303f8]
movsd qword [esp], xmm0
sub esp, 8
mov dword [0x43ce1c], eax
movsd xmm0, qword [eax + 8]
movsd qword [esp], xmm0
call fcn.00417867
mov esi, dword [0x43ce1c]
jmp 0x40f6d0
mov esi, dword [0x43ce40]
test esi, esi
jne 0x40f6d6
movsd xmm0, qword [0x4303f0]
sub esp, 8
movsd qword [esp], xmm0
call dword [sym.imp.python37.dll_PyFloat_FromDouble]
movsd xmm0, qword [0x4303e8]
movsd qword [esp], xmm0
sub esp, 8
mov dword [0x43ce40], eax
movsd xmm0, qword [eax + 8]
movsd qword [esp], xmm0
call fcn.00417867
mov esi, dword [0x43ce40]
jmp 0x40f6d0
mov esi, dword [0x43ce10]
test esi, esi
jne 0x40f6d6
movsd xmm0, qword [0x4303f0]
sub esp, 8
movsd qword [esp], xmm0
call dword [sym.imp.python37.dll_PyFloat_FromDouble]
movsd xmm0, qword [0x4303f8]
movsd qword [esp], xmm0
sub esp, 8
mov dword [0x43ce10], eax
movsd xmm0, qword [eax + 8]
movsd qword [esp], xmm0
call fcn.00417867
mov esi, dword [0x43ce10]
fstp qword [esi + 8]
add esp, 0x10
mov eax, dword [esi + 4]
mov ebx, dword [0x43cdac]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x64]
mov dword [eax + 0x64], 0x40eb70
push esi
push ebx
mov dword [esp + 0x20], ecx
call dword [sym.imp.python37.dll_PyDict_GetItem]
add esp, 8
test eax, eax
je 0x40f707
mov esi, eax
jmp 0x40f713
push esi
push esi
push ebx
call dword [sym.imp.python37.dll_PyDict_SetItem]
add esp, 0xc
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x3c], ecx
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x64], ecx
mov eax, dword [esp + 0xc]
mov dword [eax], esi
mov esi, eax
mov eax, dword [esi]
inc dword [eax]
mov eax, dword [esi]
inc dword [eax]
jmp 0x40f742
mov eax, dword [edi]
lea edi, [ebx + 5]
mov dword [esi], edi
add edi, eax
mov eax, dword [esp + 0x20]
add esi, 4
inc eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x20], eax
cmp eax, dword [ebp + 8]
jl 0x40ed80
mov ecx, dword [esp + 0x7c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00411b20
mov esp, ebp
pop ebp
ret
push ecx
push str.Missing_decoding_for__d_n
call fcn.0040d0c0
add esp, 8
call fcn.00414cb0
push eax
push str.Missing_anon_value_for__d_n
call fcn.0040d0c0
add esp, 8
call fcn.00414cb0
push ecx
push str.Missing_special_value_for__d_n
call fcn.0040d0c0
add esp, 8
call fcn.00414cb0
mov eax, dword [ebp + 8]
sub eax, dword [esp + 0x20]
push eax
push str.Missing_values__d_n
call fcn.0040d0c0
add esp, 8
call fcn.00414cb0
nop
test al, 0xf7
inc eax
add byte [eax - 0x2bffbf0d], ah
inc eax
add al, dl
inc eax
add byte [eax - 0x12], bl
inc eax
add bh, ch
hlt