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

Disassembly:
sub esp, 0x34
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [ebp + 0x50]
call fcn.00759c90
push eax
mov ecx, 0xa1e088
call fcn.006dd680
push eax
mov ecx, 0xa1e088
call fcn.006dd020
mov ecx, dword [0x821c78]
push 0
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x821c74]
push 0
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, dword [0x821c70]
mov edx, dword [0x821c74]
push 1
push 0
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov ecx, dword [0x81a788]
mov byte [esp + 0x13], 0
xor edi, edi
call fcn.00530b00
mov eax, dword [ebp + 0x54]
test eax, eax
je 0x4ddf9e
push 0x493e0
push eax
lea ecx, [ebp + 4]
call fcn.005af9c0
mov ecx, dword [0x821c78]
lea edx, [esp + 0x34]
push edx
lea ebx, [ebp + 4]
mov eax, dword [ecx]
call dword [eax + 0x78]
push eax
mov ecx, ebx
call fcn.005b0290
mov ecx, ebx
call fcn.005afa20
mov ecx, dword [0x821f88]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, ebx
call fcn.005b0100
mov ecx, dword [0x821f88]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [0x821f88]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [0x821f88]
mov esi, eax
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, dword [0x81a788]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
call fcn.005303e0
test ax, ax
je 0x4de170
mov ecx, dword [0x81a788]
call fcn.00530430
mov si, ax
and esi, 0xffff
cmp esi, 1
je 0x4de0c4
cmp esi, 0xd
je 0x4de0c4
lea eax, [ebp + 0x58]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], vtable.VectorCursor_class_GraphicMenuItem___class_DynamicVectorClass_class_GraphicMenuItem___.0
call dword [0x78db90]
test al, al
je 0x4de08e
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push esi
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax*4]
mov edx, dword [ecx]
call dword [edx + 4]
test al, al
jne 0x4de08e
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
call dword [eax + 8]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
call dword [edx + 4]
test al, al
jne 0x4de05c
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
call dword [eax + 4]
test al, al
je 0x4de0b8
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edx, dword [ecx + 4]
mov esi, dword [edx + eax*4]
mov dword [esp + 0x1c], vtable.VectorCursor_class_GraphicMenuItem___class_DynamicVectorClass_class_GraphicMenuItem___.0
jmp 0x4de142
xor esi, esi
mov dword [esp + 0x1c], vtable.VectorCursor_class_GraphicMenuItem___class_DynamicVectorClass_class_GraphicMenuItem___.0
jmp 0x4de142
lea ecx, [ebp + 0x58]
xor esi, esi
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], vtable.VectorCursor_class_GraphicMenuItem___class_DynamicVectorClass_class_GraphicMenuItem___.0
call dword [0x78db90]
test al, al
je 0x4de11d
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ecx*4]
lea eax, [esp + 0x14]
push eax
mov edx, dword [ecx]
call dword [edx + 8]
test al, al
jne 0x4de11d
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x28]
call dword [edx + 8]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x28]
call dword [eax + 4]
test al, al
jne 0x4de0e7
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x28]
call dword [edx + 4]
test al, al
je 0x4de13a
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax + 4]
mov esi, dword [ecx + edx*4]
mov dword [esp + 0x28], vtable.VectorCursor_class_GraphicMenuItem___class_DynamicVectorClass_class_GraphicMenuItem___.0
test esi, esi
je 0x4de20e
cmp edi, esi
je 0x4de166
test edi, edi
je 0x4de15b
push 0
mov ecx, edi
call fcn.004df6a0
push 1
mov ecx, esi
mov edi, esi
call fcn.004df6a0
mov byte [esp + 0x13], 1
jmp 0x4de20e
lea eax, [ebp + 0x58]
xor esi, esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], vtable.VectorCursor_class_GraphicMenuItem___class_DynamicVectorClass_class_GraphicMenuItem___.0
call dword [0x78db90]
test al, al
je 0x4de1c9
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax*4]
lea eax, [esp + 0x14]
push eax
mov edx, dword [ecx]
call dword [edx + 8]
test al, al
jne 0x4de1c9
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x34]
call dword [edx + 8]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x34]
call dword [eax + 4]
test al, al
jne 0x4de193
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x34]
call dword [edx + 4]
test al, al
je 0x4de1e6
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
mov esi, dword [ecx + edx*4]
cmp esi, edi
mov dword [esp + 0x34], vtable.VectorCursor_class_GraphicMenuItem___class_DynamicVectorClass_class_GraphicMenuItem___.0
je 0x4de20e
test edi, edi
je 0x4de1ff
push 0
mov ecx, edi
call fcn.004df6a0
test esi, esi
mov edi, esi
je 0x4de20e
push 1
mov ecx, esi
call fcn.004df6a0
push 1
mov ecx, ebx
call fcn.005affe0
mov al, byte [esp + 0x13]
test al, al
je 0x4ddfc0
test edi, edi
je 0x4de22f
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0xc]
call fcn.005f7140
push 0xfffffffffffffffd
mov ecx, 0xa1e088
call fcn.006dcf90
test edi, edi
je 0x4de24f
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x34
ret